Skip to main content

batchUpdateProducts

Updates products existing in the database or optionally creates them if they do not exist
Requirement:
id: Current product id is required for updating a product
Default limit: 1000 products per request
Option: createProductsIfNotExists: If set to true, products that do not exist will be created instead of failing
Restrictions: Requires an admin user

batchUpdateProducts(
input: [BatchProductInput!]!
options: BatchUpdateProductsOptions
): Job!

Arguments

input ● [BatchProductInput!]!

options ● BatchUpdateProductsOptions

Type

Job

A Job contains the id of the row and status of a queued mutation in the database