Subscriptions
Replace subscription cart
Replaces the subscription's current cart with a new one built from the submitted customer data and, when supplied, a new set of cart items. The outgoing cart and its link are voided. No SMS is sent: call POST /api/public/v1/subscriptions/{id}/send_sms afterwards to hand the new link to the shopper.
post/api/public/v1/subscriptions/{id}/replace
Request
- Base URLhttp://localhost:3009
- URLhttp://localhost:3009/api/public/v1/subscriptions/{id}/replace
- AuthHTTP basic
Path parameters
idstring required
Subscription ID (integer)
Headers
Authorizationstring required
Request body
Response
cart replaced - the subscription resource, as POST /api/public/v1/subscriptions returns it
Changes
No recorded changes to this operation across all 1 revision of this API.