---
title: "Update Customer"
method: POST
path: "/partnerProgram/customerPartnerProgramUpdate"
---

# Update Customer

`POST /partnerProgram/customerPartnerProgramUpdate`

Lets you update tier details of a customer in one or more partner programs.

## Request body

- object
  - `linkCustomers` object — Details of the customer and partner program to link.
    - `customer` object
      - `mobile` string — Mobile number of the customer.
      - `email` string — Email ID of the customer.
      - `externalId` string — External ID of the customer.
    - `linkToPartnerPrograms` object
      - `partnerProgramName` string, required — Name of the partner program to link with.
      - object
        - `customerPartnerReference` object
          - `partnerMembershipId` string, required — Unique membership ID of the customer as per the partner program.
          - `partnerTierName` string, required — Name of the tier associated with the customer. Required for tier based partner program.
          - `partnerTierExpiryDate` string, date — Expiry date and time of the tier in `ISO` format.

## Response `200`

200

- object
  - `customersPartnerUpdates` object[]
    - `customer` object
      - `id` integer
      - `mobile` string
      - `email` string
      - `externalId` string
      - `status` object
        - `status` boolean
        - `message` string
        - `code` integer
    - `partnerProgramUpdates` object[]
      - `partnerProgramName` string
      - `updateType` string
      - `updateStatus` object
        - `status` boolean
        - `message` string
        - `code` integer
  - `warnings` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
