updateICollectionRow
Koleksiyondaki bir kaydı düzenleyin.
IntegrationCollections?.updateICollectionRow( marker?, body?, langCode? );
Minimal örnek
const body = {
"formIdentifier": "collection-form",?"formData": [?{
"marker": "collection_marker",?"type": "string"?"value": "Koleksiyon işaretçisi"?}]};
const value = await IntegrationCollections.createICollectionRow("test_collection", body)
Şema
marker(gerekli): string
Koleksiyonun metin tanımlayıcısı
örnek: "collection1"
id(gerekli): number
Koleksiyondaki satır tanımlayıcısı
örnek: 12
body(gerekli): object
Koleksiyondaki bir kaydı güncellemek için nesne
örnek:
{
"formIdentifier": "collection-form",
"formData": {
"en_US": [
{
"marker": "collection_marker",
"type": "string",
"value": "Koleksiyon işaretçisi"
}
]
}
}
langCode: string
Dil kodu. Varsayılan: "en_US"
örnek: "en_US"
Örnek yanıt
{
"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": "Değer güncellendi"
}
],
"entityType": null,
"entityId": null,
"formIdentifier": "collection_form"
}
Şema
id: number
Nesne tanımlayıcısı.
örnek: 1
createdDate: string
Kayıt oluşturulma tarihi.
örnek: "2023-01-01T00:00:00Z"
updatedDate: string
Kayıt son güncelleme tarihi.
örnek: "2023-01-02T00:00:00Z"
collectionId: number | null
Koleksiyon satırı ile ilişkili collectionId.
örnek: "product", "order", "vs."
formData: ICollectionFormData[]
Koleksiyon satırı ile ilişkili form veri nesneleri dizisi.
örnek:
[
{
"marker": "name_1",
"type": "string",
"value": "Değer"
}
]
entityType: string | null
Koleksiyon satırı ile ilişkili varlık türü.
örnek: "product", "order", "vs."
entityId: number | null
Koleksiyon satırı ile ilişkili varlık tanımlayıcısı.
örnek: 12345
attributeSetIdentifier: string | null
Koleksiyon satırına ekli form tarafından kullanılan nitelik setinin tanımlayıcısı veya geçerli değilse null.
örnek: "attributeSet1" veya null
total: string
Toplam sayısı.
örnek: "1"