-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order workflow discussion [FEATURE] #129
Comments
Adding a warehouse identifier will be helpful to making sure upstream orders can be updated or deleted: #98 |
Some questions about the schema:
|
For stability and traceability it may be useful to decouple webhook receiving and webhook processing. This is also good for performance in case we receive a lot of webhook calls. They do not need to be processed directly.
Webhook table should include:
|
Update/Delete Order Job: If cancelling or updating fails upstream then a notification should be sent (maybe a summary of failures since this may be spammy? Webhooks: Webhooks are currently not sent by upstream services but will send if an order is updated. We would then need to send an update to the 3PL or service upstream from us. Might be best as a separate job. 3PL: Third party logistics center. These are warehouses that Shipwise customers contract to ship their products |
Yes I'll include this in the main description. I was just thinking this after reading @samdark reply. Do you think adding a rawContents to the webhook table would make sense? This may help troubleshooting in the future. Could always truncate or purge data older than 90 days. |
Just saw the |
Separate webhooks is a very good idea as well as queue for processing these. |
Is your feature request related to a problem? Please describe.
Currently there is a separate set of scripts that pulls from Shopify, Amazon, WooCommerce, etc. This request will resolve this by creating the necessary jobs to allow webhooks to push orders into the Shipwise system. We will also be able to leverage this logic in the future for any ecommerce customers that still need us to pull in data (FTP adapters for example).
Describe the solution you'd like
The solution should take into account the following that I have seen over the years. For example, WooCommerce will fire only one webhook - even if it has a 500, it will not retry. Here are the other points:
Additional context
Here is a current workflow I'd like your comments on.
https://whimsical.com/shipwise-integration-flow-8NqqbeSAWSHWL4uCahqj6Z
Considerations
Possible Schema
The text was updated successfully, but these errors were encountered: