# Update "value\_currency" in update product mutation

**URL:** <https://community.shiphero.com/t/update-value-currency-in-update-product-mutation/860>\
**Category:** GraphQL API\
**Created:** [October 1, 2020, 12:02pm UTC](https://community.shiphero.com/t/update-value-currency-in-update-product-mutation/860 "2020-10-01T12:02:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![khungersumit](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/khungersumit/32/215_2.png) [@khungersumit](https://community.shiphero.com/u/khungersumit)\
**Post date:** [October 1, 2020, 12:02pm UTC](https://community.shiphero.com/t/update-value-currency-in-update-product-mutation/860/1 "2020-10-01T12:02:38Z")

</div>

Hi

Can’t we update “ **value\_currency** ” field while updating the product (update product mutation).

I checked we can set this field while **creating** product but couldn’t find any field to set the currency while updating the product.

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [October 1, 2020, 1:03pm UTC](https://community.shiphero.com/t/update-value-currency-in-update-product-mutation/860/2 "2020-10-01T13:03:31Z")

</div>

Hi @khungersumit!  
You can find that field on the warehouse\_product\_update mutation, something like this:

```
mutation {
  warehouse_product_update(
    data: {
      sku: "1122334455"
      warehouse_id: "V2FyZWhvdXNlOjExNzkw"
      value_currency: "USD"
    }
  ) {
    request_id
    complexity
  }
} 

```

This is because it is warehouse specific, so it needs to be changed at a warehouse level and not a product level.  
Let me know if this doesn’t help.  
Thanks!  
Tom

---

<div class="post-metadata">

**Author:** ![khungersumit](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/khungersumit/32/215_2.png) [@khungersumit](https://community.shiphero.com/u/khungersumit)\
**Post date:** [October 1, 2020, 2:38pm UTC](https://community.shiphero.com/t/update-value-currency-in-update-product-mutation/860/3 "2020-10-01T14:38:59Z")

</div>

Hi @tomasw  
It seems like not working here

I tried to update the value\_currency as you suggested but neither the currency updated nor I got any response, That’s strange  
Can you please check it 🙂

 ![image](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/1X/1da7a9f55d2aea9d1268dac96589ece71cfb949b.png)

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [October 1, 2020, 4:28pm UTC](https://community.shiphero.com/t/update-value-currency-in-update-product-mutation/860/4 "2020-10-01T16:28:05Z")

</div>

Hi @khungersumit!  
That might be because your account is a 3PL account. You might need to add the `customer_account_id`  
that you can get if from this query:

```
query {
  account {
    request_id
    complexity
    data {
      id
      customers {
        edges {
          node {
            id
            legacy_id
          }
        }
      }
    }
  }
} 

```

And then send it on the body as:

```
mutation {
  warehouse_product_update(
    data: {
      customer_account_id:"V2FyZWhvdXNlOjExNes2"
      sku: "1122334455"
      warehouse_id: "V2FyZWhvdXNlOjExNzkw"
      value_currency: "USD"
    }
  ) {
    request_id
    complexity
  }
} 

```

Let me know if this doesn’t help.  
Thanks again!  
Tom
