Update Shop
Query
mutation UpdateShop($shopId: ID!, $input: ShopInput!) {
tenant {
updateShop(shopId: $shopId, input: $input) {
id
name
tagline
description
vanityName
websiteUrl
logoUrl
coverUrl
user {
id
username
}
}
}
}
Variables
{
"shopId": 1,
"input": {
"name": "Cyberware shop",
"tagline": "Premier shop for Netrunners",
"description": "Get your latest cyberwares from our awesome store",
"vanityName": "cyberwareshop",
"websiteUrl": "https://warpgate.tech"
}
}
Response
{
"data": {
"tenant": {
"updateShop": {
"coverUrl": null,
"description": "Get your latest cyberwares from our awesome store",
"id": "1",
"logoUrl": null,
"name": "Cyberware shop",
"tagline": "Premier shop for Netrunners",
"user": null,
"vanityName": "cyberwareshop",
"websiteUrl": "https://warpgate.tech"
}
}
}
}
Last updated
Was this helpful?