Zoey REST API reference ยท Interactive version: apidocs.zoey.com

Orders

Orders: Comments

Create

POST https://container-url.zoeysite.com/api/rest/v2/orders/:id/comments

Request Fields:

Field Type Required Description
comment string Yes Comment text.

Example request body:

{
    "comment": "This was added from the API"
}

Update

PUT https://container-url.zoeysite.com/api/rest/v2/orders/:id/comments/:comment_id

Request Fields:

Field Type Required Description
comment string Yes Comment text.

Example request body:

{
    "comment": "This was updated from the API"
}

Delete

DELETE https://container-url.zoeysite.com/api/rest/v2/orders/:id/comments/:comment_id

GetAll

GET https://container-url.zoeysite.com/api/rest/v2/orders/:id/comments