# Update application branding

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/loyalty_clubs/applications/{application_identifier}/branding:
    put:
      summary: Update application branding
      deprecated: false
      description: ''
      tags:
        - API Reference/Management API/Core/Branding
      parameters:
        - name: application_identifier
          in: path
          description: slug of application (product)
          required: true
          example: default
          schema:
            type: string
        - 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:
                application_branding:
                  $ref: '#/components/schemas/ApplicationBrandingPayload'
              x-apidog-orders:
                - application_branding
              required:
                - application_branding
              x-apidog-ignore-properties: []
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  application_branding:
                    $ref: '#/components/schemas/ApplicationBranding'
                required:
                  - application_branding
                x-apidog-orders:
                  - application_branding
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: API Reference/Management API/Core/Branding
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3766446-run
components:
  schemas:
    ApplicationBrandingPayload:
      type: object
      properties:
        id: &ref_1
          $ref: '#/components/schemas/id'
        border: &ref_0
          $ref: '#/components/schemas/color'
        border_size:
          type: number
        brand_accent: *ref_0
        brand_main: *ref_0
        font_family_body_id:
          type: integer
          nullable: true
        font_family_header_id:
          type: integer
          nullable: true
        font_weight_body_bold:
          type: string
        font_weight_body_regular:
          type: string
        font_weight_header:
          type: string
        radius_large:
          type: number
        radius_small:
          type: number
        semantic_error: *ref_0
        semantic_info: *ref_0
        semantic_success: *ref_0
        semantic_warning: *ref_0
        surface_inverse: *ref_0
        surface_primary: *ref_0
        surface_secondary: *ref_0
        text_inverse: *ref_0
        text_primary: *ref_0
        text_secondary: *ref_0
        text_tertiary: *ref_0
        shadows:
          type: boolean
          default: false
          description: use box-shadow
        created_at: &ref_2
          $ref: '#/components/schemas/date_time.created_at'
        updated_at: &ref_3
          $ref: '#/components/schemas/date_time.updated_at'
        application_id: *ref_1
      required:
        - id
        - border
        - border_size
        - brand_accent
        - brand_main
        - font_weight_body_bold
        - font_weight_body_regular
        - font_weight_header
        - radius_large
        - radius_small
        - semantic_error
        - semantic_info
        - semantic_success
        - semantic_warning
        - surface_inverse
        - surface_primary
        - surface_secondary
        - text_inverse
        - text_primary
        - text_secondary
        - text_tertiary
        - shadows
        - created_at
        - updated_at
        - application_id
      x-apidog-orders:
        - id
        - border
        - border_size
        - brand_accent
        - brand_main
        - font_family_body_id
        - font_family_header_id
        - font_weight_body_bold
        - font_weight_body_regular
        - font_weight_header
        - radius_large
        - radius_small
        - semantic_error
        - semantic_info
        - semantic_success
        - semantic_warning
        - surface_inverse
        - surface_primary
        - surface_secondary
        - text_inverse
        - text_primary
        - text_secondary
        - text_tertiary
        - shadows
        - created_at
        - updated_at
        - application_id
      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: ''
    color:
      type: string
      description: Color in hex-rgb format
      pattern: ^#[0-9A-Fa-f]{6}$
      examples:
        - '#F0F0F0'
        - '#FFFFFF'
      nullable: true
      x-apidog-folder: ''
    id:
      type: integer
      description: Primary identifier of the record
      format: uint64
      readOnly: true
      examples:
        - 1
      x-apidog-folder: ''
    ApplicationBranding:
      type: object
      properties:
        id: *ref_1
        border: *ref_0
        border_size:
          type: number
        brand_accent: *ref_0
        brand_main: *ref_0
        font_family_body:
          type: object
          properties:
            id:
              type: string
              examples:
                - '1'
            family:
              type: string
              examples:
                - '''Chivo'', sans-serif'
            name:
              type: string
              examples:
                - Chivo
            url:
              type: string
              examples:
                - >-
                  https://fonts.googleapis.com/css?family=Chivo\u0026display=swap
          x-apidog-orders:
            - id
            - family
            - name
            - url
          required:
            - id
            - family
            - name
            - url
          x-apidog-ignore-properties: []
          nullable: true
        font_family_header:
          type: object
          properties:
            id:
              type: string
              examples:
                - '1'
            family:
              type: string
              examples:
                - '''Chivo'', sans-serif'
            name:
              type: string
              examples:
                - Chivo
            url:
              type: string
              examples:
                - >-
                  https://fonts.googleapis.com/css?family=Chivo\u0026display=swap
          x-apidog-orders:
            - id
            - family
            - name
            - url
          required:
            - id
            - family
            - name
            - url
          x-apidog-ignore-properties: []
          nullable: true
        font_weight_body_bold:
          type: string
        font_weight_body_regular:
          type: string
        font_weight_header:
          type: string
        radius_large:
          type: number
        radius_small:
          type: number
        semantic_error: *ref_0
        semantic_info: *ref_0
        semantic_success: *ref_0
        semantic_warning: *ref_0
        surface_inverse: *ref_0
        surface_primary: *ref_0
        surface_secondary: *ref_0
        surface_background_color: *ref_0
        text_inverse: *ref_0
        text_primary: *ref_0
        text_secondary: *ref_0
        text_tertiary: *ref_0
        shadows:
          type: boolean
          description: use box-shadow
          default: false
        created_at: *ref_2
        updated_at: *ref_3
        application_id: *ref_1
      required:
        - id
        - border
        - border_size
        - brand_accent
        - brand_main
        - font_family_body
        - font_family_header
        - font_weight_body_bold
        - font_weight_body_regular
        - font_weight_header
        - radius_large
        - radius_small
        - semantic_error
        - semantic_info
        - semantic_success
        - semantic_warning
        - surface_inverse
        - surface_primary
        - surface_secondary
        - surface_background_color
        - text_inverse
        - text_primary
        - text_secondary
        - text_tertiary
        - shadows
        - created_at
        - updated_at
        - application_id
      x-apidog-orders:
        - id
        - border
        - border_size
        - brand_accent
        - brand_main
        - font_family_body
        - font_family_header
        - font_weight_body_bold
        - font_weight_body_regular
        - font_weight_header
        - radius_large
        - radius_small
        - semantic_error
        - semantic_info
        - semantic_success
        - semantic_warning
        - surface_inverse
        - surface_primary
        - surface_secondary
        - surface_background_color
        - text_inverse
        - text_primary
        - text_secondary
        - text_tertiary
        - shadows
        - created_at
        - updated_at
        - application_id
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```