POST api/subscriptions/on-renewal
Request Information
URI Parameters
None.
Body Parameters
RenewalNotificationRequestName | Description | Type | Additional information |
---|---|---|---|
customer_id | integer |
None. |
|
string |
None. |
||
first_name | string |
None. |
|
last_name | string |
None. |
|
order_tax | decimal number |
None. |
|
order_total | decimal number |
None. |
|
product_id | integer |
None. |
|
product_name | string |
None. |
|
site | string |
None. |
|
subscription_next_renewal_date | date |
None. |
|
subscription_renewal_date | date |
None. |
|
success | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "customer_id": 1, "email": "sample string 1", "first_name": "sample string 2", "last_name": "sample string 3", "order_tax": 1.0, "order_total": 1.0, "product_id": 1, "product_name": "sample string 4", "site": "sample string 5", "subscription_next_renewal_date": "2025-05-14T09:03:33.760745-04:00", "subscription_renewal_date": "2025-05-14T09:03:33.760745-04:00", "success": true }
application/xml, text/xml
Sample:
<RenewalNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/salem.cp.webapi.DataModels.LegacySubscriptions"> <CustomerId>1</CustomerId> <Email>sample string 1</Email> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <NextRenewalDate>2025-05-14T09:03:33.760745-04:00</NextRenewalDate> <OrderTax>1</OrderTax> <OrderTotal>1</OrderTotal> <ProductId>1</ProductId> <ProductName>sample string 4</ProductName> <RenewalDate>2025-05-14T09:03:33.760745-04:00</RenewalDate> <Site>sample string 5</Site> <Success>true</Success> </RenewalNotificationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.