Shops are useful if you're building a storefront for an e-commerce applications. It can be associated to the system-level (standalone e-commerce store) or to a user (e-commerce marketplace).
You specify a shop's vanityName which you can use as part of a storefront URL.
Create a shop on the system level
Query
mutation CreateShop($input: ShopInput!) {
tenant {
createShop(input: $input) {
id
name
tagline
description
vanityName
websiteUrl
logoUrl
coverUrl
user {
id
username
}
}
}
}
Variables
{
"input": {
"name": "Cyberware shop",
"tagline": "Premier shop for Netrunners",
"description": "Get your latest cyberwares from our awesome store",
"vanityName": "cyberwareshop",
"websiteUrl": "https://warpgate.tech"
}
}