Hello,
We are working on implementing a shipping platform for a ShipHero user, and it has been requested that we load data in using the tote ID/barcode, since they are picking the orders in SH and there is no current paperwork being generated that a user can use to load the order by (all the shipper has is their tote). Is there a way to query the tote_history API to retrieve records that match the barcode on the tote? I’ve tried the following request, however I am not getting any data:
{“query”:“query tote_history ($sort: String, $before: String, $after: String, $first: Int, $last: Int, $tote_name: String, $tote_id: String, $date_from: ISODateTime, $date_to: ISODateTime, $analyze: Boolean) {\n tote_history (tote_name: $tote_name, tote_id: $tote_id, date_from: $date_from, date_to: $date_to, analyze: $analyze) {\n request_id\n complexity\n data (sort: $sort, before: $before, after: $after, first: $first, last: $last) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n node {\n tote_name\n tote_id\n action\n created_at\n }\n cursor\n }\n }\n }\n}”,“variables”:{
“sort”: “”,
“before”: “”,
“after”: “”,
“first”: 0,
“last”: 0,
“tote_name”: “”,
“tote_id”: “”,
“date_from”: “8-30-2021”,
“date_to”: “9-1-2021”,
“analyze”: true
}}