Create a delivery schedule for supplier product categories
POST/api/v1/suppliers/:id/delivery_schedules
Create a delivery schedule for supplier product categories
Request
Path Parameters
- application/vnd.api+json
 
Body
required
data
object
Possible values: [delivery_schedules]
attributes
object
An array including order lead time and deadline for this product category on this weekday. The format is: [lead-time-in-days, deadline-in-minutes-since-midnight], eg.: [2, 660] means the lead time is 2 days and the deadline is 11:00
An array including order lead time and deadline for this product category on this weekday. The format is: [lead-time-in-days, deadline-in-minutes-since-midnight], eg.: [2, 660] means the lead time is 2 days and the deadline is 11:00
An array including order lead time and deadline for this product category on this weekday. The format is: [lead-time-in-days, deadline-in-minutes-since-midnight], eg.: [2, 660] means the lead time is 2 days and the deadline is 11:00
An array including order lead time and deadline for this product category on this weekday. The format is: [lead-time-in-days, deadline-in-minutes-since-midnight], eg.: [2, 660] means the lead time is 2 days and the deadline is 11:00
An array including order lead time and deadline for this product category on this weekday. The format is: [lead-time-in-days, deadline-in-minutes-since-midnight], eg.: [2, 660] means the lead time is 2 days and the deadline is 11:00
An array including order lead time and deadline for this product category on this weekday. The format is: [lead-time-in-days, deadline-in-minutes-since-midnight], eg.: [2, 660] means the lead time is 2 days and the deadline is 11:00
An array including order lead time and deadline for this product category on this weekday. The format is: [lead-time-in-days, deadline-in-minutes-since-midnight], eg.: [2, 660] means the lead time is 2 days and the deadline is 11:00
Complete list of IDs of categories linked to this schedule
Responses
- 201
 
Create a delivery schedule for supplier product categories
- application/vnd.api+json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
data
object
required
attributes
object
{
  "data": {
    "id": "string",
    "type": "string",
    "attributes": {
      "monday": [
        "string"
      ],
      "tuesday": [
        "string"
      ],
      "wednesday": [
        "string"
      ],
      "thursday": [
        "string"
      ],
      "friday": [
        "string"
      ],
      "saturday": [
        "string"
      ],
      "sunday": [
        "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"
    }
  }
}