| 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'
}{
"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: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--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"
}
}
}'{
"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"
}
}