query

deliveryPromise

Get delivery promises for both global and store levels based on a specific locality type.
Arguments
pageNo
Int
The page number to navigate through the given set of results.
pageSize
Int
The number of items to retrieve in each page.
Response
List of delivery promises for each store.
delivery_promise
DeliveryPromiseInfo
Delivery promise information like max and min.
Pagination details for the list of promises, including current page, page size, and total items.
Query
1query deliveryPromise($pageNo: Int, $pageSize: Int) {
2 deliveryPromise(pageNo: $pageNo, pageSize: $pageSize) {
3 items {
4 uid
5 code
6 name
7 }
8 delivery_promise {
9 min
10 max
11 }
12 page {
13 current
14 next_id
15 has_previous
16 has_next
17 item_total
18 type
19 size
20 }
21 }
22}
Try it
Input Variables
1{
2 "pageNo": 42,
3 "pageSize": 42
4}
Response
1{
2 "deliveryPromise": {
3 "items": [
4 {
5 "uid": 42,
6 "code": "code",
7 "name": "A name"
8 }
9 ],
10 "delivery_promise": {
11 "min": "min",
12 "max": "max"
13 },
14 "page": {
15 "current": 42,
16 "next_id": "next_id",
17 "has_previous": true,
18 "has_next": true,
19 "item_total": 42,
20 "type": "type",
21 "size": 42
22 }
23 }
24}