edit_order_billing_address
Description
Updates the invoice/billing address of an existing order. Usually performed after validating a new address through validate_address.
When to Use
Customer needs correction for VAT, company, or formatting.
Typos or missing components in the invoice address.
Billing address needs to be consistent for tax documentation.
Workflow
Validate the new address using
validate_address.Read the normalized address back to the shopper.
Confirm mandatory cascading rules (line2 requires line1, etc.).
Call
edit_order_billing_address.Return the resulting status message.
Arguments
Field | Type | Required |
|---|---|---|
order_id | string | Yes |
line1 | string/null | Optional |
line2 | string/null | Optional |
line3 | string/null | Optional |
city | string/null | Optional |
zip_code | string/null | Optional |
Input Schema (simplified)
{
"order_id": "string",
"line1": "string",
"line2": "string",
"line3": "string",
"city": "string",
"zip_code": "string"
}
Output
{ "result": "string" }Sample Prompts
“Update the billing address of order 1221 to: 55 Oxford St, London W1D.”
“Correct the invoice ZIP code on order 9812.”