Get checkout ID connected to an order using graphQL

Shopify Partner
2 0 3



When you are getting the orderName on the conversion page (following this tutorial: it seems that sometimes you actually receive a checkoutId. This is pretty well documented in this ticket:


So in certain cases we receive a checkout ID (# followed by a long integer). I am now looking for a way in which I can swap this checkout ID for the order ID at a later moment using the GraphQL API. This should be possible in one of two ways:

1 . When retrieving an order you can retrieve the checkout ID.

2. You can submit the checkout ID somewhere to get the appropriate order number.


I can see in the rest API that the checkout is included in the order object json (, but for the GraphQL API I cannot find the same. How could I best go about this?



Replies 0 (0)