Skip to content

Merge subscriptions

POST
/merchants/{merchantCode}/devices/{deviceCode}/subscriptions/customers/{customerId}/mergeSubscriptions
curl --request POST \
--url https://customer.shopgate.io/v1/merchants/example/devices/example/subscriptions/customers/example/mergeSubscriptions

Merge subscriptions for device and customer

merchantCode
required
string
deviceCode
required
string
customerId
required
string

Subscriptions were merged

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, Device or Customer 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"
}