← All vendor deprecations
ShopifyBreaking changehigh

Gift Card line_item_id will become read-only in REST Admin API version 2027-01

Takes effect
Not announced
Published
6 Nov 2026

In REST Admin API version 2027-01 and later, the line_item_id property on the Gift Card resource is read-only. Shopify ignores the property in create and update requests. Remove it from those requests before you upgrade. What changed In REST Admin API version 2027-01 and later, apps can't add, replace, or clear a gift card's line-item association through Gift Card create or update requests. Shopify ignores any line_item_id value in those requests. Gift Card responses still include existing line-item and order associations. Earlier API versions keep their current behavior. Who's affected This change affects you if all of the following are true: Your app uses the REST Admin API Gift Card resource. Your app includes line_item_id when it creates or updates gift cards. You plan to upgrade your app to API version 2027-01 or later. If your app only reads line_item_id from Gift Card responses, or stays on an API version earlier than 2027-01, then this change doesn't affect you. Why t

Read the vendor's announcement

Get this on your timeline

Add your stack to StackClock and we will remind you before it takes effect, along with your domain, certificate and license expiries.

Start free
Shopify: Gift Card line_item_id will become read-only in REST Admin API version 2027-01 · StackClock