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 {
  • # by default, orders from the last 30 days are returned. Negative numbers can be
  • # given to allow for n days before / after the date
  • range: Int
  • # The date from which to apply the range. If a date is not given, defaults to
  • # today
  • date: String
  • # Allows searching for orders with a given status. May make this an enum.
  • status: String
  • }