Power BI Connector for ShipStation

Build 26.0.9770

CreateLabelForOrder

Creates a label for an Order

Input

Name Type Description
DownloadLocation String The location on the disk where to download the label.
OrderId Integer Identifies the order that will be shipped.
CarrierCode String The code for the carrier that is to be used for the label.
ServiceCode String The code for the shipping service that is to be used for the label.
Confirmation String The type of delivery confirmation that is to be used once the shipment is created. Possible values: none, delivery, signature, adult_signature, and direct_signature. direct_signature is available for FedEx only.
ShipDate String The date the order should be shipped.
WeightValue Integer Weight_value of the order.
WeightUnits String Weight_units of the order.
WeightWeightUnits Integer Weight_WeightUnits of the order.
DimensionsLength String Length of package.
DimensionsWidth String Width of package.
DimensionsHeight String Height of package.
DimensionsUnits String Units of measurement. Allowed units are: 'inches', or 'centimeters'.
InsuranceOptionsProvider String Preferred Insurance provider. Available options: shipsurance, carrier, or provider. The provider option is used to indicate that a shipment was insured by a third party other than ShipSurance or the carrier. The insurance is handled outside of ShipStation, and will not affect the cost of processing the label.
InsuranceOptionsInsureShipment String Indicates whether shipment should be insured.
InsuranceOptionsInsuredValue String Value to insure.
InternationalOptionsContents String Contents of international shipment. Available options are: merchandise, documents, gift, returned_goods, or sample.
InternationalOptionsCustomsItemsCustomsItemId String If this field is included when submitting an order through Order/CreateOrder, then it will look for the corresponding customs line and update any values.(Multiple values can be given as input with comma separator like: '121221,21211,12121')
InternationalOptionsCustomsItemsDescription String A short description of the CustomsItem(Multiple Description for the corresponding CustomsItemId can be given as input with comma separator like: 'desc1,desc2,desc3').
InternationalOptionsCustomsItemsQuantity String The quantity for this line item(Multiple Quantity for the corresponding CustomsItemId can be given as input with comma separator like: '5,1,4').
InternationalOptionsCustomsItemsValue String The value (in USD) of the line item(Multiple Value for the corresponding CustomsItemId can be given as input with comma separator like: '10,50,100').
InternationalOptionsCustomsItemsHarmonizedTariffCode String The Harmonized Commodity Code for this line item(Multiple HarmonizedTariffCode for the corresponding CustomsItemId can be given as input with comma separator like: '12312,12312,12312').
InternationalOptionsCustomsItemsCountryOfOrigin String The 2-character ISO country code where the item originated(Multiple CountryOfOrigin for the corresponding CustomsItemId can be given as input with comma separator like: 'US,US,US').
InternationalOptionsNonDelivery String Non-Delivery option for international shipment. Available options are: return_to_sender or treat_as_abandoned. Please note: If the shipment is created through the Orders/CreateLabelForOrder endpoint and the nonDelivery field is not specified then value defaults based on the International Setting in the UI. If the call is being made to the Shipments/CreateLabel endpoint and the nonDelivery field is not specified then the value will default to return_to_sender.
AdvancedOptionsWarehouseId Integer Specifies the warehouse where to the order is to ship from. If the order was fulfilled using a fill provider, no warehouse is attached to these orders and will result in a null value being returned. *Please see note below
AdvancedOptionsNonMachinable Boolean Specifies whether the order is non-machinable.
AdvancedOptionsSaturdayDelivery Boolean Specifies whether the order is to be delivered on a Saturday.
AdvancedOptionsContainsAlcohol Boolean Specifies whether the order contains alcohol.
AdvancedOptionsStoreId Integer ID of store that is associated with the order. If not specified in the CreateOrder call either to create or update an order, ShipStation will default to the first manual store on the account. Can only be specified during order creation.
AdvancedOptionsCustomField1 String Field that allows for custom data to be associated with an order. *Please see note below
AdvancedOptionsCustomField2 String Field that allows for custom data to be associated with an order. *Please see note below
AdvancedOptionsCustomField3 String Field that allows for custom data to be associated with an order. *Please see note below
AdvancedOptionsSource String Identifies the original source/marketplace of the order. *Please see note below
AdvancedOptionsMergedOrSplit Boolean Returns whether or not an order has been merged or split with another order. Read Only
AdvancedOptionsMergedIds Integer Array of orderIds. Each orderId identifies an order that was merged with the associated order. Read Only
AdvancedOptionsParentId Integer If an order has been split, it will return the Parent ID of the order with which it has been split. If the order has not been split, this field will return null. Read Only
AdvancedOptionsBillToParty String Identifies which party to bill. Possible values: my_account, my_other_account (see note below), recipient, third_party. billTo values can only be used when creating/updating orders.
AdvancedOptionsBillToAccount String Account number of billToParty. billTo values can only be used when creating/updating orders.
AdvancedOptionsBillToPostalCode String Postal Code of billToParty. billTo values can only be used when creating/updating orders.
AdvancedOptionsBillToCountryCode String Country Code of billToParty. billTo values can only be used when creating/updating orders.
AdvancedOptionsBillToMyOtherAccount String When using my_other_account billToParty value, the shippingProviderId value associated with the desired account. Make a List Carriers call to obtain shippingProviderId values.
TestLabel Boolean Specifies whether a test label should be created.

The default value is false.

Encoding String The FileData input encoding type.

The allowed values are NONE, BASE64.

The default value is BASE64.

Result Set Columns

Name Type Description
Status String The status of the operation.
FileData String If the DownloadLocation and FileStream are not provided, this contains the content of the file.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770