я делаю следующий вызов (минус мой locationId):Square апи: фильтр ListOrders по дате не работает
GET https://connect.squareup.com/v1/xxxxxxxxx/orders?begin_time=2016-04-12T00:00:00Z
Но в ответ я получаю заказ от 2016-03-29
{
"buyer_note": "Ship fast, please!",
"total_discount_money": {
"currency_code": "USD",
"amount": 0
},
"created_at": "2016-03-14T23:44:46Z",
"id": "LLVH1OON",
"total_shipping_money": {
"currency_code": "USD",
"amount": 1
},
"total_price_money": {
"currency_code": "USD",
"amount": 11
},
"merchant_token": "xxxxxxxxxxx",
"expires_at": "2016-03-21T23:45:08Z",
"recipient_name": "Buyer McPhee",
"subtotal_money": {
"currency_code": "USD",
"amount": 10
},
"updated_at": "2016-03-21T23:45:33Z",
"state": "COMPLETED"
}
Действует ли фильтр по дате заказа?
Это был бы полезный фильтр, особенно потому, что Webhooks недоступны для конечной точки Orders либо ... – dbJones