Ana içeriğe geç

getICollectionById

Koleksiyonu id ile al.

IntegrationCollections.getICollectionById(id, langCode)

const result = await IntegrationCollections.getICollectionById(1);
Şema

id:* number
Koleksiyon id'si
örnek: 10

langCode: string
Dil kodu
örnek: en_US

Örnek dönüş:

{
"id": 1764,
"localizeInfos": {
"en_US": {
"title": "Collection 1"
}
},
"identifier": "collection",
"formId": 1,
"attributeSetId": "1",
"selectedAttributeMarkers": "marker1, marker2"
}
Şema

id: number
nesne tanımlayıcısı
örnek: 1764

localizeInfos: CommonLocalizeInfos
Yerelleştirmeyi dikkate alarak isim
örnek:

{
"en_US": {
"title": "Collection 1"
}
}

identifier: string
Kayıt alanı için metin tanımlayıcısı
örnek: collection
varsayılan: marker

formId: number
Sipariş depolama tarafından kullanılan formun tanımlayıcısı
örnek: 1
varsayılan:

attributeSetId: string
Koleksiyona ekli form tarafından kullanılan özellikler setinin tanımlayıcısı
örnek: 1
varsayılan:

selectedAttributeMarkers: string
Veri tablosunda görüntülemek için form nesnesi özelliklerinin metin tanımlayıcıları
örnek: marker1, marker2