Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Inventory__bulk Update Products

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

MUTATIONinventory__bulkUpdateProducts(input: BulkUpdateProductsInput!): BulkProductsMutationResult!

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

Arguments

input*

Returns

  1. inventory__bulkUpdateProducts
affectedCount*Int!
requestedCount*Int!
Example Request
mutation Inventory__bulkUpdateProducts($input: BulkUpdateProductsInput!) {  inventory__bulkUpdateProducts(input: $input) {    affectedCount    requestedCount  }}
Variables
{  "input": {    "ids": [      "1"    ]  }}
Example Response
{  "data": {    "inventory__bulkUpdateProducts": {      "affectedCount": 10,      "requestedCount": 10    }  }}