Create Cart Order Shipment
Changed onGet the required, optional, and integration specific fields by calling the integrations endpoint.
Request
- Base URLhttps://production.trackstarhq.com
- URLhttps://production.trackstarhq.com/cart/orders/{order_id}/shipments
- Authnone required
Path parameters
Headers
Your organization-level Trackstar API key.
Your user's access token for a specific integration (ShipHero, Extensiv, etc).
Optional key that makes this request safe to retry. Send the same key on a retry and Trackstar returns the first attempt's response instead of writing again; if the first attempt failed, the retry runs the write again. Reusing a key with a different request is rejected. Keys expire after 24 hours.
Request body
Example request
{
"tracking_number": "tracking_number",
"tracking_url": "https://www.example.com/tracking",
"carrier_name": "Carrier Name",
"shipping_method_name": "Standard Shipping",
"line_items": [
{
"product_sku": "product_sku",
"quantity": 0
}
]
}Response
Successful response
Example response
{
"data": {
"id": "order_id",
"order_number": "order_number",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"status": "fulfilled",
"raw_status": "raw_status",
"requested_shipping_method": "Standard",
"shipping_method_id": "shipping_method_id",
"shipping_method_name": "Standard Shipping",
"carrier_id": "carrier_id",
"carrier_name": "Carrier Name",
"invoice_currency_code": "USD",
"total_price": 13.49,
"total_tax": 1.5,
"total_discount": 2.5,
"total_shipping": 3.5,
"ship_to_address": {
"full_name": "John Doe",
"company": "Company",
"address1": "123 Main St",
"address2": "Apt 2",
"address3": "Floor 3",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "United States",
"phone_number": "123-456-7890",
"email_address": "johndoe@example.com"
},
"bill_to_address": {
"full_name": "John Doe",
"address1": "123 Main St",
"address2": "Apt 2",
"address3": "Floor 3",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "United States"
},
"earliest_ship_date": "2022-10-10T01:02:03Z",
"latest_ship_date": "2022-10-10T01:02:03Z",
"line_items": [
{
"line_item_id": "line_item_id",
"product_id": "product_id",
"product_sku": "product_sku",
"parent_product_id": "parent_product_id",
"parent_product_sku": "parent_product_sku",
"quantity": 1,
"unit_price": 10.99,
"discount": 1.5,
"tax": 0.5,
"warehouse_id": "warehouse_id"
}
],
"shipping_groups": [
{
"shipping_group_id": "shipping_group_id",
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z",
"raw_status": "raw_status",
"status": "shipped",
"warehouse_id": "warehouse_id",
"line_items": [
{
"line_item_id": "shipping_group_line_item_id",
"product_id": "product_id",
"product_sku": "product_sku",
"parent_product_id": "parent_product_id"
}
]
}
],
"shipments": [
{
"shipment_id": "shipment_id",
"raw_status": "raw_status",
"status": "shipped",
"warehouse_id": "warehouse_id",
"shipping_method_id": "shipment_shipping_method_id",
"shipping_method_name": "shipment_shipping_method_name",
"carrier_id": "carrier_id",
"carrier_name": "carrier_name",
"tracking_number": "tracking_number",
"tracking_url": "https://www.example.com/tracking",
"line_items": [
{
"shipment_line_item_id": "shipment_line_item_id",
"product_id": "product_id",
"product_sku": "product_sku",
"parent_product_id": "parent_product_id",
"parent_product_sku": "parent_product_sku"
}
],
"shipping_groups": [
"sg_id_1",
"sg_id_2"
],
"ship_from_address": {
"address1": "123 Main St",
"address2": "Apt 2",
"address3": "Floor 3",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "United States"
},
"created_date": "2022-01-01T00:00:00Z",
"updated_date": "2022-01-02T05:05:05Z"
}
],
"tags": [
"tag_0"
],
"external_system_url": "https://example.com/order/123",
"trackstar_tags": [
"tag1",
"tag2",
{
"tag3": "value3"
}
],
"additional_fields": {
"key": "value"
},
"trackstar_created_date": "2023-03-15T13:45:30Z",
"trackstar_updated_date": "2023-03-15T13:45:30Z"
},
"id": "id",
"unused_fields": [
"unused_fields"
]
}Changes
- info
added the new optional request property
/
- info
- breaking
removed from the request body
oneOflist - breaking
added
subschema #1to therequest propertyallOflist - breaking
added
subschema #1to therequest propertyallOflist - breaking
added
subschema #1subschema #2to therequest propertyallOflist - breaking
removed the enum value
Boğaziçiof the request property/ - breaking
removed the enum value
Colis Privéof the request property/ - breaking
removed the enum value
J&T Expressof the request property/ - breaking
removed the enum value
Sürat Kargoof the request property/ - breaking
removed the enum value
Transaragonésof the request property/ - breaking
removed the enum value
Yurtiçi Kargoof the request property/ - breaking
the
/request property's minItems was increased to1 - info
added the new optional
headerrequest parameterIdempotency-Key - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added to the request body
oneOflist - info
added the new
AG Logistica Expressenum value to the request property/ - info
added the new
AJEXenum value to the request property/ - info
added the new
AL Expressenum value to the request property/ - info
added the new
APC-Overnightenum value to the request property/ - info
added the new
AT Postenum value to the request property/ - info
added the new
Acelera Flexenum value to the request property/ - info
added the new
Aderenum value to the request property/ - info
added the new
Baral Logisticsenum value to the request property/ - info
added the new
Bharatenum value to the request property/ - info
added the new
Blitzenum value to the request property/ - info
added the new
Borzoenum value to the request property/ - info
added the new
Bounceenum value to the request property/ - info
added the new
Boğaziçienum value to the request property/ - info
added the new
Bringerenum value to the request property/ - info
added the new
COLIS PRIVEenum value to the request property/ - info
added the new
CTTExpressenum value to the request property/ - info
added the new
Canpar Expressenum value to the request property/ - info
added the new
Chama Logisticaenum value to the request property/ - info
added the new
Chega Log Entregas Flexenum value to the request property/ - info
added the new
Colis Priveenum value to the request property/ - info
added the new
Colis Privéenum value to the request property/ - info
added the new
Conexao Enviosenum value to the request property/ - info
added the new
Couriers Pleaseenum value to the request property/ - info
added the new
DACSHERenum value to the request property/ - info
added the new
DASCHERenum value to the request property/ - info
added the new
DPWorldenum value to the request property/ - info
added the new
Desertcartenum value to the request property/ - info
added the new
DirectLinkenum value to the request property/ - info
added the new
ECMS ExpressIncenum value to the request property/ - info
added the new
ECMS ExpressInc.enum value to the request property/ - info
added the new
ESI Delivery Serviceenum value to the request property/ - info
added the new
Equipe Motoboysenum value to the request property/ - info
added the new
Evrienum value to the request property/ - info
added the new
Expresso Flexenum value to the request property/ - info
added the new
F6 Expressenum value to the request property/ - info
added the new
FEDEX_JPenum value to the request property/ - info
added the new
FITFRESHenum value to the request property/ - info
added the new
Fenix expressenum value to the request property/ - info
added the new
Fercamenum value to the request property/ - info
added the new
Flashenum value to the request property/ - info
added the new
Flash Expressenum value to the request property/ - info
added the new
FleetOpticsenum value to the request property/ - info
added the new
Flex Boysenum value to the request property/ - info
added the new
Flex Correria Expressenum value to the request property/ - info
added the new
Flex Velozzenum value to the request property/ - info
added the new
FlexJa Entregas Rapidasenum value to the request property/ - info
added the new
Foguete Logenum value to the request property/ - info
added the new
France Expressenum value to the request property/ - info
added the new
GBL Expressenum value to the request property/ - info
added the new
GEODISenum value to the request property/ - info
added the new
GLS USenum value to the request property/ - info
added the new
GT Flex Entregasenum value to the request property/ - info
added the new
GlobalPostenum value to the request property/ - info
added the new
Goncargas Expressenum value to the request property/ - info
added the new
Hepsijet Kargoenum value to the request property/ - info
added the new
Hong Kong Postenum value to the request property/ - info
added the new
Intelcomenum value to the request property/ - info
added the new
J&T Expressenum value to the request property/ - info
added the new
J3 Flexenum value to the request property/ - info
added the new
JD LOGISTICSenum value to the request property/ - info
added the new
JD Logisticsenum value to the request property/ - info
added the new
JP_EXPRESSenum value to the request property/ - info
added the new
JT Flex Logisticaenum value to the request property/ - info
added the new
Jadlogenum value to the request property/ - info
added the new
Jeeblyenum value to the request property/ - info
added the new
JetSouq Expressenum value to the request property/ - info
added the new
Jiehangenum value to the request property/ - info
added the new
K10 Flexenum value to the request property/ - info
added the new
KSEenum value to the request property/ - info
added the new
Korea Postenum value to the request property/ - info
added the new
Kuehne Nagelenum value to the request property/ - info
added the new
Kunzendorfenum value to the request property/ - info
added the new
LANDMARKenum value to the request property/ - info
added the new
LN Transportesenum value to the request property/ - info
added the new
Loadshareenum value to the request property/ - info
added the new
Log managerenum value to the request property/ - info
added the new
Logi Connectenum value to the request property/ - info
added the new
Lovely Expressenum value to the request property/ - info
added the new
MAX Expressenum value to the request property/ - info
added the new
MB Flex Expressenum value to the request property/ - info
added the new
MG Log Expressenum value to the request property/ - info
added the new
MZZ Briefdienstenum value to the request property/ - info
added the new
Magicfleetenum value to the request property/ - info
added the new
Metropolitan Warehouse and Deliveryenum value to the request property/ - info
added the new
Meyer Logisticsenum value to the request property/ - info
added the new
Mineiro Expressenum value to the request property/ - info
added the new
Mylerzenum value to the request property/ - info
added the new
NACEXenum value to the request property/ - info
added the new
Naplog Logisticsenum value to the request property/ - info
added the new
Nobres Entregasenum value to the request property/ - info
added the new
Olaenum value to the request property/ - info
added the new
PARCEL2GO.COMenum value to the request property/ - info
added the new
PF Logisticsenum value to the request property/ - info
added the new
Pandionenum value to the request property/ - info
added the new
Pitt Ohioenum value to the request property/ - info
added the new
Pomo DOuro Expressenum value to the request property/ - info
added the new
Post NLenum value to the request property/ - info
added the new
Purolatorenum value to the request property/ - info
added the new
QExpressenum value to the request property/ - info
added the new
Quickenum value to the request property/ - info
added the new
QuickShiftenum value to the request property/ - info
added the new
Qwqerenum value to the request property/ - info
added the new
RND Logisticaenum value to the request property/ - info
added the new
ROYAL_MAILenum value to the request property/ - info
added the new
RR Express Logisticaenum value to the request property/ - info
added the new
RRlesteenum value to the request property/ - info
added the new
RS Flexenum value to the request property/ - info
added the new
Rabenenum value to the request property/ - info
added the new
Rapiboyenum value to the request property/ - info
added the new
Rapidoenum value to the request property/ - info
added the new
Roadieenum value to the request property/ - info
added the new
SJL Expressenum value to the request property/ - info
added the new
SOS Envios Expressenum value to the request property/ - info
added the new
Sagawa Expressenum value to the request property/ - info
added the new
SagawaExpressenum value to the request property/ - info
added the new
Saudi Postenum value to the request property/ - info
added the new
Scootonenum value to the request property/ - info
added the new
Sendleenum value to the request property/ - info
added the new
Shadowfaxenum value to the request property/ - info
added the new
Shanghai Shouwuenum value to the request property/ - info
added the new
SkyNet Worldwide Expressenum value to the request property/ - info
added the new
Sonic Flexenum value to the request property/ - info
added the new
Speed Gurienum value to the request property/ - info
added the new
Spreetailenum value to the request property/ - info
added the new
Spring GDSenum value to the request property/ - info
added the new
StarTrackenum value to the request property/ - info
added the new
Super Expressenum value to the request property/ - info
added the new
Swftboxenum value to the request property/ - info
added the new
Sürat Kargoenum value to the request property/ - info
added the new
TFM Expressenum value to the request property/ - info
added the new
TForce Freightenum value to the request property/ - info
added the new
TForce Logisticsenum value to the request property/ - info
added the new
TLG Logisticaenum value to the request property/ - info
added the new
TM Logisticaenum value to the request property/ - info
added the new
Team Global Expressenum value to the request property/ - info
added the new
Top Expressenum value to the request property/ - info
added the new
Trackenenum value to the request property/ - info
added the new
Transaragonésenum value to the request property/ - info
added the new
Transoflexenum value to the request property/ - info
added the new
UK MAILenum value to the request property/ - info
added the new
Uberenum value to the request property/ - info
added the new
Vancotechenum value to the request property/ - info
added the new
Varoes Expressenum value to the request property/ - info
added the new
Viplogenum value to the request property/ - info
added the new
WA Transportesenum value to the request property/ - info
added the new
WDK Expressenum value to the request property/ - info
added the new
Waynikenum value to the request property/ - info
added the new
XPO HBenum value to the request property/ - info
added the new
YamatoTransportenum value to the request property/ - info
added the new
Yanwenenum value to the request property/ - info
added the new
Yuluenum value to the request property/ - info
added the new
Yurtiçi Kargoenum value to the request property/ - info
added the new
ZAJEL Courier Servicesenum value to the request property/ - info
added the new
ZIDenum value to the request property/
- breaking