GraphQL Schema Updates
New fields, types, and enums across the Admin, B2B, and Storefront GraphQL schemas.
Storefront GraphQL
- Built-in form field IDs — new
BuiltInFormFieldIdenum andbuiltInFieldIdfield on all form field types - Coupon staging — new
CouponStatusenum (APPLIED, STAGED) and coupon fields onCheckoutCoupon - Checkout coupon inputs —
couponsfield onCreateCheckoutInputandUpdateCheckoutDataInput - Shipping discounts —
costAfterDiscounton shipping options;OrderAutomaticShippingDiscounttype andnonCouponDiscountson consignments - Shipment line items — new
OrderShipmentLineItemtype anditemsfield onOrderShipment - Inventory settings —
showDefaultShippingExpectationPromptanddefaultShippingExpectationPromptfields - Store country code —
storeCountryCodefield onSettings
B2B GraphQL
- Backorder display settings — new
storefrontSettingsquery withBackorderDisplaySettingsType - Product backorder fields —
backorderMessage,totalOnHand,quantityBackorderedonProductTypeandProductInfoType - Order backorder snapshot —
backorderSnapshotfield onOrderType - Country state required —
stateRequiredfield onCountryType
Admin GraphQL
- Translation resource types —
INVENTORY_BACKORDER_AVAILABILITY_PROMPT,INVENTORY_DEFAULT_SHIPPING_EXPECTATION_PROMPT, andPRODUCT_URL_PATHS