Update a product associated to a `clientId`
patch
https://api.mercadoe.com/v1/supplier-catalogs/{clientId}/products/{productId}
Updates the data of a product by entering the productId
and the clientId
.
Request
Path Parameters
clientId
int32
required
The `clientId` is a unique identifier of a buyer to whom this punchout product is assigned.
productId
int32
required
The `productId`.
Body
application/json
description
string | null
Product short description
estimatedPrice
double | null
Estimated price of the product
status
string
allowed values:
Active
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
supplierReferenceProductId
string
ME product code
measurementUnit
string
Measurement unit
clientCategoryId
string
Product category code
clientCategoryDescription
string | null
Product category 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
supplierProductId
string
Product id in supplier’s ERP
manufacturers
array of string | null
Manufacturers is a List consisting of the product manufacturers’ names
productIdentificationCode
object
categories
array of object | null
Categories is a List consisting of the
clientCategoryID
and Description
.attributes
array of object | null
Attributes of the product, consisting of a name, a value and a description.
Responses
202
400
404
Accepted
Body
application/json
correlationId
string