Create customer

Creates a customer on the profile. Use the customer's id when you create an order.

Only first_name, last_name and email are required.

The response is the new customer. It doesn't include tags: use List customer tags to read them.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

Your merchant profile ID. Required in every request.

Find it in the BillPro dashboard address, after /profiles/. For example, in /profiles/1234/orders the profile ID is 1234.

Body Params
customer
object
required

The customer's details.

organisation
object

Optional. The company the customer belongs to. If you send any field, send name too: a blank name with other fields filled returns 422. An organisation with every field blank is ignored.

billing_address
object

Optional. The billing address.

shipping_address
object

Optional. The shipping address. Ignored when same_as_billing_address is true. An address with only state filled isn't saved.

boolean

Optional. true uses the billing address as the shipping address. false saves the shipping_address you send.

tag_list
array of strings

Optional. Tags for the customer, such as vip.

tag_list
Responses

Language
Credentials
Bearer
API token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json