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

# Create an RMA status

`POST /rma/statuses`

## Request

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

Title must be unique. Permission: sales.rma.statuses.create.

## Request body

- object
  - `title` string, required
  - `status` 0 | 1
  - `color` string

## Response `201`

The created RMA status.

## 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)
