Shop
Get a category
get/categories/{id}
Request
- Base URLhttps://gorest.co.in/public/v3
- URLhttps://gorest.co.in/public/v3/categories/{id}
- Authnone required
Query parameters
fields[categories]=name,slug returns only those fields; included items are added whole.
Headers
If-None-Matchstring
An ETag from an earlier answer; an unchanged item answers 304 with no body.
Response
The category.
Example response
{
"name": "Home and kitchen",
"slug": "home-kitchen"
}Changes
No recorded changes to this operation across all 1 revision of this API.