Get Cancelled Subscriptions
curl --request GET \
--url https://api.your-domain.com/example/zaymo/reactivate/cancelled-subscriptions \
--header 'X-Zaymo-API-Key: <api-key>'import requests
url = "https://api.your-domain.com/example/zaymo/reactivate/cancelled-subscriptions"
headers = {"X-Zaymo-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Zaymo-API-Key': '<api-key>'}};
fetch('https://api.your-domain.com/example/zaymo/reactivate/cancelled-subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": {
"subscriptions": [
{
"subscription_id": "<string>",
"title": "<string>",
"products": [
{
"id": "<string>",
"title": "<string>",
"price": 29.99,
"images": [
"<string>"
],
"quantity": 2,
"description": "<string>"
}
]
}
]
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Reactivate
Get Cancelled Subscriptions
Retrieve a list of the customer’s cancelled subscriptions that are eligible for reactivation. Subscriptions will be displayed in the order they are returned by this endpoint.
GET
/
zaymo
/
reactivate
/
cancelled-subscriptions
Get Cancelled Subscriptions
curl --request GET \
--url https://api.your-domain.com/example/zaymo/reactivate/cancelled-subscriptions \
--header 'X-Zaymo-API-Key: <api-key>'import requests
url = "https://api.your-domain.com/example/zaymo/reactivate/cancelled-subscriptions"
headers = {"X-Zaymo-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Zaymo-API-Key': '<api-key>'}};
fetch('https://api.your-domain.com/example/zaymo/reactivate/cancelled-subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": {
"subscriptions": [
{
"subscription_id": "<string>",
"title": "<string>",
"products": [
{
"id": "<string>",
"title": "<string>",
"price": 29.99,
"images": [
"<string>"
],
"quantity": 2,
"description": "<string>"
}
]
}
]
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Zaymo will authenticate requests using the API key you provide
Query Parameters
The email address of the customer
Was this page helpful?