Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Replication from Fruugo's master product index to the slaves used by the live site is asynchronous and it may take a few minutes for the update to go live.

Update Logic

In principle the stockstatus API is there to maintain accurate stock levels between product inventory updates to ensure real-time accuracy. The Stockstatus API should only be called and a post request submitted for SKUs which have a change in stock value, and not all SKUs submitted if a change has not been made to their stock levels.

It should be used in one of two ways:

1) An individual SKU update is sent when the stock value of a SKU changes. Alternatively, you could batch these into a group of SKUs which have changed in a short time period, such as 10mins, to avoid multiple individual post requests. Please note: there is a 1000 expression limit per SKU batch update.
2) The stock inventory feed is polled and a comparison is run against the values, and then an update is submitted for the SKUs which have changed.