Bulk Create Products

API endpoint used to massively Add products to avoid overcalling the API and respect the API limits.

How to send products

In order for the product to be correctly created they must be sent as follows:

[
  {
    "name": "The name",
    "description": "The description",
    "price": 12,
    "category_id": 272,
    "business_id": 41
  },
  ...
]
"[{\"name\":\"The name\",\"description\":\"The description\",\"price\":12,\"category_id\":272,\"business_id\":41}]"

📘

Bulk Create Products Restrictions

  • The maximum number of products that can be added is 500
  • The maximum number of different business is 5
  • User level 0 (Type: Administrator) can add products for any business
  • User level 0 (Type: Administrator) can add products to businesses that belong to him.

❗️

If a product is wrong in the request, the API will not save any.

The API must receive the JSON value as a single line string, this means for example if you use JavaScript you can use the JSON.stringify(products) function.

Bulk Products metafields

To make easier the use of metafields in bulk endpoints, any attribute with 'metafield_' as a prefix will be considered a metadata and will be added as such.

Example:

[
  {
    "name": "The name",
    "description": "The description",
    "price": 12,
    "category_id": 272,
    "business_id": 41,
    "metafield_attrbute1": "value1",
    "metafield_attrbute2": "value2"
  },
  ...
]
Language
Authentication
Header
Click Try It! to start a request and see the response here!