Categories
GET
/api/v2/categories/listRequest
Responses
Categories(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
uuid
string
required
name
object
required
en
string
required
ar
string
required
created_at
string | null
required
products
array[string]
required
ExampleCategories
[
{
"uuid": "01GZK6C7J09PRK97BS4G39WZ72",
"name": {
"en": "meals",
"ar": "الوجبات"
},
"created_at": null,
"products": [
"01GZK6C7J03PQP7KGRAQ3F197Y",
"01h0jaxf8034knd6kr90qg8b2p",
"01h1054csnzpdh0wpgx9cy1c5q",
"01h38mk4yfd0xvz417y1bd4915"
]
},
{
"uuid": "01h1jf2ky9g9ag643mdw74tt6d",
"name": {
"ar": "الاطباق الجانبية",
"en": "Side orders"
},
"created_at": "2023-05-28T21:38:36.000000Z",
"products": []
},
{
"uuid": "01h0fz2aapgat455f8vvsa5d71",
"name": {
"ar": "المخبوزات",
"en": "bakery"
},
"created_at": "2023-05-15T12:04:38.000000Z",
"products": [
"01h0jb0ajxm9e1re5wsjqe64py",
"01h0q1khga6pd0py9x1zmvegr3",
"01h0qyvjwcv4289z2fzpfkcez4"
]
},
{
"uuid": "01h0fejyraty8jjwm7rcp3qb2d",
"name": {
"ar": "الحلويات",
"en": "sweets"
},
"created_at": "2023-05-15T07:16:37.000000Z",
"products": [
"01GZK6C7J0VB6J3H6K0FC9RS8F",
"01h371x5bsd0qctwy6xy1zqh7a"
]
}
]
Modified at 9 months ago