Create Booking
API endpoint
1https://www.searates.com/graphql_booking
Property | Type | Description |
---|---|---|
shipment_id | int, required | This is the parameter returned by the Logistics Explorer API for requesting quotes. |
booker_email booker_name booker_phone | string | The parameter is necessary if the user is not authorized on the SeaRates website. If there is no registration, an account is created, and a confirmation and password are sent to the user's mail. |
product_name comment | string, required | If necessary, include the name of the cargo and any notes. |
ready_to_load | int, required | Date when the cargo is ready to be loaded. It is provided as a timestamp (in Unix time) |
customs_clearance insurance shipment_inspection cargo_payment | boolean, required | These parameters are marked true or false depending on the necessity for additional services. |
spot_rate | boolean, required | True if the rate is spot, false otherwise. |
type | string, required | Type of transportation. (FCL, LCL, BULK, FTL, LTL, FCL RAIL, AIR, FCL LAND) |
link | string, required | Link from where the booking was made. |
origincountry | string, required | Country code (ISO-3166 Alpha 2) from which the booking was made. |
truck_from rail_from fees_from truck_to rail_to fees_to barge_from barge_to | boolean, required | What does transportation include. |
schedule_index | int | The schedule that was received via Logistics Explorer for the rate, or null if there is no schedule. |
Response: | int, required | This is the id of the created booking. |
Response: | int | This is the payment id in Rosoom. It is returned only to the spot rate with prepayment. This parameter is optional and may be ignored. |