---
title: "Update"
description: "update Product"
source: https://docs.payplus.co.il/en/payplus/latest/post-products-update-uid
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# Update

update Product

**POST** `/Products/Update/{uid}`

- Production: `https://restapi.payplus.co.il/api/v1.0/`
- Staging: `https://restapidev.payplus.co.il/api/v1.0/`

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `uid` | path | string | yes | Product unique identifier. |
| `api-key` | header | string | yes | API Key |
| `secret-key` | header | string | yes | Secret Key |

**Request body** (application/json)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | Product name. This is a required field and should be unique for each product for better identification. |
| `price` | integer | yes | Sell price. |
| `valid` | boolean |  |  |
| `value` | string |  | Cost price |
| `barcode` | string |  | Barcode of the product. This is an optional field, but it can be used to identify the product in a more convenient way. |
| `vat_type` | integer | yes | 0 - VAT Included 1 - VAT Not Included 2 - VAT Exempt |
| `description` | string |  | Product description, can be used for additional information about the product. |
| `category_uids` | array |  | Array of strings, each string is a different category_uid. This allows you to assign your product to multiple categories. If not set, no changes will be made. |
| `currency_code` | string | yes |  |
| `guide_document_url` | string |  | Mostly used for invoies to send manual docmentation of a product. |
| `percentage_discount` | integer |  | Percentage discount for the product. This is a discount that will be applied to the product price as a percentage. |
| `fixed_amount_discount` | integer |  | Fixed amount discount for the product. This is a discount that will be applied to the product price. |

```json
{
  "name": "string",
  "price": 0,
  "valid": false,
  "value": "string",
  "barcode": "string",
  "vat_type": 0,
  "description": "string",
  "category_uids": [
    "string"
  ],
  "currency_code": "ILS",
  "guide_document_url": "string",
  "percentage_discount": 0,
  "fixed_amount_discount": 0
}
```

**Response 200** — 200

```json
{}
```

**Response 400** — 400

```json
{}
```
