Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Inventory__backfill Stock

Requires a signed-in staff user. Needs the `inventory__Stock` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONinventory__backfillStock: Int!

Requires a signed-in staff user. Needs the inventory__Stock create permission. Send the x-tenant header (the gateway sets it from your API key).

Returns

inventory__backfillStock*Int!
Example Request
mutation Inventory__backfillStock {  inventory__backfillStock}
Example Response
{  "data": {    "inventory__backfillStock": 10  }}