Detail
DevelopingGET
/product-categories/{productCategoryId}Request
Path Params
productCategoryId
string
required
Example:
1
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
code
integer
required
status
string
required
message
string
required
data
object
required
id
integer
required
icon
string
required
name_en
string
required
name_ar
string
required
deleted_at
null
required
sectors
array [object {3}]
required
Example
{
"meta": {
"code": 200,
"status": "success",
"message": "Data Loaded Successfully"
},
"data": {
"id": 1,
"icon": "🥤",
"name_en": "Mojito",
"name_ar": "موهيتو",
"deleted_at": null,
"sectors": [
{
"id": 1,
"sector_id": 1,
"product_category_id": 1
},
{
"id": 26,
"sector_id": 2,
"product_category_id": 1
},
{
"id": 51,
"sector_id": 3,
"product_category_id": 1
},
{
"id": 76,
"sector_id": 4,
"product_category_id": 1
},
{
"id": 126,
"sector_id": 6,
"product_category_id": 1
},
{
"id": 402,
"sector_id": 13,
"product_category_id": 1
},
{
"id": 545,
"sector_id": 5,
"product_category_id": 1
}
]
}
}
Last modified: a month ago