---
title: "Add a new mobile device to the store"
method: POST
path: "/mobile-devices"
tags: ["devices"]
---

# Add a new mobile device to the store

`POST /mobile-devices`

## Request body

- Device
  - `id` integer
  - `category` Category
    - `id` integer
    - `name` string
  - `name` string, required
  - `manufacturer` string
  - `model` string
  - `price` string
  - `tags` Tag[]
    - `id` integer
    - `name` string
  - `status` 'available' | 'out-of-stock' — device status in the store

## Response `201`

Sucessfully created the device

- Device
  - `id` integer
  - `category` Category
    - `id` integer
    - `name` string
  - `name` string, required
  - `manufacturer` string
  - `model` string
  - `price` string
  - `tags` Tag[]
    - `id` integer
    - `name` string
  - `status` 'available' | 'out-of-stock' — device status in the store

## Other responses

- `405` — Invalid input

---

[API](https://skmtc.dev/wso2/apis/mobilestore.md) · [All operations](https://skmtc.dev/wso2/apis/mobilestore/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wso2/mobilestore/revisions/d1df7bed1a80/schema)
