I used the same example in the documentation and I check from the API access in inventory but I just get “Bad Request”
curl -X POST \
https://store.myshopify.com/admin/api/2022-01/graphql.json \
-H 'Content-Type: application/json' \
-H 'X-Shopify-Access-Token: ***' \
-d '{
"query": "mutation InventoryBulkAdjustQuantitiesAtLocationMutation( $inventoryItemAdjustments: [InventoryAdjustItemInput!]! ) { inventoryBulkAdjustQuantityAtLocation( inventoryItemAdjustments: $inventoryItemAdjustments, locationId: "gid://shopify/Location/***" ) { inventoryLevels { id available incoming item { id sku } location { id name } } } }",
"variables": {
"inventoryItemAdjustments": [
{
"inventoryItemId": "gid://shopify/InventoryItem/43536922804422",
"availableDelta": 3
},
{
"inventoryItemId": "gid://shopify/InventoryItem/13536921804422",
"availableDelta": 13
}
]
}
}'