createScheduledOrder

post

/ccstore/v1/scheduledOrders

Create Scheduled Order. Create the scheduledOrder based on existing order. Optionally takes the X-CCOrganization header to specify current Organization context of logged in user.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : createScheduledOrder_request
Type: object
Show Source
Example:
{
    "schedule":{
        "selectedDates":[
        ],
        "weeksInMonth":[
            1,
            2,
            3
        ],
        "monthsInYear":[
            1,
            2
        ],
        "daysOfWeek":[
            1,
            2,
            3
        ]
    },
    "templateOrderId":"o0001",
    "scheduleType":"calendar",
    "endDate":"2017-10-01T00:00:00.000Z",
    "name":"testScheduleOrder",
    "startDate":"2015-10-01T00:00:00.000Z"
}
Nested Schema : schedule
Type: object
The schedule of the Scheduled order.
Show Source
Nested Schema : daysOfWeek
Type: array
The days of week of the Scheduled order.
Show Source
Nested Schema : monthsInYear
Type: array
The months in year of the Scheduled order.
Show Source
Nested Schema : selectedDates
Type: array
The selected dates in a month in year for the Scheduled order.
Show Source
Nested Schema : weeksInMonth
Type: array
The weeks in month of the Scheduled order.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createScheduledOrder_response
Type: object
Show Source
Nested Schema : schedule
Type: object
The schedule of the Scheduled order.
Show Source
Nested Schema : daysOfWeek
Type: array
The days of week of the Scheduled order.
Show Source
Nested Schema : monthsInYear
Type: array
The months in year of the Scheduled order.
Show Source
Nested Schema : selectedDates
Type: array
The selected dates in a month in year for the Scheduled order.
Show Source
Nested Schema : weeksInMonth
Type: array
The weeks in month of the Scheduled order.
Show Source

Default Response

The error response. In case of any failure in external tax or external shipping webhooks, the errors returned in the webhook response payload get added to the errors property in this endpoint???s error response.
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top