API ReferenceProductsList all products

List all products

GET
/products

Authorization

x-api-key<token>

API Key authentication via header

In: header

curl -X GET "https://niravai.com/api/v1/products" \
  -H "x-api-key: <token>"

List of products

{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "sku": "JEANS-BLK-001",
      "name": "Classic Oversized JEANS T-Shirt",
      "description": "Premium 240 GSM heavy cotton JEANS with modern oversized fit",
      "attributes": {
        "Color": "Black",
        "Material": "100% Organic Cotton",
        "Fit": "Oversized"
      },
      "status": "active",
      "orgId": "25b2c2d5-a7fc-47d0-89e4-8709a1560bfa",
      "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "deletedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "pageCount": 0,
  "total": 0
}