updateICollectionRow
Edit a record in the collection.
IntegrationCollections?.updateICollectionRow( marker?, body?, langCode? );
Minimal example
const body = {
"formIdentifier": "collection-form",?"formData": [?{
"marker": "collection_marker",?"type": "string"?"value": "Collection marker"?}]};
const value = await IntegrationCollections.createICollectionRow("test_collection", body)
Schema
marker(required): string
Text identifier of the collection
example: "collection1"
id(required): number
Row identifier in the collection
example: 12
body(required): object
Object for updating a record in the collection
example:
{
"formIdentifier": "collection-form",
"formData": {
"en_US": [
{
"marker": "collection_marker",
"type": "string",
"value": "Collection marker"
}
]
}
}
langCode: string
Language code. Default: "en_US"
example: "en_US"
Example response
{
"id": 414,
"createdDate": "2025-07-21T09:40:07.591Z",
"updatedDate": "2025-07-21T09:40:07.721Z",
"collectionId": 1,
"langCode": "en_US",
"formData": [
{
"marker": "c_marker",
"type": "string",
"value": "Value updated"
}
],
"entityType": null,
"entityId": null,
"formIdentifier": "collection_form"
}
Schema
id: number
Object identifier.
example: 1
createdDate: string
Date of creation of the record.
example: "2023-01-01T00:00:00Z"
updatedDate: string
Date of last update of the record.
example: "2023-01-02T00:00:00Z"
collectionId: number | null
collectionId associated with the collection row.
example: "product", "order", "etc"
formData: ICollectionFormData[]
Array of form data objects associated with the collection row.
example:
[
{
"marker": "name_1",
"type": "string",
"value": "Value"
}
]
entityType: string | null
Type of the entity associated with the collection row.
example: "product", "order", "etc"
entityId: number | null
Identifier of the entity associated with the collection row.
example: 12345
attributeSetIdentifier: string | null
Identifier of the attribute set used by the form attached to the collection row, or null if not applicable.
example: "attributeSet1" or null
total: string
Total count.
example: "1"