---
title: "Update multipass linking for customer"
method: POST
path: "/multipass/customers/{customer_id}/linkings"
tags: ["Multipass Linking", "private"]
---

# Update multipass linking for customer

`POST /multipass/customers/{customer_id}/linkings`

## Request

- Base URL: `https://open.shopline.io/v1`
- URL: `https://open.shopline.io/v1/multipass/customers/{customer_id}/linkings`
- Auth: HTTP bearer

Update customer's active linking record used for multipass login

## Path parameters

- `customer_id` string, required

## Request body

- object
  - `sub` string: New identifier mapping for customer, allow regex ^[a-zA-Z0-9.\-@+ _]+$

## Response `200`

Success Update

- object
  - `message` string

## Other responses

- `404`: Customer does not have active multipass linking
- `422`: Unprocessible params

---

[API](https://skmtc.dev/shoplineapp/apis/shopline-open-api.md) - [All operations](https://skmtc.dev/shoplineapp/apis/shopline-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoplineapp/apis/shopline-open-api/revisions/d2518391b149?raw)
