---
title: "Create an RMA reason"
method: POST
path: "/rma/reasons"
tags: ["Admin Sales: RMA"]
---

# Create an RMA reason

`POST /rma/reasons`

## Request

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

Permission: sales.rma.reasons.create.

## Request body

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

## Response `201`

The created RMA reason.

## Other responses

- `400`: Invalid input
- `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)
