v1

latestOpenAPI 3.0.02026-07-24102143224.1 KB
Customers

Create sub-customer

post/v3/customers/{id}/sub-customers

Path parameters

idstring required
Example:123e4567-e89b-12d3-a456-426614174000

Customer Id

Request body

customerNamestring required

Customer Name

currencystring required

Currency

useParentContactInfoboolean required

Use Parent Customer's Contact Info

billingEmailstring

Billing Email

Example request

{
  "customerName": "John Doe",
  "currency": "USD",
  "useParentContactInfo": true,
  "billingEmail": "john.doe@example.com",
  "billingAddress": {
    "externalId": "10",
    "city": "New York",
    "state": "NY",
    "country": "US",
    "postalCode": "10001",
    "line1": "123 Main St",
    "line2": "Apt 1",
    "addressee": "John Doe"
  }
}

Response

Created sub customer