WeSupply Labs API is a powerful tool that allows you to seamlessly import orders from your ERP system. In this article, we will provide a step-by-step guide on how to manage canceled orders and their costs using the WeSupply Labs API.
Step 1: Import Orders and Costs
When using the WeSupply Labs API to import orders from your ERP system, it is essential to also import the associated costs for each item and the grand total of the order. This ensures accurate reporting of your order data within the WeSupply platform.
Step 2: Update Canceled Orders
If an order is canceled in your ERP system, make sure to send the canceled item status for each canceled item to WeSupply. This will ensure that the order's status is updated accordingly within the WeSupply platform.
Step 3: Maintain Order Costs
Even if an order is canceled, its associated costs should remain the same. Only the item status should change to reflect the cancellation. This ensures that your financial data remains accurate and consistent.
Step 4: Order Cancellation Status Notification
Once the canceled update is sent to WeSupply, the platform will automatically notify the customer with an Order Cancellation Status Notification and will update the customer's frontend accordingly.
Step 5: Importing Canceled Orders with $0 Amount (Optional)
If you prefer to import canceled orders with a $0 amount, make sure to send zero pricing for both the item level and the order level.
WeSupply has validation in place to ensure that item calculations match the order total and will throw errors if updates are not sent correctly.
By following the steps outlined in this guide, you can ensure that your canceled orders are accurately reflected within the WeSupply platform, allowing for better tracking, reporting, and customer communication.