PUT /V1/cmsBlock/{id}
curl \
-X PUT https://magento2.winkelstraat.mac/rest/all/V1/cmsBlock/{id} \
-d '{"block":{"id":42,"identifier":"string","title":"string","content":"string","creation_time":"string","update_time":"string","active":true}}'
Request examples
{
"block": {
"id": 42,
"identifier": "string",
"title": "string",
"content": "string",
"creation_time": "string",
"update_time": "string",
"active": true
}
}
Response examples (200)
{
"id": 42,
"identifier": "string",
"title": "string",
"content": "string",
"creation_time": "string",
"update_time": "string",
"active": true
}
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (500)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}