API docs

Update address and customer details

POST
/order/address

Update the shipping address or customer details for an existing unpaid order. Once the order is paid, you can no longer change the country or state.

Request Body

application/json
  1. body
order_id*number

id of the order to be paid

merchant_api_key*string

API key of your account

address_details*

If the order was already paid you can no longer change the country or the state!

Response Body

OK

Example Request
curl -X POST 'https://test.www.peecho.com/rest/v3/order/address' \  -H 'Content-Type: application/json' \  -d '{  "order_id": 1234,  "merchant_api_key": "API_KEY",  "address_details": {    "email_address": "joshua@designy.com",    "shipping_address": {      "first_name": "Joshua",      "last_name": "Grim",      "address_line_1": "Test",      "address_line_2": "1",      "zip_code": "35100",      "city": "Florida",      "country_code": "AE"    }  }}'
Example Response
Empty