on 2022 Apr 07 10:57 AM
Hi, everyone, I'm building an order-picking process where the employees can manage product substitutions and deletions after the order was already paid.
I built a process that creates a cart from the previous order and adds, deletes, updates entries just following the ootb addToCart process used by the user and then placing a new order version. The main issue is that orders that have 50 or more entries can take up to minutes to update everything (expecially with promotions). Is there a more efficient way to update the order?
The goal is to make an api that updates a single order recieving data based on this dto:
{ "orderCode": "xxxxxx",
"entries": [
{ "entryNumber": 0, "product": "xxxx", "quantity": 0, "substitutions": [ { "product": "yyyyy", "quantity": 1 } ] },
{ "entryNumber": 1, "product": "zzzzz", "quantity": 1 },
{ "entryNumber": 2, "product": "xxxxxx", "quantity": 0, "substitutions": [ { "omsEntryId": "1234", "product": "yyyyyy", "quantity": 2 } ] }, ...] }
Thanks for your collaboration
Request clarification before answering.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.