GET
/
subscription-item-applied-discounts
/
{id}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

SubscriptionItemAppliedDiscount identifier

Response

200
application/json
id
string
subscriptionItem
string
coupon
string | null
status
any

The status of this applied discount.

Possible values:

  • active: The discount is active and will be applied to the subscription item.
  • completed: The discount is not active anymore, but it was applied to the subscription item.
  • removed: The discount was removed from the subscription item.
discount
object

The discount that is applied to the subscription item.

appliedIntervals
integer | null

The number of intervals this discount was applied to the subscription item.

createdAt
string
updatedAt
string
removed
boolean
completed
boolean
active
boolean
tenantId
string