Skip to main content
GET
cURL

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

id
string
erforderlich

SubscriptionItemAppliedDiscount identifier

Antwort

SubscriptionItemAppliedDiscount resource

id
string
read-only
subscriptionItem
string<uuid>
read-only
Beispiel:

"https://example.com/"

coupon
string<uuid> | null
read-only
Beispiel:

"https://example.com/"

status
any
read-only

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.
Beispiel:

"active"

discount
object
read-only

The discount that is applied to the subscription item.

appliedIntervals
integer | null
read-only

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

Beispiel:

1

createdAt
string<date-time>
read-only
updatedAt
string<date-time>
read-only
removed
boolean
read-only
completed
boolean
read-only
active
boolean
read-only
tenantId
string
read-only