Get Subscriptions
Access Endpoint URL: https://rest.everyware.com/api/subscriptions [GET]
Send a request to the GetSubscriptions endpoint to return the subscriptions associated with a Sales Site. You may filter subscriptions by whether or not they are active.
Inbound Parameters
Parameter Name | Data Type | Description | Optional/Required |
---|---|---|---|
ActiveOnly | Boolean | Set True to retrieve only subscriptions that are active. | Required |
Code Sample
{
"ActiveOnly": true
}
curl --location 'https://rest.everyware.com/api/subscriptions' \
--header 'Authorization: Basic [xxx]' \
--header 'Content-Type: application/json' \
--data-raw ' {
"ActiveOnly": true
}
{
"IsSuccess": true,
"Message": "Found 25 subscription(s)",
"Data": [
{
"SubscriptionId": 5389,
"Active": true,
"StartDate": "11/27/2024",
"DateAdded": "11/27/2024",
"DateModified": "11/27/2024"
},
{
"SubscriptionId": 5388,
"Active": true,
"StartDate": "11/27/2024",
"DateAdded": "11/27/2024",
"DateModified": "11/27/2024"
}
]
}
Updated about 19 hours ago