DeprecatrAI

2024-01

Released 2023-07-05Active
Migration Effort
Low
Estimated Hours
~4h
Primary risk if skipped: Potential for order processing errors or unexpected behavior if breaking changes are not addressed.

Breaking Changes2

fieldMediumShopify POSShopify Checkout

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.

Before
shipping_line_id: null
After
shipping_line_id: "gid://shopify/ShippingLine/123456789"

Update code to handle the absence of `shipping_line_id` when no shipping line is associated.

enumMediumShopify POSShopify Admin

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.

Before
restock_type: "NO_RESTOCK"
After
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