INPUT_OBJECT

OrderSearchParams

QUERY: orders, returns User Order History The user would expect to obtain a list of orders within the search as defined in the input params. QUERY: order, returns details for a specific order The user would expect to see all the order details for the given order ID

link GraphQL Schema definition

  • input OrderSearchParams {
  • # The number of days to search in respect to today. E.g. '-30' is the last 30
  • # days. Default value is '-30'
  • range: Int
  • # The date from which to apply the range. If a date is not given, defaults to
  • # today. Format expected: dd/MM/yyyy
  • date: String
  • # Allows searching for orders with a given status.
  • status: String
  • # If true then the 'range' will filter based on dateStored (updated). If false,
  • # it'll filter based on dateCreated
  • searchWhenStored: Boolean
  • }