- Products
- Update product
Products
Update product
Update product
PUT
Authentication
x-enterprise-key
required
string
Enterprise key with this route’s permission. See Authentication.
x-organization-id
required
string
ID of the organization (issuing company) the operation applies to.
Path parameters
productId
required
string
The product’s ID (UUID).
Body
application/json
cProd
string
xProd
string
NCM
string
cEAN
string
uCom
string
orig
integer
vUnCom
number
Responses
| Status | Description |
|---|---|
200 | Product updated. |
400 | Invalid body (missing required field, wrong format, or field not allowed). |
404 | Resource not found. |
curl -X PUT "https://api.treeunfe.com.br/api/v1/products/PRODUCTID" \
-H "x-enterprise-key: YOUR_ENTERPRISE_KEY" \
-H "x-organization-id: ORGANIZATION_ID" \
-H "Content-Type: application/json" \
-d '{
"xProd": "PLACA DE IDENTIFICACAO GRANDE"
}'
curl -X PUT "https://api.treeunfe.com.br/api/v1/products/PRODUCTID" \
-H "x-enterprise-key: YOUR_ENTERPRISE_KEY" \
-H "x-organization-id: ORGANIZATION_ID" \
-H "Content-Type: application/json" \
-d '{
"xProd": "PLACA DE IDENTIFICACAO GRANDE"
}'