Customers
Create Fiscal Entity
Changed onCreate Fiscal entity resource that corresponds to a customer ID.
post/customers/{id}/fiscal_entities
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
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
{
"address": {
"street1": "Nuevo Leon 254",
"street2": "Departamento 404",
"postal_code": "06100",
"city": "Ciudad de Mexico",
"state": "Ciudad de Mexico",
"country": "MX"
},
"company_name": "conekta"
}Response
successful operation
Example response
{
"address": {
"street1": "Nuevo Leon 254",
"street2": "Departamento 404",
"postal_code": "06100",
"city": "Ciudad de Mexico",
"state": "Ciudad de Mexico",
"country": "MX"
},
"company_name": "conekta",
"id": "ship_cont_2tKZsTYcsryyu7Ah8",
"object": "shipping_contact",
"created_at": 1675715413,
"parent_id": "cus_2tKcHxhTz7xU5SymF"
}Changes
- breaking
the
request property type changed from no type toobject - breaking
the
/response's property type changed from no type toobjectfor status - warning
removed the request property
// - warning
removed the optional property
///from the response with the status
- breaking