Back to Developer changelog

Create B2B Draft Orders via PurchasingEntityInput

API

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.