什么是shopify的API shipping_line选项?

时间:2012-10-24 17:30:33

标签: shopify

我正在研究Shopify和履行公司之间的中间件,我能够获得Shopify API中给出的UPS运输方法,但我需要其余的来为履行公司的运输代码建立转换表。

以下是UPS代码:

  • UPS Ground
  • UPS Second Day Air
  • UPS Three-Day Select
  • UPS Saver
  • UPS Worldwide Expedited
  • UPS Standard
  • UPS Next Day Air Saver
  • UPS Next Day Air
  • UPS Next Day Air Early A.M.
  • UPS Express
  • UPS Worldwide Express Plus
  • UPS Expedited
  • UPS Second Day Air A.M.
  • UPS Express Early A.M.
  • UPS Ground 2
  • UPS Standard 2
  • UPS Second Day Air 2
  • UPS Next Day Air 2

从UPS生成的行看起来像这样:

“shipping_lines”=>[{"title"=>"UPS Second Day Air", “code”=>"02", “price”=>25.63, “source”=>"ups"}]

1 个答案:

答案 0 :(得分:1)

以下是FedEx和USPS的可能标题:

FedEx Ground
FedEx 2 Day
FedEx International First
FedEx International Economy
FedEx Standard Overnight
FedEx International Priority
FedEx Express Saver
FedEx Priority Overnight
FedEx First Overnight
FedEx Priority Overnight Saturday Delivery
FedEx 2 Day Saturday Delivery
FedEx First Overnight Saturday Delivery
FedEx International Priority Saturday Delivery
FedEx International Economy Freight
FedEx Ground Home Delivery
FedEx Europe First International Priority
FedEx International Priority 2

USPS Priority Mail
USPS First Class Mail International Package
USPS First-Class Mail
USPS Priority Mail International
USPS Parcel Post
USPS First-Class Mail Flat
USPS First-Class Mail Parcel
USPS Express Mail
USPS Express Mail International (EMS)
USPS Global Express Guaranteed
USPS First-Class Mail International Package
USPS Express Mail International
USPS Global Express Guaranteed (GXG)
USPS Express Mail 2
USPS Priority Mail 2
USPS First-Class Mail International Package**
USPS First-Class Mail Postcards
USPS First-Class Mail Large Envelope
USPS First-Class Mail Package
USPS First-Class Mail Letter
USPS Global Express Guaranteed (GXG)**
USPS Priority Mail International 2
USPS First-Class Mail International Parcel