Re: REST Checkout API 2027-07 Deprecation

REST Checkout API 2027-07 Deprecation

zaid25007
Shopify Partner
2 0 1

I have been using https://your-development-store.myshopify.com/admin/api/2024-04/checkouts/bd5a8aa1ecd019dd3520ff791ee... to retrieve the checkout. But as of API version 2024-07 the REST Checkout API has been deprecated and now I can no longer use the retrieve checkout against checkout_token API. What is the alternative API I can use to retrieve a specific checkout, as my app's only need to fetch the selected payment method against a specific checkout.

 

Screenshots attached for reference.

zaid25007_0-1722252536862.png

2024-07-29_16-18.png

Replies 2 (2)

bluebidoof
Shopify Partner
3 0 1

Hi @zaid25007, were you able to figure out how to resolve this? I'm working on retrieving a checkout and initially followed the REST API but now that it's deprecated, I'm not sure how to access the checkout object.

zaid25007
Shopify Partner
2 0 1

Hi @bluebidoof, my use case was different. As I need to access the payment method used in order creation. For that Shopify support has guided me to use REST Transaction API instead of REST Checkout API to get transaction details against an order.

 

I suggest you to explain your use case for what fields you're gonna use REST Checkout API.

 

Refer to the screenshot below.

zaid25007_0-1723451326329.png