Applying Discounts

in Development
So I was wondering if there is an endpoint to apply discount codes to a product/whole order? I see the discount endpoint but I'm not sure how to apply the discount. Is this even possible?
So I was wondering if there is an endpoint to apply discount codes to a product/whole order? I see the discount endpoint but I'm not sure how to apply the discount. Is this even possible?
1 comment
Hi @mpisanchik ,
Yes, you can add a discount code when you create an order when you look into this: https://developers.lightspeedhq.com/ecom/tutorials/creating-an-order/ you can see in the payload how to add a discount to your order.
If you have any further questions, we will be happy to assist you.
Kind Regards,