Orders

Update an order note

Replace the contents of an existing order note. The created_by user and created_at timestamp are preserved — only the body is updated.

put/shop/orders/{orderId}/notes/{noteId}

Request body

contentstring required

The new contents of the note. HTML is not permitted — submit plain text only.

Example request

{
  "content": "Guest no longer requires a double treatment room."
}

Response

The order note was successfully retrieved.

Example response

{
  "data": {
    "id": "5ed2b95f72823c4f98419f19",
    "content": "Requested a double treatment room.",
    "order_id": "5ed2b95f72823c4f98419f20",
    "created_at": "2019-01-15T12:00:00+01:00",
    "created_by": {
      "id": "5ed2b95f72823c4f98419f20",
      "name": "Jane Smith"
    },
    "created_by_id": "5ed2b95f72823c4f98419f20"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.