---
title: "Update Customer License Put Endpoint"
method: PUT
path: "/customers/customer/{customer}/license"
tags: ["customers", "customer-specific"]
---

# Update Customer License Put Endpoint

`PUT /customers/customer/{customer}/license`

Update customer license information (PUT method for backward compatibility)
The difference between PUT and POST is that PUT traditionally uses duration in days,
while POST uses expiration_date. Both are now supported in either method.

## Path parameters

- `customer` string, required

## Request body

- CustomerLicenseUpdate — Customer license update request
  - `mode` 'paid' | 'poc' | 'demo' — Customer deployment mode
  - `data` object[], nullable
  - `expiration_date` string, date-time, nullable
  - `duration` integer, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/avanan/apis/avanan-api.md) · [All operations](https://skmtc.dev/avanan/apis/avanan-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/avanan/avanan-api/revisions/4048d3949a4a/schema)
