- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
Update Community
PUT
https://api.mpc.dev.placewise.com/v1/community
API Permit:BL:Api:Management:Communities:Update
API Context:Loyalty Club
Authorizations:UserToken
Request
Header Params
X-Loyalty-Club-Slug
stringÂ
required
Default:
{{LOYALTY_CLUB_SLUG}}
X-Client-Authorization
stringÂ
optional
Default:
{{API_TOKEN}}
Body Params application/json
community
object (Community)Â
required
member_properties
array [anyOf]Â
required
consents
array [object {10}]Â
required
inactive_members_days_threshold
integer  | nullÂ
required
>= 0
Example:
30
identifiers
array[string]
deprecated
Allowed values:
msisdnemail
Example:
["msisdn","email"]
Example
{
"community": {
"member_properties": [
{
"type": "email_identifier",
"name": "email",
"display_name": null,
"category": null,
"visible": true,
"searchable": true,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"unique": true
},
{
"type": "string",
"name": "gender",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": [
{
"value": "man",
"display_value": null
},
{
"value": "woman",
"display_value": null
}
],
"data_source": null,
"unique": false
},
{
"type": "msisdn_identifier",
"name": "msisdn",
"display_name": null,
"category": null,
"visible": true,
"searchable": true,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"unique": true
},
{
"type": "date",
"name": "birthday",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_years_ago": 15,
"input_type": "composite"
},
{
"type": "string",
"name": "zip_code",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "string_array",
"name": "interests",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": [
{
"value": "good_offers",
"display_value": null
},
{
"value": "travel_and_leisure",
"display_value": null
}
],
"min_items": null,
"max_items": null,
"input_type": "all_at_once",
"data_source": null
},
{
"type": "string",
"name": "last_name",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "string",
"name": "first_name",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "integer_array",
"name": "child_birth_years",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"enum": [
{
"value": 2002,
"display_value": null
},
{
"value": 2003,
"display_value": null
},
{
"value": 2004,
"display_value": null
},
{
"value": 2005,
"display_value": null
},
{
"value": 2006,
"display_value": null
},
{
"value": 2007,
"display_value": null
},
{
"value": 2008,
"display_value": null
},
{
"value": 2009,
"display_value": null
},
{
"value": 2010,
"display_value": null
},
{
"value": 2011,
"display_value": null
},
{
"value": 2012,
"display_value": null
},
{
"value": 2013,
"display_value": null
},
{
"value": 2014,
"display_value": null
},
{
"value": 2015,
"display_value": null
},
{
"value": 2016,
"display_value": null
},
{
"value": 2017,
"display_value": null
}
],
"min_items": null,
"max_items": null,
"input_type": "one_by_one",
"data_source": null
}
],
"consents": [
{
"name": "6_galeria_bronowice_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "5_galeria_krakowska_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "7_galeria_bonarka_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "rewards_membership",
"required": false,
"show_at_registration": false,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "cookie_tracking",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "sms_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "dmp_profiling",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "facebook_ads",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
}
],
"inactive_members_days_threshold": null,
"identifiers": [
"msisdn",
"email"
],
"created_at": "2025-03-24T10:16:39.218086Z",
"updated_at": "2025-03-28T15:19:30.246377Z"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.mpc.dev.placewise.com/v1/community' \
--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 '{
"community": {
"member_properties": [
{
"type": "email_identifier",
"name": "email",
"display_name": null,
"category": null,
"visible": true,
"searchable": true,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"unique": true
},
{
"type": "string",
"name": "gender",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": [
{
"value": "man",
"display_value": null
},
{
"value": "woman",
"display_value": null
}
],
"data_source": null,
"unique": false
},
{
"type": "msisdn_identifier",
"name": "msisdn",
"display_name": null,
"category": null,
"visible": true,
"searchable": true,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"unique": true
},
{
"type": "date",
"name": "birthday",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_years_ago": 15,
"input_type": "composite"
},
{
"type": "string",
"name": "zip_code",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "string_array",
"name": "interests",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": [
{
"value": "good_offers",
"display_value": null
},
{
"value": "travel_and_leisure",
"display_value": null
}
],
"min_items": null,
"max_items": null,
"input_type": "all_at_once",
"data_source": null
},
{
"type": "string",
"name": "last_name",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "string",
"name": "first_name",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "integer_array",
"name": "child_birth_years",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"enum": [
{
"value": 2002,
"display_value": null
},
{
"value": 2003,
"display_value": null
},
{
"value": 2004,
"display_value": null
},
{
"value": 2005,
"display_value": null
},
{
"value": 2006,
"display_value": null
},
{
"value": 2007,
"display_value": null
},
{
"value": 2008,
"display_value": null
},
{
"value": 2009,
"display_value": null
},
{
"value": 2010,
"display_value": null
},
{
"value": 2011,
"display_value": null
},
{
"value": 2012,
"display_value": null
},
{
"value": 2013,
"display_value": null
},
{
"value": 2014,
"display_value": null
},
{
"value": 2015,
"display_value": null
},
{
"value": 2016,
"display_value": null
},
{
"value": 2017,
"display_value": null
}
],
"min_items": null,
"max_items": null,
"input_type": "one_by_one",
"data_source": null
}
],
"consents": [
{
"name": "6_galeria_bronowice_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "5_galeria_krakowska_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "7_galeria_bonarka_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "rewards_membership",
"required": false,
"show_at_registration": false,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "cookie_tracking",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "sms_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "dmp_profiling",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "facebook_ads",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
}
],
"inactive_members_days_threshold": null,
"identifiers": [
"msisdn",
"email"
],
"created_at": "2025-03-24T10:16:39.218086Z",
"updated_at": "2025-03-28T15:19:30.246377Z"
}
}'
Responses
🟢200Success
application/json
Body
community
object (Community)Â
required
id
integer <uint64>
read-onlyrequired
Example:
1
member_properties
array [anyOf]Â
required
consents
array [object {10}]Â
required
inactive_members_days_threshold
integer  | nullÂ
required
>= 0
Example:
30
identifiers
array[string]
deprecated
Allowed values:
msisdnemail
Example:
["msisdn","email"]
created_at
string <date-time>
read-onlyrequired
Example:
2022-11-05T16:25:58.099512Z
updated_at
string <date-time>
read-onlyrequired
Example:
2022-11-15T16:25:58.099512Z
Example
{
"community": {
"id": 2,
"member_properties": [
{
"type": "email_identifier",
"name": "email",
"display_name": null,
"category": null,
"visible": true,
"searchable": true,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"unique": true
},
{
"type": "string",
"name": "gender",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": [
{
"value": "man",
"display_value": null
},
{
"value": "woman",
"display_value": null
}
],
"data_source": null,
"unique": false
},
{
"type": "msisdn_identifier",
"name": "msisdn",
"display_name": null,
"category": null,
"visible": true,
"searchable": true,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"unique": true
},
{
"type": "date",
"name": "birthday",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_years_ago": 15,
"input_type": "composite"
},
{
"type": "string",
"name": "zip_code",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "string_array",
"name": "interests",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": [
{
"value": "good_offers",
"display_value": null
},
{
"value": "travel_and_leisure",
"display_value": null
}
],
"min_items": null,
"max_items": null,
"input_type": "all_at_once",
"data_source": null
},
{
"type": "string",
"name": "last_name",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "string",
"name": "first_name",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": true,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"min_length": null,
"max_length": null,
"pattern": null,
"enum": null,
"data_source": null,
"unique": false
},
{
"type": "integer_array",
"name": "child_birth_years",
"display_name": null,
"category": null,
"visible": true,
"searchable": false,
"personal_data": false,
"tracked_in_accounting": false,
"legacy": {},
"default": null,
"enum": [
{
"value": 2002,
"display_value": null
},
{
"value": 2003,
"display_value": null
},
{
"value": 2004,
"display_value": null
},
{
"value": 2005,
"display_value": null
},
{
"value": 2006,
"display_value": null
},
{
"value": 2007,
"display_value": null
},
{
"value": 2008,
"display_value": null
},
{
"value": 2009,
"display_value": null
},
{
"value": 2010,
"display_value": null
},
{
"value": 2011,
"display_value": null
},
{
"value": 2012,
"display_value": null
},
{
"value": 2013,
"display_value": null
},
{
"value": 2014,
"display_value": null
},
{
"value": 2015,
"display_value": null
},
{
"value": 2016,
"display_value": null
},
{
"value": 2017,
"display_value": null
}
],
"min_items": null,
"max_items": null,
"input_type": "one_by_one",
"data_source": null
}
],
"consents": [
{
"name": "6_galeria_bronowice_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "5_galeria_krakowska_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "7_galeria_bonarka_email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "rewards_membership",
"required": false,
"show_at_registration": false,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "email_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "cookie_tracking",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "sms_marketing",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "dmp_profiling",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
},
{
"name": "facebook_ads",
"required": true,
"show_at_registration": true,
"show_in_profile": true,
"title": null,
"definition": null,
"yes_text": null,
"no_text": null,
"no_text_alt": null,
"read_more": null
}
],
"inactive_members_days_threshold": null,
"identifiers": [
"msisdn",
"email"
],
"created_at": "2025-03-24T10:16:39.218086Z",
"updated_at": "2025-03-28T15:19:30.246377Z"
}
}
Modified at 2025-03-28 15:27:09