Store adapter — ShipStation The adapter
object contains properties for connecting to the ShipStation API.
Parent object: a store with property "platform" : "ship_station"
Required properties The following adapter
properties are required for ShipStation stores.
api_key
Property api_key
Name ShipStation API Key Description Found in ShipStation Dashboard > 🔧 Account Settings > Account > API Settings Data type string Required? Yes
api_secret
Property api_secret
Name API Secret Description Found in ShipStation API Settings Data type string Required? Yes
Optional properties The following adapter
properties are optional for ShipStation stores.
acknowledgement_tag_id
Property acknowledgement_tag_id
Name Acknowledgement Tag ID Description Tag ID applied to order after imported Data type string
force_sku
Property force_sku
Name SKU Configuration Description ShipStation may provide either or both of two SKU fields, sku
and fulfillmentSku
. This setting controls which field the SKU is pulled from. Data type string Accepted values "Auto"
— Use whichever field is present. If both are present, use sku
"fulfillmentSku"
— always use the Fulfillment Sku "sku"
— always use the Product Sku Default "Auto"
notify_customer
Property notify_customer
Name Notify Customer Description If true
, notify of shipment from ShipStation Data type boolean Default false
notify_sales_channel
Property notify_sales_channel
Name Notify Sales Channel Description If true
, notify of shipment from sales channel Data type boolean Default true
tag_ids
Property tag_ids
Name Tag IDs Description If specified, only orders with the specified tags are imported Data type array of strings Example [ "mytag1", "mytag2" ]
use_requested_shipping_service
Property use_requested_shipping_service
Name Use Requested Shipping Description Description ShipStation orders contain two shipping descriptions: the original description from the shopping cart request, and the ShipStation-translated shipping description. If this value is set to true
, the original request shipping description is used. Data type boolean Default false
Example Example: create a new ShipStation store cURL curl -X POST \
-H "Authorization: Bearer $JWT_TOKEN " \
-H "Content-Type: application/json" \
https://api.getdropstream.com/stores \
-d @- <<EOF
{ "customer_id": "3775",
"name": "Your ShipStation Store",
"platform": "ship_station",
"adapter": {
"api_key": "abc123",
"api_secret": "abc123",
"acknowledgement_tag_id": "yourtag_1",
"force_sku": "fulfillmentSku",
"notify_customer": false,
"notify_sales_channel": "true",
"tag_ids": [ "yourtag_2", "yourtag_3" ],
"use_requested_shipping_service": "false"
}
}
EOF
For details about this request type, see: Create a new store .