Create New Customer
POST/customers
This endpoint creates a new customer in the system.
The system will ensure the uniqueness of the customer either within the entire company or a shop. This depends on whether you include shopId in the request or not. If the customer already exists for the company or the shop, the system returns an error.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 412
- 500
- 502
- 503
Customer successfully created.
Invalid request parameters.
Authentication failed. Verify that a valid Api-Access-Token is provided in the request headers.
Access denied. The API token does not have permission to create customers for the specified shop or company.
Resource not found.
Precondition failed.
Internal server error. An unexpected error occurred on the server side.
Service unavailable. The upstream service is temporarily unreachable.
Service unavailable. The server is temporarily unable to handle the request.