POST
/
products
/
batch
curl --request POST \
  --url https://api.fabric.inc/v3/products/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "products": [
    {
      "sku": "QWERTTY56DDFFVVV",
      "type": "ITEM",
      "status": "LIVE",
      "categoryId": "5e7329dfd5288b0011332377",
      "attributes": [
        {
          "id": "2f7329dfd5288b0011332317",
          "value": "blue"
        }
      ],
      "localizedProperties": {
        "en-US": {
          "attributes": [
            {
              "id": "5g7329dfd5288b0011332313",
              "value": "blue"
            }
          ]
        },
        "en-IN": {
          "attributes": [
            {
              "id": "3d7329dfd5288b0011332314",
              "value": "blue"
            }
          ]
        }
      }
    }
  ]
}'

Authorizations

Authorization
string
headerrequired

S2S access token (JWT) from fabric Identity service (during Login)

Headers

x-fabric-tenant-id
string

A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.

x-fabric-request-id
string

Unique request ID

Body

application/json
products
object[]
required

Response

200 - application/json

Add product response

data
object[]