Pobierz miniatury produktów
POST
/api/PimProducts/GetProductMiniatures
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/PimProducts/GetProductMiniatures';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '[{"id":"example","selector":"example"}]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/PimProducts/GetProductMiniatures \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '[ { "id": "example", "selector": "example" } ]'Operacja odczytu.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”Array<object>
object
id
wymagane
string
selector
wymagane
string
Examplegenerated
[ { "id": "example", "selector": "example" }]Array<object>
object
id
wymagane
string
selector
wymagane
string
Examplegenerated
[ { "id": "example", "selector": "example" }]Array<object>
object
id
wymagane
string
selector
wymagane
string
Examplegenerated
[ { "id": "example", "selector": "example" }]Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
Array<object>
object
id
wymagane
string
selector
wymagane
string
smallUrl
string
miniUrl
string
Array<object>
object
id
wymagane
string
selector
wymagane
string
smallUrl
string
miniUrl
string
Examplegenerated
[ { "id": "example", "selector": "example", "smallUrl": "example", "miniUrl": "example" }]Array<object>
object
id
wymagane
string
selector
wymagane
string
smallUrl
string
miniUrl
string
Examplegenerated
[ { "id": "example", "selector": "example", "smallUrl": "example", "miniUrl": "example" }]
