Discussions
How best to get box dimensions
When reaching the API, I need to submit width, height, length, along with weight to get accurate rates. How best do I go about adding up all the product dimensions to get realistic results?
For example, the customer buys 4 products measuring 2 x 4 x 4. Do I multiply these numbers by the quantity to get a box size of 8 x 16 x 16?
It doesn't seem rational.. wouldn't it instead be something closer to 8 x 4 x 4 box?
Posted by Roynel Flores over 6 years ago
Do I really need height, width, and length to calc rates?
When reaching the API if I don't include dimensions I get back "Items should have dimensions and a weight". However when the customer is going through the checkout process and requests shipping rates, the products themselves don't have dimensions, just weight.
How are these rates coming back in Shopify just fine but, with the API I must include the dimensions? Is there a default dimension used when calculating the customer shipping data?
Posted by Roynel Flores over 6 years ago