This function is responsible for receiving incoming price updates for a merchant's products. It conveys the products to MerchantStockPriceImporter, which checks if the received channels are valid for the merchant and process the stock updates in its unique state.
Request
Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Path Params
B2B_MERCHANT_PROJECT_ID
stringÂ
required
Header Params
x-api-key
stringÂ
optional
{{STOCK_PRICE_API_KEY}}
Body Params application/json
frequency
integerÂ
optional
When bulk stock and price submissions create excessive load, the frequency value can be used to slow down the pushStock/pushPrice operations within each 500-unit batch. It takes values between 0 and 10 in seconds. For example: If you set it to 1, it will introduce a 1-second delay between each push operation, completing the pushStock operations in approximately 500 seconds in total when sending 1.
bulkOperationId
stringÂ
optional
All of the bulk stock/price submissions are tracked with the same operation ID, allowing batch operations to be monitored collectively with this ID. A batchId is created for every five hundred-unit batch. The bulkOperationId should be the same for all five-hundred-unit batches sent at the same time. For example, if you have sent 10 receivePrice requests for 5000 products, all of them should have the same bulkOperationId.