trieb-work / schemabase

The schemabase Integration framework to build custom data movers between different cloud services. Using BullMQ, Webhooks, Prisma Database and more
https://schemabase.app
MIT License
5 stars 2 forks source link

Bug: when orders get changed in different system, we can't fulfill in Saleor #431

Open JannikZed opened 10 months ago

JannikZed commented 10 months ago

For example: order gets created in Sleor with 1 pcs of item X, we change it in Saleor to 3 items - what to do? Should we update the order? Or should we just fulfill the orderlines from Saleor? Furthermore, we should not fail on the error "{\"field\":\"orderLineId\",\"message\":\"Only 1 item remaining to fulfill.\",\"code\":\"FULFILL_ORDER_LINE\",\"orderLines\":[\"T3JkZXJMaW5lOmRkZGExNjRjLWY4OGItNGU4ZC05Nzg1LWNiNTViYTJkYjQxYw==\"]}",