OBJECT
Mutation
Root Mutation
link GraphQL Schema definition
- type Mutation {
- # Add a product line to a current basket
- #
- # Arguments
- # basketName: The name of the basket
- # productCode: The product code to be added
- # quantity: The number of items to added (defaults to 1)
- (: String, : String!, : Int): Basket!
- # Edit a product line in a current basket
- #
- # Arguments
- # basketName: The name of the basket
- # productCode: The product code to be edited
- # quantity: The new 'quantity' value
- (
- : String,
- : String!,
- : Int!
- ): Basket!
- # Create a new current basket
- #
- # Arguments
- # basketName: The name of the new basket. If the name already
- # exists than the existing basket will be returned
- # purchasingInstruction: The PurchasingInstruction. Will add the
- # purchasing instruction when account with valid permission
- (: String, : String): BasketResultWithMessage!
- # Delete a current basket
- #
- # Arguments
- # basketName: The name of the basket
- (: String): String!
- # Save a current basket as a quote (e.g. persist it to the database)
- #
- # Arguments
- # basketName: The name of the basket
- (: String): Basket!
- # Delete a quote basket (e.g. remove from the database)
- #
- # Arguments
- # basketName: The name of the basket
- (: String): String!
- # Load a quote and make it current basket (e.g. load from database and store in
- # memory).
- #
- # If ID will be used to search for a basket, unless not specified in which case
- # the basketName will be used
- #
- # Arguments
- # basketName: The name of the basket
- # id: The ID of the basket
- (: String, : ID): Basket!
- # Add Shipping and invoice details to a basket, prior to ordering
- #
- # Arguments
- # basketName: The name of the basket
- # deliveryDetails: The delivery details to be added
- (
- : String,
- : BasketDeliveryDetails!
- ): Basket!
- # Place an order using a saved basket
- #
- # Arguments
- # basketName: The name of the basket
- (: String): [Order]
- # Create and place an order in one go.
- #
- # This will find an existing basket by name, or create a new one.
- #
- # Add a list of products, then add the delivery details, and finally place the
- # order.
- #
- # Arguments
- # basketName: The name of the basket
- # products: The list of products and quantities to be
- # added/ordered
- # deliveryDetails: The delivery details of the order
- (
- : String,
- : [ProductList!],
- : BasketDeliveryDetails!
- ): [Order]
- # Arguments
- # basketName: The name of the basket
- # msid: [Not documented]
- # quantity: [Not documented]
- # azureBudget: [Not documented]
- # azureContact: [Not documented]
- # azureNickname: [Not documented]
- # checkoutData: [Not documented]
- (
- : String,
- : String,
- : Int,
- : String,
- : String,
- : String,
- : checkoutData!
- ): [Order]
- # Change the current account of the current (logged in) user
- #
- # Arguments
- # accountCode: The account code to be used
- (: String): AccountDetails
- }
link Require by
This element is not required by anyone