POST
/
customers
curl --request POST \
  --url https://api.sulu.sh/v0/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "consumerId": "<string>",
  "merchantId": "<string>"
}'
{
  "customerId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
consumerId
string
required

The unique identifier for the consumer.

merchantId
string
required

The unique identifier for the merchant organization.

Response

201
application/json
Customer created successfully
customerId
string
required