frappe / frappe/ecommerce_integrations
Sync Orders from ERPNext to Shopify
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 207
- Forks
- 276
- Avg merge
- 54m
- Merged PRs (30d)
- 1
Description
Hi guys,
Shopify is a great shopping cart platform for B2C sales (prepaid) but it is also used for B2B sales (postpaid). The way B2B is being achieved is by creating manual orders from the Shopify backend and then fulfilling it directly on Shopify.
This works well when Shopify is the only sales channel but when there are multiple sales channels, B2B orders are usually created in ERPNext and also fulfilled there.
Now with current integration mechanism with ERPNext, it only down-syncs the orders from Shopify to ERPNext where there doesn't seem to be a way to up-sync orders created in ERPNext to Shopify.
My current business case requires me to create B2B orders in ERPNext, the sync them up to Shopify where those orders can be fulfilled and then the order status is synced down to ERPNext. The reason for fulfillment on Shopify is that we get good shipping rates when we fulfill on Shopify.
So it would be great if such a workflow could be made possible in this integration.
TL;DR version (workflow required):
- Create sales order in ERPNext
- Sync the newly created order to Shopify (status: payment pending, unfulfilled)
- Fulfill the order on Shopify (partial or full depending on stock availability)
- Sync order status on ERPNext (and create delivery notes, sales invoices accordingly)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing Shopify-to-ERPNext order synchronization and its integration entry points. Define how ERPNext-created orders, payment and fulfillment states, partial fulfillment, delivery notes, and sales invoices should be represented in both systems, then verify the full workflow against the steps in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100