2021-02-04 15:17:21 +00:00
|
|
|
query getStores{
|
|
|
|
stores{
|
|
|
|
id,
|
|
|
|
name
|
|
|
|
}
|
2021-02-04 16:48:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
query getStore($storeId: String!){
|
|
|
|
store (id:$storeId){
|
|
|
|
id,
|
|
|
|
name,
|
|
|
|
city,
|
|
|
|
number,
|
|
|
|
postalCode,
|
|
|
|
street,
|
|
|
|
products {id,description,name,price}
|
|
|
|
}
|
2021-02-04 15:17:21 +00:00
|
|
|
}
|