8 January 2026
CartsQuotesOrdersGraphQL
With the new
purchaseOrderNumber field on Cart, Buyers can track their purchase order number from the very beginning of the shopping journey, before creating a Quote Request or an Order.When an Order or Quote Request is created from a Cart with a
purchaseOrderNumber, the value is automatically inherited unless explicitly overridden in the draft.Changes:
- [API] Added optional
purchaseOrderNumberfield to Cart and CartDraft. - [API] Added
setPurchaseOrderNumberupdate action to the Carts API. - [API] Added CartPurchaseOrderNumberSet Message.
- [API] Updated OrderFromCartDraft to inherit
purchaseOrderNumberfrom Cart if not provided. - [API] Updated QuoteRequestDraft to inherit
purchaseOrderNumberfrom Cart if not provided. - [GraphQL API] Changed the
Carttype:- Added the
purchaseOrderNumberfield to theCarttype.
- Added the
- [GraphQL API] Changed the
CartDrafttype:- Added the
purchaseOrderNumberfield to theCartDrafttype.
- Added the
- [GraphQL API] Changed the
CartUpdateActiontype:- Added the
setPurchaseOrderNumberfield to theCartUpdateActiontype.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type Cart {
purchaseOrderNumber: String
}
extend input CartDraft {
purchaseOrderNumber: String
}
extend input CartUpdateAction {
setPurchaseOrderNumber: SetCartPurchaseOrderNumber
}
type CartPurchaseOrderNumberSet implements MessagePayload {
purchaseOrderNumber: String
oldPurchaseOrderNumber: String
type: String!
}
input SetCartPurchaseOrderNumber {
purchaseOrderNumber: String
}