Create Bill of Lading
POST {{url}}/ship/billoflading
The Bill of Lading is used for international shipments.
When shipping internationally, it is very important to include 3 copies of the Bill of Lading (BOL) together with the shipment label.
The BOL should include the information of the products being shipped.
We recommend using USD as the currency, to avoid problems with inspections.
Request Body
{"origin"=>{"name"=>"oscar mx", "street"=>"polanco", "number"=>"123", "district"=>"", "city"=>"", "state"=>"CX", "country"=>"MX", "postalCode"=>"11560", "reference"=>""}, "destination"=>{"name"=>"oscar", "street"=>"avenue", "number"=>"", "district"=>"", "city"=>"clarksburg", "state"=>"WV", "country"=>"US", "postalCode"=>"12345", "reference"=>""}, "shipment"=>{"carrier"=>"quiken", "trackingNumber"=>"1333187"}, "packages"=>[{"currency"=>"USD", "observations"=>"", "cost"=>0, "cubicMeters"=>0.001, "insurance"=>0, "declaredValue"=>0, "weightUnit"=>"kg", "lengthUnit"=>"cm", "items"=>[{"description"=>"red shirt", "quantity"=>1, "price"=>1}, {"description"=>"white shirt", "quantity"=>1, "price"=>1}, {"description"=>"black shirt", "quantity"=>1, "price"=>1}], "amount"=>1, "totalWeight"=>2}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"meta":"billoflading","data":{"carrier":"quiken","trackingNumber":"1333187","billOfLading":"https://s3.us-east-2.amazonaws.com/enviapaqueteria/uploads/quiken_bill_of_lading/1333187.pdf"}}