Pobierz producenta po ID
GET
/api/manufacturers/v2/products-manufacturers/{id}
const url = 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/manufacturers/v2/products-manufacturers/1';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-pim-api.enterprise.sellrocket.pl/api/manufacturers/v2/products-manufacturers/1 \ --header 'Authorization: Bearer <token>'Zwraca dane pojedynczego producenta.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”id
wymagane
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
object
id
integer format: int64
name
string
object
id
integer format: int64
name
string
Examplegenerated
{ "id": 1, "name": "example"}object
id
integer format: int64
name
string
Examplegenerated
{ "id": 1, "name": "example"}
