Update Product
Changed onUpdate an existing product for an existing orden
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
identifier
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
{
"name": "Box of Cohiba S1s",
"unit_price": 20000,
"quantity": 1
}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 - breaking
the
request property type changed from no type toobject - breaking
the
request property type changed from no type toobject - 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 - info
request property
/list-of-types was widened by adding typesbooleaninteger and numberto media typeapplication/json
- breaking