Create Product
Changed onCreate a new product for an existing order.
Request
- Base URLhttps://api.conekta.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Identifier of the resource
Headers
Use for knowing which language to use
In the case of a holding company, the company id of the child company to which will process the request.
Request body
Example request
{
"antifraud_info": {
"key": "value"
},
"brand": "Cohiba",
"description": "Imported From Mex.",
"metadata": {
"key": "value"
},
"name": "Box of Cohiba S1s",
"quantity": 1,
"sku": "XYZ12345",
"tags": [
"food",
"mexican food"
],
"unit_price": 20000
}Response
successful
Example response
{
"antifraud_info": {
"key": "value"
},
"brand": "Cohiba",
"description": "Imported From Mex.",
"metadata": {
"key": "value"
},
"name": "Box of Cohiba S1s",
"quantity": 1,
"sku": "XYZ12345",
"tags": [
"food",
"mexican food"
],
"unit_price": 20000
}Changes
- breaking
the
request property's maxLength was decreased to249 - breaking
the
request property's minItems was increased to1 - breaking
the
request property's minLength was increased from0to2 - breaking
the
request property's minLength was increased from0to3 - breaking
the
request property's minLength was increased from0to3 - breaking
the
request property's minLength was increased from0to1 - breaking
the
/request property's minLength was increased from0to2 - warning
the
request property's maxLength was set to249 - warning
the
request property's maxLength was set to249 - warning
the
request property's maxLength was set to249 - warning
the
/request property's maxLength was set to249
- breaking