query

store

Get details about a store based on its location Id.
Arguments
locationId
Int!
Required
Unique identifier for store.
Response
custom_json
JSON
Custom JSON data related to the store.
The address details of the store.
Information about the company that owns the store.
contact_numbers
[StorePhoneNumber]
Contact details for the store.
A list of departments within the store.
The manager's email address for the store.
name
String
The name of the store.
store_code
String
A unique code or identifier for the store, often used for internal reference.
Represents the opening and closing times for a store on a specific weekday.
uid
Int
Unique identifier for the store.
Query
1query store($locationId: Int!) {
2 store(locationId: $locationId) {
3 custom_json
4 address {
5 address1
6 address2
7 city
8 country
9 landmark
10 latitude
11 longitude
12 pincode
13 state
14 }
15 company {
16 business_type
17 company_type
18 name
19 uid
20 }
21 contact_numbers {
22 country_code
23 number
24 }
25 departments {
26 uid
27 logo
28 priority_order
29 name
30 slug
31 }
32 manager {
33 email
34 name
35 }
36 name
37 store_code
38 timing {
39 open
40 weekday
41 }
42 uid
43 }
44}
Try it
Input Variables
1{
2 "locationId": 42
3}
Response
1{
2 "store": {
3 "custom_json": {},
4 "address": {
5 "address1": "address1",
6 "address2": "address2",
7 "city": "Montreal",
8 "country": "Canada",
9 "landmark": "landmark",
10 "latitude": 30.7,
11 "longitude": 30.7,
12 "pincode": 42,
13 "state": "Quebec"
14 },
15 "company": {
16 "business_type": "business_type",
17 "company_type": "company_type",
18 "name": "A name",
19 "uid": 42
20 },
21 "contact_numbers": [
22 {
23 "country_code": 42,
24 "number": "number"
25 }
26 ],
27 "departments": [
28 {
29 "uid": 42,
30 "logo": {},
31 "priority_order": 42,
32 "name": "A name",
33 "slug": "slug"
34 }
35 ],
36 "manager": {
37 "email": "[email protected]",
38 "name": "A name"
39 },
40 "name": "A name",
41 "store_code": "store_code",
42 "timing": [
43 {
44 "open": true,
45 "weekday": "weekday"
46 }
47 ],
48 "uid": 42
49 }
50}