Update shipping contacts
Changed onUpdate shipping contact that corresponds to a customer ID.
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
{
"phone": "+525511223344",
"receiver": "Marvin Fuller",
"between_streets": "Ackerman Crescent",
"address": {
"street1": "Nuevo Leon 254",
"street2": "Departamento 404",
"postal_code": "06100",
"city": "Ciudad de Mexico",
"state": "Ciudad de Mexico",
"country": "MX",
"residential": true
}
}Response
successful operation
Example response
{
"phone": "+525511223344",
"receiver": "Marvin Fuller",
"between_streets": "Ackerman Crescent",
"address": {
"object": "shipping_address",
"street1": "Nuevo Leon 254",
"street2": "Departamento 404",
"postal_code": "06100",
"city": "Ciudad de Mexico",
"state": "Ciudad de Mexico",
"country": "MX",
"residential": true
},
"id": "adr_1234567890",
"created_at": 1675715413,
"object": "shipping_contact"
}Changes
- breaking
the
/request property's minLength was increased from0to2 - breaking
the
/request property's minLength was increased from0to2 - breaking
added the pattern
[A-Za-z]{2}to the request property/ - breaking
added the pattern
[A-Za-z]{2}to the request property - 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 to250 - 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
the
request property default valuetruewas added
- breaking