OBJECT
Query
Root Query
link GraphQL Schema definition
- type Query {
- # Perform a search on the Mercatum catelogue.
- #
- # Arguments
- # searchparams: The search parameters to be used
- (: SearchParams): SearchResult!
- # Browse the Mercatum Catalogue
- #
- # Arguments
- # folder: The folder location to browser
- (: String): BrowseResult!
- # Perform a search within the order history
- #
- # Arguments
- # ordersearchparams: The search parameters to be used
- (: OrderSearchParams): [Order]
- # Return a specific Order by either it's id or purchase order
- #
- # Arguments
- # id: The id of the order
- # po: The purchase order
- (: ID, : String): [Order]
- # View the despatches of a particular Order by either it's id or purchase order
- #
- # Arguments
- # id: The id of the order
- # po: The purchase order
- (: ID, : String): [Despatch]
- # View details of a specific Product
- #
- # Arguments
- # id: The id of the product item
- (: String!): Product!
- # Compare two or more products.
- # The comparison will include the following attributes by default: 'code',
- # 'brand', 'short description', 'fast-stock', and 'price'.
- #
- # Arguments
- # attr_to_compare: [Not documented]
- # attributes_to_compare: A list of attributes to include in the
- # comparison
- (
- : String,
- : [String!]
- ): CompareResult
- # View a specific current basket
- #
- # Arguments
- # name: The name of the basket
- (: String): Basket!
- # View all current baskets
- : [Basket]
- # View all saved baskets
- : [Basket]
- # View basic user information
- # An id value of '0' with a empty name value will return information about the
- # current logged in user.
- #
- # Arguments
- # id: The id of the user
- # name: The name of the user
- (: ID, : String): User
- }
link Require by
This element is not required by anyone