---
title: "Update an RMA reason"
method: PUT
path: "/rma/reasons/{id}"
tags: ["Admin Sales: RMA"]
---

# Update an RMA reason

`PUT /rma/reasons/{id}`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/rma/reasons/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/rma/reasons/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Partial update. Permission: sales.rma.reasons.edit.

## Path parameters

- `id` string, required

## Request body

- object
  - `title` string
  - `status` 0 | 1
  - `position` integer
  - `resolution_type` string[]

## Response `200`

The updated RMA reason.

## Other responses

- `400`: Invalid input
- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
