Przejdź do głównej zawartości

Zapisz wszystkie wpisy klucz-wartość użytkownika

PUT
/api/v3/KeyValueStore/User/{userId}
curl --request PUT \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/KeyValueStore/User/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[ { "key": "example", "value": { "additionalProperty": {} } } ]'

Tworzy lub aktualizuje zbiorczo wpisy magazynu klucz-wartość dla wskazanego użytkownika.

Metoda umożliwia aktualizację wartości klucza w bazie danych lub utworzenie nowej jeśli nie istnieje.

userId
wymagane
integer format: int64
Typ treściapplication/json
Array<object>
object
key
string
nullable
value
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
Examplegenerated
[
{
"key": "example",
"value": {
"additionalProperty": {}
}
}
]

If operation completed successfully