Get Category Detail

This service returns category object for the specified id parameter.

Get Category Detail

GET {{server-url}}/categories/:id

It returns category object

Path Parameters

Name
Type
Description

id*

Number

Represents category's identifier

Headers

Name
Type
Description

Authorization*

String

UUID formatted access token

{
    // Response
}

Example Response Body

{
    "data": {
        "id": 530,
        "name": "Truck"
    },
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

Key
Type
Description

id

Number

Represents category's identifier

name

String

Represents category's name

Last updated