Incorrect label_cost?

In the Return object there is “label_cost” and “label_type”.

In the ShipHero UI, we can see on a returned order a row with the return header info. It has a “Label” column indicating the “label_type” and “Label Cost” indicating the “label_cost”.

If you then click into the details of the Return you see a subtotal area with “Return Shipping Cost”. This row usually indicates the same info seen on the header. With the “label_type” as a caption next to what is usually the “label_cost”.

My problem: We have a number of returns where the detail’s “Return Shipping Cost” is $0.00 as a Flat Rate. But the header’s “Label Cost” is some value other than 0. They dont match!

In the Return object we only have “label_cost”. Where do we get the “Return Shipping Cost” which is sometimes different than the “label_cost”? What am I missing?

Here is an example Order with return that exhibits this condition:
“id”: “T3JkZXI6MTk2NjU1NDMy”,
“partner_order_id”: “3874457288899”,
“order_number”: “BJ47779”,

Tomas. This is an ongoing problem for us. Can we please get someone to respond.

Hi @bbarrett !
My apologies for the delayed response. Would you happen to have the request-id for that Query that is returning the inconsistency?
Thanks in advance!
Tom

Tomas - I don’t think you need to run a query to answer the questions. Just use the Shiphero UI and look at the order I referenced.

“id”: “T3JkZXI6MTk2NjU1NDMy”,
“partner_order_id”: “3874457288899”,
“order_number”: “BJ47779”,

  1. In your UI, why does the return header on the order show a label_cost of 13.55 and then the return details screen shows 0 for Return Shipping Cost?
  2. In the API, where do we get the “Return Shipping Cost” shown in the Return Details UI? Should this be the same as the “label_cost” shown on the return header?

Hi bbarrett,
I believe what your referring to is the actual label cost ( in the header ) and the space for calculating the return costs ( for refunds or credits )that can be adjusted to whatever the policy is for the end customer returning the item. Are you pulling information for a report through the Public API? If so, if you can send the request_id, we can get a better idea of what your pulling and what you need.

And the request-id also gives us an idea of what account is this for :slightly_smiling_face:

Here is a query:

{returns(order_id:“196655432”){complexity data(first:10){pageInfo{hasNextPage endCursor} edges{node{id legacy_id label_cost order{order_number rma_labels{id cost tracking_number legacy_id updated_at}} reason status reason created_at exchanges{exchange_items{id sku quantity}} line_items{ id return_id type reason quantity line_item{sku price promotion_discount quantity} condition}}}}}}

You should get “13.55” as the “label_cost”. Then look at this Return in your app.shiphero.com UI.

My main concern is that I see this value (13.55) in the Return header in the ShipHero UI (which is consistent with the API ). BUT, in the return details (app.shiphero.com/dashboard/returns/details/…) the 13.55 is not included. Instead I see “0” on the “Return Shipping Cost” row.

Should this be the “label_cost” value 13.55? If not how in the API can I see that the 13.55 label_cost was not included in the subtotal? Or, overridden to 0? Is there some other property or object in the API that has the actual “Return Shipping Cost” seen in the UI?

When the person calculating the refund completes it, it will show in the ui what the Return Shipping Cost row was updated from and to.

You didnt answer my questions. This is what I need you to answer:

In reference to this return:
{returns(order_id:“196655432”){complexity data(first:10){pageInfo{hasNextPage endCursor} edges{node{id legacy_id label_cost order{order_number rma_labels{id cost tracking_number legacy_id updated_at}} reason status reason created_at exchanges{exchange_items{id sku quantity}} line_items{ id return_id type reason quantity line_item{sku price promotion_discount quantity} condition}}}}}}

Should this be the “label_cost” value 13.55? If not how in the API can I see that the 13.55 label_cost was not included in the subtotal? Or, overridden to 0? Is there some other property or object in the API that has the actual “Return Shipping Cost” seen in the UI?

Ill just cut to the chase… How do I get the “Return Shipping Cost” from the API?

Considering this row, " Return Shipping Cost" in the UI, it is a calculated field for the Shopify refund and would not be available through the API

That’s unfortunate. Hopefully you will consider adding it in the future. As it stands we have no reliable way of getting the actual shipping cost for a return from the API. This directly impacts our ability to keep data accurately in synch with other business partners.