Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
We are building an app where we can from abandoned checkout we can directly create a Draft Order as the payment success status is received from Payment Gateway.
We have notice that Shopify Admin API allows me to get checkout data by token for example :**"****/admin/api/2021-07/checkouts/{token}.json"**
We are using the same API to get checkout data. We have notice that here I have to pass**Token**but, in**Admin->Ordres->Abandoned Checkouts** but we only get checkout ID and shop name as parameter So, how to get Checkout Token.
Support need to call get the Checkout Token.
Hi @nchoraria
You can get the token via the Abandoned Checkouts API https://shopify.dev/api/admin/rest/reference/orders/abandoned-checkouts
You'll want to use the "token" field, not the "cart_token" field. You should be able to use this for your checkouts API calls.
CS | API Support @ Shopify
- Was my reply helpful? Click Like to let me 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
User | RANK |
---|---|
6 | |
4 | |
3 | |
3 | |
3 |