> ## Documentation Index
> Fetch the complete documentation index at: https://developers.appstle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update customer birth date



## OpenAPI

````yaml /loyalty/admin-api-swagger.json put /api/external/update-customer-birth-date
openapi: 3.0.1
info:
  description: ''
  title: Admin APIs
  version: 0.0.1
servers:
  - url: https://loyalty-admin.appstle.com
security: []
tags:
  - description: >-
      Admin APIs for enrolling customers into the loyalty program, retrieving
      customer loyalty details, and updating profile information such as birth
      date.
    name: Customer Enrollment & Profile
  - description: >-
      Admin APIs for managing customer point balances, transaction history,
      point earning rules, top customers leaderboard, and approving pending
      transactions.
    name: Points & Earn Rules
  - description: >-
      Admin APIs for redeeming customer points, managing redemption rules, and
      validating or updating discount codes generated through loyalty
      redemptions.
    name: Redemptions & Discount Codes
  - description: >-
      Admin APIs for retrieving storefront widget label translations consumed by
      the loyalty widget on the merchant's storefront.
    name: Storefront Widgets & Labels
paths:
  /api/external/update-customer-birth-date:
    put:
      tags:
        - Customer Enrollment & Profile
      summary: Update customer birth date
      operationId: addCustomerBirthDate
      parameters:
        - description: API key for authentication
          in: header
          name: X-API-Key
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerBirthDateRequestVM'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
          description: Customer birth date successfully updated
        '400':
          description: Invalid request - Invalid date format or customer not found
        '401':
          description: Unauthorized - Invalid or missing X-API-Key
        '500':
          description: Internal server error during update
      security:
        - X-API-Key: []
components:
  schemas:
    CustomerBirthDateRequestVM:
      description: Request containing customer ID and birth date
      example:
        customerId: 0
        dob: '2026-01-12'
        status: ACTIVE
      properties:
        customerId:
          description: Unique identifier of the customer
          example: 0
          format: int64
          type: integer
        dob:
          description: Customer date of birth
          example: '2026-01-12'
          format: date
          type: string
        status:
          description: Customer loyalty status
          enum:
            - ACTIVE
            - INACTIVE
            - EXCLUDED
            - EXCLUDED_BY_CUSTOMER
            - ACTIVE
            - INACTIVE
            - EXCLUDED
            - EXCLUDED_BY_CUSTOMER
          type: string
      type: object
    Customer:
      properties:
        availablePoints:
          format: double
          type: number
        availableStoreCredits:
          format: double
          type: number
        createAt:
          format: date-time
          type: string
        customerId:
          format: int64
          type: integer
        displayName:
          type: string
        dob:
          format: date
          type: string
        email:
          type: string
        emailBouncedOrFailed:
          type: boolean
        emailSetting:
          type: string
        enableEmail:
          type: boolean
        enableEmailMarketing:
          type: boolean
        enableSmsMarketing:
          type: boolean
        firstName:
          type: string
        id:
          format: int64
          type: integer
        isDeletedFromShopify:
          type: boolean
        lastActivity:
          format: date-time
          type: string
        lastMonthlyReminderSentDate:
          format: date-time
          type: string
        lastName:
          type: string
        lastRewardExpiryReminderSentDate:
          format: date-time
          type: string
        loyaltyProgramEnabled:
          type: boolean
        ordersCount:
          format: int32
          type: integer
        pendingPoints:
          format: double
          type: number
        phone:
          type: string
        redeemLimit:
          format: int64
          type: integer
        redeemLimitOnce:
          format: int64
          type: integer
        redeemedPoints:
          format: double
          type: number
        shop:
          type: string
        skipReview:
          type: boolean
        spentAmount:
          format: double
          type: number
        status:
          enum:
            - ACTIVE
            - INACTIVE
            - EXCLUDED
            - EXCLUDED_BY_CUSTOMER
          type: string
        storeCreditAccountId:
          type: string
        tags:
          type: string
        token:
          type: string
        updatedSettings:
          type: string
        vipAssignType:
          enum:
            - MANUAL
            - AUTO_RENEWAL
            - RENEWAL_ON_HIGHER_TIER
          type: string
        vipTier:
          type: string
        vipTierAmount:
          format: double
          type: number
        vipTierExpiredAt:
          format: date-time
          type: string
        vipTierId:
          format: int64
          type: integer
        vipTierSummary:
          type: string
      required:
        - availablePoints
        - createAt
        - customerId
        - pendingPoints
        - shop
      type: object

````