Order Controller
Update order shipping address
Updates shipping recipient name, phone, and address fields. Only include fields you want to change; at least one field is required.
patch/orders/shipping-address/{id}
Path parameters
idnumber required
Request body
Example request
{
"shippingAddress1": "456 Delivery Street",
"shippingAddress2": "Apartment 5B",
"shippingCity": "Manchester",
"shippingPostcode": "M1 1AA",
"shippingCounty": "Greater Manchester",
"shippingPhone": "+44 123 456 7890",
"shippingFirstName": "John",
"shippingLastName": "Doe"
}Response
Shipping address updated successfully
Example response
{
"orderId": 1,
"customerEmail": "customer@example.com",
"emailValid": true,
"emailValidationStatus": "UNKNOWN",
"isNewCustomer": true,
"documentAccessLink": "https://api.example.com/orders/track/abc-123-xyz"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.