Anchor to SubscriptionContractAtomicCreateInputSubscription
SubscriptionContractAtomicCreateInput
input_object
The input fields required to create a Subscription Contract.
Anchor to FieldsFields
- Anchor to contractcontract•Subscription
Draft requiredInput! The attributes used as input for the Subscription Draft.
- Anchor to currencyCodecurrency•
Code CurrencyCode! non-null The currency used for the subscription contract.
- Anchor to customerIdcustomer•
Id ID!non-null The ID of the customer to associate with the subscription contract.
- Anchor to discountCodesdiscount•
Codes [String!]Default:[] A list of discount redeem codes to apply to the subscription contract.
- Anchor to lineslines•[Subscription
Atomic requiredLine Input!]! A list of new Subscription Lines.
- Anchor to nextBillingDatenext•
Billing Date DateTime! non-null The next billing date for the subscription contract.This field is independent of billing cycles.It stores metadata set by the apps, and thus not managed by Shopify.It can be queried from subscriptionContract.nextBillingDate.
Was this section helpful?