Apply Discount Code in Draft Order using Draft Order API

tcmleung
Excursionist
15 2 10

Just wanted to know if it is possible to apply discount code in Draft Order using Draft Order API.

 

Replies 6 (6)

AndyHung
Shopify Partner
60 0 16

Hi @tcmleung , do you have any solution for this?

 

tcmleung
Excursionist
15 2 10

No.

We need to use Storefront API to create order if we want to apply discount code.

 

AndyHung
Shopify Partner
60 0 16

Hi @tcmleung , and you don't use Draft order? I use Draft order to add some custom line items, and  now I want it works with discount code. Can you quick guide me, please?

rafaelmarques
Tourist
10 0 2

@tcmleung  @AndyHung were you able to figure that out? I have the same situation here. I have a draft Order and I need to apply the discount code to it but I can't find the endpoint for that.

AndyHung
Shopify Partner
60 0 16

@rafaelmarques I still wait response, but it seems no solution

ffgamba7
Tourist
4 0 2

Also looking for a solution here. Want my sales team to be able to take orders over the phone and build them using draft orders. Need them to be able to apply the clients discount code for tracking and ensuring there aren't issues with the discount.