OBJECT
Query
Root Query
link GraphQL Schema definition
- type Query {
- # Perform a search on the Mercatum catelogue.
- #
- # Arguments
- # searchParams: The parameters used for the search
- (: SearchParams): SearchResult
- # Browse the Mercatum Catalogue
- #
- # Arguments
- # folder: [Not documented]
- (: String): BrowseResult!
- # Perform a search on order history
- #
- # Arguments
- # orderSearchParams: The parameters used for the search
- (: OrderSearchParams): [Order]
- # Return the Order by it's ID or Purchase Order number (at least one is required)
- #
- # Arguments
- # id: The ID of the Order
- # po: The Purchase Order number of the Order
- (: ID, : String): [Order]
- # Return a Product by it's ID
- #
- # Arguments
- # id: [Not documented]
- (: String!): Product!
- # View a comparison between 2 or more products
- #
- # Arguments
- # products: A list of product codes to compare
- # attrToCompare: A list of attributes to be compared. It will
- # include: 'code', 'brand', 'short description', 'fast-stock', and 'price' by
- # default.
- (: [ID!]!, : String): CompareResult
- # Return a current (in-memory) basket by it's name
- #
- # Arguments
- # basketName: The name of the basket
- (: String): Basket!
- # Return all current baskets
- : [Basket]
- # Return all quote baskets (also known as 'saved baskets')
- : [Basket]
- # Return information about a user
- #
- # Arguments
- # id: The ID of the user
- # name: The name of the user
- (: ID, : String): User
- # Return the default account of associated to the current (logged in) user
- : AccountDetails
- }
link Require by
This element is not required by anyone