Send currency in "Create Product Mutation"

Is it not possible to send the Currency while Creating a product using API.

(My case: I have my products while have currencies INR and they are being converted to $ after product create mutation).

Thanks in advance :slight_smile:

Hi @khungersumit!
Are you using the value_currency field on the warehouse_products connection?
Something like this:

mutation {
    data: {
      name: "Test Currency"
      sku: "testSKUCurrency"
      price: "23.00"
      warehouse_products: {
        warehouse_id: "V2FyZWhvdXNlOjEzMTc0"
        on_hand: 0
        custom: false
        value_currency: "USD"
  ) {

Thanks in advance!

Hi @tomasw

I Can see that currency which I sent in product mutation request in value_currency field, but with product Price it is shwoing $ always.

Oh I see, then you might be referring to the setting of the account, at

Screen Shot 2020-09-24 at 09.40.18

That is set to be in USD, that is why it is displaying that way in the UI.
Let me know if by changing that setting it still won’t show with the desired currency.

Thanks again!

Thanks, @tomasw for helping.

1 Like