Subscriptions
Reactivate subscription
Changed onReactivate the subscription contract and optionally update the next billing date.
The subscription should be in paused or cancelled state and if the subscription is cancelled, it cannot be a prepaid subscription. We will calculate a next billing date based on the interval configuration if no nextBillingDate is provided. A nextBillingDate without a time (YYYY-MM-DD) is a date in the shop time zone. It gets the shop renewal billing time, or the time of the current next billing date when the shop has no renewal billing time.
post/customers/{customerId}/subscriptions/{subscriptionId}/reactivate
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
Updated subscription
Changes
- info
added the new optional request property
- info