bulkCreateProducts( )


Creates up to 100 products.

Note: The following limits apply to the total number of creatable entities in a single request.

  • options: 100
  • modifiers: 100
  • infoSections: 100
  • variantsInfo.variants: 1000

For example, you can create 10 products with up to 10 options for each product (10 x 10 = 100), or 1 product with 100 options. Alternatively, you can create 100 products with up to 10 variants in each (100 x 10 = 1000), or 1 product with 1000 variants.

Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Product write in v3 catalog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
productsArray<V3Product>Required

List of products to create.


optionsBulkCreateProductsOptions
Returns
Return Type:Promise<BulkCreateProductsResponse>
Errors
400Invalid Argument

There are 15 errors with this status code.

404Not Found

There are 5 errors with this status code.

409Already Exists

There are 5 errors with this status code.

428Failed Precondition

There are 14 errors with this status code.

500Internal

There are 4 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?