Update a product
put
https://api.mercadoe.com/v1/products/{productId}
Updates the data of a product by entering the productId
.
Request
Headers
X-ME-CORRELATION-ID
string
Internal client code to be identified in the webhook. It can be, for example, a product code in your ERP, an order number, etc.
Path Parameters
productId
int32
required
Body
application/json
description
string | null
Product short description
estimatedPrice
double | null
Estimated price of the product
status
boolean
The product statuses can be:
True = Active
False = Blocked
True = Active
False = Blocked
materialOrigin
string | null
Material origin:
1 = Domestic origin
2 = Foreign origin
1 = Domestic origin
2 = Foreign origin
isGeneric
boolean | null
Set this flag as follows:
True = Product without a code
False = Product with a code
True = Product without a code
False = Product with a code
complement
string | null
Description complement
note
string | null
Note
clientReferenceProductId
string
ME product code
measurementUnit
string
Measurement unit
clientGroupId
string
clientGroupDescription
string | null
Product group description
isService
boolean | null
Flag to indicate if this item is a service (true/false)
True = Service item
False = Product item
True = Service item
False = Product item
applicationType
string | null
Material application code (tax usage)
materialCategory
string | null
Material accounting code
clientProductId
string
ERP product code
productIdentificationCode
object
groups
array of object | null
Groups is a List consisting of the
clientGroupID
, Description
, IsVisiblePurchisingStucture
and EnablesMasterRequest
.ledgerAccountCode
string | null
Ledger Account Code
Responses
202
400
404
Accepted
Body
application/json
correlationId
string