Storefront checkout

Storefront checkout

darkh3aven
Shopify Partner
5 0 1

Hi All,

I'm trying to add a coupon code throught storefront api using this example:

https://shopify.dev/api/storefront/reference/checkouts/checkoutdiscountcodeapplyv2#arguments-2021-10

 

I'm using a private app but my problem is:

How can I know my checkout id?

I understand I need the storefront checkout id (not the admin), but I have no idea how get it,

thanks in advance

Replies 0 (0)