Stock Inventory Update

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 Retailer Portal.

Stock Inventory Update

The SKU availability status and number of items in stock can be updated by making a post -request with a similar XML content as the Stock Inventory Feed output by Fruugo. The SKUs update as an entity in the request with content type "application/xml".

URLhttps://www.fruugo.com/stockstatus-api
HTTP MethodPOST
Returns

Product XML for the update of product stock, MIME type "application/XML"

Stock Inventory Update Specification

The sku (<sku>) element contains one Id and the following expected values:

NameFormatDescription
fruugoSkuIdLong IntegerFruugo's internal Id for the sku.
availabilityStringValid 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.
itemsInStockIntegerThe quantity of stock held by the retailer.*

* If an itemsInStock (<itemsInStock>) -element is given, the amount of items in stock is saved in to Fruugo's product database.

Please note: The stock status API POST should not contain more than 1000 expressions per update.