Shippings
Create Shipping
Creates a new shipping line for an existing order. The shipping line is added to the order identified by id. The response returns the created shipping line.
post/orders/{id}/shipping_lines
Path parameters
idstring required
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
{
"amount": 100,
"carrier": "FEDEX",
"tracking_number": "TRACK123",
"method": "Same day",
"description": "Shipping line",
"metadata": {
"key": "value"
}
}Response
successful