Developers can now update line item quantity in future orders as one-time or ongoing modifications, or on a customized schedule of their own.
The List Selection Options endpoint now uses the optional
latest query parameter to return the latest subscription group that a product was added to.
The Get Payment Method endpoint now returns additional information, such as customer's name and billing address, when this data is available.
For Subscriptions endpoints, the new
out_of_stock_product error code is now available in the
last_failure_code field when a recurrence order cannot be placed due to missing products on stock.
To support the recent introduction of our Subscription Adjustment API, several improvements have been made to the Future Order endpoints of Subscriptions.
Developers now have the ability to add line items to future orders as one-time or ongoing modifications, or on a customized schedule of their own.
When updating a Subscription Line Item, the
price field is now optional.
Callbacks to webhooks registered using the Create Webhook Subscription endpoint now contain a header called
Event-Actor-Type. This header indicates the type of user that triggered the webhook event.
A new webhook topic is now available for subscription line items added. Add this webhook via the Create Webhook Subscription endpoint.
billing_address objects now contain a field called
subscription now contains a field called
order_count. This field gives the current count of orders created for a subscription.
Adds the Create Line Items endpoint.
Adds the Update Line Item Prepaid Metadata endpoint.
Adds the Create Line Item Attributes endpoint.
plugin_event_failed failure code to the possible list of last failure codes in the Subscription entity of the Subscriptions API.
Adds the Create Line Item Prepaid Metadata endpoint to the Subscriptions API. This allows API users to convert subscriptions to prepaid.
Adds a few new failure codes to the Subscription entity of the Subscriptions API
Adds three optional fields to the Subscription entity of the Subscriptions API
Adds support for the
subscription.discount_code field in the payload of the Create Subscription endpoint of the Subscriptions API.
Adds a new
placed_at field to the Subscription entity of the Subscriptions API.
order_note field to the Subscriptions object. This feature ensures that the customer order note added at the time of the initial order is carried through to recurring orders and that it can be updated via the API.
This field is supported on stores using Shopify Checkout only.