Hello! ![]()
We use the shopify platform. We have an online shop.
We have a specific task:
a) we have the checkout url:
https://some.myshopify.com/11365610631/checkouts/34cec6f6fa244ab00ab17f3762cf3fa9 ; 34cec6f6fa244ab00ab17f3762cf3fa9 is a checkout token
b) we need to get this checkout object using a shopify API. We have only the url above.
Tried:
- GET /admin/api/2020-01/checkouts/#{token}.json (the docs: https://help.shopify.com/en/api/reference/sales-channels/checkout#show-2020-01 ) - it doesn’t work. The endpoint accepts only a checkout id (but not a checkout token). There is the typo in the docs.
Questions:
- How can we get the checkout object using the url: https://some.myshopify.com/11365610631/checkouts/34cec6f6fa244ab00ab17f3762cf3fa9
- How can we ‘get a checkout by a checkout token’ using API?
Thanks!