Dom
b9fdb4825f
Adding a function to pull product names and send them in notifications, replacing SKUs
ShipmentNotifier
Script that polls the Amazon SP-API for most recent shipments, if a shipment is found that has been created in the last 6 hours, sends a Discord notification to a provided webhook.
- Acceptable time delta: < 6 hours - accounts for SP-API delays and time for the shipment to transition to 'Shipped'
- Number of shipments to look for: 10
- Stores UID of shipments that a notification has previously been sent for to avoid sending duplicate notifications
- Recommended to run every 10 minutes via cron
Description
Script that polls the Amazon SP-API for most recent shipments, if a shipment is found that has been created in the last 6 hours, sends a Discord notification to a provided webhook.
Languages
Python
100%