Skip to content

Create a product

post
https://api.mercadoe.com/v1/products

Creates a new product 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.

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
boolean
required
The product statuses can be:
True = Active
False = Blocked
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
businessOrganization
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.
ledgerAccountCode
string | null
Ledger Account Code

Responses

202
400
404
Accepted

Body

application/json
correlationId
string