2024-09-17 — Add Dynamic Discounts
Subscription Groups support Dynamic Discount rules.
Subscription Groups support Dynamic Discount rules.
Developers now have the ability to configure automatic product conversions when subscriptions are created from checkout.
The Subscriptions API now supports a new type of adjustment action - apply price to a line item.
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.
The subscriptions shipping_address
and billing_address
objects now contain a field called deleted_at
.
The 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.
Adds a 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.
Add an 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.