Delete a Customer

Delete by ID

DELETE https://api.moltin.com/v2/customers/:id

Path Parameters

NameTypeDescription

id

string

The ID for the Customer to delete

Headers

NameTypeDescription

X-Moltin-Customer-Token

string

A customer token used to access customer implicitly.

Authorization

string

The Bearer token to grant access to the API. If there is no customer token the grant type must be client_credentials.

curl -X DELETE https://api.moltin.com/v2/customers/:id \
     -H "Authorization: Bearer XXXX"

With customer token

curl -X GET https://api.moltin.com/v2/customers/:id \
     -H "X-Moltin-Customer-Token: XXXX"
     -H "Authorization: Bearer XXXX"

Without customer token

curl -X GET https://api.moltin.com/v2/customers/:id \
     -H "Authorization: Bearer XXXX"

Last updated