Create a new customer
When you create a customer with the API, BillPro automatically creates an integer customer id
, as a unique identifier. It also creates an alphanumeric 10-character customer_id
attribute and sets the value automatically.
In the BillPro UI, you can set the customer_id
when you create a customer, and you can change it when you edit a customer. Moreover, if you delete the customer_id
value, the BillPro UI will replace it with an automatically generated value. In the UI, you do not have to set a unique value for the customer_id
but we recommend that you do this.
When you create an order for a customer, by adding a customer id
to the order object, in the order body, the attribute is called customer_id
, but you must set the value of the integer id
attribute, which is BillPro's system identifier for the order.