put https://app.ecwid.com/api/v3//storage/
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
Field | Type | Description |
---|---|---|
success | boolean | true 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 Status | Meaning |
---|---|
404 | The key is not found |
415 | Unsupported content-type: expected application/json or text/json |
500 | Cannot retrieve the data because of an error on the server |
Error response body (optional)
Field | Type | Description |
---|---|---|
error | string | Type of the error |
errorMessage | string | Error message |