updateDraftOrderBillingInfo
View as MarkdownUpdate billing information on an existing draft order
mutation
Requires one of commerce.order:create, commerce.order:update, commerce.order:cancel, or commerce.order:complete (use the scope that matches the operation).
Update billing information on an existing draft order
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED". |
Go to Authentication for credential setup.
Arguments
orderIdID!requiredinputUpdateDraftOrderBillingInfoInput!requiredaddressOrderAddressInputoptionalcompanyNameStringoptionalemailStringoptionalfirstNameStringoptionallastNameStringoptionalphoneStringoptional
Possible returns
IDID— TheIDscalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as"4") or integer (such as4) input value will be accepted as an ID.
Last updated on
How is this guide?