23 August 2023
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): Quote
quotes(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): QuoteRequest
quoteRequests(where: String, sort: [String!], limit: Int, offset: Int): QuoteRequestQueryResult!
}