Tracking Inventory Changes in Your Markeplace
Published by Miranda Danielson on December 4, 2024
Last updated on January 22, 2025
Learn more about the new functionality to track changes in inventory across products, variants, and specific inventory records.
Use Cases
I want to be able to alert purchasing managers when inventory for any products at their warehouse are low in stock.
I would like to be able to notify my customers when a product they were interested in is back in stock when quantity is replenished from 0 to 10 or more.
I need to clearance out products with less than 5 quantity remaining.
Key Highlights
Send Inventory changes to the Delivery Target(s) of your choice
One
InventoryIntegrationallowed per marketplace
LimitNotificationsproperty allows you to only receive a limited set of notificationsWhen true, events will only fire when QuantityAvailable changes in the following ways:
Is equal to or less than 0
Increases from 0 or less than 0 to a positive number
Is equal to or less than
NotificationPointIncreases from a number equal to or less than the
NotificationPointto a number greater than theNotificationPoint
QuantityAvailableandPreviousQuantitywill be included in the payloadThis allows your code to distinguish between replenishment/restocking events vs product purchases
New Properties
Variant.Inventory.NotificationPoint and InventoryRecord.NotificationPoint
Added in order to support NotificationPointOnly events on Variants and Inventory Records. Product level inventory already had this property.
New Resource: InventoryIntegration
1{2 "DeliveryConfigID": "",3 "LimitNotifications": true4}
InventoryChangedPayload
1{2 "ProductID": "",3 "VariantID": "",4 "InventoryRecordID": "",5 "QuantityAvailable": 0,6 "PreviousQuantity": 0,7 "NotificationPoint": 0,8}
ProductID will always have a value since it's needed to access Variants and InventoryRecordsNew Endpoints
GET v1/integrations/inventoryPUT v1/integrations/inventoryDELETE v1/integrations/inventoryPATCH v1/integrations/inventory
Still have questions?
Ask in our Community Channel