KashierDevelopersKashier Developers

Get a category

curl -X GET "https://test-api.kashier.io/v2/category/string"
{  "body": {    "_id": "string",    "name": "string",    "description": "string",    "merchantId": "string",    "createdByUserId": "string",    "createdAt": "string",    "updatedAt": "string"  },  "message": "string"}

Retrieves a single category by its record id.

Authorization

secretKey
Authorization<token>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

In: header

Path Parameters

id*string

The category's record id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

GET
/v2/category/{id}