Discussing APIs and development related to customers, discounts, and order management.
Shopify has added the option to add a PO Number to Orders and Draft orders:
https://changelog.shopify.com/posts/enter-po-numbers-on-b2b-orders
We don't see any details on how to get this field for an Order from the REST or GraphQL API when getting a specific order or list of orders. Is there a way to get the PO Number for an order via API call?
Solved! Go to the solution
This is an accepted solution.
Just going to post my own reply. It's currently in the Unstable version of the REST API on the Order object: https://shopify.dev/docs/api/admin-rest/unstable/resources/order#resource-object
This is an accepted solution.
Just going to post my own reply. It's currently in the Unstable version of the REST API on the Order object: https://shopify.dev/docs/api/admin-rest/unstable/resources/order#resource-object
What about in graphql?
can u explain this solution