Get storage data by key

Retrieves the stored data for the given store ID by the given key. Public application config can be found in the public key of your application storage.

Response

A JSON object of the following format

StorageElement

FieldTypeDescription
keystringThe key you set for the stored data
valuestringThe stored data

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