Skip to main content
POST
/
customers
Create a customer
curl --request POST \
  --url https://commerce1.on-hellgate.dev/customers \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "email": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "email": "<string>"
}

Authorizations

X-API-Key
string
header
required

Headers

X-Account-ID
string

Identifies the account. Required when authenticating via mTLS — omit when using an API key (account is inferred from the key).

Body

application/json

Body

name
string
required
address
AddressSchema · object
description
string
email
string
tax_settings
TaxSettingsSchema · object

Response

Success

id
string<uuid>
required
name
string
required
address
AddressSchema · object
description
string
email
string
tax_settings
TaxSettingsSchema · object