I just tried an inventory_add with correct warehouse_id, SKU, and quantity (the only required fields), but got an “unexpected error”. Here’s the response with request_id:
{
"errors": [
{
"message": "Unexpected Error",
"operation": "inventory_add",
"field": "inventory_add",
"request_id": "5dfd4f2f6dcb60d853f472e6",
"code": 22
}
],
"data": {
"inventory_add": null
}
}
I removed the blank customer_account_id I was passing into the call, and got the same error, here is the response with request_id in case this is a different cause of the unexpected error:
{
"errors": [
{
"message": "Unexpected Error",
"operation": "inventory_add",
"field": "inventory_add",
"request_id": "5dfd4f9fad89986086b6e2bf",
"code": 22
}
],
"data": {
"inventory_add": null
}
}