We’re using API Explorer for a simple Orders API request to return orders created for PICKUP between two dates. Before the upgrade to API Version 2024-03-20, this seemed to work fine. Now what’s returned appears to be two versions of the same record (ie Version 7 and 6). See sample output below. Did something change in the API or am I doing something wrong and don’t understand the expected output? I blanked out the Location id in the output for security purposes.
{
“order_id”: “CisMc0hI3PTcDGVclZFmMzGPJzfZY”,
“version”: 6,
“location_id”: “XXXXXXXXXXXXX”,
“source”: “Square Online”,
“created_at”: “2024-03-21T23:10:53.712Z”,
“updated_at”: “2024-03-22T22:15:17.123Z”,
“closed_at”: “2024-03-22T22:15:17.123Z”,
“fulfillments”: [
{
“recipient”: “Mary Breese”,
“due_at”: “2024-03-22T21:45:00Z”
}
],
“line_items”: [
{
“name”: “Baked Fish Dinner”,
“quantity”: “1”
},
{
“name”: “Baked Fish Dinner”,
“quantity”: “1”
}
]
},
{
“order_id”: “K43bdRvEcQxfv1xsifm8eWmPPXcZY”,
“version”: 7,
“location_id”: “XXXXXXXXXXXXX”,
“source”: “Square Online”,
“created_at”: “2024-03-21T23:09:35.905Z”,
“updated_at”: “2024-03-21T23:10:40.304Z”,
“fulfillments”: [
{
“recipient”: “Mary Breese”,
“due_at”: “2024-03-22T21:45:00Z”
}
],
“line_items”: [
{
“name”: “Baked Fish Dinner”,
“quantity”: “1”
},
{
“name”: “Baked Fish Dinner”,
“quantity”: “1”
}
]
}
3 posts - 2 participants