GET
/
products
curl --request GET \
  --url https://base_url/api/v1/products \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "products": [
      {
        "id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
        "name": "SunShield Pro UV-Blocking Sunglasses",
        "tax_code": "TPP",
        "sku": "PT-1035",
        "description": "<string>",
        "corporation_id": "b6d009b0-d174-463f-b030-94643c28e209"
      }
    ],
    "cursor": "<string>"
  },
  "message": "Successfully fetched products."
}

Authorizations

Authorization
string
header
required

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

Query Parameters

corporation_id
string
required

The unique identifier for a corporation to filter the products by.

cursor
string

Cursor for pagination

limit
integer
default:10

Number of items to return per page

Required range: 1 <= x <= 100

Response

200
application/json
Fetch a product response.
data
object
message
string
Example:

"Successfully fetched products."