GraphQL Schema Updates
New checkout error types, locale fields, cart option identifiers, and B2B terminology updates across the Storefront and B2B GraphQL schemas.
Storefront GraphQL
- Structured checkout errors expanded — new
CheckoutBillingAddressErrorandCheckoutCouponErrortypes withCOUPON_EXPIRED,COUPON_INELIGIBLE,COUPON_INVALID,COUPON_INVALID_LOCATION,COUPON_MIN_PURCHASE,COUPON_MODIFICATION_NOT_ALLOWED, andCOUPON_NOT_APPLICABLEcodes onCheckoutErrorCode - Checkout result errors — new
CompleteCheckoutErrorandUpdateCheckoutErrorunions surfaced througherrorsonCompleteCheckoutResultandUpdateCheckoutResult;CreateCheckoutErrornow includesCheckoutCouponError - Locale alternates — new
localesfield onBlogIndexPage,BlogPost,Brand, andCategoryfor localized alternate paths and URLs - Cart option identifiers — new
attributeIdfield on everyCartSelectedOptionvariant andaddedByAttributeIdonCartPhysicalItemandCartDigitalItemto correlate items back to the option that produced them
B2B GraphQL
- B2B Edition rebrand — schema descriptions referencing
BundleB2Bupdated toB2BEditionacrossuserCompany,BCInfomation,OrderType,OrderedProductType,CompanyUserInfoType,CustomerInfoType,StoreSitesType, andUserAuthResultType
For schema details, browse the Storefront GraphQL API reference and the B2B GraphQL API reference.