New Shopify Certification now available: Liquid Storefronts for Theme Developers

Get PO Number for B2B Order from the API

Solved
maxezcsv
Shopify Partner
3 1 2

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?

 

Screen Shot 2023-04-24 at 2.17.06 PM.png

Accepted Solution (1)
maxezcsv
Shopify Partner
3 1 2

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

View solution in original post

Replies 3 (3)
maxezcsv
Shopify Partner
3 1 2

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

jaacse
Shopify Partner
3 0 1

What about in graphql?

MobeenQamar
Shopify Partner
5 0 0

can u explain this solution