We are just starting to work with the API, created a test order successfully, and we can retrieve the order history by order ID as seen in the response below, however, I do not see the order in our ShipHero backend.
{
"data": {
"order_history": {
"request_id": "646bcaa26dc3201c323882cb",
"complexity": 3,
"data": {
"edges": [
{
"node": {
"id": "T3JkZXJIaXN0b3J5OjI0OTM2MDM1Njc=",
"order_id": "T3JkZXI6MzYwNTEyNDEz",
"account_id": "QWNjb3VudDo3MjgyMA==",
"order_number": "INV-40000109370",
"information": "Order created from public-api",
"order": {
"shop_name": "Vegatech",
"fulfillment_status": "pending",
"order_date": "2023-05-22T00:00:00",
"email": "shawn@vapetasia.com",
"profile": "default",
"packing_note": "",
"required_ship_date": "2023-05-29T00:00:00",
"shipping_address": {
"first_name": "Shawn",
"last_name": "Coward",
"company": "Vegatech",
"address1": "4621 JULENE CT",
"address2": "",
"city": "LAS VEGAS",
"state": "NV",
"state_code": null,
"zip": "89110-3475",
"country": "US",
"country_code": null,
"email": "shawn@vapetasia.com",
"phone": "702-769-1139"
}
}
},
"cursor": "YXJyYXljb25uZWN0aW9uOjA="
},
{
"node": {
"id": "T3JkZXJIaXN0b3J5OjI0OTM2MDQyMTc=",
"order_id": "T3JkZXI6MzYwNTEyNDEz",
"account_id": "QWNjb3VudDo3MjgyMA==",
"order_number": "INV-40000109370",
"information": "<p>Updated Shipping Fields:</p><ul> <li>Zip: 89110 to 89110-3475 </li><li>Address1: 4621 Julene Ct. to 4621 JULENE CT</li><li>City: Las Vegas to LAS VEGAS </li> </ul>",
"order": {
"shop_name": "Vegatech",
"fulfillment_status": "pending",
"order_date": "2023-05-22T00:00:00",
"email": "shawn@vapetasia.com",
"profile": "default",
"packing_note": "",
"required_ship_date": "2023-05-29T00:00:00",
"shipping_address": {
"first_name": "Shawn",
"last_name": "Coward",
"company": "Vegatech",
"address1": "4621 JULENE CT",
"address2": "",
"city": "LAS VEGAS",
"state": "NV",
"state_code": null,
"zip": "89110-3475",
"country": "US",
"country_code": null,
"email": "shawn@vapetasia.com",
"phone": "702-769-1139"
}
}
},
"cursor": "YXJyYXljb25uZWN0aW9uOjE="
}
]
}
}
},
"extensions": {
"throttling": {
"estimated_complexity": 3,
"cost": 3,
"cost_detail": {
"order_history": {
"items_count": 2,
"cost": 1,
"total_cost": 3,
"fields": {}
}
},
"user_quota": {
"credits_remaining": 1999,
"max_available": 2002,
"increment_rate": 30
}
}
}
}