Pobierz produkty do wystawienia
GET
/api/PimProducts/GetProducts
const url = 'https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/PimProducts/GetProducts';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-sales-offers-erli-api.enterprise.sellrocket.pl/api/PimProducts/GetProducts \ --header 'Authorization: Bearer <token>'Produkty z PIM wraz z informacją o powiązanych ofertach Erli.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”ConnectionId
string
PageNumber
integer format: int32
PageSize
integer format: int32
CatalogId
integer format: int64
ProductName
string
ProductIds
string
SkuCollection
string
EanCollection
string
ManufacturerIds
Array<integer>
PriceFrom
number format: double
PriceTo
number format: double
QuantityFrom
integer format: int32
QuantityTo
integer format: int32
IncludeIds
boolean
ExcludeIds
boolean
SortBy
string
SortOrder
string
PimCategoryIds
Array<integer>
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
totalRecords
wymagane
integer format: int32
items
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
sku
string
ean
string
price
number format: double
quantity
wymagane
integer format: int32
weightKg
number format: double
vat
number format: double
description
string
hasVariants
wymagane
boolean
object
totalRecords
wymagane
integer format: int32
items
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
sku
string
ean
string
price
number format: double
quantity
wymagane
integer format: int32
weightKg
number format: double
vat
number format: double
description
string
hasVariants
wymagane
boolean
Examplegenerated
{ "totalRecords": 1, "items": [ { "id": 1, "name": "example", "sku": "example", "ean": "example", "price": 1, "quantity": 1, "weightKg": 1, "vat": 1, "description": "example", "hasVariants": true } ]}object
totalRecords
wymagane
integer format: int32
items
wymagane
Array<object>
object
id
wymagane
integer format: int64
name
wymagane
string
sku
string
ean
string
price
number format: double
quantity
wymagane
integer format: int32
weightKg
number format: double
vat
number format: double
description
string
hasVariants
wymagane
boolean
Examplegenerated
{ "totalRecords": 1, "items": [ { "id": 1, "name": "example", "sku": "example", "ean": "example", "price": 1, "quantity": 1, "weightKg": 1, "vat": 1, "description": "example", "hasVariants": true } ]}
