Alokai

getMyOrdersQuery

Portion of the GraphQL query used in the getOrders API endpoint

getMyOrdersQuery = "\n  query getMyOrders(
	$where: String,
	$sort: [String!],
	$limit: Int,
	$offset: Int,
	$locale: Locale!,
	$acceptLanguage: [Locale!],
	$currency: Currency!
) {\n    me {\n      orders(where: $where,
	sort: $sort,
	limit: $limit,
	offset: $offset) {\n        results {\n          ...DefaultOrder\n        }\n        total\n        offset\n        count\n      }\n    }\n  }\n"