Skip to main content

orderAddressUpdate

Update an existing order address with new information.

Modifies order address details such as contact information, address lines, postal codes, and other address-related data.

Possible errors:

  • ORDER_ADDRESS_NOT_FOUND_ERROR: Order address with specified ID does not exist for the given order
  • ORDER_NOT_FOUND: Order with the specified ID does not exist
  • ORDER_ADDRESS_UPDATE_ERROR: Failed to update the order address due to system error
  • ORDER_ADDRESS_HOME_NOT_ALLOWED_ERROR: Creating or updating home type addresses is not allowed
  • VALIDATION_ERROR: Input validation failed (invalid address data, missing required fields)
  • FORBIDDEN: Insufficient permissions to update order addresses

AUTH: Role=[order.OWNER,order.EDITOR]

orderAddressUpdate(
id: Int!
orderId: Int!
input: OrderAddressUpdateInput!
): OrderAddress!

Arguments

orderAddressUpdate.id ● Int! non-null scalar

Unique identifier for this address

orderAddressUpdate.orderId ● Int! non-null scalar

ID of the order this address belongs to

orderAddressUpdate.input ● OrderAddressUpdateInput! non-null input

Updated address information including contact details and address data

Type

OrderAddress object

Address information associated with an order including billing and delivery addresses with complete contact details