---
title: "Assign an action to a customer"
method: PUT
path: "/customers/{customerId}:assign_action"
tags: ["Customers"]
---

# Assign an action to a customer

`PUT /customers/{customerId}:assign_action`

## Request

- Base URL: `https://api.adfin.com/api`
- URL: `https://api.adfin.com/api/customers/{customerId}:assign_action`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.staging.adfin.com/api/oauth2/token`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.adfin.com/api/oauth2/token`

## Path parameters

- `customerId` string, uuid, required

## Request body

- AssignCustomerActionRequest: Request to assign an action to a customer.
  - `fieldValueId` string, uuid, required: The id of the action to assign to the customer.

## Response `204`

The action was assigned to the customer.

## Other responses

- `401`: The request carried no valid access token.
- `403`: The access token does not grant updating customers.
- `404`: There is no customer with that identifier.
- `500`: The server could not process the request.

## Changes

- **2026-09-30** `96004bc8ce2b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/adfin/apis/adfin-api/changes/customers/:customerId:assign_action/put.md)

---

[API](https://skmtc.dev/adfin/apis/adfin-api.md) - [All operations](https://skmtc.dev/adfin/apis/adfin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adfin/apis/adfin-api/revisions/3bcc12f59ff0?raw)
