Skip to content

Delete customer

DELETE
/merchants/{merchantCode}/customers/{customerId}
curl --request DELETE \
--url 'https://customer.shopgate.io/v1/merchants/example/customers/example?ignoreInternalAttributes=false'

Delete customer

merchantCode
required
string
customerId
required
string
localeCode
string

Locale code to change the language of the attributes

ignoreInternalAttributes
boolean

Ignores internal attributes in the result set

Customer deleted

Media typeapplication/json

Merchant or customer not found

Media typeapplication/json

Unexpected error

Media typeapplication/json
object
code

Machine readable error code

string
message
required

Human readable error code

string
Examplegenerated
{
"code": "example",
"message": "example"
}