Storefront API - get order with numeric ID

jdarosaj
New Member
3 0 0

I got the order numeric ID, since I'm using Recharge app for handling subscriptions. I'd like to know how to fetch an order in storefront API using this numeric ID.
I know that I have to use the base64 encoded string to fetch using ID, but which informations do I need to encode to be able to fetch?

0 Likes
SBD_
Shopify Staff
Shopify Staff
1044 141 186

You'll need to use the Admin API, not the Storefront API. Here's an example call: https://community.shopify.com/c/Shopify-APIs-SDKs/How-can-I-get-order-number-using-GraphQL/td-p/5221...

0 Likes