cURL
curl --request GET \ --url https://api.g2cplatform.com/v2/categories/{categoryId}/subcategories/{subcategoryId} \ --header 'X-API-Key: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "active", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "description": "<string>", "metadata": {}, "statistics": { "objectCount": 123 } }
Retrieve details of a specific subcategory
API key for authenticating requests. Include in X-API-Key header.
Parent category identifier
Subcategory identifier
Subcategory details
active
inactive
archived
Show child attributes