Update
update Product
POST
https://restapidev.payplus.co.il/api/v1.0/Products/Update/{uid}Environment
Headers
stringrequired
API Key
stringrequired
Secret Key
Path parameters
stringrequired
Product unique identifier.
Request body
| Field | Type | Description |
|---|---|---|
namerequired | string | Product name. This is a required field and should be unique for each product for better identification. |
pricerequired | integer (int) | 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_typerequired | integer (int) | 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 | string[] | 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_coderequired | string | |
guide_document_url | string | Mostly used for invoies to send manual docmentation of a product. |
percentage_discount | integer (flout) | Percentage discount for the product. This is a discount that will be applied to the product price as a percentage. |
fixed_amount_discount | integer (flout) | Fixed amount discount for the product. This is a discount that will be applied to the product price. |