# Update Community

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/community:
    put:
      summary: Update Community
      deprecated: false
      description: ''
      tags:
        - API Reference/Management API/Core/Community
      parameters:
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: X-Customer
          in: header
          description: Customer for API context.  [Details](doc-342139)
          required: false
          example: '{{CUSTOMER_ID}}'
          schema:
            type: string
            default: '{{CUSTOMER_ID}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
              x-apidog-orders: []
              x-apidog-ignore-properties: []
            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'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  community:
                    $ref: '#/components/schemas/Community'
                x-apidog-orders:
                  - community
                required:
                  - community
                x-apidog-ignore-properties: []
              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'
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: API Reference/Management API/Core/Community
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3755858-run
components:
  schemas:
    Community:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/id'
          readOnly: true
        member_properties:
          type: array
          items:
            anyOf:
              - $ref: '#/components/schemas/MemberPropertyType%3A%3AString'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3AIntegerArray'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3AInteger'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3AStringArray'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3ANumber'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3ADate'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3ADateTime'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3AEmailIdentifier'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3AEmail'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3AMsisdnIdentifier'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3AMsisdn'
              - $ref: '#/components/schemas/MemberPropertyType%3A%3ABoolean'
        consents:
          type: array
          items:
            $ref: '#/components/schemas/Consent'
        inactive_members_days_threshold:
          type: integer
          minimum: 0
          examples:
            - 30
          description: >-
            After how many days of inactivity members should be removed?
            Disabled when null.
          nullable: true
        identifiers:
          type: array
          items:
            type: string
            enum:
              - msisdn
              - email
            x-apidog-enum:
              - value: msisdn
                name: ''
                description: ''
              - value: email
                name: ''
                description: ''
          examples:
            - - msisdn
              - email
          deprecated: true
        schema:
          type: object
          properties: {}
          x-apidog-orders: []
          deprecated: true
          x-apidog-ignore-properties: []
        created_at:
          $ref: '#/components/schemas/date_time.created_at'
        updated_at:
          $ref: '#/components/schemas/date_time.updated_at'
      x-apidog-orders:
        - id
        - member_properties
        - consents
        - inactive_members_days_threshold
        - identifiers
        - schema
        - created_at
        - updated_at
      required:
        - id
        - member_properties
        - consents
        - inactive_members_days_threshold
        - identifiers
        - schema
        - created_at
        - updated_at
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    date_time.updated_at:
      type: string
      description: Time of the last record update
      format: date-time
      examples:
        - '2022-11-15T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    date_time.created_at:
      type: string
      description: Time of record creation
      format: date-time
      examples:
        - '2022-11-05T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    Consent:
      type: object
      properties:
        name:
          type: string
        required:
          type: boolean
          default: true
          description: >-
            Is it possible to register/update member without filling given
            consent?
        show_at_registration:
          type: boolean
          default: true
          description: Should be displayed on registration page?
        show_in_profile:
          type: boolean
          default: true
          description: Should be displayed on profile page?
        title: &ref_0
          $ref: '#/components/schemas/LocalizedContent'
        definition: *ref_0
        yes_text: *ref_0
        no_text: *ref_0
        no_text_alt: *ref_0
        read_more: *ref_0
      x-apidog-orders:
        - name
        - required
        - show_at_registration
        - show_in_profile
        - title
        - definition
        - yes_text
        - no_text
        - no_text_alt
        - read_more
      required:
        - name
        - required
        - show_at_registration
        - show_in_profile
        - title
        - definition
        - yes_text
        - no_text
        - no_text_alt
        - read_more
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    LocalizedContent:
      type: object
      properties: {}
      x-apidog-orders: []
      title: ''
      examples:
        - en: Text
      additionalProperties:
        type: string
        description: >-
          The actual set of languages depends on LC configuration. See:
          [Localization](doc-341959)
        examples:
          - Tekst
        nullable: true
      x-apidog-ignore-properties: []
      nullable: true
      x-apidog-folder: ''
    MemberPropertyType::Boolean:
      type: object
      properties:
        type:
          type: string
          const: boolean
        name: &ref_1
          type: string
          title: ''
          minLength: 1
          format: regex
          pattern: ^[a-z0-9_]+$
          examples:
            - first_name
        display_name: *ref_0
        category: &ref_2
          type: string
          minLength: 1
          format: regex
          pattern: ^[a-z0-9_]$
          examples:
            - extras
          description: May be used to group properties
          nullable: true
        required: &ref_3
          type: boolean
          description: >-
            When true, this property will have to be present on member (on the
            "default" application)
        visible: &ref_4
          type: boolean
          default: true
          description: When false, property will not be visible to member
        searchable: &ref_5
          type: boolean
          default: false
          description: When true, property is usable in member search
        personal_data: &ref_6
          type: boolean
          default: true
          description: When true, property is marked as containing personal data
        tracked_in_accounting: &ref_7
          type: boolean
          default: false
          description: >-
            When true, value of the property is appended to accounting
            transactions related to this member
        legacy:
          type: object
          properties: {}
          x-apidog-orders: &ref_8 []
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        default:
          type: boolean
          description: >-
            When present, given value will be used when nothing is provided by
            member
          nullable: true
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - default
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - default
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: &ref_9
          $ref: '#/components/schemas/Base'
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
      x-apidog-folder: ''
    Base:
      type: object
      properties:
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
      x-apidog-orders:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
      required:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    MemberPropertyType::Msisdn:
      type: object
      properties:
        type:
          type: string
          const: msisdn
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        unique:
          type: boolean
          description: >-
            When true, property will have to be unique among Loyalty Club
            members
          default: false
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - unique
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - unique
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
      x-apidog-folder: ''
    MemberPropertyType::MsisdnIdentifier:
      type: object
      properties:
        type:
          type: string
          const: msisdn_identifier
        name:
          type: string
          title: ''
          minLength: 1
          const: msisdn
          examples:
            - msisdn
          readOnly: true
        display_name: *ref_0
        category:
          type: string
          minLength: 1
          format: regex
          pattern: ^[a-z0-9_]$
          examples:
            - extras
          description: May be used to group properties
          nullable: true
        visible:
          type: boolean
          default: true
          description: When false, property will not be visible to member
        searchable:
          type: boolean
          description: When true, property is usable in member search
          const: true
          readOnly: true
        personal_data:
          type: boolean
          description: When true, property is marked as containing personal data
          const: true
          readOnly: true
        tracked_in_accounting:
          type: boolean
          const: false
          readOnly: true
          description: >-
            When true, value of the property is appended to accounting
            transactions related to this member
        legacy:
          type: object
          properties: {}
          x-apidog-orders: []
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        unique:
          type: boolean
          const: true
          description: >-
            When true, property will have to be unique among Loyalty Club
            members
      x-apidog-orders:
        - type
        - name
        - display_name
        - category
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - unique
      required:
        - type
        - name
        - display_name
        - category
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - unique
      x-apidog-refs: {}
      additionalProperties: false
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    MemberPropertyType::Email:
      type: object
      properties:
        type:
          type: string
          const: email
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        unique:
          type: boolean
          description: >-
            When true, property will have to be unique among Loyalty Club
            members
          default: false
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - unique
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - unique
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
      x-apidog-folder: ''
    MemberPropertyType::EmailIdentifier:
      type: object
      properties:
        type:
          type: string
          const: email_identifier
        name:
          type: string
          title: ''
          minLength: 1
          const: email
          examples:
            - msisdn
          readOnly: true
        display_name: *ref_0
        category:
          type: string
          minLength: 1
          format: regex
          pattern: ^[a-z0-9_]$
          examples:
            - extras
          description: May be used to group properties
          nullable: true
        visible:
          type: boolean
          default: true
          description: When false, property will not be visible to member
        searchable:
          type: boolean
          description: When true, property is usable in member search
          const: true
          readOnly: true
        personal_data:
          type: boolean
          description: When true, property is marked as containing personal data
          const: true
          readOnly: true
        tracked_in_accounting:
          type: boolean
          const: false
          readOnly: true
          description: >-
            When true, value of the property is appended to accounting
            transactions related to this member
        legacy:
          type: object
          properties: {}
          x-apidog-orders: []
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        unique:
          type: boolean
          const: true
          description: >-
            When true, property will have to be unique among Loyalty Club
            members
      x-apidog-orders:
        - type
        - name
        - display_name
        - category
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - unique
      required:
        - type
        - name
        - display_name
        - category
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - unique
      x-apidog-refs: {}
      additionalProperties: false
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    MemberPropertyType::DateTime:
      type: object
      properties:
        type:
          type: string
          const: date_time
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        default:
          type: string
          description: >-
            When present, given value will be used when nothing is provided by
            member
          format: date-time
          minLength: 1
          nullable: true
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - default
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - default
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
      x-apidog-folder: ''
    MemberPropertyType::Date:
      type: object
      properties:
        type:
          type: string
          const: date
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        default:
          type: string
          description: >-
            When present, given value will be used when nothing is provided by
            member
          format: date
          minLength: 1
          nullable: true
        min_years_ago:
          type: integer
          description: When present, given date will have to be greater than X years ago
          nullable: true
        input_type:
          type: string
          enum:
            - datepicker
            - composite
          x-apidog-enum:
            - value: datepicker
              name: ''
              description: ''
            - value: composite
              name: ''
              description: ''
          default: datepicker
          examples:
            - datepicker
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - default
        - min_years_ago
        - input_type
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - default
        - min_years_ago
        - input_type
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
      x-apidog-folder: ''
    MemberPropertyType::Number:
      type: object
      properties:
        type:
          type: string
          const: number
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        default:
          type: number
          description: When present, given value will be used when nothing is provided
          nullable: true
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - default
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - default
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
      x-apidog-folder: ''
    MemberPropertyType::StringArray:
      type: object
      properties:
        type:
          type: string
          const: string_array
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        default: &ref_13
          type: string
          minLength: 1
          description: >-
            When present, given value will be used when nothing is provided by
            member
          nullable: true
        min_length: &ref_14
          type: integer
          minimum: 1
          examples:
            - 5
          description: When present, value will be validated against given length
          nullable: true
        max_length: &ref_15
          type: integer
          examples:
            - 15
          minimum: 1
          description: When present, value will be validated against given length
          nullable: true
        pattern: &ref_16
          type: string
          minLength: 1
          examples:
            - ^[A-Z]+$
          description: When present, value will be validated against given regex
          nullable: true
        enum:
          type: array
          items:
            type: object
            properties:
              value: &ref_17
                type: string
                pattern: ^[a-zA-Z0-9_]+$
              display_value: *ref_0
            x-apidog-orders: &ref_18
              - value
              - display_value
            required:
              - value
              - display_value
            x-apidog-ignore-properties: []
          description: When present, only given values are accepted
          minItems: 1
          uniqueItems: true
          nullable: true
        data_source: &ref_19
          type: string
          enum:
            - storesByLegacyID
            - storesByMPCID
          x-apidog-enum:
            - value: storesByLegacyID
              name: ''
              description: ''
            - value: storesByMPCID
              name: ''
              description: ''
          description: >-
            When present, a special data source should be used as values
            available to be chosen by member
          nullable: true
        min_items: &ref_10
          type: integer
          description: When present, at least that many values will have to be provided
          minimum: 1
          examples:
            - 2
          nullable: true
        max_items: &ref_11
          type: integer
          description: When present, at most that many values will have to be provided
          minimum: 1
          examples:
            - 10
          nullable: true
        input_type: &ref_12
          type: string
          description: Allows to chose how to present the input to member
          enum:
            - all_at_once
            - one_by_one
          x-apidog-enum:
            - value: all_at_once
              name: ''
              description: ''
            - value: one_by_one
              name: ''
              description: ''
          default: one_by_one
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - 01JPSMSA5GD5C9SKHM7962964M
        - 01JPSMY8YH2K69TXY4GD0GZ6QD
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - default
        - min_length
        - max_length
        - pattern
        - enum
        - data_source
        - min_items
        - max_items
        - input_type
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
        01JPSMSA5GD5C9SKHM7962964M: &ref_25
          $ref: '#/components/schemas/String'
        01JPSMY8YH2K69TXY4GD0GZ6QD: &ref_23
          $ref: '#/components/schemas/Array'
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - default
        - min_length
        - max_length
        - pattern
        - enum
        - data_source
        - min_items
        - max_items
        - input_type
      x-apidog-folder: ''
    Array:
      type: object
      properties:
        min_items: *ref_10
        max_items: *ref_11
        input_type: *ref_12
      x-apidog-orders:
        - min_items
        - max_items
        - input_type
      required:
        - min_items
        - max_items
        - input_type
      x-apidog-refs: {}
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    String:
      type: object
      properties:
        default: *ref_13
        min_length: *ref_14
        max_length: *ref_15
        pattern: *ref_16
        enum:
          type: array
          items:
            type: object
            properties:
              value: *ref_17
              display_value: *ref_0
            x-apidog-orders: *ref_18
            required:
              - value
              - display_value
            x-apidog-ignore-properties: []
          description: When present, only given values are accepted
          minItems: 1
          uniqueItems: true
          nullable: true
        data_source: *ref_19
      x-apidog-orders:
        - default
        - min_length
        - max_length
        - pattern
        - enum
        - data_source
      required:
        - default
        - min_length
        - max_length
        - pattern
        - enum
        - data_source
      x-apidog-refs: {}
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    MemberPropertyType::Integer:
      type: object
      properties:
        type:
          type: string
          const: integer
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        data_source: &ref_20
          type: string
          description: >-
            When present, a special data source should be used as values
            available to be chosen by member
          enum:
            - storesByLegacyID
            - storesByMPCID
          x-apidog-enum:
            - value: storesByLegacyID
              name: ''
              description: ''
            - value: storesByMPCID
              name: ''
              description: ''
          nullable: true
        enum:
          type: array
          items:
            type: object
            properties:
              value: &ref_21
                type: integer
              display_value: *ref_0
            x-apidog-orders: &ref_22
              - value
              - display_value
            required:
              - value
              - display_value
            x-apidog-ignore-properties: []
          minItems: 1
          nullable: true
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - 01JPSZBSKWY6387TK7C7DMXNT5
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - data_source
        - enum
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
        01JPSZBSKWY6387TK7C7DMXNT5: &ref_24
          $ref: '#/components/schemas/Integer'
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - data_source
        - enum
      x-apidog-folder: ''
    Integer:
      type: object
      properties:
        data_source: *ref_20
        enum:
          type: array
          items:
            type: object
            properties:
              value: *ref_21
              display_value: *ref_0
            x-apidog-orders: *ref_22
            required:
              - value
              - display_value
            x-apidog-ignore-properties: []
          minItems: 1
          nullable: true
      x-apidog-orders:
        - data_source
        - enum
      required:
        - data_source
        - enum
      x-apidog-refs: {}
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    MemberPropertyType::IntegerArray:
      type: object
      properties:
        type:
          type: string
          const: integer_array
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        min_items: *ref_10
        max_items: *ref_11
        input_type: *ref_12
        data_source: *ref_20
        enum:
          type: array
          items:
            type: object
            properties:
              value: *ref_21
              display_value: *ref_0
            x-apidog-orders: *ref_22
            required:
              - value
              - display_value
            x-apidog-ignore-properties: []
          minItems: 1
          nullable: true
        default:
          type: array
          items:
            type: number
          minItems: 1
          nullable: true
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - 01JQEHZN31EWVX3ANM8RST75V8
        - 01JQEJ25EVT7PKWTY60X1FHMQ7
        - default
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - min_items
        - max_items
        - input_type
        - data_source
        - enum
        - default
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
        01JQEHZN31EWVX3ANM8RST75V8: *ref_23
        01JQEJ25EVT7PKWTY60X1FHMQ7: *ref_24
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - min_items
        - max_items
        - input_type
        - data_source
        - enum
      x-apidog-folder: ''
    MemberPropertyType::String:
      type: object
      properties:
        type:
          type: string
          const: string
        name: *ref_1
        display_name: *ref_0
        category: *ref_2
        required: *ref_3
        visible: *ref_4
        searchable: *ref_5
        personal_data: *ref_6
        tracked_in_accounting: *ref_7
        legacy:
          type: object
          properties: {}
          x-apidog-orders: *ref_8
          deprecated: true
          description: Any extra properties for legacy implementations
          x-apidog-ignore-properties: []
        default: *ref_13
        min_length: *ref_14
        max_length: *ref_15
        pattern: *ref_16
        enum:
          type: array
          items:
            type: object
            properties:
              value: *ref_17
              display_value: *ref_0
            x-apidog-orders: *ref_18
            required:
              - value
              - display_value
            x-apidog-ignore-properties: []
          description: When present, only given values are accepted
          minItems: 1
          uniqueItems: true
          nullable: true
        data_source: *ref_19
        unique:
          type: boolean
          description: >-
            When true, property will have to be unique among Loyalty Club
            members
          default: false
          nullable: true
      x-apidog-orders:
        - type
        - 01JPSFCZSXE0Z4C4NS4CJKN9HA
        - 01JPSMGVXQRWRNYMNNVA986GR2
        - unique
      required:
        - type
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - default
        - min_length
        - max_length
        - pattern
        - enum
        - data_source
        - unique
      x-apidog-refs:
        01JPSFCZSXE0Z4C4NS4CJKN9HA: *ref_9
        01JPSMGVXQRWRNYMNNVA986GR2: *ref_25
      additionalProperties: false
      x-apidog-ignore-properties:
        - name
        - display_name
        - category
        - required
        - visible
        - searchable
        - personal_data
        - tracked_in_accounting
        - legacy
        - default
        - min_length
        - max_length
        - pattern
        - enum
        - data_source
      x-apidog-folder: ''
    id:
      type: integer
      description: Primary identifier of the record
      format: uint64
      readOnly: true
      examples:
        - 1
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```