Access shipping charges via the API

Highlighted
New Member
4 0 0

We're looking to audit our shipping charges per order and I don't see a way to export this data via the API. Anyone know if this is possible? Thx

0 Likes
Shopify Partner
848 6 142

Hi Matt

Would the orders endpoint not suffice? You have an equivalent in GraphQL if REST doesn't appeal to you. You're looking for total_shipping_price_set and / or shipping_lines object.

I turn coffee in to code - since 1998
0 Likes
New Member
4 0 0

Thanks Karl - I don't think so. We're looking for the cost to us (we ship using Shopify's fulfillment feature). It looks like only the price the customer pays is available via the order endpoint. 

0 Likes
Shopify Partner
848 6 142

Aah, isn't that something you'd be retrieving from your shipping carrier service directly?

I turn coffee in to code - since 1998
0 Likes
New Member
4 0 0

Typically, but we're currently using Shopify's discounted rates (not our own account). 

0 Likes