Pobierz listę krajów
GET
/api/countries/v2
const url = 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/countries/v2';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/countries/v2 \ --header 'Authorization: Bearer <token>'Zwraca słownik krajów używanych w module produktów.
Autoryzacja
Dział zatytułowany „Autoryzacja”Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Array<object>
object
name
string
code
string
Array<object>
object
name
string
code
string
Examplegenerated
[ { "name": "example", "code": "example" }]Array<object>
object
name
string
code
string
Examplegenerated
[ { "name": "example", "code": "example" }]
