GraphQL Schema Updates
The Storefront GraphQL API now exposes how a cart was created and its associated B2B company.
Storefront GraphQL
- Cart origin and company: new
sourceandcompanyIdfields on theCarttype.- Source:
sourcereturns the newCartSourceenum, indicating how the cart was created:B2B,B2B_INVOICE,B2B_QUOTE, orBUY_NOW. - Company:
companyIdreturns the B2B company ID associated with the cart.
- Source:
For schema details, browse the Storefront GraphQL API reference.