---
title: "POST /v1/outlets/{outlet_id}/items/image"
method: POST
path: "/v1/outlets/{outlet_id}/items/image"
tags: ["Items"]
---

# POST /v1/outlets/{outlet_id}/items/image

`POST /v1/outlets/{outlet_id}/items/image`

Upload item POS image. Required permissions: `library`

## Path parameters

- `outlet_id` integer, required

## Request body

- UploadItemImage
  - `image_name` string — Image file name
  - `data` string — Base64 of images data

## Response `200`

Image POS response

- object
  - `data` object
    - `url` string
    - `id` integer
    - `width` integer
    - `height` integer
  - `meta` MetadataProperty
    - `code` integer
    - `errors` object

## Other responses

- `400` — Bad parameter
- `401` — The access token is invalid
- `403` — Access token valid, but is denied to access the resource. Or, the merchant`s outlet is expired.
- `410` — API Deprecated
- `415` — Unsupported Media Type
- `422` — Invalid image size
- `500` — Internal Server Error

---

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