v1
latestOpenAPI 3.0.22026-07-2441902.6 MBRetail Experience Cloud Bridge
Change Order Shipping Address
Change the shipping address of a customer's order.
Required fields:
- customer_id
- order_id
A successful request updates the shipping address and returns the order with the new address.
post/erc/ecommerce/customers/{customer_id}/orders/{order_id}/change-shipping-address
Path parameters
customer_idstring required
Example:customer123
The customer id
order_idstring required
Example:order123
The order id
Query parameters
brandstring
Example:Brand A
The brand of the provider you want to filter by. If the account is multi-brand, this parameter is required.
Request body
Example request
{
"first_name": "John",
"last_name": "Doe",
"phone_number": "+351910000000",
"address": "Lisbon",
"zip_code": "20000000",
"city": "Lisbon",
"region_code": "PT-11",
"country_code": "PT",
"id": "address123"
}Response
The order information updated with the new shipping_address
Example response
{
"id": "order456",
"order_number": "#Y34DHR",
"customer_id": "customer123",
"brand": "brand",
"purchase_datetime": "2021-09-14T12:16:50.078Z",
"delivery_type": "SHIPPING",
"shipping_address": {
"first_name": "John",
"last_name": "Doe",
"phone_number": "+351910000000",
"address": "Lisbon",
"zip_code": "20000000",
"city": "Lisbon",
"region_code": "PT-11",
"country_code": "PT"
},
"billing_address": {
"first_name": "John",
"last_name": "Doe",
"phone_number": "+351910000000",
"address": "Lisbon",
"zip_code": "20000000",
"city": "Lisbon",
"region_code": "PT-11",
"country_code": "PT"
},
"items_number": 3,
"price_summary": {
"original_total_amount": {
"value": 10.5,
"currency": "EUR"
},
"discounts_amount": {
"value": 10.5,
"currency": "EUR"
},
"shipping_amount": {
"value": 10.5,
"currency": "EUR"
},
"taxes_amount": {
"value": 10.5,
"currency": "EUR"
},
"final_total_amount": {
"value": 10.5,
"currency": "EUR"
},
"net_payment_amount": {
"value": 10.5,
"currency": "EUR"
},
"total_outstanding_amount": {
"value": 10.5,
"currency": "EUR"
},
"total_refunded_amount": {
"value": 10.5,
"currency": "EUR"
}
},
"payment_details": {
"card_brand": "Visa",
"card_brand_image_url": "https://external-integration.url.com/payment_card_brand_icon.svg",
"card_number": "**** **** **** *567"
},
"order_extra_info": {
"highlighted_item_image_url": "https://external-integration.url.com/payment_card_brand_icon.jpg"
},
"status": "CONFIRMED",
"cancellation_status": "CANCELLATION_REQUESTED",
"fulfillment_status": "FULFILLED",
"payment_status": "PAID",
"delivery_status": "DELIVERED",
"return_status": "RETURN_IN_PROGRESS",
"is_refundable": true,
"is_returnable": true,
"is_cancellable": true
}