Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Explanation of Order Shipping Lines by HunkyBill

$
0
0

Hi,

The Docs are really skimpy on what the shipping lines mean. A quick example of a valid one is:

Shipping lines [#<ShopifyAPI::ShippingLine:0x000000036443a0 @attributes={"code"=>"1", "price"=>"14.20", "source"=>"usps", "title"=>"USPS Priority Mail"}, @prefix_options={}, @persisted=false>]

Looking at the docs, it provides "Free Shipping" as a code. Here, a real one is the number "1". Ok. So what drives that? I see that source is USPS, and the title is even more detailed as USPS Priority Mail... so if a developer is to know what those fields can be, how do we know? What is code, what is source. Title and price are pretty self-explanatory. 

Docs could use some love in this case. Please. Thanks.

 

 


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>