The update subscription method allows updating of an existing subscription, including its subscription items.
URL | https://[host].accumulus.com/json/customers/[customerID]/subscriptions |
---|---|
HTTP Method | PUT |
Query String Parameters |
Example
PUT https://[host].accumulus.com/json/customers/1000/subscriptions
Request Body
{ "OfferCode":"BVHO", "PromotionCode":"BVHPRM", "ResellerID":"VENTRO", "SubscriptionID":"1065", "SubscriptionItems": [{ "Fields": [{ "ProductFieldCode":"URL", "Value":"www.fabrico.com" }], "ProductCode":"BVH", "SubscriptionItemID":"1000" }] }
Response Body
{ "Message":"SUCCESS" "SubscriptionID":"1068" }