orderNumber prefix/suffix
Hi!
In the shopify dashboard you are able to set a prefix and or a suffix for your order id's. In the gadget api (as far as I know) we only have the ability to see order names, numbers and orderNumbers.
But if there is a prefix or suffix set on the order id's we can't see that on a shop level. So we are not able to compare what the orderNumber is vs the name if you're not certain yet what the prefix is.
Is there way to see what the prefix and or suffix is set to in a shop?
2 Replies
Hello,
I don't see a prefix or suffix field on the resource in the Shopify docs so I don't know that it's possible.
Could it potentially be on the order name field?
This one seems to have additional information to the orderNumber: https://shopify.dev/docs/api/admin-graphql/2025-01/objects/Order#field-name
In fact it doesn't say it explicitly but their examples seem to suggest that as the correct field to use
Thanks!