Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
WaffarX API Docs 1.0 documentation
Light Logo Dark Logo
  • Quick Start
  • WaffarX Signature
  • Products
    • Featured Products
    • Product Search
    • Product Details
  • Stores
    • Get Stores
    • Store Categories
    • Store With Products
    • Store Search
    • Store Search With Filter
    • Store Details
    • Store Brand Search
  • Offers
    • Offer Products
    • Offer Stores
  • Partner Orders
  • Shopping Trip
Back to top

Store Search¶

Search for products in a specific store using optional filters.

Endpoint¶

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

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. 2024-04-24T12:34:56Z)

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

RRequest Body Parameters¶

Name

Type

Required

Description

PageNumber

integer

Required

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

PageSize

integer

Required

Number of items per page (1–50)

StoreId

string

Required

Store Id

SearchText

string

Required

The text to search for (min 3, max 150 characters)

SortByPriceDsc

boolean

Required

True | False (default is True)

Filter

object

Required

Optional filter object; you may omit it entirely or include any subset of its fields

Filter Sub-Parameters¶

Name

Type

Required

Description

Category

string

Required

Category name to filter by (e.g. Mobile Phones)

Brand

string

Required

Brand name to filter by (e.g. “Apple”)

Discounted

boolean

Required

True (if needed)

MinPrice

number

Required

Minimum price (inclusive)

MaxPrice

number

Required

Maximum price (inclusive)

OfferId

string

Required

Offer identifier to filter by

OfferTypeId

string

Required

Offer type identifier to filter by

Note

The entire Filter object is optional. You may omit it, or include it with only the specific fields you need.

Request Body Example¶

Example Request Body¶
{
  "SearchText": "iphone 16",
  "StoreId":"DF913A-A1DB-4DA6-987E-839B8FFE17",
  "PageNumber": 1,
  "PageSize": 10,
  "SortByPriceDsc":true,    /* ← optional */
  "Filter": {               /* ← optional */
    "Category": "",           /* optional */
    "Brand": "",           /* optional */
    "MinPrice": 1,          /* optional */
    "MaxPrice": 10000,      /* optional */
    "Discounted":true,      /* optional */
    "OfferId": "68094be714bc80efc32cefb6" /* optional */
    "OfferTypeId": "68094ce714bc80efc231a23" /* optional */
  }
}

CURL Example¶

curl --location 'https://partners.waffarx.com/api/{partner}/storesearch' \
  --header 'wxc-id: {YOUR_CLIENT_ID}' \
  --header 'wxc-auth: 4f0a7c400fb0daf2d390f92c4efca0a2fdfafe98e2f0c29610c87b1eeee55' \
  --header 'wxc-date: 2024-04-24T12:34:56Z' \
  --header 'Accept-Language: en' \
  --header 'Content-Type: application/json' \
  --data '{
           "SearchText":"iphone",
           "StoreId":"DFBA913A-A1DB-4DA6-987E-839A3B8FFE17",
           "PageNumber":1,
           "PageSize":1,
           "SortByPriceDsc":true,
           "Filter":{
             "Category":"",
             "Brands":"",
             "MinPrice":null,
             "MaxPrice":null,
             "Discounted":false,
             "OfferId":"",
             "OfferTypeId":""
             }
         }'

Responses¶

Success (HTTP 200)¶

Success Response Example¶
   {
 "status": "Success",
 "data": {
     "products": [
         {
             "id": "6821b8301cc7307ecb6b9d66",
             "name": "AntiShock Soft Touch Mobile Case for iPhone16, iPhone16 plus, Iphone16 Pro, iPhone16 Pro Max (White, iPhone16 Pro)",
             "merchantName": "Amazon.eg",
             "price": 245,
             "priceText": "‏245.0 EGP",
             "oldPrice": 245,
             "oldPriceText": "‏245.0 EGP",
             "discounted": false,
             "discountedText": null,
             "category": "Electronics > Mobile Phone Cases & Covers > Mobile Phone Basic Cases",
             "brand": "PRO-TECT",
             "currency": "EGP",
             "primaryImg": "https://m.media-amazon.com/images/I/41x-SCmCGCL._SL500_.jpg",
             "errorImg": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/img/productsearcherror.png",
             "shoppingUrl": "https://partners.waffarx.com/api/valu/shoppingtrip/productsearch/e279d45c-95ac-49c0-b940-c0536455be4a",
             "shoppingUrlBase": "/api/valu/shoppingtrip/productsearch/e279d45c-95ac-49c0-b940-c0536455be4a/6821b8301cc7307ecb6b9d66",
             "variantsImgs": [
                 "https://m.media-amazon.com/images/I/41RfR-8+c5L._SL500_.jpg",
                 "https://m.media-amazon.com/images/I/4100wYbe26L._SL500_.jpg",
                 "https://m.media-amazon.com/images/I/41yL-48MWyL._SL500_.jpg",
                 "https://m.media-amazon.com/images/I/41uMJU9EqYL._SL500_.jpg",
                 "https://m.media-amazon.com/images/I/31xKuLdAWGL._SL500_.jpg",
                 "https://m.media-amazon.com/images/I/31onGZa-1nL._SL500_.jpg"
             ],
             "store": {
                 "shoppingUrl": "https://partners.waffarx.com/api/valu/shoppingtrip/advertiser/e279d45c-95ac-49c0-b940-c0536455be4a",
                 "shoppingUrlBase": "/api/valu/shoppingtrip/advertiser/e279d45c-95ac-49c0-b940-c0536455be4a",
                 "id": "e279d45c-95ac-49c0-b940-c0536455be4a",
                 "name": "Amazon.eg",
                 "logo": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advlogo202408150823202320.png",
                 "logoPng": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advpnglogo202408150837133713.png",
                 "backgroundColor": null
             },
             "offers": null,
             "rateCard": {
                 "uptoText": "Up to 7%",
                 "storeValue": 7.00,
                 "rateCardOptions": [
                     {
                         "title": "Apparel",
                         "rateText": "7 %",
                         "rateValue": 7.00
                     },
                     {
                         "title": "Bags & Wallets\t",
                         "rateText": "7 %",
                         "rateValue": 7.00
                     },
                     {
                         "title": "Eyewear & Optics\t",
                         "rateText": "7 %",
                         "rateValue": 7.00
                     },
                     {
                         "title": "Jewelry & Accessories\t",
                         "rateText": "7 %",
                         "rateValue": 7.00
                     },
                     {
                         "title": "Footwear",
                         "rateText": "7 %",
                         "rateValue": 7.00
                     },
                     {
                         "title": "Classic Watches",
                         "rateText": "6 %",
                         "rateValue": 6.00
                     },
                     {
                         "title": "Books",
                         "rateText": "5 %",
                         "rateValue": 5.00
                     },
                     {
                         "title": "Sports & Fitness\t",
                         "rateText": "4 %",
                         "rateValue": 4.00
                     },
                     {
                         "title": "Beauty\t",
                         "rateText": "4 %",
                         "rateValue": 4.00
                     },
                     {
                         "title": "Perfumes\t",
                         "rateText": "4 %",
                         "rateValue": 4.00
                     },
                     {
                         "title": "Vehicle Parts Accessories\t",
                         "rateText": "4 %",
                         "rateValue": 4.00
                     },
                     {
                         "title": "Musical Instruments",
                         "rateText": "3.5 %",
                         "rateValue": 3.50
                     },
                     {
                         "title": "TVs\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Tools & Home Improvement",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Kitchen Appliances\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Home Decor & Furniture\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Health & Personal Care\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Office Products & Supplies\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Kitchen & Home Supplies\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Bathing & Body supplies\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Baby",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Toys",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Home Appliances\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Garden & Outdoor\t",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Electronics",
                         "rateText": "2.5 %",
                         "rateValue": 2.50
                     },
                     {
                         "title": "Laptops & Notebooks\t",
                         "rateText": "2 %",
                         "rateValue": 2.00
                     },
                     {
                         "title": "Computers & IT/Networking\t",
                         "rateText": "2 %",
                         "rateValue": 2.00
                     },
                     {
                         "title": "Video Games\t",
                         "rateText": "2 %",
                         "rateValue": 2.00
                     },
                     {
                         "title": "Supermarket",
                         "rateText": "2 %",
                         "rateValue": 2.00
                     },
                     {
                         "title": "Tablets & Accessories\t",
                         "rateText": "2 %",
                         "rateValue": 2.00
                     },
                     {
                         "title": "Pet Food & Supplies\t",
                         "rateText": "2 %",
                         "rateValue": 2.00
                     },
                     {
                         "title": "USB",
                         "rateText": "2 %",
                         "rateValue": 2.00
                     },
                     {
                         "title": "Cameras & Accessories\t",
                         "rateText": "1 %",
                         "rateValue": 1.00
                     },
                     {
                         "title": "Mobiles & Accessories\t",
                         "rateText": "1 %",
                         "rateValue": 1.00
                     }
                 ]
             }
         }
     ],
     "filters": null
 },
 "message": null,
 "errors": null

}

Error (HTTP 4XX/5XX)¶

Error Response Example¶
{
  "status": "Error",
  "data": null,
  "message": "",
  "errors": ["SearchText is required"]
}
Next
Store Search With Filter
Previous
Store With Products
Copyright © 2025, WaffarX
Made with Furo
On this page
  • Store Search
    • Endpoint
    • Request Headers
    • Path Parameters
    • RRequest Body Parameters
    • Filter Sub-Parameters
    • Request Body Example
    • CURL Example
    • Responses
      • Success (HTTP 200)
      • Error (HTTP 4XX/5XX)