Remove a cycle discount
DELETE
/v1/subscriptions/{id}/cycles/discount
Removes the cycle's own discount. That cycle's charge goes back to using the subscription discount.
Omit cycle_index to act on the next cycle. Removing from a cycle that
had no discount of its own does nothing and responds 200.
Authorizations
bearerAuth
Bearer token of the merchant obtained via POST /oauth2/token using the
merchant's credentials (not the app's). See
Authentication.
Type
HTTP (bearer)
Parameters
Path Parameters
id*
Subscription identifier.
Type
Requiredinteger
Example
10Query Parameters
cycle_index
Cycle to clear. When omitted, it applies to the next cycle.
Type
integer
Example
4Minimum
1Responses
Cycle discount removed.
application/json
JSON "data": { "cycle_index": 4, "discount": 15, "discount_type": "percent" }
{
}
DELETE
/v1/subscriptions/{id}/cycles/discount