List delivery schedules for this supplier's product categories
GET/api/v1/suppliers/:id/delivery_schedules
List delivery schedules for this supplier's product categories
Request
Path Parameters
id stringrequired
Query Parameters
page int32
Default value: 1
Page offset to fetch.
per_page int32
Default value: 10
Number of results to return per page.
Responses
- 200
Index delivery schedules
- application/vnd.api+json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
data
object[]
required
id string
type string
attributes
object
monday integer[]
tuesday integer[]
wednesday integer[]
thursday integer[]
friday integer[]
saturday integer[]
sunday integer[]
supplier-id string
supplier-product-categories string[]
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"monday": [
0
],
"tuesday": [
0
],
"wednesday": [
0
],
"thursday": [
0
],
"friday": [
0
],
"saturday": [
0
],
"sunday": [
0
],
"supplier-id": "string",
"supplier-product-categories": [
"string"
]
}
}
]
}
{
"data": [
{
"id": "4e60f22f-0c77-4d2c-9885-0293d739d9bf",
"type": "delivery-schedules",
"attributes": {
"monday": [
2,
660
],
"tuesday": [
1,
660
],
"wednesday": [
2,
900
],
"thursday": [],
"friday": [],
"saturday": [],
"sunday": [],
"supplier-product-categories": [
"ebf6adc0-a6b9-407d-b982-14fcc9827e25",
"8456dd78-0bc5-479d-8f1a-df155b8e2839"
],
"supplier-id": "9b985d9a-cd5c-4c1a-813d-ed6f188adec5"
}
}
],
"meta": {
"total-count": 4,
"total-pages": 1
}
}
Loading...