Update address and customer details
POST
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.
application/json- body
order_id*numberid of the order to be paid
merchant_api_key*stringAPI key of your account
address_details*If the order was already paid you can no longer change the country or the state!
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
Order payment POST
Submitting payment confirms the order and sends it to the production facility. Once paid, the order enters the fulfillment flow and can no longer be modified.
Send files asynchronously POST
Set files for an existing order. This is only allowed if the item is in the `PENDING_COMPLETION` state.