PUT /V1/eventing/updateConfiguration
curl \
-X PUT https://magento2.winkelstraat.mac/rest/all/V1/eventing/updateConfiguration \
-d '{"config":{"enabled":true,"merchant_id":"string","environment_id":"string","provider_id":"string","instance_id":"string","workspace_configuration":"string"}}'
Request examples
{
"config": {
"enabled": true,
"merchant_id": "string",
"environment_id": "string",
"provider_id": "string",
"instance_id": "string",
"workspace_configuration": "string"
}
}
Response examples (200)
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 (400)
{
"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"
}