Skip to main content

/categories/{id}

Retrieve detailed category information by ID, or updates the fields in the category card (specified or all).

Adress: https://instance_name/api/v1.5/categories/{id}

Methods:

  • GET — retrieve detailed category information by ID;
  • PUT — update all category fields;
  • PATCH — update some category fields.

Content-type: application/json

Path parameters​


id string

Required. Category ID.

Request example

curl –i –X GET
https://test.inspector-cloud.com/api/v1.5/categories/1234567890/
-H ‘Authorization: Token <<your_token>>

Response example

Response code: 200

{
"id": 1234567890,
"name": "Washing powder"
}

Response definitions


id string

Category ID.


name string

Category name.