d
Topic
Matt B Member
Posts:
4
6 days ago

Access shipping charges via the API

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

i
Replies
Posts:
469
6 days ago

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
Matt B Member
Posts:
4
6 days ago

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. 

Posts:
469
6 days ago

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

I turn coffee in to code - since 1998
Matt B Member
Posts:
4
5 days ago

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