Skip to main content
The Create Shipment Label action creates a shipping label in ShipStation. This action belongs at the end of a flow. When creating a shipment label:

XML Map Connector: Package, Ship To, Customs

You must connect an XML Map connector to the ShipStation connector to map the package specifications, “ship to” values, and customs information. In the example below, the shipment information appears in the Source column, and the ShipStation shipping label parameters appear in the Destination column. ShipStation Label Mapping

Shipment Label Values

The table below lists the values that you can map for shipment labels using the XML Map connector interface.
NameData TypeRequired?Description
CarrierCodeStringYesShipping carrier code.
ServiceCodeStringYesShipping service code.
PackageCodeStringYesPackage type code.
ConfirmationStringNoType of delivery confirmation to use. Allowed values are none, delivery, signature, adult_signature, or direct_signature. direct_signature is available for FedEx only.
ShipDateStringYesDate the order should be shipped.
WeightValueIntegerYesWeight value for the shipment.
WeightUnitsStringYesUnit for the weight value.
WeightWeightUnitsIntegerNoWeight Weight Units for the shipment.
DimensionsLengthStringNoPackage length.
DimensionsWidthStringNoPackage width.
DimensionsHeightStringNoPackage height.
DimensionsUnitsStringNoUnits of measurement for the dimensions. Allowed values are inches or centimeters.
ShipToNameStringYesName of person.
ShipToCompanyStringYesName of company.
ShipToStreet1StringYesFirst line of address.
ShipToStreet2StringNoSecond line of address, if applicable.
ShipToStreet3StringNoThird line of address, if applicable.
ShipToCityStringYesName of city.
ShipToStateStringYesName of state.
ShipToPostalCodeStringYesPostal code.
ShipToCountryStringYesTwo-character ISO country code.
ShipToPhoneStringNoTelephone number for recipient.
ShipToResidentialBooleanYesWhether the ShipTo address is residential.
ShipToAddressVerifiedStringNoWhether the address has been verified by ShipStation. Allowed values are Address not yet validated, Address validated successfully, Address validation warning, or Address validation failed.
InsuranceOptions
InsureShipment
StringNoWhether the shipment should be insured.
InsuranceOptions
Provider
StringNoPreferred insurance provider. Allowed values are shipsurance, carrier, or provider. provider indicates that a shipment was insured by a third party other than ShipSurance or the carrier. Provider insurance is handled outside of ShipStation and does not affect the cost of processing the label.
InternationalOptions
Contents
StringNoContents for international shipments. Allowed values are merchandise, documents, gift, returned_goods, or sample.
InternationalOptions
CustomsItems
CustomsItemId
StringNoItemId values for customs. If there are multiple values, separate them with commas (for example, 121221,21211,12121).
InternationalOptions
CustomsItems
Description
StringNoA short description of the items for customs. If you have multiple items, provide descriptions for each one by separating them with commas (for example, desc1,desc2,desc3).
InternationalOptions
CustomsItems
Quantity
StringNoQuantity of each item for customs. If you have multiple items, provide quantities for each one by separating them with commas (for example, 5,1,4).
InternationalOptions
CustomsItems
Value
StringNoValue (in USD) of each item for customs. If you have multiple items, provide values for each one by separating them with commas (for example, 10,50,100).
InternationalOptions
CustomsItems
HarmonizedTariffCode
StringNoHarmonized Commodity Code of each item for customs. If you have multiple items, provide codes for each one by separating them with commas (for example, 10012,40021,30091).
InternationalOptions
CustomsItems
CountryOfOrigin
StringNoTwo-character ISO country code of each item for customs. If you have multiple items, provide codes for each one by separating them with commas (for example, US,US,US).
InternationalOptions
NonDelivery
StringNoNon-delivery options for international shipments. Allowed values are return_to_sender or treat_as_abandoned.
AdvancedOptions
WarehouseId
IntegerNoThe Id of the warehouse that the order will ship from. If the order is fulfilled using a fill provider, there is no warehouse attached and this value is null.
AdvancedOptions
NonMachinable
BooleanNoWhether the order is non-machinable.
AdvancedOptions
SaturdayDelivery
BooleanNoWhether the order is to be delivered on a Saturday.
AdvancedOptions
ContainsAlcohol
BooleanNoWhether the order contains alcohol.
AdvancedOptions
StoreId
IntegerNoId of the store associated with the order. If this value is not specified, ShipStation defaults to the first manual store on the account.
AdvancedOptions
CustomField1
StringNoField that allows for custom data to be associated with an order.
AdvancedOptions
CustomField2
StringNoField that allows for custom data to be associated with an order.
AdvancedOptions
CustomField3
StringNoField that allows for custom data to be associated with an order.
AdvancedOptions
Source
StringNoOriginal source or marketplace for the order.
AdvancedOptions
MergedOrSplit
BooleanNoWhether an order has been merged with or split from another order.
AdvancedOptions
MergedIds
IntegerNoIf the order was merged, this is an array of the orderIds that were merged.
AdvancedOptions
ParentId
IntegerNoIf the order was split from a parent order, this is the orderId of the parent order.
AdvancedOptions
BillToParty
StringNoParty to bill for the shipment. Allowed values are my_account, my_other_account, recipient, or third_party.
AdvancedOptions
BillToAccount
StringNoAccount number of the party to bill for the shipment.
AdvancedOptions
BillToPostalCode
StringNoPostal code of the party to bill for the shipment.
AdvancedOptions
BillToCountryCode
StringNoTwo-character ISO country code of the party to bill for the shipment.
AdvancedOptions
BillToMyOtherAccount
StringNoIf AdvancedOptions
BillToParty
is set to my_other_account, this is the shippingProviderId value for the desired account. You can make a List Carriers call to obtain shippingProviderId values.

Connector Configuration: Ship From

The configuration pane for the Create Shipment Label connector allows you to specify the ship from information and toggle between test labels and real labels. The table below outlines these values:
SettingDescription
Ship From NameName of person.
Ship From CompanyName of company.
Ship From Street 1First line of address.
Ship From Street 2Second line of address, if applicable.
Ship From Street 3Third line of address, if applicable.
Ship From CityName of city.
Ship From StateName of state.
Ship From Postal CodePostal code.
Ship From CountryTwo-character ISO country code.
Ship From PhoneTelephone number for shipper.
Ship From ResidentialWhether the Ship From address is residential.
Ship From Address VerifiedWhether the address has been verified by ShipStation. Allowed values are Address not yet validated, Address validated successfully, Address validation warning, or Address validation failed.
Enable Test ModeWhether the shipping label should be a test label. Disabled by default.