Hallo.
When I run batchchangeinventory on the data of a particular Square user for a few days, sometimes the response is blank.
When I run the program with another user’s access token in the test, the response is returned properly.
When I run retriveinventorychanges for items included in that batchchangeinventory where the response was blank, the inventory has changed correctly.
Do you know why the response is blank?
What’s your application Id and do you have example requests or the time in the API Logs when the request were made so we can take a look?
Thank you for your reply.
application ID sq0idp-k7Ju9r5s2BsCJbPLlaE92g
example send data (GMT +9:00)
2022/03/24 19:15:18 $data=array(3) {
[0]=>
array(5) {
[“catalog_object_id”]=>
string(24) “MQNU3DZHEC4EHXM4SFBXLIR2”
[“location_id”]=>
string(13) “L757A4CWBEWVT”
[“quantity”]=>
int(1)
[“from_state”]=>
string(8) “IN_STOCK”
[“to_state”]=>
string(4) “SOLD”
}
[1]=>
array(5) {
[“catalog_object_id”]=>
string(24) “5GONB3DRMOZLMYW4L3I6FUSZ”
[“location_id”]=>
string(13) “L757A4CWBEWVT”
[“quantity”]=>
int(1)
[“from_state”]=>
string(8) “IN_STOCK”
[“to_state”]=>
string(4) “SOLD”
}
[2]=>
array(5) {
[“catalog_object_id”]=>
string(24) “AEDET7FS74GJ2AKOU665EVXF”
[“location_id”]=>
string(13) “L757A4CWBEWVT”
[“quantity”]=>
int(1)
[“from_state”]=>
string(8) “IN_STOCK”
[“to_state”]=>
string(4) “SOLD”
}
}
Best regards.