Category Details

GET {{baseUrl}}/categories/:category

This endpoint allows you to return the complete details for a specific category by providing the ID of the category you want to get its details in the category path parameter.

🌐 Multi-Lang Support

The following are translate-able by the Header Values, such as ACCEPT-LANGUAGE & CONTENT-LANGUAGE:

Variable Title
name
items.name
OAuth Scopes


categories.read

HEADERS

KeyDatatypeRequiredDescription
ACCEPT-LANGUAGEstringSet Language Code you want to get the response with. Retrieve a list of supported languages using the Language Endpoint. Use the iso_code value you get from the language endpoint as a value in this header.
CONTENT-LANGUAGEstring(OPTIONAL) Show the used language of the response. Note that not passing a value here or passing the default value of the iso_code as ar will not appear in the response.
Acceptstring

RESPONSES

status: OK

{"status":200,"success":true,"data":{"id":205564386,"name":"fruits","urls":{"customer":"https://shtara.com/profile","admin":"https://shtara.com/profiles"},"sort_order":1,"items":[{"id":1255216786,"name":"summer fruits","urls":{"customer":"https://shtara.com/profile","admin":"https://shtara.com/profiles"},"sort_order":1,"items":[]}],"sub_categories":[{"id":1255216786,"name":"summer fruits","urls":{"customer":"https://shtara.com/profile","admin":"https://shtara.com/profiles"},"sort_order":1,"items":[]}]}}