Skip to main content
GET
/
v1
/
products
Get Products
curl --request GET \
  --url http://localhost:4000/v1/products \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "count": 123,
    "products": [
      {
        "id": 123,
        "name": "<string>",
        "description": "<string>",
        "price": 123,
        "contractValue": 123,
        "accountId": 123,
        "createdAt": "<string>",
        "updatedAt": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key required in Authorization header. Format: iclosed-<token>

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 200
page
integer
default:0
Required range: x >= 0
orderBy
enum<string>
Available options:
asc,
desc
orderColumn
enum<string>
Available options:
id,
name,
createdAt,
updatedAt,
deals

Response

List of products with count

data
object
required