getScheduledOrder

get

/ccagent/v1/scheduledOrders/{id}

Get Scheduled Order. Loads a scheduled order details from the repository. Maps all required fields for scheduled order details. Optionally takes X-CCOrganization header which is a JSON field with organization ID as value.

Request

Supported Media Types
Path Parameters
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getScheduledOrder_response
Type: object
Show Source
Nested Schema : schedule
Type: object
The schedule of the Scheduled order.
Show Source
Nested Schema : templateOrder
Type: object
The Order 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
Nested Schema : billingAddress
Type: object
The billing address details.
Show Source
Nested Schema : discountInfo
Type: object
The discount information.
Show Source
Nested Schema : dynamicProperties
Type: array
Read-only list of dynamic properties for the order along with meta-data.
Show Source
Nested Schema : giftWithPurchaseInfo
Type: array
The gift information.
Show Source
Nested Schema : giftWithPurchaseOrderMarkers
Type: array
gift with purchase order marker information
Show Source
Nested Schema : payments
Type: array
Payment details for the order, including additional properties specific to the payment type.
Show Source
Nested Schema : priceInfo
Type: object
The price information.
Show Source
Nested Schema : priceListGroup
Type: object
The price list group object.
Show Source
Nested Schema : quoteInfo
Type: object
the quote information of the order
Show Source
Nested Schema : shippingAddress
Type: object
The shipping address details.
Show Source
Nested Schema : shippingGroups
Type: array
The shipping groups for the order.
Show Source
Nested Schema : shippingMethod
Type: object
The shipping method details for the order.
Show Source
Nested Schema : shoppingCart/order
Type: object
The shopping-cart or order contents of the current order.
Show Source
Nested Schema : trackingInfo
Type: array
Tracking Information for the Order.
Show Source
Nested Schema : claimedCouponMultiPromotions
Type: object
The coupons that were claimed
Show Source
Nested Schema : orderCouponsMap
Type: array
The list of all the coupons with the order.
Show Source
Nested Schema : orderImplicitDiscountList
Type: array
The implicit order discounts with the order.
Show Source
Nested Schema : unclaimedCouponMultiPromotions
Type: object
The coupons that were not claimed
Show Source
Nested Schema : unclaimedCouponsMap
Type: object
The unclaimed coupons with the order.
Show Source
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which promotions were applied
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which some promotions were not applied
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which some promotions were not applied
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : errorInfo
Type: array
the array of errors, if any
Show Source
Nested Schema : notes
Type: array
the notes (history) for the order
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : discountInfo
Type: object
The shipping group price information.
Show Source
Nested Schema : items
Type: array
The array of products in the shipping group.
Show Source
Nested Schema : priceInfo
Type: object
The shipping group price information.
Show Source
Nested Schema : shippingAddress
Type: object
The shipping address details.
Show Source
Nested Schema : shippingMethod
Type: object
The shipping method details.
Show Source
Nested Schema : taxPriceInfo
Type: object
The shipping tax price info details.
Show Source
Nested Schema : discountDescList
Type: array
The list of all the order discounts.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : detailedItemPriceInfo
Type: object
Detailed Item Price Information.
Show Source
Nested Schema : skuProperties
Type: array
Sku properties Information
Show Source
Nested Schema : variant
Type: array
List of variants for the product.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: array
The array of products in the shopping cart.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : discountInfo
Type: array
The discount information.
Show Source
Nested Schema : giftWithPurchaseCommerceItemMarkers
Type: array
The array of giftWithPurchaseCommerceItemMarkers.
Show Source
Nested Schema : skuProperties
Type: array
Sku properties Information
Show Source
Nested Schema : variant
Type: array
List of variants for the product.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : giftWithPurchaseDiscountInfo
Type: array
The gift information.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "lastError":null,
    "endDate":"2016-12-08T00:00:00.000Z",
    "executionStatusList":[
        {
            "errorMessages":[
                "Exception While cloning an order."
            ],
            "scheduledOrderId":"sco1001",
            "orderId":null,
            "repositoryId":"600005",
            "executionDate":"2016-11-23T00:00:00.000Z",
            "currency":"USD",
            "id":"600005",
            "orderSubmitted":false,
            "orderTotal":null
        }
    ],
    "type":"scheduledOrder",
    "version":25,
    "lastScheduledRun":"2016-11-23T00:00:00.000Z",
    "schedule":{
        "daysInMonth":[
        ],
        "weeksInMonth":[
        ],
        "monthsInYear":[
            1,
            3,
            5,
            7,
            9,
            11
        ],
        "daysOfWeek":[
        ],
        "occurrenceInDay":1
    },
    "templateOrderId":"o30414",
    "clonedOrders":[
    ],
    "profileId":"120939",
    "templateOrder":{
        "totalAmountAuthorized":0,
        "creationTime":1.47972689E12,
        "orderComments":[
        ],
        "dynamicProperties":[
        ],
        "stateString":"TEMPLATE",
        "submittedDate":null,
        "paymentGroups":[
            {
                "PONumber":"",
                "paymentGroupId":"pg30412",
                "paymentStateString":"INITIAL",
                "amountAuthorized":0,
                "amount":51.7,
                "totalDue":51.7,
                "billingAddress":{
                    "lastName":"Shankar",
                    "country":"US",
                    "address3":"",
                    "address2":"E",
                    "city":"Tempe",
                    "prefix":"",
                    "address1":"S",
                    "postalCode":"36123",
                    "companyName":"",
                    "jobTitle":"",
                    "county":"",
                    "suffix":"",
                    "firstName":"Shiva",
                    "phoneNumber":"909090090",
                    "stateName":"Alabama",
                    "faxNumber":"",
                    "alias":null,
                    "middleName":"",
                    "state":"AL",
                    "countryName":"United States",
                    "email":"s@example.com"
                },
                "paymentState":0,
                "type":"invoice",
                "paidAmount":0,
                "refundAmount":0
            }
        ],
        "priceInfo":{
            "amount":21.99,
            "total":51.7,
            "shipping":25,
            "shippingSurchargeValue":0,
            "tax":4.71,
            "subTotal":21.99,
            "currencyCode":"USD",
            "totalWithoutTax":46.99
        },
        "pricingMessages":{
        },
        "paymentGroup":{
            "PONumber":"",
            "paymentGroupId":"pg30412",
            "paymentStateString":"INITIAL",
            "amountAuthorized":0,
            "amount":51.7,
            "totalDue":51.7,
            "billingAddress":{
                "lastName":"Shankar",
                "country":"US",
                "address3":"",
                "address2":"E",
                "city":"Tempe",
                "prefix":"",
                "address1":"S",
                "postalCode":"36123",
                "companyName":"",
                "jobTitle":"",
                "county":"",
                "suffix":"",
                "firstName":"Shiva",
                "phoneNumber":"909090090",
                "stateName":"Alabama",
                "faxNumber":"",
                "alias":null,
                "middleName":"",
                "state":"AL",
                "countryName":"United States",
                "email":"s@example.com"
            },
            "paymentState":0,
            "type":"invoice",
            "paidAmount":0,
            "refundAmount":0
        },
        "shoppingCart":{
            "items":[
                {
                    "unitPrice":21.99,
                    "quantity":1,
                    "productId":"Product_36Exy",
                    "rawTotalPrice":21.99,
                    "returnedQuantity":0,
                    "salePrice":0,
                    "detailedItemPriceInfo":[
                        {
                            "discounted":false,
                            "amount":21.99,
                            "quantity":1,
                            "tax":2.2,
                            "orderDiscountShare":0,
                            "detailedUnitPrice":21.99,
                            "currencyCode":"USD"
                        }
                    ],
                    "displayName":"The Girl with the Dragon Tattoo",
                    "shippingSurchargeValue":0,
                    "giftWithPurchaseCommerceItemMarkers":[
                    ],
                    "discountAmount":0,
                    "imageInfo":{
                        "primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v3838394227481959246/products/girldragontattoo_LARGE.jpg&height=100&width=100"
                    },
                    "tax":2.2,
                    "catRefId":"Sku_36Fxy",
                    "discountInfo":[
                    ],
                    "price":21.99,
                    "variant":[
                    ],
                    "onSale":false,
                    "stateDescription":"INITIAL",
                    "listPrice":21.99,
                    "stateDetailsAsUser":"Added to order",
                    "status":0
                }
            ]
        },
        "id":"o30414",
        "state":4001,
        "stateDetailsAsUser":"Scheduled order template",
        "taxPriceInfo":{
            "cityTax":1.65,
            "amount":4.71,
            "valueAddedTax":0,
            "countyTax":1.1800000000000002,
            "isTaxIncluded":false,
            "miscTax":0,
            "districtTax":0,
            "stateTax":1.88,
            "countryTax":0
        },
        "shippingGroups":[
            {
                "taxPriceInfo":{
                    "cityTax":1.65,
                    "amount":4.71,
                    "valueAddedTax":0,
                    "countyTax":1.1800000000000002,
                    "isTaxIncluded":false,
                    "miscTax":0,
                    "districtTax":0,
                    "stateTax":1.88,
                    "countryTax":0
                },
                "shippingMethod":{
                    "shippingTax":2.51,
                    "cost":25,
                    "displayName":"Standard",
                    "value":"standardShippingMethod",
                    "shippingMethodDescription":"Standard"
                },
                "shippingGroupId":"sg40414",
                "submittedDate":null,
                "priceInfo":{
                    "amount":21.99,
                    "total":51.7,
                    "shipping":25,
                    "shippingSurchargeValue":0,
                    "tax":4.71,
                    "subTotal":21.99,
                    "currencyCode":"USD",
                    "totalWithoutTax":46.99
                },
                "discountInfo":{
                    "orderDiscount":0,
                    "shippingDiscount":0,
                    "discountDescList":[
                    ]
                },
                "shipOnDate":null,
                "trackingInfo":[
                ],
                "actualShipDate":null,
                "shippingAddress":{
                    "lastName":"Shankar",
                    "country":"US",
                    "address3":"",
                    "address2":"E",
                    "city":"Tempe",
                    "prefix":"",
                    "address1":"S",
                    "postalCode":"36123",
                    "companyName":"",
                    "jobTitle":"",
                    "county":"",
                    "suffix":"",
                    "firstName":"Shiva",
                    "phoneNumber":"909090090",
                    "stateName":"Alabama",
                    "faxNumber":"",
                    "alias":"Address",
                    "middleName":"",
                    "state":"AL",
                    "countryName":"United States",
                    "email":"s@example.com"
                },
                "items":[
                    {
                        "unitPrice":21.99,
                        "primaryImageTitle":"The Girl with the Dragon Tattoo",
                        "primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v3838394227481959246/products/girldragontattoo_LARGE.jpg&height=100&width=100",
                        "quantity":1,
                        "productId":"Product_36Exy",
                        "rawTotalPrice":21.99,
                        "returnedQuantity":0,
                        "salePrice":0,
                        "detailedItemPriceInfo":[
                            {
                                "discounted":false,
                                "amount":21.99,
                                "quantity":1,
                                "tax":2.2,
                                "orderDiscountShare":0,
                                "detailedUnitPrice":21.99,
                                "currencyCode":"USD"
                            }
                        ],
                        "displayName":"The Girl with the Dragon Tattoo",
                        "shippingSurchargeValue":0,
                        "discountAmount":0,
                        "active":true,
                        "catRefId":"Sku_36Fxy",
                        "discountInfo":[
                        ],
                        "route":"/product/Product_36Exy",
                        "price":21.99,
                        "variant":[
                        ],
                        "onSale":false,
                        "primaryImageAltText":"The Girl with the Dragon Tattoo",
                        "stateDetailsAsUser":"The item has been initialized within the shipping group",
                        "listPrice":21.99,
                        "status":"INITIAL"
                    }
                ],
                "trackingNumber":null,
                "status":"INITIAL"
            }
        ],
        "shippingMethod":{
            "shippingTax":2.51,
            "cost":25,
            "displayName":"Standard",
            "value":"standardShippingMethod",
            "shippingMethodDescription":"Standard"
        },
        "profile":{
            "firstName":"Shiv",
            "lastName":"Shankar",
            "middleName":null,
            "email":"s@example.com"
        },
        "priceListGroup":{
            "deleted":false,
            "displayName":"Default Price Group",
            "repositoryId":"defaultPriceGroup",
            "listPriceList":{
                "repositoryId":"listPrices"
            },
            "active":true,
            "salePriceList":{
                "repositoryId":"salePrices"
            },
            "currency":{
                "symbol":"$",
                "displayName":"US Dollar",
                "repositoryId":"en_US",
                "fractionalDigits":2,
                "currencyCode":"USD",
                "numericCode":"840"
            },
            "id":"defaultPriceGroup",
            "locale":"en_US",
            "shippingSurchargePriceList":{
                "repositoryId":"shippingSurchargePrices"
            }
        },
        "returnRequests":[
        ],
        "creationDate":"2016-11-21T11:14:50.000Z",
        "discountInfo":{
            "unclaimedCouponMultiPromotions":{
            },
            "orderCouponsMap":{
            },
            "orderDiscount":0,
            "shippingDiscount":0,
            "orderImplicitDiscountList":[
            ],
            "unclaimedCouponsMap":{
            },
            "claimedCouponMultiPromotions":{
            }
        },
        "orderCancelReason":null,
        "profileId":"120939",
        "exchangeRequests":[
        ],
        "giftWithPurchaseInfo":[
        ],
        "shippingAddress":{
            "lastName":"Shankar",
            "country":"US",
            "address3":"",
            "address2":"E",
            "city":"Tempe",
            "prefix":"",
            "address1":"S",
            "postalCode":"36123",
            "companyName":"",
            "jobTitle":"",
            "county":"",
            "suffix":"",
            "firstName":"Shiva",
            "phoneNumber":"909090090",
            "stateName":"Alabama",
            "faxNumber":"",
            "alias":"Address",
            "middleName":"",
            "state":"AL",
            "countryName":"United States",
            "email":"s@example.com"
        },
        "giftWithPurchaseOrderMarkers":[
        ]
    },
    "repositoryId":"sco10002",
    "name":"Monthly Order",
    "siteId":"siteUS",
    "nextScheduledRun":"1969-12-31T23:59:59.999Z",
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccagentui/v1/scheduledOrders/sco10002"
        }
    ],
    "state":"active",
    "id":"sco10002",
    "startDate":"2016-12-01T00:00:00.000Z",
    "createDate":"2016-11-21T11:15:15.000Z"
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |100094|Organization passed in the header is currently inactive| |100095|The order or return request does not belong to the current organization of the shopper profile| |100096|The organization associated to the order or return request was deleted / does not exist| |100097|The organization associated to the order or return request is currently inactive| |100098|Current operation is being performed in an organization context and the shopper profile is not associated to any organization| |100099|Current operation is being performed in an organization context and the order or return request does not belong to any organization| |100101|The shopper profile does not belong to organization passed in the header| |100102|Organization passed in the header is invalid or does not exist|
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