Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

StockBulkUpdate Object

Updates stocks for a given variant and warehouse. Variant and warehouse selectors have to be the same for all stock inputs. Is not allowed to use ‘variantId’ in one input and ‘variantExternalReference’ in another.

Requires one of the following permissions:MANAGE_PRODUCTS

Triggers the following webhook events:

  • PRODUCT_VARIANT_STOCK_UPDATED (async): A product variant stock details were updated.

Applied directives

@webhookEventsInfo(asyncEvents: [PRODUCT_VARIANT_STOCK_UPDATED], syncEvents: [])
type StockBulkUpdate {
  count: Int!
  results: [StockBulkResult!]!
  errors: [StockBulkUpdateError!]!
}

Fields

count

count · Int!

Returns how many objects were updated.

results

results · [StockBulkResult!]!

List of the updated stocks.

errors

errors · [StockBulkUpdateError!]!

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?