The subscription app that the subscription contract is registered to.
appAdminUrl•
URL
The URL of the subscription contract page on the subscription app.
billingAttempts•
SubscriptionBillingAttemptConnection!
non-null
The list of billing attempts associated with the subscription contract.
billingPolicy•
SubscriptionBillingPolicy!
non-null
The billing policy associated with the subscription contract.
createdAt•
DateTime!
non-null
The date and time when the subscription contract was created.
currencyCode•
CurrencyCode!
non-null
The currency that's used for the subscription contract.
customAttributes•
[Attribute!]!
non-null
A list of the custom attributes to be added to the generated orders.
customer•
Customer
The customer to whom the subscription contract belongs.
customerPaymentMethod•
CustomerPaymentMethod
The customer payment method that's used for the subscription contract.
deliveryMethod•
SubscriptionDeliveryMethod
The delivery method for each billing of the subscription contract.
deliveryPolicy•
SubscriptionDeliveryPolicy!
non-null
The delivery policy associated with the subscription contract.
deliveryPrice•
MoneyV2!
non-null
The delivery price for each billing of the subscription contract.
discounts•
SubscriptionManualDiscountConnection!
non-null
The list of subscription discounts associated with the subscription contract.
id•
ID!
non-null
A globally-unique ID.
lastBillingAttemptErrorType•
SubscriptionContractLastBillingErrorType
The last billing error type of the contract.
lastPaymentStatus•
SubscriptionContractLastPaymentStatus
The current status of the last payment.
lines•
SubscriptionLineConnection!
non-null
The list of subscription lines associated with the subscription contract.
linesCount•
Count
The number of lines associated with the subscription contract.
nextBillingDate•
DateTime
The next billing date for the subscription contract. This field is managed by the apps.
Alternatively you can utilize our
Billing Cycles APIs,
which provide auto-computed billing dates and additional functionalities.
note•
String
The note field that will be applied to the generated orders.
orders•
OrderConnection!
non-null
A list of the subscription contract's orders.
originOrder•
Order
The order from which this contract originated.
revisionId•
UnsignedInt64!
non-null
The revision id of the contract.
status•
SubscriptionContractSubscriptionStatus!
non-null
The current status of the subscription contract.
updatedAt•
DateTime!
non-null
The date and time when the subscription contract was updated.
lineCount•
Int!
non-nullDeprecated
The number of lines associated with the subscription contract. Use linesCount instead.