GraphQL Schema Updates
New types, fields, and enums across the Storefront and B2B GraphQL schemas.
Storefront GraphQL
- Structured checkout errors — new
CartError,CartLineItemError,CheckoutShippingConsignmentError, andCheckoutTaxErrortypes withCartErrorCode,CheckoutErrorCode, andCheckoutTaxErrorCodeenums, surfaced through theCreateCheckoutErrorunion onCreateCheckoutResult.errors - Extra field values — new
ExtraFieldValueinterface andTextExtraFieldValue,NumberExtraFieldValue,MultilineTextExtraFieldValue, andMultipleChoiceExtraFieldValueimplementations for B2B extra fields - Inventory by location — new
ProductInventoryByLocation,ProductLocationConnection, andbyLocationfield onProductInventorywith location ID, code, type, and distance filtering - Search suggestions — new
SearchProductSuggestionandSearchProductSuggestionResulttypes andsuggestionsfield onSearchProductsfor spelling corrections and autocomplete - Filter item counts — new
displayItemsCountfield onBrandSearchFilter,CategorySearchFilter, andProductAttributeSearchFilter - Metafield description — new
descriptionfield onMetafields - Gift certificate entity ID — new
entityIdfield onCheckoutGiftCertificate - Backorder messaging (alpha) — new
backorderShippingExpectationMessagefield on orders andbackorderMessagefield onOrderPhysicalLineItem
B2B GraphQL
- Catalog quick product inventory — new
inventoryTracking,availableToSell,unlimitedBackorder,totalOnHand, andbackorderMessagefields onCatalogQuickProductType - Order backorder snapshot removed —
backorderSnapshotfield removed fromOrderType
For schema details, browse the Storefront GraphQL API reference and the B2B GraphQL API reference.