Tags:
- Storefront GraphQL API
- 2026-07
New PRODUCT_UNAVAILABLE_IN_BUYER_LOCATION warning code in the Storefront API Cart
PRODUCT_UNAVAILABLE_IN_BUYER_LOCATION warning code in the Storefront API CartStarting with the 2026-07 version of the Storefront API, the Cart emits a warning when a cart line contains a product that isn't available in the buyer's location.
Each affected cart line returns its own warning. The warning's target is set to the ID so you can map it back to the line in your UI.
For background on cart warnings and an example of handling them, refer to our docs on cart warnings.
Was this section helpful?