Focusing on managing products, variants, and collections through the API.
Hello Everyone, good day. I am developing a shopify app that creates product upon installation. The challenge I am encountering right now is how to make the product have a fixed dollar price across countries. I hope anyone can help me. Thanks in advance!
I am using GraphQL to create a product and update its variant. I used the following:
The productVarientUpdate accepts an input with type ProductVariantInput which only accepts price that uses local currency.
Sample Input:
{
"input":{
"id": "gid://shopify/ProductVariant/$ID",
"price": "0.50",
"inventoryItem": {
"cost": 0.0,
"requiresShipping": false,
"tracked": false
},
"inventoryPolicy": "CONTINUE"
}
}