updateOrderedProduct

Updates the ordered product on a subscription identified via `X-Subscription-Token`.

Arguments

ArgumentDescription

Parameters for UpdateOrderedProduct

UpdateOrderedProductInput Arguments

ArgumentDescription

metadata (JSON)

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

id (ID)

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

productId (ID)

ID for the related product

quantity (Int)

The quantity for this ordered product.

customPriceCents (Int)

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

shipmentDate (ISO8601Date)

The next date on which a new order should get initiated

interval (Int)

The amount of time in units between shipments of this order

intervalUnitOfMeasureType (OrderedProductIntervalUnitOfMeasure)

The time measure for interval units

Return fields

orderedProduct (OrderedProduct)

Last updated