Subscriptions
Swap a product for a bundle
Changed onSwap a product for a bundle in a subscription contract. It will create new subscription contract lines for the bundle items and delete the previous subscription contract lines.
This endpoint is an abstraction of the "update lines" endpoint.
post/customers/{customerId}/subscriptions/{subscriptionId}/swap-product-for-bab
Request
- Base URLhttps://api.awtomic.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdstring required
Customer Id
subscriptionIdstring required
Subscription Id
Request body
Response
Lines updated
Changes
- info
added the non-success response with the status
- info