List Item Comment Input
List Item comment definition.
This is an object that includes the necessary parameters for creating a new comment on a product within a list item.
let listItemCommentDef = {
"lid": "list id",
"empi": "Product master id",
"epi": "Product variant id",
"txt": "Comment text",
"cprops": {} // optional param
};
Argument | Type | Description |
---|---|---|
lid | string | Identifier of the list where the comment will be added |
empi | number/string | Identifier of the product master for the list item being commented on |
epi | number/string | Identifier of the product variant for the list item being commented on |
txt | string | The actual text content of the comment |
cprops (optional) | object | Optional. A collection of custom fields formatted as a map |
In this instance, lid
is the unique identifier for the list where you're adding the comment. empi
and epi
correspond to the identifiers of the product master and product variant of the list item being commented on, respectively. The txt
parameter represents the content of your comment. and, cprops
is an optional parameter that allows for the addition of custom fields in the form of a map.
Updated over 1 year ago