When a merchant creates a order manually in the admin, they are able to choose ‘Payment terms’ such as due on reciept or due on fulfillment. Is there any way to set the payment terms in the same way when creating a order with the graphql API. Any help would be greatly appreciated, thanks.
This is possible. Draft orders have a dedicated paymentTerms field in their input.
Alternatively, you can achieve this with non-draft orders using a two-step process. First create your order with orderCreate, then immediately add payment terms using the paymentTermsCreate mutation with the order ID and a paymentTermsTemplateId. I just tested this workflow and confirmed it works perfectly.