I use API Create an atomic order and Create multiple line items with discounts info and i get a success reponse message both.
When using Create an atomic order, I confirmed that the discount was applied, when using Create multiple line items, the discount information was not applied.
This is parameter i sent
Create an atomic order
{"orderCart":{"orderType":{"id":"SZW68FN0FJBY8"},"groupLineItems":"true","lineItems":[{"item":{"id":"DT5D2H881VR84"},"name":"kimbab","price":900,"unitQty":1000,"unitName":"1","discounts":[{"discount":{"id":"EX5A7NMBRP1YE"},"name":"[TAKY happyhour]lunch time","percentage":10}]}]}}
Create multiple line items
{"items":[{"item":
{"id":"DT5D2H881VR84"},"name":"kimbab","price":900,"unitQty":1000,"unitName":"1","discounts":[{"discount":{"id":"EX5A7NMBRP1YE"},"name":"[TAKY happyhour]lunch time","percentage":10}]}]}