2.2.4.Categories

Qwindo should be able to request a list of categories used within the store. These categories will then be used to request all products from within that specific category. The request will be done doing a GET request to the configured feed URL.

For example, a request can look like:

https://www.store.com/index.php?identifier=categories

 

The GET value “identifier” is used to specify the type of request, in this case “categories” to request all categories within the store. The request should return an array of category objects:

Field
Description
Type
Required
Length
title Title of the category string yes 128
id The ID of the category within the store int yes
cashback Cashback for all products in this category. If not defined then the default Qwindo cashback will be used int no
children The children of the category.

Definition:

[ {  
       "id":(int)required,
       "cashback":(int),
            "title":{  
               "locale":"(string)
            }
 }]
array no

 

Response

 
[  
   { "id":"4",
     "cashback":"10",
     "title":{  
         "en_US":"Women"
      },
     "children":[  
         {  
            "id":"10",
            "cashback":"10",
            "title":{  
               "en_US":"New Arrivals"
            }
         },
         {  
            "id":"11",
            "cashback":"10",
            "title":{  
               "en_US":"Tops & Blouses"
            }
         }
      ]
   }
]
 
Suggest Edit