Change Customer on Order

URL : /api/v1/orders/{id}/

Method : PATCH

Parameters

  • customer - String

Data example

{
    "customer": 123
}

Success Response

Code : 200 OK

Content examples :

{
    "id": 1629789747117569,
    "created_at": "2021-08-24T07:22:27Z",
    "updated_at": "2021-11-23T07:04:07.441338Z",
    "store_id": "patched_store_id",
    "type": "normal",
    "customer_email": null,
    "is_test": false,
    "customer_reference": "",
    "is_trial": false,
    "download_id": null,
    "language": null,
    "campaign_params": null,
    "customer_first_name": null,
    "customer_last_name": null,
    "customer_company": null,
    "customer_phone": null,
    "metadata": {},
    "company": 339,
    "customer": 123,
    "license_users": []
}

Last updated

Was this helpful?