Home > @infiniteobjects/shopify-data-manager > AdminTypes > SubscriptionDraftInput
The input fields required to create a Subscription Draft.
Signature:
export interface SubscriptionDraftInput
Property | Modifiers | Type | Description |
---|---|---|---|
billingPolicy? | InputMaybe<SubscriptionBillingPolicyInput> | (Optional) The billing policy for the subscription contract. | |
customAttributes? | InputMaybe<Array<AttributeInput>> | (Optional) A list of the custom attributes added to the subscription contract. | |
deliveryMethod? | InputMaybe<SubscriptionDeliveryMethodInput> | (Optional) The delivery method for the subscription contract. | |
deliveryPolicy? | InputMaybe<SubscriptionDeliveryPolicyInput> | (Optional) The delivery policy for the subscription contract. | |
deliveryPrice? | InputMaybe<Scalars[‘Decimal’][‘input’]> | (Optional) The shipping price for each renewal the subscription contract. | |
nextBillingDate? | InputMaybe<Scalars[‘DateTime’][‘input’]> | (Optional) The next billing date for the subscription contract. | |
note? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The note field that will be applied to the generated orders. | |
paymentMethodId? | InputMaybe<Scalars[‘ID’][‘input’]> | (Optional) The ID of the payment method to be used for the subscription contract. | |
status? | InputMaybe<SubscriptionContractSubscriptionStatus | `${SubscriptionContractSubscriptionStatus}`> | (Optional) The current status of the subscription contract. |