Get Subscription By Id
Access Endpoint URL:https://rest.everyware.com/api/subscriptions/GetSubscription [GET]
Send a request to the GetSubscriptionById endpoint to retrieve detailed information regarding a specific subscription.
Inbound Parameter
Parameter Name | Data Type | Description | Optional/Required |
---|---|---|---|
SubscriptionID | long | The ID of the subscription you wish to retrieve information for | Required |
Code Sample
{
"SubscriptionID": 5389
}
curl --location 'https://rest.everyware.com/api/subscriptions' \
--header 'Authorization: Basic [xxx]' \
--header 'Content-Type: application/json' \
--data-raw ' {
"SubscriptionID": 5389
}
{
"IsSuccess": true,
"Message": "Success getting subscription details for Id=5389.",
"Data": {
"SubscriptionId": 5389,
"Individual": " 2.00",
"ServiceName": "Pickup",
"ServiceDescription": "Pickup",
"BillingInterval": "Monthly",
"PaymentMethodType": "Credit Card",
"RecurringCharge": 5.0000,
"TaxAmount": 0.0000,
"DiscountAmount": 0.0000,
"DiscountPercent": 0.0000,
"Total": 5.0000,
"InitialCharge": false,
"Active": true,
"Prorate": false,
"StartDate": "11/27/2024",
"DateAdded": "11/27/2024",
"DateModified": "11/27/2024"
}
}
Updated about 19 hours ago