Product Query customs_value issue

I can’t seem to get the correct value for customs_value returned by the product query. It always returns “0.0000”.

Here is the query I issue:
query {
product(sku: “P0003”) {
complexity
request_id
data {
barcode
tariff_code
customs_value
customs_description
dimensions {
height
width
length
weight
}
warehouse_products {
legacy_id
warehouse_id
on_hand
price
inventory_bin
}
}
}
}

And here is the response:
{
“data”: {
“product”: {
“complexity”: 1,
“request_id”: “5e1265e32dd47d3208114361”,
“data”: {
“barcode”: “270595057”,
“tariff_code”: “TariffCode3”,
"customs_value": “0.0000”,
“customs_description”: “Customs Desc test”,
“dimensions”: {
“height”: “3.00 inch”,
“width”: “3.00 inch”,
“length”: “3.00 inch”,
“weight”: null
},
“warehouse_products”: [
{
“legacy_id”: 300191376,
“warehouse_id”: “V2FyZWhvdXNlOjExMzQ0”,
“on_hand”: 13,
“price”: “3.0000”,
“inventory_bin”: “A-1”
}
]
}
}
}
}

Can someone tell me what I’m doing wrong please?

Hi @albrana
Nothing looks wrong there!, I already submitted a request to Engineering to have a look at it.
I will let you know as soon as I get an update on that.
Thanks for catching that,
Tom

Has the engineering team made any progress with this issue?

Hi @albrana
I apologize for the delay in my response
Unfortunately, I do not have an ETA on this fix, but I’ll see if I’ll ask the engineering team and will let you know.
I appreciate your patience.
Thanks!,
Tom

I need some help here please. This is not a complex issue to understand. This is a very basic product query that is returning the wrong results for customs_value. Can you fix this problem or tell me what I’m doing wrong please?

Hi @albrana
I apologize for the delay on this. An engineer is currently taking a look at this issue, you are not doing anything wrong as far as I can tell, the query is not returning comstoms_value as expected right now.
I’ll let you know as soon as I have an update on this.
Thanks again!
Tom

Hi @albrana !
This should be fixed by now. customs_value is under warehouse_products instead of product.
For example:

query {
  product(sku: "P0003") {
    complexity
    request_id
    data {
      barcode
      tariff_code
      customs_description
      dimensions {
        height
        width
        length
        weight
      }
      warehouse_products {
        legacy_id
        warehouse_id
        on_hand
        customs_value
        price
      }
    }
  }
} 

This should show you the product from all the warehouses and their respective customs_value.
Please let me know if there’s anything else I can assist you with.
I appreciate your patience on this.
Thanks!
Tom

Thanks Tom. That works.

1 Like