Home > @infiniteobjects/shopify-data-manager > AdminTypes > SubscriptionContractAtomicCreateInput
The input fields required to create a Subscription Contract.
Signature:
export interface SubscriptionContractAtomicCreateInput
Property | Modifiers | Type | Description |
---|---|---|---|
contract | SubscriptionDraftInput | The attributes used as input for the Subscription Draft. | |
currencyCode | CurrencyCode | `${CurrencyCode}` | The currency used for the subscription contract. | |
customerId | Scalars[‘ID’][‘input’] | The ID of the customer to associate with the subscription contract. | |
discountCodes? | InputMaybe<Array<Scalars[‘String’][‘input’]>> | (Optional) A list of discount redeem codes to apply to the subscription contract. | |
lines | Array<SubscriptionAtomicLineInput> | A list of new Subscription Lines. | |
nextBillingDate | Scalars[‘DateTime’][‘input’] | The next billing date for the subscription contract. |