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

NameTypeDescription

id*

Number

Represents category's identifier

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

{
    // Response
}

Example Response Body

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

Response Fields

KeyTypeDescription

id

Number

Represents category's identifier

name

String

Represents category's name

Last updated