Section Products

Retrieves a section’s details along with a paginated list of its products.

Endpoint

POST https://partners.waffarx.com/api/{partner}/Getsectionproducts

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. 2025-04-30T15:00:00Z

Accept-Language

Response language preference (e.g. en | ar)

Content-Type

Must be application/json

Note

wxc-id: The WaffarX client ID specified in your integration data.

Path Parameters

Name

Type

Required

Description

partner

string

Required

The partner name

Request Parameters

Name

Type

Required

Description

SectionId

string

Required

The identifier of the section to retrieve.

PageNumber

integer

Required

Page number to retrieve (1-based index, must be ≥ 1)

PageSize

integer

Required

Number of items per page (1–50)

Request Body

Example Request Body
{
  "SectionId":"68de7e31ca449b6d2014409f",
  "PageNumber": 1,
  "PageSize": 20
}

cURL Example

curl --location 'https://localhost:7252/api/{partner}/getsectionproducts' \
     --header 'Content-Type: application/json' \
     --header 'Accept-Language: en' \
     --header "wxc-id: {YOUR_CLIENT_ID}" \
     --header 'wxc-date: 2025-10-06T18:52:20Z' \
     --header 'wxc-auth: 6f63aabbea4bb40d7c96f3964ffa89b17e5b0d76caa2bd2a4b0acdc964' \
     --data '{"sectionId": "68de7e31ca449b6d2014409f","pageNumber": 1,"pageSize": 10}'

Responses

Success (HTTP 200)

Success Response Example
   {
       "status": "Success",
       "data": {
           "id": "68de7e31ca449b6d2014409f",
           "title": "Samsung1",
           "subTitle": "Samsung description",
           "color": "1f43d6",
           "product": [
               {
                   "id": "6846c6ebd897411b62d01a1f",
                   "name": "ASUS ROG Strix SCAR 16 G635LX-AI264W - Ultra 9 275HX - 64GB - 2TB - RTX 5090 24GB - 16 inch 240Hz DCI-P3 - Windows 11",
                   "merchantName": "DubaiPhone",
                   "price": 229999,
                   "priceText": "229999.0 EGP",
                   "oldPrice": 272999,
                   "oldPriceText": "272999.0 EGP",
                   "discounted": true,
                   "discountedText": "15.75%",
                   "category": "ASUS Laptop",
                   "brand": null,
                   "currency": "",
                   "primaryImg": "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-1.webp",
                   "errorImg": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/img/productsearcherror.png",
                   "shoppingUrl": "https://partners-test.waffarx.com/api/valu/shoppingtrip/productsearch/dfba913a-a1db-4da6-987e-839a3b8ffe17/6846c6ebd897411b62d01a1f",
                   "shoppingUrlBase": "/api/valu/shoppingtrip/productsearch/dfba913a-a1db-4da6-987e-839a3b8ffe17/6846c6ebd897411b62d01a1f",
                   "variantsImgs": [
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-6.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-10.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-final.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-3.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-2.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-7.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-8.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-9.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-5.webp",
                       "https://assets-dubaiphone.dubaiphone.net/dp-prod/wp-content/uploads/2025/05/ASUS-ROG-Strix-SCAR-16-G635LX-AI264W-4.webp"
                   ],
                   "store": {
                       "shoppingUrl": "https://partners-test.waffarx.com/api/valu/shoppingtrip/advertiser/dfba913a-a1db-4da6-987e-839a3b8ffe17",
                       "shoppingUrlBase": "/api/valu/shoppingtrip/advertiser/dfba913a-a1db-4da6-987e-839a3b8ffe17",
                       "id": "dfba913a-a1db-4da6-987e-839a3b8ffe17",
                       "name": "Dubai Phone",
                       "logo": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advlogo202402110356485648.png",
                       "logoPng": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advpnglogo20240817045903593.png",
                       "backgroundColor": ""
                   },
                   "offers": [],
                   "rateCard": null,
                   "isDeleted": false,
                   "quantity": 0,
                   "isPartnerProduct": false,
                   "heroProduct": false,
                   "partnerDiscounted": false
               }
           ],
           "totalRecords": 4
       },
       "message": null,
       "errors": null
   }

Error (HTTP 4XX/5XX)

Error Response Example
{
  "status": "Error",
  "data": null,
  "message": "",
  "errors": ["Failed to retrieve section products"]
}