Create a product associated to a `clientId`
post
https://api.mercadoe.com/v1/supplier-catalogs/{clientId}/products
Creates a new product associated to a clientId
by providing the measurement unit, description, material category, and other details.
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
clientId
int32
required
The `clientId` is a unique identifier of a buyer to whom this punchout product is assigned.
Body
application/json
supplierReferenceProductId
string
required
ME product code
supplierProductId
string
required
Product id in supplier’s ERP
description
string
required
Product short description
complement
string | null
Description complement
measurementUnit
string
required
Measurement unit
note
string | null
Note
estimatedPrice
double
Estimated price of the product
clientCategoryId
string
required
Product category code
clientCategoryDescription
string | null
Product category description
isService
boolean
required
Flag to indicate if this item is a service (true/false)
True = Service item
False = Product item
True = Service item
False = Product item
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
status
string
allowed values:
Active
Blocked
materialOrigin
string | null
Material origin:
1 = Domestic origin
2 = Foreign origin
1 = Domestic origin
2 = Foreign origin
applicationType
string | null
Material application code (tax usage)
materialCategory
string | null
Material accounting code
manufacturers
array of string | null
Manufacturers is a List consisting of the product manufacturers’ names
productIdentificationCode
object
businessOrganizations
array of object | null
Business Organizations is a List consisting of the company code, description, delivery center code, delivery center description and entity type fields.
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