Skip to main content
GET
/
products
List products
curl --request GET \
  --url https://api.heffl.com/api/v1/products \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "id": 123,
      "name": "<string>",
      "price": 123,
      "type": "<string>",
      "isActive": true,
      "description": "<string>",
      "sku": "<string>"
    }
  ],
  "meta": {
    "count": 123,
    "total": 123,
    "pageNo": 123,
    "pageSize": 123
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours at app.heffl.com/settings/developers

Query Parameters

pageNo
number
default:1

Page number (starts from 1)

Required range: x >= 1
pageSize
number
default:20

Number of items per page (max 100)

Required range: 1 <= x <= 100

Search by product name

Response

200 - application/json

OK

items
object[]
required
meta
object
required