POST V2/ProductComment/SaveComments

Request Information

URI Parameters

None.

Body Parameters

ProductCommentDto
NameDescriptionTypeAdditional information
comments

Collection of ProductComment

None.

Request Formats

application/json, text/json

Sample:
{
  "comments": [
    {
      "Id": "ef182089-2b16-46e1-a5ef-6202c97ac531",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "c35dd61d-63ba-4fe4-bacb-e67eea3b5a8b",
          "CommentId": "110376f0-6c18-43c9-97cc-814f928d4d7b",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "c35dd61d-63ba-4fe4-bacb-e67eea3b5a8b",
          "CommentId": "110376f0-6c18-43c9-97cc-814f928d4d7b",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "c35dd61d-63ba-4fe4-bacb-e67eea3b5a8b",
          "CommentId": "110376f0-6c18-43c9-97cc-814f928d4d7b",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "c35dd61d-63ba-4fe4-bacb-e67eea3b5a8b",
          "CommentId": "110376f0-6c18-43c9-97cc-814f928d4d7b",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ProductName": "sample string 5",
      "ShopperId": "sample string 6",
      "ShopperName": "sample string 7",
      "Subject": "sample string 8",
      "Content": "sample string 9",
      "ReplyId": 10,
      "ReplyContent": "sample string 11",
      "CommentDate": "2026-09-06 12:21:29",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    },
    {
      "Id": "ef182089-2b16-46e1-a5ef-6202c97ac531",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "c35dd61d-63ba-4fe4-bacb-e67eea3b5a8b",
          "CommentId": "110376f0-6c18-43c9-97cc-814f928d4d7b",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "c35dd61d-63ba-4fe4-bacb-e67eea3b5a8b",
          "CommentId": "110376f0-6c18-43c9-97cc-814f928d4d7b",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "c35dd61d-63ba-4fe4-bacb-e67eea3b5a8b",
          "CommentId": "110376f0-6c18-43c9-97cc-814f928d4d7b",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "c35dd61d-63ba-4fe4-bacb-e67eea3b5a8b",
          "CommentId": "110376f0-6c18-43c9-97cc-814f928d4d7b",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ProductName": "sample string 5",
      "ShopperId": "sample string 6",
      "ShopperName": "sample string 7",
      "Subject": "sample string 8",
      "Content": "sample string 9",
      "ReplyId": 10,
      "ReplyContent": "sample string 11",
      "CommentDate": "2026-09-06 12:21:29",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductCommentDto'.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {},
  "Code": 4
}