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": "0db46b1c-fdf6-4b9b-931e-7a173eaf5d88",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "4f54e12c-1866-4c9a-86a0-f8ef5191d513",
          "CommentId": "1984e7c5-f835-431b-b17a-01a37a4b63af",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "4f54e12c-1866-4c9a-86a0-f8ef5191d513",
          "CommentId": "1984e7c5-f835-431b-b17a-01a37a4b63af",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "4f54e12c-1866-4c9a-86a0-f8ef5191d513",
          "CommentId": "1984e7c5-f835-431b-b17a-01a37a4b63af",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "4f54e12c-1866-4c9a-86a0-f8ef5191d513",
          "CommentId": "1984e7c5-f835-431b-b17a-01a37a4b63af",
          "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-07-13 12:42:49",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    },
    {
      "Id": "0db46b1c-fdf6-4b9b-931e-7a173eaf5d88",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "4f54e12c-1866-4c9a-86a0-f8ef5191d513",
          "CommentId": "1984e7c5-f835-431b-b17a-01a37a4b63af",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "4f54e12c-1866-4c9a-86a0-f8ef5191d513",
          "CommentId": "1984e7c5-f835-431b-b17a-01a37a4b63af",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "4f54e12c-1866-4c9a-86a0-f8ef5191d513",
          "CommentId": "1984e7c5-f835-431b-b17a-01a37a4b63af",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "4f54e12c-1866-4c9a-86a0-f8ef5191d513",
          "CommentId": "1984e7c5-f835-431b-b17a-01a37a4b63af",
          "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-07-13 12:42:49",
      "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
}