curl -i -X POST \
https://stallionexpress.redocly.app/_mock/stallionexpress-v4/shipments \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: string' \
-d '{
"to_address": {
"name": "Pramod Thomson",
"company": "string",
"address1": "30 Clearview Dr",
"address2": "string",
"city": "Rock Springs",
"province_code": "WY",
"postal_code": "82901",
"country_code": "US",
"phone": "string",
"email": "string",
"is_residential": true
},
"return_address": {
"name": "Pramod Thomson",
"company": "string",
"address1": "30 Clearview Dr",
"address2": "string",
"city": "Rock Springs",
"province_code": "WY",
"postal_code": "82901",
"country_code": "US",
"phone": "string",
"email": "string",
"is_residential": true
},
"is_return": false,
"weight_unit": "lbs",
"weight": 0.6,
"length": 9,
"width": 12,
"height": 1,
"size_unit": "cm",
"items": [
{
"description": "Two pair of socks",
"sku": "SKU123",
"quantity": 2,
"value": 10,
"currency": "CAD",
"country_of_origin": "CN",
"hs_code": "123456"
}
],
"package_type": "Parcel",
"signature_confirmation": false,
"postage_type": "USPS First Class Mail",
"label_format": "pdf",
"is_fba": false,
"is_draft": false,
"insured": true,
"region": null,
"tax_identifier": {
"tax_type": "IOSS",
"number": "IM1234567890",
"issuing_authority": "GB"
}
}'