Create a new customer
Use POST {URI}/customers
endpoint to create a new customer on this platform.
Endpoint | Purpose |
---|---|
POST {URI}/customers | Create a new customer on this platform. |
The following query parameters are used when you usePOST {URI}/customers
to create a new customer on this platform.
Parameter | Data type | Description |
---|---|---|
customerIdentifier | string | A unique identifier for this customer. It must be between 5-100 characters and accepts the following: -0-9a-zA-Z in any sequence. |
displayName | string | A friendly name for this customer. The string may have up to 100 characters. |
The following code shows the response example for when you use POST {URI}/customers
:
{
"customerIdentifier": "string", (5-100 chars)
"displayName": "string", (100 chars)
}
The response message for this endpoint is:
- 201 Created
- 400 Bad request
- 401 Unauthorized
- 403 Forbidden
- 409 Conflict, duplicate Exists
Updated 3 days ago