---
title: "Update an item"
method: PUT
path: "/v1/product"
tags: ["Product"]
---

# Update an item

`PUT /v1/product`

## Request

- Base URL: `https://app.getswipe.in/api/partner`
- URL: `https://app.getswipe.in/api/partner/v1/product`
- Auth: HTTP bearer

**v1 is deprecated — use the v2 endpoint instead.** Updates an item's master record in the catalog. This is the only way to change catalog details — item fields sent inside a document apply to that document only.

## Request body

- ItemV1
  - `id` string, required: Unique id for each item.
  - `name` string, required: Name of the Product
  - `quantity` number, required: Opening Quantity
  - `unit_price` number, required: Price per item without Tax
  - `tax_rate` number: Tax percentage for each item . Only valid tax rates are accepted
  - `price_with_tax` number, required: Price per item with Tax
  - `discount_percent` number: Default Discount Percent
  - `description` string: Item Description
  - `hsn_code` string: HSN Code
  - `item_type` string, required: Product or Service enum
  - `unit` string: Item quantity unit. You can find the GST-approved units in the UQC Codes section at: https://einvoice1.gst.gov.in/Others/MasterCodes.
  - `category` string: Category
  - `status` string: Status of the Item

## Response `200`

Success

- ProductResponse
  - `success` boolean: Success flag
  - `message` string: Response message

## Other responses

- `400`: Validation Error
- `401`: Unauthorized

## Changes

- **2026-11-03** `0bcdbc62187b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getswipe/apis/swipeapi/changes/v1/product/put.md)

---

[API](https://skmtc.dev/getswipe/apis/swipeapi.md) - [All operations](https://skmtc.dev/getswipe/apis/swipeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/getswipe/apis/swipeapi/revisions/0bcdbc62187b?raw)
