The API works over HTTPS and follows REST semantics. Authentication is handled with HTTP Basic - method. The credentials used are those which are set-up for the account to access the Fruugo Merchant Centre.
Stock Inventory Feed
The Stock Inventory feed allows a GET request which returns a simple XML feed of the retailer's live SKUs on Fruugo to allow you to map the status of the product in your own system. It will provide you with our internal Fruugo Sku Id; retailers Product Id; retailers Sku Id; product title; availability status; and if provided to us it will return the quantity of items in stock.
URL | https://www.fruugo.com/stockstatus-api |
---|---|
HTTP Method | GET |
Returns | Product XML of the retailer's Skus and availability held on Fruugo, MIME type "application/XML" |
Stock Inventory Specification
The sku (<sku>) element contains three Ids and the following expected values:
Name | Format | Description |
---|---|---|
fruugoSkuId | Long Integer | Fruugo's internal Id for the sku. |
merchantProductId | String | The Product Id provided in the retailer's product data feed. |
merchantSkuId | String | The Sku Id provided in the retailer's product data feed. |
name | String | The product title provided in the retailer's product data feed. |
availability | String | Valid values for the availability element are the same as in the product data feed specification: INSTOCK - If you have the product currently in stock. OUTOFSTOCK - The product is currently out of stock but may return. NOTAVAILABLE - The product is permanently out of stock and needs to be removed. |
itemsInStock | Integer | The quantity of stock held by the retailer.^ |
^Only included if the information about the quantity held by the retailer is provided in the product data feed, and therefore exists in Fruugo's product database.