ruby on rails - Using the UPS API in the Shopify script editor
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!
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.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.