List and get products with the API
- To use products in orders, create products with the UI, and then list and get products with the API.
- For full details of how to create products in the UI, see Create your product catalogue.
- The system product
id
is the unique system identifier for the product. - In the UI, when you create a product, you can create a 10-digit merchant
product_id
, and if you do not create one or if you delete the existing one, BillPro creates one automatically. You can modify the merchantproduct_id
in the UI. - When you create a product in the UI, you must enter a product Name, but the API does not get the product Name.
- When you add a product to an order, you must specify the product using the system product
id
. In an order object, this attribute is called theproduct_id
. - You must use the order endpoint to match the product's
product_type
. In orders in the UI, you can switch between single payment and instalment order types with a split payments option, but in the API, this option is not available.