subscriptionDraft
Returns a Subscription Draft resource by ID.
Arguments
- •ID!required
The ID of the Subscription Draft to return.
Anchor to Possible returnsPossible returns
- Anchor to SubscriptionDraftSubscription•
Draft Represents a Subscription Draft.
- billing
Cycle •SubscriptionBilling Cycle The billing cycle that the subscription contract will be associated with.
- billing
Policy •Subscriptionnon-nullBilling Policy! The billing policy for the subscription contract.
- concatenated
Billing Cycles • Subscriptionnon-nullBilling Cycle Connection! The billing cycles of the contracts that will be concatenated to the subscription contract.
- currency
Code •Currencynon-nullCode! The currency used for the subscription contract.
- custom
Attributes •[Attribute!]!non-null A list of the custom attributes to be added to the generated orders.
- customer•Customer!non-null
The customer to whom the subscription contract belongs.
- customer
Payment •Method CustomerPayment Method The customer payment method used for the subscription contract.
- delivery
Method •SubscriptionDelivery Method The delivery method for each billing of the subscription contract.
- delivery
Options •SubscriptionDelivery Option Result The available delivery options for a given delivery address. Returns
null
for pending requests.- delivery
Policy •Subscriptionnon-nullDelivery Policy! The delivery policy for the subscription contract.
- delivery
Price •MoneyV2 The delivery price for each billing the subscription contract.
- discounts
• Subscriptionnon-nullDiscount Connection! The list of subscription discounts which will be associated with the subscription contract.
- discounts
Added • Subscriptionnon-nullDiscount Connection! The list of subscription discounts to be added to the subscription contract.
- discounts
Removed • Subscriptionnon-nullDiscount Connection! The list of subscription discounts to be removed from the subscription contract.
- discounts
Updated • Subscriptionnon-nullDiscount Connection! The list of subscription discounts to be updated on the subscription contract.
- id•ID!non-null
A globally-unique ID.
- lines
• Subscriptionnon-nullLine Connection! The list of subscription lines which will be associated with the subscription contract.
- lines
Added • Subscriptionnon-nullLine Connection! The list of subscription lines to be added to the subscription contract.
- lines
Removed • Subscriptionnon-nullLine Connection! The list of subscription lines to be removed from the subscription contract.
- next
Billing •Date DateTime The next billing date for the subscription contract.
- note•String
The note field that will be applied to the generated orders.
- original
Contract •SubscriptionContract The original subscription contract.
- status•Subscription
Contract Subscription Status The current status of the subscription contract.
- shipping
Options •SubscriptionShipping Option Result Available Shipping Options for a given delivery address. Returns NULL for pending requests.
- billing