Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to get Order status URL by using Admin GraphQL API

How to get Order status URL by using Admin GraphQL API

Taehee
Visitor
1 0 3

Hi, I want get `order status url` by using admin graphQL API

 

There are some ways to get `order status url`

1. Using admin REST API (Order). There is `order_status_url` field.

2. Using webhook order/* topic. There is `order_status_url` field.

3. Using storefront GraphQL API. Query customer and connection orders, and there is `statusUrl` field.

 

Shopify recommends to use graphQL API(because REST API will be deprecated). 

But, I cannot find way to get order status url by using admin graphQL API.

 

Reply 1 (1)

minsko
Shopify Partner
28 3 6

It looks like this field is being added to the next API release, 2024-10. https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Order#field-statuspageurl