mutation UpdatePrice($priceId: ID!, $input: PriceInput!) {
tenant {
updatePrice(priceId: $priceId, input: $input) {
id
amount
currency
}
}
}
{
"priceId": 1,
"input": {
"amount": 1500,
"currency": "USD"
}
}
{
"data": {
"tenant": {
"updatePrice": {
"amount": "1500",
"currency": "USD",
"id": "1"
}
}
}
}