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": "45bcd323-ff9a-4565-931b-007833b54efc",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "5d26c51b-7cd9-4e62-9531-def0b06ea1da",
          "CommentId": "d4e8b5f4-435b-43e8-9490-c4cc18a670a6",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "5d26c51b-7cd9-4e62-9531-def0b06ea1da",
          "CommentId": "d4e8b5f4-435b-43e8-9490-c4cc18a670a6",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "5d26c51b-7cd9-4e62-9531-def0b06ea1da",
          "CommentId": "d4e8b5f4-435b-43e8-9490-c4cc18a670a6",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "5d26c51b-7cd9-4e62-9531-def0b06ea1da",
          "CommentId": "d4e8b5f4-435b-43e8-9490-c4cc18a670a6",
          "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-03-24 07:29:41",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    },
    {
      "Id": "45bcd323-ff9a-4565-931b-007833b54efc",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "5d26c51b-7cd9-4e62-9531-def0b06ea1da",
          "CommentId": "d4e8b5f4-435b-43e8-9490-c4cc18a670a6",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "5d26c51b-7cd9-4e62-9531-def0b06ea1da",
          "CommentId": "d4e8b5f4-435b-43e8-9490-c4cc18a670a6",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "5d26c51b-7cd9-4e62-9531-def0b06ea1da",
          "CommentId": "d4e8b5f4-435b-43e8-9490-c4cc18a670a6",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "5d26c51b-7cd9-4e62-9531-def0b06ea1da",
          "CommentId": "d4e8b5f4-435b-43e8-9490-c4cc18a670a6",
          "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-03-24 07:29:41",
      "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
}