Get liquid order.customer_url or rest api order.token in GraphQL API

Solved
ko-lem-pc
Tourist
6 0 1

In liquid, we have this https://shopify.dev/docs/themes/liquid/reference/objects/order#order-customer_url. I would like to be able to get the same url in my app.

order.token in rest api should do it but is there a way to get this value through the GraphQL api?

0 Likes
awwdam
Shopify Staff
Shopify Staff
65 6 3

This is an accepted solution.

Hey @ko-lem-pc,

At the moment this field is unavailable to query via GraphQL. Pulling that information via REST will be your best option right now - REST Admin API - Order.  

awwdam | 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

ko-lem-pc
Tourist
6 0 1

Ah, figured. Thanks

0 Likes