curl -i -X POST \
'https://docs.shipstation.com/_mock/apis/shipengine/openapi/v-beta/ltl/spot-quotes/{carrier_id}' \
-H 'API-Key: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"shipment": {
"service_code": "stnd",
"pickup_date": "2021-10-01",
"packages": [
{
"code": "PKG",
"freight_class": 60,
"description": "Paperback books",
"quantity": 3
}
],
"ship_from": {
"name": "John Doe",
"phone": "+1 204-253-9411 ext. 123",
"email": "example@example.com",
"company_name": "The Home Depot",
"address_line1": "1999 Bishop Grandin Blvd.",
"address_line2": "Unit 408",
"address_line3": "Building #7",
"city_locality": "Winnipeg",
"state_province": "Manitoba",
"postal_code": "78756-3717",
"country_code": "CA",
"address_residential_indicator": "no"
},
"ship_to": {
"name": "John Doe",
"phone": "+1 204-253-9411 ext. 123",
"email": "example@example.com",
"company_name": "The Home Depot",
"address_line1": "1999 Bishop Grandin Blvd.",
"address_line2": "Unit 408",
"address_line3": "Building #7",
"city_locality": "Winnipeg",
"state_province": "Manitoba",
"postal_code": "78756-3717",
"country_code": "CA",
"address_residential_indicator": "no"
},
"bill_to": {},
"requested_by": {}
},
"shipment_measurements": {}
}'