latestOpenAPI 3.1.02026-08-152324681.8 MB

eddf3ef279e2

Customers

Delete customer

Delete a customer by ID. Fails if the customer is referenced by other records.

delete/public/v2/customers/{customer_id}/

Path parameters

customer_idinteger required

Headers

Idempotency-Keystring

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Response

OK

successtrue
errorsobject