Skip to content

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
clientReferenceProductId
string
required
ME product code
clientProductId
string
required
ERP product code
description
string
required
Product short description
complement
string | null
Description complement
measurementUnit
string
required
Measurement unit
note
string | null
Note
estimatedPrice
double
required
Estimated price of the product
clientGroupId
string
required
Product group code
clientGroupDescription
string | null
Product group description
isService
boolean
required
Flag to indicate if this item is a service (true/false)
True = Service item
False = Product item
isGeneric
boolean | null
Set this flag as follows:
True = Product without a code
False = Product with a code
status
string
allowed values: ActiveBlocked
materialOrigin
string | null
Material origin:
1 = Domestic origin
2 = Foreign origin
applicationType
string | null
Material application code (tax usage)
materialCategory
string | null
Material accounting code
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.
groups
array of object | null
Groups is a List consisting of the clientGroupID, Description, IsVisiblePurchisingStucture and EnablesMasterRequest.

Responses

202
400
404
Accepted

Body

application/json
correlationId
string