Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.
Create B2B Draft Orders via PurchasingEntityInput
Effective October 01, 2022
As of GraphQL Admin API version
2022-10, you can use the purchasing entity input field to create and update B2B draft orders.
This will attach company, location and contact to the draft order.
The field can also be used to create and update a traditional D2C draft order, requiring only a customer ID.
Learn more about PurchasingEntityInput.