The input fields required to create a Subscription Contract.
Access Scopes
Fields
contract:
SubscriptionDraftInput! -
The attributes used as input for the Subscription Draft.
currencyCode:
CurrencyCode! -
The currency used for the subscription contract.
customerId:
ID! -
The ID of the customer to associate with the subscription contract.
discountCodes:
String -
A list of discount redeem codes to apply to the subscription contract.
lines:
SubscriptionAtomicLineInput! -
A list of new Subscription Lines.
nextBillingDate:
DateTime! -
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.