# Update Loyalty Club Public Info

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/management/loyalty_club/public_info:
    put:
      summary: Update Loyalty Club Public Info
      deprecated: false
      description: ''
      tags:
        - API Reference/Management API/Core/Loyalty Clubs
      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: 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:
                loyalty_club:
                  type: object
                  x-apidog-refs: {}
                  x-apidog-orders:
                    - description
                    - phone_number
                    - email
                    - region
                    - city
                    - zip_code
                    - address
                    - latitude
                    - longitude
                    - opening_hours
                    - social_profiles
                  properties:
                    description: &ref_2
                      $ref: '#/components/schemas/LocalizedContent'
                    phone_number:
                      anyOf:
                        - $ref: '#/components/schemas/phone_number'
                        - type: 'null'
                    email:
                      anyOf:
                        - $ref: '#/components/schemas/email'
                        - type: 'null'
                    region:
                      type: string
                      nullable: true
                    city:
                      type: string
                      nullable: true
                    zip_code:
                      type: string
                      nullable: true
                    address:
                      type: string
                      nullable: true
                    latitude:
                      anyOf:
                        - &ref_0
                          $ref: '#/components/schemas/coordinate_value'
                        - type: 'null'
                    longitude:
                      anyOf:
                        - *ref_0
                        - type: 'null'
                    opening_hours:
                      anyOf:
                        - $ref: '#/components/schemas/OpeningHoursList'
                        - type: 'null'
                    social_profiles:
                      $ref: '#/components/schemas/cms.social_profiles'
                  required:
                    - description
                    - phone_number
                    - email
                    - region
                    - city
                    - zip_code
                    - address
                    - latitude
                    - longitude
                    - opening_hours
                    - social_profiles
                  x-apidog-ignore-properties: []
              x-apidog-orders:
                - loyalty_club
              required:
                - loyalty_club
              x-apidog-ignore-properties: []
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Success
        '422':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    examples:
                      - Invalid parameters
                    const: Invalid parameters
                  details:
                    type: object
                    properties: {}
                    x-apidog-orders: []
                    description: 'See: [Params Validation](doc-341637)'
                    additionalProperties: true
                    x-apidog-ignore-properties: []
                required:
                  - error
                  - details
                x-apidog-orders:
                  - error
                  - details
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: ''
      security: []
      x-apidog-folder: API Reference/Management API/Core/Loyalty Clubs
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-4429978-run
components:
  schemas:
    cms.social_profiles:
      type: object
      properties:
        facebook: &ref_1
          $ref: '#/components/schemas/url'
        twitter: *ref_1
        instagram: *ref_1
        linkedin: *ref_1
        snapchat: *ref_1
        tiktok: *ref_1
        youtube: *ref_1
        pinterest: *ref_1
      x-apidog-orders:
        - facebook
        - twitter
        - instagram
        - linkedin
        - snapchat
        - tiktok
        - youtube
        - pinterest
      description: 'URLs on specific social media '
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    url:
      type: string
      examples:
        - https://example.com
      x-apidog-folder: ''
    OpeningHoursList:
      type: array
      items:
        $ref: '#/components/schemas/OpeningHoursItem'
      description: 'See: [Opening Hours](doc-342133)'
      x-apidog-folder: ''
    OpeningHoursItem:
      type: object
      examples:
        - type: weekday
          period: monday
          hours:
            opens_at: '09:00'
            closes_at: '18:00'
          description:
            en: Text
        - type: weekday
          period: sunday
          hours:
            opens_at: '12:00'
            closes_at: '15:00'
          description:
            en: Text
        - type: day
          period: '2025-05-15'
          hours: null
          description:
            en: Closed
      properties:
        type:
          type: string
          examples:
            - weekday
          const: weekday
        period:
          anyOf:
            - description: 'For type: "day"'
              $ref: '#/components/schemas/date'
            - type: string
              enum:
                - monday
                - tuesday
                - wednesday
                - thursday
                - friday
                - saturday
                - sunday
              x-apidog-enum:
                - value: monday
                  name: ''
                  description: ''
                - value: tuesday
                  name: ''
                  description: ''
                - value: wednesday
                  name: ''
                  description: ''
                - value: thursday
                  name: ''
                  description: ''
                - value: friday
                  name: ''
                  description: ''
                - value: saturday
                  name: ''
                  description: ''
                - value: sunday
                  name: ''
                  description: ''
              description: 'For type: "weekday"'
        hours:
          type: object
          properties:
            opens_at:
              type: string
              description: Hour of entity opening time
              examples:
                - '09:00'
            closes_at:
              type: string
              description: |
                Hour of entity closing time
              examples:
                - '15:00'
          x-apidog-orders:
            - opens_at
            - closes_at
          required:
            - opens_at
            - closes_at
          description: When null, object is closed at this period
          x-apidog-ignore-properties: []
          nullable: true
        description: *ref_2
      x-apidog-orders:
        - type
        - period
        - hours
        - description
      readOnly: true
      required:
        - type
        - period
        - hours
      x-apidog-refs: {}
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    date:
      type: string
      format: date
      examples:
        - '2023-01-15'
      x-apidog-folder: ''
    coordinate_value:
      type: number
      title: ''
      description: >-
        Single geographic coordinate (float). Use -90..90 for latitude or
        -180..180 for longitude.
      $id: https://example.com/schemas/coordinate_value.json
      minimum: -180
      maximum: 180
      examples:
        - 12.345678
        - -73.9874
      x-apidog-folder: ''
    email:
      type: string
      format: email
      examples:
        - somebody@example.com
      x-apidog-folder: ''
    phone_number:
      type: string
      title: ''
      description: Phone number in E.164 format. Up to 15 digits. No spaces or separators.
      $id: https://example.com/schemas/phone_number.json
      pattern: ^\+?[1-9]\d{1,14}$
      examples:
        - '+14155552671'
        - '46701234567'
      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: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```