All Release Notes
Added 'purchaseOrderNumber' field to Quotes- and Order-related types
26 January 2023
Composable Commerce
HTTP API
Enhancement
QuotesOrdersGraphQL
With the new purchaseOrderNumber
field, Buyers are now able to track their purchase throughout the order creation process with their Purchase Order Number. To support B2B scenarios, this new field is also supported on all types related to Quotes.
Changes:
- [API] Added optional field
purchaseOrderNumber
to OrderFromCartDraft, OrderImportDraft, QuoteRequestDraft, QuoteRequest, StagedQuote, Quote, Order. - [API] Added
setPurchaseOrderNumber
update action to Orders and Order Edits APIs. - [API] Added PurchaseOrderNumberSet message.
- [GraphQL API] Changed the
QuoteRequestDraft
type:- Input field
purchaseOrderNumber
was added toQuoteRequestDraft
type
- Input field
- [GraphQL API] Changed the
OrderCartCommand
type:- Input field
purchaseOrderNumber
was added toOrderCartCommand
type
- Input field
- [GraphQL API] Changed the
ImportOrderDraft
type:- Input field
purchaseOrderNumber
was added toImportOrderDraft
type
- Input field
- [GraphQL API] Changed the
StagedOrderUpdateAction
type:- Input field
setPurchaseOrderNumber
was added toStagedOrderUpdateAction
type
- Input field
- [GraphQL API] Changed the
StagedQuote
type:- Added the
purchaseOrderNumber
field to theStagedQuote
type.
- Added the
- [GraphQL API] Changed the
OrderUpdateAction
type:- Input field
setPurchaseOrderNumber
was added toOrderUpdateAction
type
- Input field
- [GraphQL API] Changed the
Quote
type:- Added the
purchaseOrderNumber
field to theQuote
type.
- Added the
- [GraphQL API] Changed the
Order
type:- Added the
purchaseOrderNumber
field to theOrder
type.
- Added the
- [GraphQL API] Changed the
QuoteRequest
type:- Added the
purchaseOrderNumber
field to theQuoteRequest
type.
- Added the
The following changes were introduced in terms of GraphQL SDL:
extend type StagedQuote {purchaseOrderNumber: String}extend type Quote {purchaseOrderNumber: String}extend type Order {purchaseOrderNumber: String}extend type QuoteRequest {purchaseOrderNumber: String}extend input QuoteRequestDraft {purchaseOrderNumber: String}extend input OrderCartCommand {purchaseOrderNumber: String}extend input ImportOrderDraft {purchaseOrderNumber: String}extend input StagedOrderUpdateAction {setPurchaseOrderNumber: SetStagedOrderPurchaseOrderNumber}extend input OrderUpdateAction {setPurchaseOrderNumber: SetOrderPurchaseOrderNumber}type PurchaseOrderNumberSet implements MessagePayload & OrderMessagePayload {purchaseOrderNumber: StringoldPurchaseOrderNumber: Stringtype: String!}input SetOrderPurchaseOrderNumber {purchaseOrderNumber: String}input SetStagedOrderPurchaseOrderNumber {purchaseOrderNumber: String}type SetStagedOrderPurchaseOrderNumberOutput implements StagedOrderUpdateActionOutput {type: String!purchaseOrderNumber: String}