Development discussions around Shopify APIs
Can anyone actually provide an answer as to why the order_number field is not available when using GraphQL?
I know I can get the name field, but that is not the same thing at all as the name field can have prefixes.
So, why isn't this rather important field available in the GraphQL API?
Hi @PurpleMamba
CS | 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
Hi @csam thanks for responding.
There is no number field for Orders.
{
"errors": [
{
"message": "Field 'number' doesn't exist on type 'Order'",
"locations": [
{
"line": 6,
"column": 9
}
],
"path": [
"query",
"orders",
"edges",
"node",
"number"
],
"extensions": {
"code": "undefinedField",
"typeName": "Order",
"fieldName": "number"
}
}
]
}
I will continue to look into this
CS | 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
I came here for the same reason. Any feedback would be appreciated.
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023