Przejdź do głównej zawartości

Pobierz produkty po ID (wersja uproszczona)

POST
/api/products/v3/productsByIdsLight
curl --request POST \
--url https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/products/v3/productsByIdsLight \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "ids": [ 1 ] }'

Zwraca podstawowe dane produktów oraz ich pola złożone z definicjami; lżejsza alternatywa dla pełnego pobierania produktów.

object
ids
Array<integer>
nullable
Examplegenerated
{
"ids": [
1
]
}

Success

Array<object>
object
id
integer format: int64
parentId
integer format: int64
nullable
isParent
boolean
catalogId
integer format: int64
manufacturerId
integer format: int64
name
string
nullable
vat
number format: double
ean
string
nullable
sku
string
nullable
weight
number format: double
width
number format: double
height
number format: double
length
number format: double
categoryId
integer format: int64
nullable
isBundle
boolean
nullable
isAsteriskMarked
boolean
nullable
complexFields
Array<object>
nullable
object
id
string
nullable
name
string
nullable
value
string
nullable
definition
object
id
integer format: int64
name
string
nullable
type
string
nullable
description
string
nullable
caption
string
nullable
options
Array<string>
nullable
additionalEans
Array<object>
nullable
object
id
string
nullable
ean
string
nullable
quantity
integer format: int32
description
string
nullable