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.