The JSON API allows you to upload stock updates as they happen, for the most real-time integration with NearSt. Stock updates will be processed within seconds, and pushed to the NearSt channels.
Note: At the moment, we recommend using the JSON API for real-time stock updates in combination with uploading a full stock feed through the FTP gateway or HTTP CSV upload endpoints every 24 hours, to ensure products with limited stock moments don't expire (NearSt stops showing any products it hasn't received updates for in the last 7 days).
Send one or more real-time stock updates
curl --request PUT 'https://stock.near.live/inventory'\