POST /v1/shipments HTTP/1.1
Host: sandbox.tristarexpress.com
Content-Type: application/json
Accept: application/json
Authorization: Bearer YOUR_TOKEN_HERE
{
"integration_code": "1",
"order_number": "1",
"from_person_type": 1,
"from_name": "Sender name",
"from_document_type": 1,
"from_document": "123456789",
"from_country_code": "US",
"from_postcode": "33013",
"from_state_code": "FL",
"from_address_1": "Av. Test",
"from_address_number": "123",
"from_city": "Miami",
"from_email": "sender@example.com",
"from_phone": "+1234567890",
"to_person_type": 1,
"to_name": "Jane Doe",
"to_document_type": 1,
"to_document": "07173967970",
"to_address_1": "Avenida Presidente Kennedy",
"to_address_number": "759",
"to_city": "São Paulo",
"to_country_code": "BR",
"to_state_code": "SP",
"to_postcode": "13334170",
"to_email": "janedoe@example.com",
"to_phone": "+5511999999999",
"package_width": 12,
"package_height": 14,
"package_length": 13,
"package_weight": 1.100,
"package_freight": 0.01,
"total": 100,
"total_freight": 10,
"total_tax": 5,
"with_insurance": false,
"items": [
{
"shipment_item_type": 10,
"description": "PROTECTION FILM",
"quantity": 1,
"unit_price": 10
}
]
}