Skip to content

Delete customer subscription

DELETE
/merchants/{merchantCode}/customers/{customerId}/subscriptions/{subscriptionCode}
curl --request DELETE \
--url https://customer.shopgate.io/v1/merchants/example/customers/example/subscriptions/example

Delete customer subscription

merchantCode
required
string
customerId
required
string
subscriptionCode
required
string

Subscription was deleted

Media typeapplication/json

Access denied

Media typeapplication/json
object
code

Machine readable error code

string
message
required

Human readable error code

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

Merchant, Customer or Subscription not found

Media typeapplication/json
object
code

Machine readable error code

string
message
required

Human readable error code

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

Unexpected error

Media typeapplication/json
object
code

Machine readable error code

string
message
required

Human readable error code

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