Key | Type | Required? | Default | Description |
---|---|---|---|---|
dry_run | boolean | no | false | For validation. When true, doesn't persist record on success |
Key | Description |
---|---|
events_group | EventsGroup object - except for read-only attributes |
{
"events_group": {} // EventsGroup - see 'EventsGroup model'
}
title
title
{
"events_group": {
"id": 0,
"products": [
"string"
],
"title": {
"en": "Text"
},
"slug": {
"en": "Text"
},
"body": {
"en": "Text"
}
}
}
curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/content/management/events_groups?dry_run=' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"events_group": {
"id": 0,
"products": [
"string"
],
"title": {
"en": "Text"
},
"slug": {
"en": "Text"
},
"body": {
"en": "Text"
}
}
}'
title
title
{
"events_group": {
"id": 0,
"locales": [
"en"
],
"products": [
"string"
],
"title": {
"en": "Text"
},
"slug": {
"en": "Text"
},
"body": {
"en": "Text"
},
"created_at": "2022-11-05T16:25:58.099512Z",
"updated_at": "2022-11-15T16:25:58.099512Z",
"archived_at": "2022-11-15T16:25:58.099512Z"
}
}