Sign in

Create label

documented

Create a shipping label.

POST /v2/labelsLabelsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.shipstation.com/v2/labels" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "api-key: {{SHIPSTATION_API_KEY}}" \
  -d '{"shipment": {"carrier_id": "{{$carrier_id}}", "service_code": "{{$service_code}}", "ship_date": "{{$ship_date}}", "ship_to": {"name": "{{$ship_to_name}}", "address_line1": "{{$ship_to_address_line1}}", "city_locality": "{{$ship_to_city}}", "state_province": "{{$ship_to_state}}", "postal_code": "{{$ship_to_postal}}", "country_code": "{{$ship_to_country_code}}", "address_residential_indicator": "{{$ship_to_residential}}"}, "ship_from": {"name": "{{$ship_from_name}}", "address_line1": "{{$ship_from_address_line1}}", "city_locality": "{{$ship_from_city}}", "state_province": "{{$ship_from_state}}", "postal_code": "{{$ship_from_postal}}", "country_code": "{{$ship_from_country_code}}", "address_residential_indicator": "{{$ship_from_residential}}"}, "packages": [ {"weight": {"value": {{$weight_value}}, "unit": "ounce"}, "dimensions": {"length": {{$length}}, "width": {{$width}}, "height": {{$height}}, "unit": "inch"} } ] } }, "label_format": "{{$label_format}}", "label_layout": "{{$label_layout}}"}'"