How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Read a cart line's `viewKey` from the `CartLine` type

calendar_today June 12, 2026 domain shopify-admin

The CartLine type now exposes a viewKey field, so you can correlate a returned cart line with the viewKey you sent to cartLinesUpdate and cartLinesRemove . What’s new CartLine.viewKey returns the same viewKey your Liquid storefront renders, alongside the existing UUID id . How to use Previously, identifying a line by viewKey was input-only: you could send a viewKey , but the response returned a UUID id with no viewKey to map back.

open_in_new Read original post