Update storage data

Use this method to update data in the storage. If the key you specify in the request doesn't yet exist, the corresponding value in the storage will be created. You can also update public application config by accessing public key in your request.

Response

A JSON object with the status of operation

Status

FieldTypeDescription
successbooleantrue if the data has been changed in the storage, false otherwise

Errors

In case of error, Ecwid responds with an error HTTP status code and JSON-formatted body containing error description

HTTP codes

HTTP StatusMeaning
404The key is not found
415Unsupported content-type: expected application/json or text/json
500Cannot retrieve the data because of an error on the server

Error response body (optional)

FieldTypeDescription
errorstringType of the error
errorMessagestringError message
Language
Authorization
Query