Skip to main content
GET
/
products
Get Products
curl --request GET \
  --url https://api.projectcor.com/v1/products \
  --header 'Authorization: Bearer <token>'
{
  "total": "<string>",
  "perPage": 123,
  "page": 123,
  "lastPage": 123,
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "client_id": 123,
      "brand_id": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
default:1

Page number (default: 1). Set to false to disable pagination.

perPage
integer
default:20

Number of items per page (default: 20).

Response

200 - application/json

Paginated list of products

Paginated response for products list

total

Total number of products

perPage
integer

Number of items per page

page
integer

Current page number

lastPage
integer

Last available page number

data
object[]

Array of products for the current page