Query
query GetShopAccountById($salesChannelId: String!) {
GetShopAccountById(salesChannelId: $salesChannelId) {
salesChannelId
name
url
isActive
isLocked
companyId
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"GetShopAccountById": {
"salesChannelId": "string",
"name": "string",
"url": "string",
"isActive": true,
"isLocked": true,
"companyId": "id"
}
}
}Queries
GetShopAccountById
Delivers the base data of a single JTL-Wawi-managed online shop by its sales channel id. Returns the same shape as “GET /v2/sales-channels/shop/accounts” or “QueryShopAccounts”, scoped to one shop.
QUERY
GetShopAccountById(salesChannelId: String!): ShopAccount!Arguments
salesChannelId
String!
required
Returns
salesChannelId
String!
Sales channel id of this shop. Opaque, tenant-local composite identifier (not a UUID); use this value to address the shop in follow-up calls.
name
String
Name of the shop.
url
String
URL of the shop.
isActive
Boolean!
Shop is active.
isLocked
Boolean!
Shop is locked.
companyId
ID
ID of the company the shop belongs to.
rootCategoryId
ID
ID of the shop's root category.
orderAsOffer
Boolean!
Orders imported from this shop are created as offers rather than as sales orders.
useShopOrderNumber
Boolean!
The shop's own order number is used instead of a JTL-Wawi-generated one.
Query
query GetShopAccountById($salesChannelId: String!) {
GetShopAccountById(salesChannelId: $salesChannelId) {
salesChannelId
name
url
isActive
isLocked
companyId
}
}Variables
{
"salesChannelId": "string"
}Response
{
"data": {
"GetShopAccountById": {
"salesChannelId": "string",
"name": "string",
"url": "string",
"isActive": true,
"isLocked": true,
"companyId": "id"
}
}
}Was this page helpful?