Shippings
Update Shipping
Changed onUpdate existing shipping for an existing orden
put/orders/{id}/shipping_lines/{shipping_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
shipping_idstring required
Example:ship_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,
"carrier": "FEDEX",
"tracking_number": "TRACK123",
"method": "Same day",
"metadata": {
"key": "value"
}
}Response
successful
Example response
{
"amount": 100,
"carrier": "FEDEX",
"tracking_number": "TRACK123",
"method": "Same day",
"metadata": {
"key": "value"
}
}Changes
- 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 from0to3 - 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