本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
category
as a path parameter.categories.read
- Categories Read OnlyAuthorization: Bearer ********************
with=items
OR with=translations
OR with[]=items&with[]=translations
OR with=items,translations
curl --location --request GET 'https://echo.apifox.com/anything/categories/'
active
or intentionally concealed from view hidden
. It essentially controls whether the category is publicly displayed or kept private within the system.with=translations
query parameter.translations
object will return two entries: ar
for Arabic and en
for English.with=items
query parameter.{
"status": 200,
"success": true,
"data": {
"id": 1390018242,
"name": "laptops",
"image": "https://salla-dev.s3.eu-central-1.amazonaws.com/Mvyk/QEFy9wUtKnazAVvm3t3WSYg2z1LTnxUzvrceFo2s.jpg",
"urls": {
"customer": "https://store.test/ar/jalal56s/laptops/c1390018242",
"admin": "/categories"
},
"parent_id": 0,
"sort_order": 0,
"status": "active",
"show_in": {
"app": true,
"salla_points": true
},
"has_hidden_products": true,
"update_at": "2024-10-24 13:24:48",
"metadata": {
"title": null,
"description": null,
"url": null
},
"sub_categories": []
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升