Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
products.read - Products Readcurl --location --request GET 'https://api.zid.sa/v1/managers/store/categories' \
--header 'Authorization: {{Autherization}}' \
--header 'X-Manager-Token: {{Access-Token}}' \
--header 'Accept-Language: en'{
"status": "object",
"categories": [
{
"id": 1473477,
"uuid": "8cc71774-bf3e-4383-9778-64d50d965dc7",
"name": "test sub",
"slug": "تصنيف-فرعي",
"SEO_category_title": "test sub",
"SEO_category_description": "Sub category 1",
"names": {
"en": "test sub",
"ar": "تصنيف فرعي"
},
"description": null,
"url": "https://osama.zid.store/categories/1473477/تصنيف-فرعي",
"image": null,
"image_full_size": null,
"img_alt_text": "",
"products_count": 1,
"sub_categories": [],
"parent_id": null,
"flat_name": "test sub",
"is_published": false,
"metafields": [
{
"id": "2cf0cf26-d468-452a-9492-2fe5970c3cd8",
"name": {
"ar": "لون",
"en": "Color"
},
"slug": "Color-1",
"data_type": "text",
"display_order": 3,
"structure_definition": null,
"value": null
},
{
"id": "6579510a-0ce0-4f83-b53f-e3abe9c0f0d5",
"name": {
"ar": null,
"en": "g gg"
},
"slug": "g-gg",
"data_type": "text",
"display_order": 2,
"structure_definition": null,
"value": null
},
{
"id": "ff173ea4-429c-40f0-a6a0-8e29e655ea83",
"name": {
"ar": null,
"en": "date"
},
"slug": "date",
"data_type": "date",
"display_order": 1,
"structure_definition": null,
"value": null
}
]
},
{
"id": 1473476,
"uuid": "a0fb3f4a-3e16-40ec-ba50-e6fccd2ff6f6",
"name": "Electronics",
"slug": "إلكترونيات",
"SEO_category_title": "Electronics",
"SEO_category_description": "Devices and gadgets including mobiles, accessories, and smart technology.",
"names": {
"en": "Electronics",
"ar": "إلكترونيات"
},
"description": null,
"url": "https://osama.zid.store/categories/1473476/إلكترونيات",
"image": null,
"image_full_size": null,
"img_alt_text": "",
"products_count": 1,
"sub_categories": [],
"parent_id": null,
"flat_name": "Electronics",
"is_published": true,
"metafields": [
{
"id": "2cf0cf26-d468-452a-9492-2fe5970c3cd8",
"name": {
"ar": "لون",
"en": "Color"
},
"slug": "Color-1",
"data_type": "text",
"display_order": 3,
"structure_definition": null,
"value": null
},
{
"id": "6579510a-0ce0-4f83-b53f-e3abe9c0f0d5",
"name": {
"ar": null,
"en": "g gg"
},
"slug": "g-gg",
"data_type": "text",
"display_order": 2,
"structure_definition": null,
"value": null
},
{
"id": "ff173ea4-429c-40f0-a6a0-8e29e655ea83",
"name": {
"ar": null,
"en": "date"
},
"slug": "date",
"data_type": "date",
"display_order": 1,
"structure_definition": null,
"value": null
}
]
},
{
"id": 1400850,
"uuid": "f298454b-d271-4971-9500-fe58494034c8",
"name": "ANNIVERSARY",
"slug": "anniversary",
"SEO_category_title": "ANNIVERSARY",
"SEO_category_description": "",
"names": {
"en": "ANNIVERSARY",
"ar": "ANNIVERSARY"
},
"description": null,
"url": "https://osama.zid.store/categories/1400850/anniversary",
"image": null,
"image_full_size": null,
"img_alt_text": "",
"products_count": 17,
"sub_categories": [],
"parent_id": null,
"fla