Produkte auflisten#
Gibt die Produkte des Shops seitenweise zurück. Inaktive und nicht vorrätige Produkte bleiben aufgeführt. Produkte mit status: invalid, einschließlich logisch gelöschter Produkte, werden ausgeschlossen.
GET https://sdkapi.ideal.house/product-import/products?shopId=<SHOP_ID>&page=1&pageSize=20
Abfrageparameter#
| Feld | Typ | Erforderlich | Einschränkungen | Beschreibung |
|---|---|---|---|---|
shopId | string | Ja | Maximal 64 Zeichen | Von Ideal House bereitgestellte Shop ID. |
page | number | Nein | Ganzzahl größer oder gleich 1 | Seitenzahl. Standardmäßig ist 1. |
pageSize | number | Nein | Ganzzahl von 1 bis 100 | Produkte pro Seite. Standardmäßig ist 20. |
cURL-Beispiel#
curl --request GET \
'https://sdkapi.ideal.house/product-import/products?shopId=shop_123&page=1&pageSize=20' \
--header 'X-Client-Id: <YOUR_CLIENT_ID>' \
--header 'X-Client-Secret: <YOUR_CLIENT_SECRET>'
Antwort#
{
"items": [
{
"id": "product_123",
"shopId": "shop_123",
"sku": "SKU-10001",
"productCode": "SKU-10001",
"externalProductId": "SKU-10001",
"groupId": "mirror-series-01",
"collectionId": null,
"name": "Gold Wall Mirror",
"title": "Gold Wall Mirror",
"brand": "Example Brand",
"productType": "Wall Art",
"normalizedProductType": "wall_decors",
"category": "Mirror",
"style": null,
"color": "Gold",
"availability": "active",
"imageUrl": "https://cdn.ideal.house/products/product_123.png",
"previewImageUrl": "https://cdn.ideal.house/products/product_123-preview.png",
"productUrl": "https://www.example.com/products/SKU-10001",
"attributes": {
"size": {
"width": "24.0 in",
"height": "36.0 in",
"thickness": "2.0 in"
}
},
"status": "active",
"createdAt": "2026-07-21T06:30:00.000Z",
"updatedAt": "2026-07-21T06:30:08.000Z"
}
],
"total": 1,
"page": 1,
"pageSize": 20
}
Verwenden Sie immer total, page und pageSize, um alle Seiten abzurufen, bis sämtliche Produkte geladen wurden. Gehen Sie nicht davon aus, dass eine einzelne Antwort den vollständigen Katalog enthält.