bill_base_products


Billing Base Products are READ ONLY templates used to create bill_products. Partners my query the bill_base_products to retrieve base products to create bill_products from.  All bill_products are associated with bill_base_products.


Available HTTP and Response Types
GET | JSON

2 Methods


  • GET
    https://api.pagely.com/ v1 / bill_base_products /all

    Available To Partner

    Description

    curl -H “X-API-KEY:<key>” https://api.pagely.com/v1/bill_base_products/all

    Sample Response

    {"result":2,"count":15,"limit":25,"offset":0,"objects":[{"id":"15","internal_code":"cdn","tier_id":"5","universal":"0","active":"1","recurring":"1","name":"CDN Access","desc":"50GB/mo CDN Access","cost":"25.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"14","internal_code":"email","tier_id":"5","universal":"1","active":"1","recurring":"1","name":"Hosted Email","desc":"Hosted Email","cost":"5.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"13","internal_code":"ftp","tier_id":"5","universal":"1","active":"1","recurring":"0","name":"FTP Access","desc":"FTP Access","cost":"5.00","image":"","type":"onetime","date_added":"1331941643","date_updated":"1331941643"},{"id":"12","internal_code":"","tier_id":"5","universal":"0","active":"1","recurring":"1","name":"Misc recurring Item","desc":"Misc recurring Item","cost":"0.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"11","internal_code":"","tier_id":"5","universal":"0","active":"1","recurring":"0","name":"Misc Onetime Item","desc":"Misc Onetime Item","cost":"0.00","image":"","type":"onetime","date_added":"1331941643","date_updated":"1331941643"},{"id":"10","internal_code":"cdn","tier_id":"1","universal":"0","active":"1","recurring":"1","name":"CDN Access","desc":"50GB/mo CDN Access","cost":"25.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"9","internal_code":"email","tier_id":"2","universal":"1","active":"1","recurring":"1","name":"Hosted Email","desc":"Hosted Email","cost":"5.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"8","internal_code":"ftp","tier_id":"2","universal":"1","active":"1","recurring":"0","name":"FTP Access","desc":"FTP Access","cost":"5.00","image":"","type":"onetime","date_added":"1331941643","date_updated":"1331941643"},{"id":"7","internal_code":"","tier_id":"2","universal":"0","active":"1","recurring":"1","name":"Misc recurring Item","desc":"Misc recurring Item","cost":"0.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"6","internal_code":"","tier_id":"2","universal":"0","active":"1","recurring":"0","name":"Misc Onetime Item","desc":"Misc Onetime Item","cost":"0.00","image":"","type":"onetime","date_added":"1331941643","date_updated":"1331941643"},{"id":"5","internal_code":"cdn","tier_id":"1","universal":"1","active":"1","recurring":"1","name":"CDN Access","desc":"50GB/mo CDN Access","cost":"25.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"4","internal_code":"email","tier_id":"1","universal":"1","active":"1","recurring":"1","name":"Hosted Email","desc":"Hosted Email","cost":"5.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"3","internal_code":"ftp","tier_id":"1","universal":"1","active":"1","recurring":"0","name":"FTP Access","desc":"FTP Access","cost":"5.00","image":"","type":"onetime","date_added":"1331941643","date_updated":"1331941643"},{"id":"2","internal_code":"","tier_id":"1","universal":"0","active":"1","recurring":"1","name":"Misc recurring Item","desc":"Misc recurring Item","cost":"0.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"},{"id":"1","internal_code":"","tier_id":"1","universal":"0","active":"1","recurring":"0","name":"Misc Onetime Item","desc":"Misc Onetime Item","cost":"0.00","image":"","type":"onetime","date_added":"1331941643","date_updated":"1331941643"}]}

      Optional Params

      limit int 25
      offset int 0
      order_by string id
      order_dir string DESC
      resller_id int
  • GET
    https://api.pagely.com/ v1 / bill_base_products /single

    Available To Partner

    Description

    curl -H “X-API-KEY:<key>” https://api.pagely.com/v1/bill_base_products/single?id=15

    Sample Response

    {"id":"15","internal_code":"cdn","tier_id":"5","universal":"0","active":"1","recurring":"1","name":"CDN Access","desc":"50GB\/mo CDN Access","cost":"25.00","image":"","type":"monthly","date_added":"1331941643","date_updated":"1331941643"}

      Required Params

      id int