Let's imagine the following scenario
A company has many storefront, have customer loyalty identification card, accept multiple payment method per storefront.
a customer can
- went into a storefront, buy 1 or more items without loyalty card, and pay by cash (Scenario A)
- went into a storefront, buy 1 or more items with loyalty card, and pay by debit card (Scenario B)
All this transaction is recorded by the POS System
By the end of the day, data from POS System is being integrated to DYNBC, via Sales Order
I am trying to do this with API Integration. I understand that we can specify PaymentMethod for each of our Customer and get that PaymentMethod filled automatically in the Sales Order. I have verify that this works with API Integration. And this can cover Scenario A (if I set the PaymentMethod for that Customer to be Cash)
But for Scenario B, how can I change the PaymentMethod for the Sales Order from API? because the way I set the PaymentMethod for Scenario A, the Sales Order will be created with PaymentMethod Cash. I can change it manually in DYNBC interface, but it will be tedious and a lot of work (high volume of data). I want it to be done via API or other ways
Any idea?
Regards,
Hendry Leo