createOrderedProductV2

Creates an ordered product on subscription identified via `X-Subscription-Token` or `X-Project-Access-Token`.

Arguments

ArgumentDescription

Parameters for CreateOrderedProductV2

CreateOrderedProductV2Input Arguments

ArgumentDescription

Metadata that can be used by developers to store additional information on objects.

ID of this ordered product. This will be ignored on create action.

ID for the related product

The quantity for this ordered product.

A custom price in cents for this ordered product, if left blank the default product price will be used

The next date on which a new order should get initiated

The amount of time in units between shipments of this order

The time measure for interval units

ID of the subscription to create this OrderedProduct for. Required if authenticated via a project access token

Use this field to look up the associated product based on SKU.

Use this field to look up the associated product based on slug.

Use this field to look up the associated product based on Shopify Variant ID.

Return fields

errors ([String!]!)

orderedProduct (OrderedProduct)

subscription (Subscription)

Last updated