Store Categories¶
Retrieves the whole category for a single store by its ID.
Endpoint¶
GET
https://partners.waffarx.com/api/{partner}/GetStoreCategories/{storeId}
Request Headers¶
Header |
Description |
---|---|
wxc-id |
Your WaffarX Client Id |
wxc-auth |
Signature auth header for the request |
wxc-date |
UTC timestamp of the request, e.g. |
Accept-Language |
Response language preference (e.g. |
Content-Type |
Must be |
Note
wxc-id: The WaffarX client ID specified in your integration data.
Path Parameters¶
Name |
Type |
Required |
Description |
---|---|---|---|
partner |
string |
![]() |
The partner name |
storeId |
string |
![]() |
The GUID of the store whose details you want to retrieve |
cURL Example¶
curl --location 'https://partners.waffarx.com/api/{partner}/getstorecategories/b694f32b-84c0-4d-8560-f28c28f2ad1' \
--header 'Content-Type: application/json' \
--header 'Accept-Language: en' \
--header 'wxc-id:{YOUR_CLIENT_ID}' \
--header 'wxc-date: 2025-05-04T23:12:22Z' \
--header 'wxc-auth: 8611d9d3ef45062786e81bbbea3c2bfcf2201dd943132b428ebff6ebda34'
Responses¶
Success (HTTP 200)¶
Success Response Example¶
{
"status": "Success",
"data": {
"categoriesEn": [
"Home Appliances",
"TV Solutions",
"Best Seller",
"iPhone Accessories",
"Anker Offers",
"IPad",
"Touch Pen",
"Gaming Mouse & Keyboard",
"Apple Touch Pen",
"Xiaomi TV",
"Apple",
"Keyboard & Mouse",
"Bags",
"Apple Accessories",
"Air Fryer",
"Games Accessories",
"Last piece",
"Samsung TV",
"Sary",
"All",
"Apple Watch Accessories",
"..."
],
"categoriesAr": [
"جرابات",
"شاشات شاومي",
"الفئة الاقتصادية",
"هونر",
"ريلمي",
"ماوس & كيبورد جيمينج",
"اكسسوارات ساعات الابل",
"سماعات اذن سلكية",
"ابل",
"عروض انكر",
"شاشات فيليبس",
"اكسسوارات الموبيل",
"الأكثر مبيعا",
"ماك بوك",
"لابتوب التصميم",
"اير فراير",
"لابتوب للاعمال"
]
},
"message": null,
"errors": null
}
Error (HTTP 4XX/5XX)¶
Error Response Example¶
{
"status": "Error",
"data": null,
"message": "",
"errors": ["Store not found"]
}