createComment

post

/ccagent/v1/comments

Create Comment. Creates an order comment in the repository by passing the orderId in the input.

Request

Supported Media Types
Body ()
Root Schema : createComment_request
Type: object
Show Source
Example:
{
    "orderId":"o50001",
    "comment":"Issue related to billing address"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createComment_response
Type: object
Show Source
Example Response (application/json)
{
    "repositoryId":"800022",
    "comment":"Issue related to billing address",
    "creationDate":"2014-06-24 17:37:01.883"
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |200001|Order Comment Submission Failed.| |200018|No Input Specified| |200017|Invalid Input Parameter| |200005|Invalid Order Comment| |200004|Invalid Order Id|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top