GET All Product Categories
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
GET
https://{{subdomain}}.daftra.com/api2
Product Categories
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://.daftra.com/api2/product_categories' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
"code": 200,
"result": "successful",
"data": [
{
"ProductCategory": {
"id": 0,
"name": "string",
"description": "string",
"category_type": "1=> Products' Category",
"parent_id": 0,
"image": "string",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06",
"image_full_path": "string"
}
}
],
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}
Request
Path Params
format
stringÂ
required
Query Params
limit
integerÂ
optional
>= 1<= 1000
Default:
20
page
integerÂ
optional
>= 1
Default:
1
Header Params
Accept
stringÂ
optional
Default:
application/json
Content-Type
stringÂ
optional
Default:
application/json
Authorization
stringÂ
optional
Default:
Bearer {{access_token}}
apikey
stringÂ
deprecated
Default:
{{apikey}}