---
title: "Update an item"
method: PATCH
path: "/v1/items/{item_id}"
tags: ["Items"]
---

# Update an item

`PATCH /v1/items/{item_id}`

## Request

- Base URL: `https://orders-api.paymongo.com`
- URL: `https://orders-api.paymongo.com/v1/items/{item_id}`
- Auth: HTTP basic

Updates a menu item's category, sort order, or availability.

## Path parameters

- `item_id` string, required

## Query parameters

- `location_slug` string

## Request body

- UpdateItemRequestDTO
  - `category_id` string
  - `is_available` boolean
  - `sort_order` integer

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` ItemResponseDTO
    - `category_id` string
    - `coin_price` integer
    - `created_at` string
    - `description` string
    - `id` string
    - `images` string[]
    - `is_available` boolean
    - `is_deleted` boolean
    - `livemode` boolean
    - `location_slug` string
    - `name` string
    - `price` integer
    - `product_id` string
    - `sort_order` integer
    - `updated_at` string
  - `has_more` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `502`: Bad Gateway
- `default`

---

[API](https://skmtc.dev/paymongo/apis/orders.md) - [All operations](https://skmtc.dev/paymongo/apis/orders/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/orders/revisions/7962c4ea82b5?raw)
