5

我迫切需要知道 Shopify API 中 UPS 标准运输的具体代码。它将是 Order API 中的 2 位数字,shipping-lines > shipping-line > code。

感谢您的任何帮助。

4

3 回答 3

8

UPS 标准代码值为“11”

还有一些其他的UPS代码:

'01' => 'Next Day Air ("Red")',
'02' => 'Second Day Air ("Blue")',
'03' => 'Ground',
'07' => 'Express',
'08' => 'Expedited', 
'11' => 'Standard',
'12' => 'Third Day Select',
'13' => 'Next Day Air Saver ("Red Saver")',
'14' => 'Next Day Air Early A.M.',
'15' => 'Next Day Air Early A.M.',
'22' => 'Ground - Returns Plus - Three Pickup Attempts',
'32' => 'Next Day Air Early A.M. - COD',
'33' => 'Next Day Air Early A.M. - Saturday Delivery, COD',
'41' => 'Next Day Air Early A.M. - Saturday Delivery',
'42' => 'Ground - Signature Required',
'44' => 'Next Day Air - Saturday Delivery',
'54' => 'Express Plus',
'59' => 'Second Day Air A.M.',
'65' => 'WorldWide Saver',
'66' => 'Worldwide Express',
'72' => 'Ground - Collect on Delivery',
'78' => 'Ground - Returns Plus - One Pickup Attempt',
'90' => 'Ground - Returns - UPS Prints and Mails Label',
'A0' => 'Next Day Air Early A.M. - Adult Signature Required',
'A1' => 'Next Day Air Early A.M. - Saturday Delivery, Adult Signature Required',
'A2' => 'Next Day Air - Adult Signature Required',
'A8' => 'Ground - Adult Signature Required',
'A9' => 'Next Day Air Early A.M. - Adult Signature Required, COD',
'AA' => 'Next Day Air Early A.M. - Saturday Delivery, Adult Signature Required, COD',
于 2013-01-24T14:16:06.010 回答
1

如果您下载 UPS 运输开发人员文档,则在附录或其他地方不再有任何“星期六”递送代码。相反,您使用您想要的服务,例如“次日航空”或“次日航空早早”将是与SaturdayDeliveryIndicator. 从他们的文档中:

周六交货指标。存在表示周六交货;缺席表示不是星期六交货。

于 2014-08-11T18:58:39.723 回答
0

有几种方法:

  1. 在 magento admin 中,转到系统 > 配置,然后单击运输方式选项卡,然后在允许的方法框内单击鼠标右键,检查元素,您会看到类似 UPS 标准值代表方法代码的内容。

  2. 或打开 app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php 并在第 327 行周围,您将看到所有带有相应代码的运输方式。

于 2016-04-19T20:10:25.597 回答