The create customer subscription method subscribes the specified customer to the specified offer and/or promotion.
URL | https://[host].accumulus.com/json/customers/[customerID]/subscriptions |
---|---|
HTTP Method | POST |
Query String Parameters |
Example
POST https://[host].accumulus.com/json/customers/1005/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":"1043" }