Tracking Inventory Changes in Your Markeplace
Published by Miranda Danielson on December 4, 2024
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
InventoryIntegration
allowed per marketplace
Ability to receive every change or only changes where the
NotificationPoint
is met or exceededQuantityAvailable
andPreviousQuantity
will 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 "NotificationPointOnly": 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 InventoryRecords
New Endpoints
GET v1/integrations/inventory
PUT v1/integrations/inventory
DELETE v1/integrations/inventory
PATCH v1/integrations/inventory
Still have questions?
Ask in our Community Channel