Breaking Changes2
Order Line Item `shipping_line_id`
The `shipping_line_id` field on order line items is no longer nullable. If an order line item was not associated with a shipping line, this field would previously return null. Now, it will be omitted.
shipping_line_id: null
shipping_line_id: "gid://shopify/ShippingLine/123456789"
Update code to handle the absence of `shipping_line_id` when no shipping line is associated.
Refund Line Item `restock_type` enum
The `restock_type` enum for refund line items has been updated. Previously, values like 'NO_RESTOCK' were allowed. Now, only valid restock actions will be permitted, potentially impacting integrations that relied on the previous broader set of values.
restock_type: "NO_RESTOCK"
restock_type: "RETURN"
Review and update restock type values in refund line item creation/updates to conform to the new enum.
Never get blindsided by an API change again
Deprecatr AI monitors 150+ providers, maps changes to your codebase, and delivers migration checklists before your team hits a breaking change.
Join the Waitlist