Shipping Lines - Get All Possible Titles

Highlighted
Tourist
5 0 5

I am trying to figure out how to know what shipping titles are available for a shop.

For example, the customer chooses "USPS Priority Mail 2-Day". The select box displays "USPS Priority Mail 2-Day - $X.XX" and has the value "usps-1-X.XX". The shipping lines in the order download as follows.

shipping_lines: [
{
code: "1",
price: "X.XX",
source: "usps",
title: "USPS Priority Mail 2-Day",
tax_lines: [ ]
}
],

The end result I am after is knowing what are all the possible values the title can be in the shipping lines for this specific shop. I need to know these values because I am writing an order download file for fulfillment purposes which "translates" the title to a code in the Warehouse Management System. Any help would be greatly appreciated.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
582 0 48

Those values are somewhat variable and aren't guaranteed to be consistent depending on the CarrierService integrations the Shop may be using.

Because of this I don't think we can a list of all the shipping types since it very much depends on the service plan a shop has and the destination of the package

0 Likes
Highlighted
Tourist
5 0 5

Chris,

Thank you for the information. Do you know if there are id numbers sent from the carriers? I am thinking if Carrier X changes the description from "Express 2-Day" to "Express 2 Day" the shipping id should be the same.

* Side note and a quick explanation for me asking this question . Using a description as a unique value is a pet-peeve of mine.

 

 

0 Likes
Highlighted
Tourist
5 0 5

Just to help out anyone in the future with this problem. Below are the codes that come out looking at the order shipping lines.
 

{
  shipping_lines: [{
    code: "INTERNATIONAL_ECONOMY",
    price: "XX.XX",
    source: "fedex",
    title: "FedEx International Economy",
    tax_lines: [ ]
  }]
},
{
  shipping_lines: [{
    code: "08",
    price: "XX.XX",
    source: "ups",
    title: "UPS Worldwide Expedited",
    tax_lines: [ ]
  }]
},

 

FedEx Shipping Service Codes

  • EUROPE_FIRST_INTERNATIONAL_PRIORITY - FedEx Europe First International Priority
  • FEDEX_1_DAY_FREIGHT - FedEx 1Day Freight
  • FEDEX_2_DAY - FedEx 2Day
  • FEDEX_2_DAY_FREIGHT - FedEx 2Day Freight
  • FEDEX_3_DAY_FREIGHT - FedEx 3Day Freight
  • FEDEX_EXPRESS_SAVER - FedEx Express Saver
  • FEDEX_GROUND - FedEx Ground
  • FIRST_OVERNIGHT - FexEx First Overnight
  • GROUND_HOME_DELIVERY - FedEx Ground Home Delivery
  • INTERNATIONAL_DISTRIBUTION_FREIGHT - FedEx International Distribution Freight
  • INTERNATIONAL_ECONOMY - FedEx International Economy
  • INTERNATIONAL_ECONOMY_DISTRIBUTION - FedEx International Economy Distribution
  • INTERNATIONAL_ECONOMY_FREIGHT - FedEx International Economy Freight
  • INTERNATIONAL_FIRST - FedEx International First
  • INTERNATIONAL_PRIORITY - FedEx International Priority
  • INTERNATIONAL_PRIORITY_FREIGHT - FedEx International Priority Freight
  • PRIORITY_OVERNIGHT - FedEx Priority Overnight
  • SMART_POST - FedEx Smart Post
  • STANDARD_OVERNIGHT - FedEx Standard Overnight
  • FEDEX_FREIGHT - FedEx Freight
  • FEDEX_NATIONAL_FREIGHT - FedEx National Freight

UPS Shipping Service Codes

  • 01 - UPS Next Day Air
  • 02 - UPS 2nd Day Air
  • 03 - UPS Ground
  • 07 - UPS Worldwide Express
  • 08 - UPS Worldwide Expedited
  • 11 - UPS Standard
  • 12 - UPS 3 Day Select
  • 13 - UPS Next Day Air Saver
  • 14 - UPS Next Day Air Early A.M.
  • 54 - UPS Worldwide Express Plus
  • 59 - UPS 2nd Day Air A.M.
  • 65 - UPS Saver
  • 82 - UPS Today Standard
  • 83 - UPS Today Dedicated Courier
  • 85 - UPS Today Express
  • 86 - UPS Today Express Saver

Shopify please put this in the documentation somewhere. This would be extremely helpful.

5 Likes
Highlighted
New Member
1 0 0

Hi Jimmy,

Can I get all possible codes for 'usps' source?

0 Likes