Headers
Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
Body
Customer type
"business"
Currency code
"USD"
Display name
"Acme Corporation"
Billing address line 1
Billing address line 2
Billing address city
Billing address country
Billing address email
Billing address zipcode
Billing address phone
Billing address state
Shipping address line 1
Shipping address line 2
Shipping address city
Shipping address country
Shipping address email
Shipping address zipcode
Shipping address phone
Shipping address state
Opening balance
5000
Opening balance date
"2024-01-01"
Opening balance exchange rate
1
Opening balance branch ID
101
Salutation
"Mr."
First name
"John"
Last name
"Smith"
Company name
"Acme Corporation"
Website
"https://www.acmecorp.com"
Work phone
"+1 (555) 123-4567"
Personal phone
Note
Active status
Response
The customer has been successfully created.
1500
"USD"
1000
"2024-01-01T00:00:00Z"
1
"John Doe - Acme Corporation"
"Important client with regular monthly orders"
true
"2024-01-01T00:00:00Z"
"2024-01-01T00:00:00Z"
1000
1500
1
"Mr."
"John"
"Doe"
"Acme Corporation"
"+1 (555) 123-4567"
"+1 (555) 987-6543"
"https://www.acme.com"
"123 Business Ave"
"Suite 100"
"New York"
"United States"
"10001"
"+1 (555) 111-2222"
"NY"
"456 Shipping St"
"Unit 200"
"Los Angeles"
"United States"
"90001"
"+1 (555) 333-4444"
"CA"