Taxes
Update Tax
Changed onUpdate taxes for an existing orden
put/orders/{id}/tax_lines/{tax_id}
Request
- Base URLhttps://api.conekta.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Example:6307a60c41de27127515a575
Identifier of the resource
tax_idstring required
Example:tax_lin_2tQ974hSHcsdeSZHG
identifier
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
X-Child-Company-Idstring
In the case of a holding company, the company id of the child company to which will process the request.
Request body
Example request
{
"amount": 100,
"description": "testing"
}Response
successful
Example response
{
"amount": 100,
"description": "testing",
"metadata": {
"key": "value"
},
"id": "tax_lin_2tQ8dC5mg1UADmVPo",
"object": "tax_line",
"parent_id": "ord_2tPAmKCEJqh8RE6nY"
}Changes
- breaking
request property
/list-of-types was narrowed by removing typesobjectfrom media typeapplication/json - breaking
the
request property's minLength was increased from2to3 - breaking
the
request property type changed from no type toobject
- breaking