{
"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"
}
}
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"
}
}'
{
"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"
}
}