Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Adding created discount code within a custom app to the checkout using API endpoints

Adding created discount code within a custom app to the checkout using API endpoints

Norbert_JB
Shopify Partner
1 0 0

I want to add a discount code created using ur api endpoint to be added to the checkout also via an api endpoint not adding to the checkout url the discount code. Also i m using custom apps for this.

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 527

Hey @Norbert_JB

 

I'd recommend starting with our discounts guide here: https://shopify.dev/docs/apps/build/discounts 

 

This guide goes in to details on managing discounts through our API's. 

 

- Kyle G.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog