createICollectionRow
Koleksiyonda bir kayıt oluşturun.
IntegrationCollections?.createICollectionRow( marker?, body?, langCode? );
Minimal örnek
const body = {
"formIdentifier": "collection-form",?"formData": [
?{
"marker": "name_1",?"type": "string"?"value": "Değer"?}
]
}
;
const value = await IntegrationCollections.createICollectionRow(body)
Şema
marker(gerekli): string
Koleksiyon metin tanımlayıcısı
örnek: "collection1"
body(gerekli): ICollectionFormObject
Kayıt oluşturmak için nesne
örnek:
{
"formIdentifier": "collection-form",
"formData": {
"en_US": [
{
"marker": "collection_marker",
"type": "string",
"value": "Koleksiyon işaretçisi"
}
]
}
}
formIdentifier(gerekli): string
Formun metin tanımlayıcısı (marker).
örnek: "collection-form"
formData(gerekli): Record<string, ICollectionFormData>
Anahtarların form alanı işaretçileri ve değerlerin ICollectionFormData nesnelerinin dizileri olduğu bir nesne.
örnek:
[
{
"marker": "name_1",
"type": "string",
"value": "Değer"
}
]
langCode: string
Dil kodu. Varsayılan: "en_US"
örnek: "en_US"
Örnek yanıt
{
"formData": [
{
"marker": "c_marker",
"type": "string",
"value": "Değer"
}
],
"collectionId": 1,
"langCode": "en_US",
"createdDate": "2025-07-21T09:40:07.591Z",
"updatedDate": "2025-07-21T09:40:07.591Z",
"entityType": null,
"entityId": null,
"id": 414
}
Ş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", "vb."
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", "vb."
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"