Added

Edit line endpoint now supports pricing, selling plan, and custom discounts updates

The Edit line endpoint has been enhanced to support additional updates beyond quantity changes. You can now modify the selling plan, pricing configuration, and custom discounts of an existing subscription line item


What's New?

The following fields are now supported in the Edit line endpoint:

  • sellingPlanGroupId - Update the selling plan group applied to the line item.
  • pricingType - Choose whether the line item should use the selling plan pricing or a custom pricing configuration.
  • customDiscount - Apply a custom discount to the line item when using CUSTOM pricing.

Things to remember

  • To apply a custom discount, set pricingType to CUSTOM.
  • When using a percentage discount, the discount value must be provided as a whole number due to Shopify limitations.
  • Changes made via this endpoint apply to all future orders on the subscription contract.

Learn more about the API endpoint in this guide: Link