Carrier Service Rate Request - Additional item information

Hi all,

 

We are trying to build a carrier service that integrates with Toll. Toll require both a weight value and a volume value for each item in order to provide a shipping rate. However in Shopify, we are only able to enter a weight value for each product variant.

 

I was hoping to use a different field (such as the barcode field) to store the volume value. My question is: Is there a way to request that Shopify send the barcode value along with the Shipping Rate Request? Or some way to access the barcode value for each item?

Thank you,

Adam Wooding - https://empower.digital 

0 Likes
Shopify Staff
Shopify Staff
373 50 57

Hey @Empower_Digital,

 

Is there a way to request that Shopify send the barcode value along with the Shipping Rate Request? Or some way to access the barcode value for each item?

Shopify will send an array of items, which contain variant and product IDs. You could use this to look up product volume. Consider storing the volume in metafields.

 

Keep in mind you'll need to respond to the request quickly to avoid a timeout, so caching the volumes (or using a local database) might make sense.

0 Likes