rray
(
[data] => Array
(
[products] => Array
(
[request_id] =>
[complexity] => 11
[data] => Array
(
[edges] => Array
(
[0] => Array
(
[node] => Array
(
[id] =>
[sku] => test54321
[warehouse_products] => Array
(
[0] => Array
(
[warehouse_id] =>
[on_hand] => 296
[inventory_bin] =>
[inventory_overstock_bin] =>
)
)
)
)
)
)
)
)
I need mutation for update in on_hand and inventory_bin
I am trying with this code
$get_sku_available= <<<EOT
mutation {
product_update(
data: {
sku: “test54321”
warehouse_products
{
on_hand :“301”
}
}
) {
request_id
complexity
}
}
EOT;