{"templateId":"markdown","versions":[{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/shipments/create-label","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/shipments/create-label","default":false,"active":false,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/shipments/create-label","default":false,"active":true,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml","oas-apis/@shipstation-v1/openapi.yaml":"oas-apis/@shipstation-v1/openapi.yaml"},"props":{"metadata":{"markdoc":{"tagList":["openapi-code-sample","replay-openapi"]},"type":"markdown"},"seo":{"title":"Create Shipment Label","keywords":"shipping, labels, shipstation, documentation, api","siteUrl":"https://docs.shipstation.com","lang":"en-US","llmstxt":{"hide":false,"title":"ShipStation API LLM Docs","description":"Find links and references to all markdown documentation for use with LLMs","excludeFiles":[]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"create-shipment-label","__idx":0},"children":["Create Shipment Label"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Creates a shipping label. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["labelData"]}," field returned in the response is a base64 encoded PDF value. You can decode and save the output as a PDF file to retrieve a printable label."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["IMPORTANT"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"active-manual-store-required","__idx":1},"children":["Active Manual Store Required"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You must have at least one ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://help.shipstation.com/hc/en-us/articles/4405471663899"},"children":["active Manual Store"]}," on your ShipStation account to create labels with this endpoint."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you deactivated the Manual Store your ShipStation account initially came with, you must activate one. Otherwise, if you try to create labels with this endpoint, you will see a 500 error that reads, ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["\"Object reference not set to an instance of an object.\""]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required fields:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["carrierCode"]}," - Carrier to use (e.g., \"fedex\", \"ups\", \"stamps_com\")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serviceCode"]}," - Shipping service (e.g., \"fedex_ground\", \"usps_priority_mail\")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["packageCode"]}," - Package type (e.g., \"package\", \"flat_rate_envelope\")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipDate"]}," - Date the shipment will be shipped"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["weight"]}," - Package weight"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipFrom"]}," - Origin address"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipTo"]}," - Destination address"]}]},{"$$mdtype":"Tag","name":"OpenApiCodeSample","attributes":{"descriptionFile":"oas-apis/@shipstation-v1/openapi.yaml","operationId":"create_shipment_label","parameters":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/@shipstation-v1/openapi.yaml","operationId":"create_shipment_label","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-resources","__idx":2},"children":["Related Resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipstation-v1/docs/models/address"},"children":["Address Model"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipstation-v1/docs/models/weight"},"children":["Weight Model"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipstation-v1/docs/models/dimensions"},"children":["Dimensions Model"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipstation-v1/docs/shipments/get-rates"},"children":["Get Rates"]}]}]}]},"headings":[{"value":"Create Shipment Label","id":"create-shipment-label","depth":1},{"value":"Active Manual Store Required","id":"active-manual-store-required","depth":3},{"value":"Related Resources","id":"related-resources","depth":2}],"frontmatter":{"seo":{"title":"Create Shipment Label"}},"lastModified":"2026-04-08T10:47:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipstation-v1/docs/shipments/create-label","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}