---
title: "Update Product"
method: PUT
path: "/v5/products/{sku}"
tags: ["Products"]
---

# Update Product

`PUT /v5/products/{sku}`

## Request

- Base URL: `https://sandbox.nmi.com/api`
- URL: `https://sandbox.nmi.com/api/v5/products/{sku}`
- Auth: API key in header `Authorization`

Update an existing product in the Product Manager.

## Path parameters

- `sku` string, required

## Request body

- ProductUpdateRequest
  - `product_description` string: The user-facing name of the product.
  - `product_cost` number: The cost of the product before any tax or discounts. Format: `x.xx`
  - `product_currency` string: The currency for the product's price (e.g., USD, EUR).
  - `product_commodity_code` string: Product commodity code.
  - `product_unit_of_measure` string: The unit of measure for the product. Default - `NAR`
  - `product_tax_amount` number: The tax that should be added to the product cost. This is a fixed amount, not a percentage.
  - `product_discount_amount` number: The discount that will be subtracted from the cost of the product.
  - `product_image_name` string: The file name of the image being added with product_image_data. Required for image upload.
  - `product_image_data` string: Image for the product, size must be 2MB or smaller. Format: base64 encoded JPG, PNG, or GIF. Required for image upload.
  - `product_category` string: Product category.

## Response `200`

Product updated successfully

- ProductResponseV5: Product response matching ProductRestSerializer structure
  - `object` 'product', required: Resource type identifier
  - `id` string, required: Product ID (transaction_id)
  - `product_sku` string: Product SKU
  - `product_description` string: Product description
  - `product_category` string: Product category
  - `product_commodity_code` string: Product commodity code
  - `product_unit_of_measure` string: Product unit of measure
  - `product_cost` string: Product cost
  - `product_currency` string: Product currency (ISO 4217)
  - `product_tax_amount` string: Product tax amount
  - `product_discount_amount` string: Product discount amount
  - `product_image_name` string: Product image name
  - `product_image_url` string: Product image URL

## Other responses

- `400`: Bad Request - Validation Error
- `401`: Unauthorized
- `404`: Product not found

---

[API](https://skmtc.dev/nmi/apis/payments-api.md) - [All operations](https://skmtc.dev/nmi/apis/payments-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nmi/apis/payments-api/revisions/c03727f27e27?raw)
