Product
Multiple Create Products

Create multiple product

Create multiple product with one call.

With a maximum of 50 objects for call.

POST/product/multiple-create

Parameters

data - [object] required
An array of Products.

Example (required parameters selected)
{
  "data": [
      {
          "reference": "ProductAPI_5",
          "price": 15,
          "cost": 2,
          "max_discount": null,
          "stock": 1,
          "active": true,
          "services": null,
          "taxes": null,
          "name": "Product API",
          "description": "Product API description",
          "vat": 21,
          "rates": [
              {
                  "sku": "ProductAPI_rate_1",
                  "cost": 1.00,
                  "price": 5.00,
                  "services": 0.00,
                  "primary": 1
              }
          ]
      },
      {
          "reference": "ProductAPI_6",
          "price": 15,
          "cost": 2,
          "max_discount": null,
          "stock": 1,
          "active": true,
          "services": null,
          "taxes": null,
          "name": "Product API",
          "description": "Product API description",
          "vat": 21,
          "rates": [
              {
                  "sku": "ProductAPI_rate_1",
                  "cost": 1.00,
                  "price": 5.00,
                  "services": 0.00,
                  "primary": 1
              }
          ]
      }
  ]
}

Response

status 200

The response will be an array of all created products references.

Response
{
    "products_created_references": [
        "ProductAPI_5",
        "ProductAPI_6"
    ]
}