Zoey REST API reference ยท Interactive version: apidocs.zoey.com
PUT https://container-url.zoeysite.com/api/rest/sales2/orders/customer
Changing the Customer assigned to an order is not possible when the order was placed by a Customer belonging to an Account.
Example request body:
{
"orderIncrementId": "100008665",
"newCustomerId": "116"
}
Example response (Failure), HTTP 500:
{
"messages": {
"error": [
{
"code": 500,
"message": "Changing the Customer assigned to an order is not possible when the order was placed by a Customer belonging to an Account."
}
]
}
}