Zum Hauptinhalt springen
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

SubscriptionItem identifier

Antwort

SubscriptionItem resource

id
string
read-only
Beispiel:

"01F9ZQZJZJQZJZJZJZJZJZJZJZ"

parent
any | null

The parent item of the item. If this is null, the item is a root item.

plan
object | null

The plan this item is based on.

measurementValues
object[]
read-only

Usage values during the subscription item period.

billing
object
read-only

The billing details of the item.

name
string
read-only

The name of the item which will be used in the invoice. The name is translated based on the customer's locale.

Beispiel:

"Fitness M"

description
string | null
read-only

The description of the item which will be used in the invoice. The description is translated based on the customer's locale.

Beispiel:

"Everything included"

furtherInformation
string | null
read-only

Further information defines additional information for the item which will be displayed in the invoice.

Beispiel:

"Additional agreements: The contract includes a free drink flatrate."

pricePlan
object | null

The price plan of the item, which defines the price and billing interval.

status
enum<string>
read-only

The status of the item.

Possible values:

  • active: The item is active and will be billed.
  • canceled: The item is canceled and will be billed until the end of the contract.
  • pending: The item is pending and will be billed after the contract start.
  • terminated: The item is terminated and will not be billed.
Verfügbare Optionen:
active,
canceled,
pending,
terminated
Beispiel:

"active"

product
object | null

The product of the item.

appliedDiscounts
object[]
read-only
periods
object[]
activatedAt
string<date-time> | null
read-only

The date the subscription item was activated.

Beispiel:

"2021-01-01T00:00:00+00:00"

type
enum<string>
read-only

The type of the item.

Possible values:

  • option: The item is an product set option.
  • charge: The item is a charge.
  • plan-product: The item is a plan product.
  • product: The item is a product, and not created from a plan.
Verfügbare Optionen:
addon,
charge,
plan-product,
product
Beispiel:

"addon"

currentMeasurementValue
object | null

The current measurement value of the item.

inheritedPeriod
boolean
read-only

Is the period inherited from the subscription?

Beispiel:

true