在Shopify脚本编辑器中使用UPS API
我需要在Shopify中的脚本编辑器中使用UPS运输API。在脚本编辑器中仅Ruby
编程语言。
我有一项任务来确定Checkout
页面上的地址类型住宅或商业。有人告诉我,您可以使用脚本编辑器(ruby
)对Checkout
页面进行编辑,但是我不确定是否可以使用此内容。 UPS运输API文档也缺少Ruby
语言示例。
请告诉我,我是否可以在脚本编辑器中使用Ruby
语言使用UPS运输API?
我真的需要你的帮助。谢谢!
I need to use the UPS shipping API in the Script Editor in the Shopify. In the Script Editor only the Ruby
programming language.
I have a task to determine the address type Residential or Commercial on the checkout
page. I was told that you can use Script Editor (Ruby
) to make edits to the checkout
page, but I'm not sure if can use this. The UPS shipping API documentation also lacks Ruby
language examples.
Please tell me if I can use UPS shipping API using Ruby
language in the Script Editor?
I really need your help. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
否。您可以更改UPS提供的定价,但是您将设置管理员运输设置中UPS返回的实际利率。脚本意味着更多地显示隐藏选项,重新订购选项和或打折。它并不是要在外部API打电话给服务。
因此,您可以轻松地检查UPS对客户的运输设置回报率,并且可以决定是否显示或隐藏其中的一些。
No. You can change pricing offered by UPS, but you would be setting up the actual rates returned by UPS in your Shipping setup in the Admin. Scripting is meant more to show hide options, re-order options and or discount them. It not meant to make outside API calls to services.
So you can easily inspect the UPS rates your shipping setup returns for a customer, and you can decide whether to show or hide some of them.