question

heejung avatar image
heejung asked

Fail to apply discounts in Create multiple line items

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}]}]}

REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community