Basic Information

appmixer.shopify.draftorders.UpdateDraftOrder

1.0.0

Public

Update a draft order that is not completed yet. Fields left empty are not changed; line items, when given, replace all line items. Needs the write_draft_orders access scope on the Shopify app.

Input Ports

in

FieldTypeDescription
Draft Order ID text The ID of the draft order: the global ID (gid://shopify/DraftOrder/123) or the numeric ID from the draft order's admin URL.
Line Items expression Replaces all line items of the draft order. Leave empty to keep them. The products of the draft order. Each item is either a product variant of your store, or a custom item with its own title and price.
Customer text Pick the customer, or enter the customer ID (global or numeric).
Email text The customer's email address for the draft order.
Phone text The customer's phone number, in E.164 format (for example +15145556789).
Note textarea A note for the draft order. Replaces the current note.
Tags text Comma-separated tags. Replaces all tags of the draft order.
PO Number text The purchase order number.
Tax Exempt toggle Whether the draft order is exempt from taxes.
First Name text -
Last Name text -
Company text -
Address Line 1 text -
Address Line 2 text -
City text -
Province Code text State or province code, for example ON or CA. Names are not accepted.
Country Code text Two-letter ISO country code, for example CZ or US. Names are not accepted.
Postal Code text -
Phone text -

Output Ports

out

FieldTypeDescription
No fields defined for this port

Full Metadata