Pobierz wpis klucz-wartość użytkownika
GET
/api/v3/KeyValueStore/User/{userId}/{key}
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/KeyValueStore/User/1/example';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-smerp-api.enterprise.sellrocket.pl/api/v3/KeyValueStore/User/1/example \ --header 'Authorization: Bearer <token>'Metoda umożliwia pobranie wartości JSON znajdującej się pod wskazanym kluczem.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”userId
wymagane
integer format: int64
key
wymagane
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”If operation completed successfully
If the key not exists

