All Release Notes
Added GraphQL support for querying Quotes and Quote Requests as an Associate
23 August 2023
Composable Commerce
HTTP API
Enhancement
GraphQLB2BQuotes
We've introduced GraphQL support for querying Quotes and Quote Requests as an Associate.
Changes:
- [GraphQL API] Added the following types to the GraphQL schema:
QuoteQueryInterface
,QuoteRequestQueryInterface
. - [GraphQL API] Changed the
AsAssociate
type:AsAssociate
object type now implementsQuoteRequestQueryInterface
interfaceAsAssociate
object type now implementsQuoteQueryInterface
interface
The following changes were introduced in terms of GraphQL SDL:
"Fields to access Quotes."interface QuoteQueryInterface {quote("Queries with specified ID"id: String,"Queries with specified key"key: String): Quotequotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult!}"Fields to access QuoteRequests."interface QuoteRequestQueryInterface {quoteRequest("Queries with specified ID"id: String,"Queries with specified key"key: String): QuoteRequestquoteRequests(where: String, sort: [String!], limit: Int, offset: Int): QuoteRequestQueryResult!}