getOrder

get

/ccagent/v1/orders/{id}

Get Order. Loads an order details from the repository. Maps all required fields for order details. Optionally takes X-CCOrganization header which is a JSON field with organization ID as value. If this header is not provided, then the endPoint will consider first active organization as the current organization for a B2B user.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
Commerce id of order.
Query Parameters
includeResult
Type: string
It is "full" if full result is to be included.
Header Parameters
X-CCOrganization
Type: string
the organization Id in which order should be created

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getOrder_response
Nested Schema : approvalSystemMessages
Type: array
An array of approval messages when order going in pending approval state
Nested Schema : approverMessages
Type: array
An array of approval messages when approver approving order
Nested Schema : approvers
Type: array
List of approvers of the organization.
Nested Schema : billingAddress
Type: object
The billing address details.
Nested Schema : discountInfo
Type: object
The discount information.
Nested Schema : dynamicProperties
Type: array
Read-only list of dynamic properties for the order along with meta-data.
Nested Schema : giftWithPurchaseInfo
Type: array
The gift information.
Nested Schema : giftWithPurchaseOrderMarkers
Type: array
gift with purchase order marker information
Nested Schema : payments
Type: array
Payment details for the order, including additional properties specific to the payment type.
Nested Schema : priceInfo
Type: object
The price information.
Nested Schema : priceListGroup
Type: object
The price list group object.
Nested Schema : quoteInfo
Type: object
the quote information of the order
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Nested Schema : scheduledOrder
Type: array
schedule order information
Nested Schema : shippingAddress
Type: object
The shipping address details.
Nested Schema : shippingGroups
Type: array
The shipping groups for the order.
Nested Schema : shippingMethod
Type: object
The shipping method details for the order.
Nested Schema : shoppingCart/order
Type: object
The shopping-cart or order contents of the current order.
Nested Schema : trackingInfo
Type: array
Tracking Information for the Order.
Nested Schema : items
Type: object
Nested Schema : claimedCouponMultiPromotions
Type: object
The coupons that were claimed
Nested Schema : orderCouponsMap
Type: array
The list of all the coupons with the order.
Nested Schema : orderImplicitDiscountList
Type: array
The implicit order discounts with the order.
Nested Schema : unclaimedCouponMultiPromotions
Type: object
The coupons that were not claimed
Nested Schema : unclaimedCouponsMap
Type: object
The unclaimed coupons with the order.
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which promotions were applied
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which some promotions were not applied
Nested Schema : items
Type: object
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which some promotions were not applied
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : errorInfo
Type: array
the array of errors, if any
Nested Schema : notes
Type: array
the notes (history) for the order
Nested Schema : items
Type: object
Nested Schema : frequencyAmountTotals
Type: array
The total for each recurring charge frequency
Nested Schema : frequencyTaxTotals
Type: array
The tax for each recurring charge frequency
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : clonedOrders
Type: array
list of orders that is created using this as template.
Nested Schema : executionStatusList
Type: array
list of orders with status that are placed with this schedule.
Nested Schema : lastError
Type: object
last error of this scheduled order.
Nested Schema : schedule
Type: object
schedule details for the schedule.
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : errorMessages
Type: array
The error messages list.
Nested Schema : errorMessages
Type: array
An array of error messages
Nested Schema : daysInMonth
Type: array
mention which days of Month schedule should run. values can be 1 to 31.
Nested Schema : daysOfWeek
Type: array
mention which days of week schedule should run. values can be 1 to 7.
Nested Schema : monthsInYear
Type: array
The months in year of the Scheduled order. Values can be 0 to 11.
Nested Schema : weeksInMonth
Type: array
The weeks in month of the Scheduled order.Values can be 1 to 5
Nested Schema : items
Type: object
Nested Schema : discountInfo
Type: object
The shipping group price information.
Nested Schema : items
Type: array
The array of products in the shipping group.
Nested Schema : priceInfo
Type: object
The shipping group price information.
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Nested Schema : shippingAddress
Type: object
The shipping address details.
Nested Schema : shippingMethod
Type: object
The shipping method details.
Nested Schema : taxPriceInfo
Type: object
The shipping tax price info details.
Nested Schema : trackingInfo
Type: array
Tracking Information for the Order.
Nested Schema : discountDescList
Type: array
The list of all the order discounts.
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : detailedItemPriceInfo
Type: object
Detailed Item Price Information.
Nested Schema : detailedRecurringChargeInfo
Type: object
Detailed Item Price Information.
Nested Schema : dynamicProperties
Type: array
Array of custom properties at order line item level.
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Nested Schema : skuProperties
Type: array
Sku properties Information
Nested Schema : variant
Type: array
List of variants for the product.
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : frequencyAmountTotals
Type: array
The total for each recurring charge frequency
Nested Schema : frequencyTaxTotals
Type: array
The tax for each recurring charge frequency
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: array
The array of products in the shopping cart.
Nested Schema : items
Type: object
Nested Schema : childItems
Type: array
The array of child items in the item, if the item is a configurable item. A child item can itself contain child item array if it is a configurable product in itself.
Nested Schema : detailedRecurringChargeInfo
Type: object
Detailed Item Price Information.
Nested Schema : discountInfo
Type: array
The discount information.
Nested Schema : dynamicProperties
Type: array
Array of custom properties at order line item level.
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Nested Schema : giftWithPurchaseCommerceItemMarkers
Type: array
The array of giftWithPurchaseCommerceItemMarkers.
Nested Schema : skuProperties
Type: array
Sku properties Information
Nested Schema : variant
Type: array
List of variants for the product.
Nested Schema : items
Type: object
Nested Schema : detailedRecurringChargeInfo
Type: object
Detailed Item Price Information.
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Nested Schema : items
Type: object
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Nested Schema : items
Type: object
Nested Schema : giftWithPurchaseDiscountInfo
Type: array
The gift information.
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Example application/json

{
    "totalAmountAuthorized":124.18,
    "orderComments":[
    ],
    "creationTime":1.436906449E12,
    "sourceSystem":"Cloud Commerce",
    "dynamicProperties":[
        {
            "id":"dynamicPropertyShippingInstructions",
            "value":"Test Instructions"
        }
    ],
    "submittedDate":"2015-07-14T20:41:49.000Z",
    "paymentGroups":[
        {
            "lastName":"Anderson",
            "amountAuthorized":124.18,
            "amount":88.55,
            "totalDue":88.55,
            "cardType":null,
            "zero_value_auto_authorized":"true",
            "IIN":"424242",
            "token":"9997000108950573",
            "paymentGroupId":"pg10411",
            "firstName":"Kim",
            "paymentStateDetailsAsUser":"The authorization succeeded",
            "uiIntervention":"sop",
            "billingAddress":{
                "lastName":"Anderson",
                "country":"US",
                "address3":null,
                "address2":null,
                "city":"Syracuse",
                "address1":"21 Cedar Ave",
                "prefix":null,
                "companyName":null,
                "postalCode":"13202",
                "jobTitle":null,
                "county":null,
                "suffix":null,
                "selectedCountry":"US",
                "firstName":"Kim",
                "phoneNumber":"212-555-1977",
                "stateName":"New York",
                "faxNumber":null,
                "middleName":null,
                "countryName":"United States",
                "state":"NY",
                "email":"kim@example.com",
                "selectedState":"NY",
                "state_ISOCode":"US-NY"
            },
            "paymentState":1,
            "paidAmount":0,
            "cardNumber":"xxxxxxxxxxxx1111",
            "refundAmount":0
        }
    ],
    "priceInfo":{
        "amount":56.99,
        "total":88.55,
        "shipping":25,
        "shippingSurchargeValue":0,
        "tax":6.56,
        "subTotal":56.99,
        "currencyCode":"USD"
    },
    "paymentGroup":{
        "lastName":"Anderson",
        "amountAuthorized":124.18,
        "amount":88.55,
        "totalDue":88.55,
        "cardType":null,
        "zero_value_auto_authorized":"true",
        "token":"9997000108950573",
        "paymentGroupId":"pg10411",
        "firstName":"Kim",
        "paymentStateDetailsAsUser":"The authorization succeeded",
        "uiIntervention":"sop",
        "billingAddress":{
            "lastName":"Anderson",
            "country":"US",
            "address3":null,
            "address2":null,
            "city":"Syracuse",
            "address1":"21 Cedar Ave",
            "prefix":null,
            "companyName":null,
            "postalCode":"13202",
            "jobTitle":null,
            "county":null,
            "suffix":null,
            "selectedCountry":"US",
            "firstName":"Kim",
            "phoneNumber":"212-555-1977",
            "stateName":"New York",
            "faxNumber":null,
            "middleName":null,
            "countryName":"United States",
            "state":"NY",
            "email":"kim@example.com",
            "selectedState":"NY",
            "state_ISOCode":"US-NY"
        },
        "paymentState":1,
        "paidAmount":0,
        "cardNumber":"xxxxxxxxxxxx1111",
        "refundAmount":0
    },
    "shoppingCart":{
        "items":[
            {
                "deactivationDate":"2018-06-27T12:59:59Z",
                "rawTotalPrice":39.99,
                "returnedQuantity":0,
                "priceOverridenBy":"Damon Weber",
                "displayName":"Fable II",
                "shippingSurchargeValue":0,
                "discountAmount":0,
                "externalData":[
                ],
                "billingAccountId":"billingAcc-123",
                "imageInfo":{
                    "primaryThumbImageURL":"/ccstore/v1/images/?source=http://localhost:9080/file/products/fableIIxbox_LARGE.jpg&height=100&width=100"
                },
                "preOrderQuantity":0,
                "childItems":[
                    {
                        "quantity":1,
                        "route":"/intel-pentium-dual-core/product/prod40001",
                        "productId":"prod40001",
                        "displayName":"Intel Pentium Dual Core",
                        "selectedOptions":[
                        ],
                        "childItems":[
                            {
                                "quantity":1,
                                "route":"/intel-pentium-dual-core/product/prod40001",
                                "productId":"prod40001",
                                "displayName":"Intel Pentium Dual Core",
                                "selectedOptions":[
                                ],
                                "catRefId":"sku40009"
                            }
                        ],
                        "catRefId":"sku40001"
                    },
                    {
                        "quantity":1,
                        "route":"/8-gb-kingston-sodimm-ddr3-1600mhz/product/prod40007",
                        "productId":"prod40007",
                        "displayName":"8 GB Kingston Sodimm DDR3 1600MHz",
                        "selectedOptions":[
                        ],
                        "catRefId":"sku40007"
                    }
                ],
                "configuratorId":"36379716",
                "overriddenPrice":3,
                "commerceItemId":"ci1000785",
                "assetId":"asset10001",
                "price":3,
                "isPriceOverridden":true,
                "variant":[
                ],
                "onSale":"true",
                "actionCode":"Add",
                "serviceId":"service-123",
                "stateDetailsAsUser":"The item has been initialized",
                "serviceAccountId":"serviceAcc-123",
                "unitPrice":39.99,
                "quantity":1,
                "productId":"prod10041",
                "tax":0.34,
                "catRefId":"sku10045",
                "skuProperties":[
                    {
                        "propertyType":"sku-base",
                        "name":"Name",
                        "id":"displayName",
                        "value":null
                    },
                    {
                        "propertyType":"sku-base",
                        "name":"Id",
                        "id":"id",
                        "value":"camerasku_1_1"
                    },
                    {
                        "propertyType":"sku-custom",
                        "name":"dynamicskuprop1",
                        "id":"dynamicskuprop1",
                        "value":"dynamicskuprop1"
                    }
                ],
                "customerAccountId":"customerAcc-123",
                "discountInfo":[
                ],
                "activationDate":"2017-06-27T15:30:00Z",
                "backOrderQuantity":0,
                "listPrice":39.99,
                "status":0,
                "priceOverrideReason":{
                    "displayValue":"Agent Price Override",
                    "key":"agentPriceOverride"
                }
            },
            {
                "deactivationDate":"2018-06-27T12:59:59Z",
                "rawTotalPrice":49.99,
                "returnedQuantity":0,
                "priceOverridenBy":"",
                "displayName":"Dora the Explorer - Season 1",
                "shippingSurchargeValue":0,
                "discountAmount":0,
                "externalData":[
                ],
                "billingAccountId":"billingAcc-123",
                "imageInfo":{
                    "primaryThumbImageURL":"/ccstore/v1/images/?source=http://localhost:9080/file/products/doratheexplorer_season1_LARGE.jpg&height=100&width=100"
                },
                "overriddenPrice":"",
                "assetId":"asset10001",
                "price":49.99,
                "isPriceOverridden":false,
                "variant":[
                ],
                "actionCode":"Add",
                "serviceId":"service-123",
                "stateDetailsAsUser":"The item has been initialized",
                "unitPrice":49.99,
                "serviceAccountId":"serviceAcc-123",
                "quantity":1,
                "productId":"Product_21Cxi",
                "tax":5.75,
                "catRefId":"Sku_21Dxy",
                "customerAccountId":"customerAcc-123",
                "discountInfo":[
                ],
                "activationDate":"2017-06-27T15:30:00Z",
                "listPrice":49.99,
                "status":0,
                "priceOverrideReason":{
                }
            },
            {
                "deactivationDate":"2018-06-27T12:59:59Z",
                "rawTotalPrice":49.98,
                "returnedQuantity":0,
                "priceOverridenBy":"Damon Weber",
                "displayName":"Akira",
                "shippingSurchargeValue":0,
                "discountAmount":0,
                "externalData":[
                ],
                "billingAccountId":"billingAcc-123",
                "imageInfo":{
                    "primaryThumbImageURL":"/ccstore/v1/images/?source=http://localhost:9080/file/products/akira_LARGE.jpg&height=100&width=100"
                },
                "overriddenPrice":4,
                "assetId":"asset10001",
                "price":4,
                "isPriceOverridden":true,
                "variant":[
                ],
                "actionCode":"Add",
                "serviceId":"service-123",
                "stateDetailsAsUser":"The item has been initialized",
                "unitPrice":24.99,
                "serviceAccountId":"serviceAcc-123",
                "quantity":2,
                "productId":"Product_27Fxyzi",
                "giftWithPurchaseCommerceItemMarkers":[
                ],
                "tax":0.46,
                "catRefId":"Sku_27Gxyzi",
                "customerAccountId":"customerAcc-123",
                "discountInfo":[
                ],
                "activationDate":"2017-06-27T15:30:00Z",
                "listPrice":24.99,
                "status":0,
                "priceOverrideReason":{
                    "displayValue":"Appeasement",
                    "key":"appeasement"
                }
            }
        ]
    },
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccagentui/v1/orders/o10411?includeResult=full"
        }
    ],
    "state":1,
    "id":"o10411",
    "stateDetailsAsUser":"Submitted to fulfillment",
    "taxPriceInfo":{
        "cityTax":0,
        "amount":4,
        "valueAddedTax":0,
        "countyTax":2,
        "isTaxIncluded":false,
        "miscTax":0,
        "districtTax":0,
        "stateTax":2,
        "countryTax":0
    },
    "shippingGroups":[
        {
            "trackingInfo":[
            ],
            "shippingMethod":{
                "cost":25,
                "displayName":"Standard",
                "value":"standardShippingMethod"
            },
            "shippingAddress":{
                "lastName":"Anderson",
                "country":"US",
                "address3":null,
                "address2":null,
                "city":"Syracuse",
                "address1":"21 Cedar Ave",
                "prefix":null,
                "companyName":null,
                "postalCode":"13202",
                "jobTitle":null,
                "county":null,
                "suffix":null,
                "selectedCountry":"US",
                "firstName":"Kim",
                "phoneNumber":"212-555-1977",
                "stateName":"New York",
                "faxNumber":null,
                "middleName":null,
                "countryName":"United States",
                "state":"NY",
                "email":"kim@example.com",
                "selectedState":"NY",
                "state_ISOCode":"US-NY"
            },
            "trackingNumber":null,
            "items":[
                {
                    "serviceAccountId":"serviceAcc-123",
                    "deactivationDate":"2018-06-27T12:59:59Z",
                    "quantity":1,
                    "productId":"Product_21Cxi",
                    "externalData":[
                    ],
                    "billingAccountId":"billingAcc-123",
                    "preOrderQuantity":0,
                    "catRefId":"Sku_21Dxy",
                    "skuProperties":[
                        {
                            "propertyType":"sku-base",
                            "name":"Name",
                            "id":"displayName",
                            "value":null
                        },
                        {
                            "propertyType":"sku-base",
                            "name":"Id",
                            "id":"id",
                            "value":"camerasku_1_1"
                        },
                        {
                            "propertyType":"sku-custom",
                            "name":"dynamicskuprop1",
                            "id":"dynamicskuprop1",
                            "value":"dynamicskuprop1"
                        }
                    ],
                    "customerAccountId":"customerAcc-123",
                    "assetId":"asset10001",
                    "variant":[
                    ],
                    "actionCode":"Add",
                    "activationDate":"2017-06-27T15:30:00Z",
                    "serviceId":"service-123",
                    "backOrderQuantity":0
                }
            ]
        }
    ],
    "approvalSystemMessages":[
        "Order is pending approval because total is greater than the approved order limit."
    ],
    "shippingMethod":{
        "cost":25,
        "displayName":"Standard",
        "value":"standardShippingMethod"
    },
    "isItemPriceOverrideAllowed":true,
    "profile":{
        "lastName":"Anderson",
        "firstName":"Kim",
        "organization":{
            "name":"Oracle India Pvt Ltd",
            "id":"oracle"
        },
        "middleName":null,
        "email":"kim@example.com"
    },
    "priceListGroup":{
        "deleted":false,
        "displayName":"UsDollar",
        "repositoryId":"UsDollar",
        "active":true,
        "currency":{
            "symbol":"$",
            "displayName":"US Dollar",
            "repositoryId":"en_US",
            "fractionalDigits":2,
            "currencyCode":"USD",
            "numericCode":"840"
        },
        "id":"UsDollar",
        "locale":"en_US"
    },
    "returnRequests":[
    ],
    "creationDate":"2015-07-14T20:40:49.000Z",
    "discountInfo":{
        "unclaimedCouponMultiPromotions":{
        },
        "orderCouponsMap":{
        },
        "orderDiscount":0,
        "shippingDiscount":0,
        "orderImplicitDiscountList":[
        ],
        "unclaimedCouponsMap":{
        },
        "claimedCouponMultiPromotions":{
        }
    },
    "profileId":"se-570031",
    "exchangeRequests":[
    ],
    "giftWithPurchaseInfo":[
    ],
    "siteId":"siteUS",
    "shippingAddress":{
        "lastName":"Anderson",
        "country":"US",
        "address3":null,
        "address2":null,
        "city":"Syracuse",
        "address1":"21 Cedar Ave",
        "prefix":null,
        "companyName":null,
        "postalCode":"13202",
        "jobTitle":null,
        "county":null,
        "suffix":null,
        "selectedCountry":"US",
        "firstName":"Kim",
        "phoneNumber":"212-555-1977",
        "stateName":"New York",
        "faxNumber":null,
        "middleName":null,
        "countryName":"United States",
        "state":"NY",
        "email":"kim@example.com",
        "selectedState":"NY",
        "state_ISOCode":"US-NY"
    },
    "giftWithPurchaseOrderMarkers":[
    ]
}
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
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "totalAmountAuthorized": 124.18,
  "orderComments": [],
  "creationTime": 1436906449000,
  "sourceSystem": "Cloud Commerce",
  "dynamicProperties": [{
    "id": "dynamicPropertyShippingInstructions",
    "value": "Test Instructions"
  }],
  "submittedDate": "2015-07-14T20:41:49.000Z",
  "paymentGroups": [{
    "lastName": "Anderson",
    "amountAuthorized": 124.18,
    "amount": 88.55,
    "totalDue": 88.55,
    "cardType": null,
    "zero_value_auto_authorized": "true",
    "IIN": "424242",
    "token": "9997000108950573",
    "paymentGroupId": "pg10411",
    "firstName": "Kim",
    "paymentStateDetailsAsUser": "The authorization succeeded",
    "uiIntervention": "sop",
    "billingAddress": {
      "lastName": "Anderson",
      "country": "US",
      "address3": null,
      "address2": null,
      "city": "Syracuse",
      "address1": "21 Cedar Ave",
      "prefix": null,
      "companyName": null,
      "postalCode": "13202",
      "jobTitle": null,
      "county": null,
      "suffix": null,
      "selectedCountry": "US",
      "firstName": "Kim",
      "phoneNumber": "212-555-1977",
      "stateName": "New York",
      "faxNumber": null,
      "middleName": null,
      "countryName": "United States",
      "state": "NY",
      "email": "kim@example.com",
      "selectedState": "NY",
      "state_ISOCode": "US-NY"
    },
    "paymentState": 1,
    "paidAmount": 0,
    "cardNumber": "xxxxxxxxxxxx1111",
    "refundAmount": 0
  }],
  "priceInfo": {
    "amount": 56.99,
    "total": 88.55,
    "shipping": 25,
    "shippingSurchargeValue": 0,
    "tax": 6.56,
    "subTotal": 56.99,
    "currencyCode": "USD"
  },
  "paymentGroup": {
    "lastName": "Anderson",
    "amountAuthorized": 124.18,
    "amount": 88.55,
    "totalDue": 88.55,
    "cardType": null,
    "zero_value_auto_authorized": "true",
    "token": "9997000108950573",
    "paymentGroupId": "pg10411",
    "firstName": "Kim",
    "paymentStateDetailsAsUser": "The authorization succeeded",
    "uiIntervention": "sop",
    "billingAddress": {
      "lastName": "Anderson",
      "country": "US",
      "address3": null,
      "address2": null,
      "city": "Syracuse",
      "address1": "21 Cedar Ave",
      "prefix": null,
      "companyName": null,
      "postalCode": "13202",
      "jobTitle": null,
      "county": null,
      "suffix": null,
      "selectedCountry": "US",
      "firstName": "Kim",
      "phoneNumber": "212-555-1977",
      "stateName": "New York",
      "faxNumber": null,
      "middleName": null,
      "countryName": "United States",
      "state": "NY",
      "email": "kim@example.com",
      "selectedState": "NY",
      "state_ISOCode": "US-NY"
    },
    "paymentState": 1,
    "paidAmount": 0,
    "cardNumber": "xxxxxxxxxxxx1111",
    "refundAmount": 0
  },
  "shoppingCart": {"items": [
    {
      "deactivationDate": "2018-06-27T12:59:59Z",
      "rawTotalPrice": 39.99,
      "returnedQuantity": 0,
      "priceOverridenBy": "Damon Weber",
      "displayName": "Fable II",
      "shippingSurchargeValue": 0,
      "discountAmount": 0,
      "externalData": [],
      "billingAccountId": "billingAcc-123",
      "imageInfo": {"primaryThumbImageURL": "/ccstore/v1/images/?source=http://localhost:9080/file/products/fableIIxbox_LARGE.jpg&height=100&width=100"},
      "preOrderQuantity": 0,
      "childItems": [
        {
          "quantity": 1,
          "route": "/intel-pentium-dual-core/product/prod40001",
          "productId": "prod40001",
          "displayName": "Intel Pentium Dual Core",
          "selectedOptions": [],
          "childItems": [{
            "quantity": 1,
            "route": "/intel-pentium-dual-core/product/prod40001",
            "productId": "prod40001",
            "displayName": "Intel Pentium Dual Core",
            "selectedOptions": [],
            "catRefId": "sku40009"
          }],
          "catRefId": "sku40001"
        },
        {
          "quantity": 1,
          "route": "/8-gb-kingston-sodimm-ddr3-1600mhz/product/prod40007",
          "productId": "prod40007",
          "displayName": "8 GB Kingston Sodimm DDR3 1600MHz",
          "selectedOptions": [],
          "catRefId": "sku40007"
        }
      ],
      "configuratorId": "36379716",
      "overriddenPrice": 3,
      "commerceItemId": "ci1000785",
      "assetId": "asset10001",
      "price": 3,
      "isPriceOverridden": true,
      "variant": [],
      "onSale": "true",
      "actionCode": "Add",
      "serviceId": "service-123",
      "stateDetailsAsUser": "The item has been initialized",
      "serviceAccountId": "serviceAcc-123",
      "unitPrice": 39.99,
      "quantity": 1,
      "productId": "prod10041",
      "tax": 0.34,
      "catRefId": "sku10045",
      "skuProperties": [
        {
          "propertyType": "sku-base",
          "name": "Name",
          "id": "displayName",
          "value": null
        },
        {
          "propertyType": "sku-base",
          "name": "Id",
          "id": "id",
          "value": "camerasku_1_1"
        },
        {
          "propertyType": "sku-custom",
          "name": "dynamicskuprop1",
          "id": "dynamicskuprop1",
          "value": "dynamicskuprop1"
        }
      ],
      "customerAccountId": "customerAcc-123",
      "discountInfo": [],
      "activationDate": "2017-06-27T15:30:00Z",
      "backOrderQuantity": 0,
      "listPrice": 39.99,
      "status": 0,
      "priceOverrideReason": {
        "displayValue": "Agent Price Override",
        "key": "agentPriceOverride"
      }
    },
    {
      "deactivationDate": "2018-06-27T12:59:59Z",
      "rawTotalPrice": 49.99,
      "returnedQuantity": 0,
      "priceOverridenBy": "",
      "displayName": "Dora the Explorer - Season 1",
      "shippingSurchargeValue": 0,
      "discountAmount": 0,
      "externalData": [],
      "billingAccountId": "billingAcc-123",
      "imageInfo": {"primaryThumbImageURL": "/ccstore/v1/images/?source=http://localhost:9080/file/products/doratheexplorer_season1_LARGE.jpg&height=100&width=100"},
      "overriddenPrice": "",
      "assetId": "asset10001",
      "price": 49.99,
      "isPriceOverridden": false,
      "variant": [],
      "actionCode": "Add",
      "serviceId": "service-123",
      "stateDetailsAsUser": "The item has been initialized",
      "unitPrice": 49.99,
      "serviceAccountId": "serviceAcc-123",
      "quantity": 1,
      "productId": "Product_21Cxi",
      "tax": 5.75,
      "catRefId": "Sku_21Dxy",
      "customerAccountId": "customerAcc-123",
      "discountInfo": [],
      "activationDate": "2017-06-27T15:30:00Z",
      "listPrice": 49.99,
      "status": 0,
      "priceOverrideReason": {}
    },
    {
      "deactivationDate": "2018-06-27T12:59:59Z",
      "rawTotalPrice": 49.98,
      "returnedQuantity": 0,
      "priceOverridenBy": "Damon Weber",
      "displayName": "Akira",
      "shippingSurchargeValue": 0,
      "discountAmount": 0,
      "externalData": [],
      "billingAccountId": "billingAcc-123",
      "imageInfo": {"primaryThumbImageURL": "/ccstore/v1/images/?source=http://localhost:9080/file/products/akira_LARGE.jpg&height=100&width=100"},
      "overriddenPrice": 4,
      "assetId": "asset10001",
      "price": 4,
      "isPriceOverridden": true,
      "variant": [],
      "actionCode": "Add",
      "serviceId": "service-123",
      "stateDetailsAsUser": "The item has been initialized",
      "unitPrice": 24.99,
      "serviceAccountId": "serviceAcc-123",
      "quantity": 2,
      "productId": "Product_27Fxyzi",
      "giftWithPurchaseCommerceItemMarkers": [],
      "tax": 0.46,
      "catRefId": "Sku_27Gxyzi",
      "customerAccountId": "customerAcc-123",
      "discountInfo": [],
      "activationDate": "2017-06-27T15:30:00Z",
      "listPrice": 24.99,
      "status": 0,
      "priceOverrideReason": {
        "displayValue": "Appeasement",
        "key": "appeasement"
      }
    }
  ]},
  "links": [{
    "rel": "self",
    "href": "http://localhost:9080/ccagentui/v1/orders/o10411?includeResult=full"
  }],
  "state": 1,
  "id": "o10411",
  "stateDetailsAsUser": "Submitted to fulfillment",
  "taxPriceInfo": {
    "cityTax": 0,
    "amount": 4,
    "valueAddedTax": 0,
    "countyTax": 2,
    "isTaxIncluded": false,
    "miscTax": 0,
    "districtTax": 0,
    "stateTax": 2,
    "countryTax": 0
  },
  "shippingGroups": [{
    "trackingInfo": [],
    "shippingMethod": {
      "cost": 25,
      "displayName": "Standard",
      "value": "standardShippingMethod"
    },
    "shippingAddress": {
      "lastName": "Anderson",
      "country": "US",
      "address3": null,
      "address2": null,
      "city": "Syracuse",
      "address1": "21 Cedar Ave",
      "prefix": null,
      "companyName": null,
      "postalCode": "13202",
      "jobTitle": null,
      "county": null,
      "suffix": null,
      "selectedCountry": "US",
      "firstName": "Kim",
      "phoneNumber": "212-555-1977",
      "stateName": "New York",
      "faxNumber": null,
      "middleName": null,
      "countryName": "United States",
      "state": "NY",
      "email": "kim@example.com",
      "selectedState": "NY",
      "state_ISOCode": "US-NY"
    },
    "trackingNumber": null,
    "items": [{
      "serviceAccountId": "serviceAcc-123",
      "deactivationDate": "2018-06-27T12:59:59Z",
      "quantity": 1,
      "productId": "Product_21Cxi",
      "externalData": [],
      "billingAccountId": "billingAcc-123",
      "preOrderQuantity": 0,
      "catRefId": "Sku_21Dxy",
      "skuProperties": [
        {
          "propertyType": "sku-base",
          "name": "Name",
          "id": "displayName",
          "value": null
        },
        {
          "propertyType": "sku-base",
          "name": "Id",
          "id": "id",
          "value": "camerasku_1_1"
        },
        {
          "propertyType": "sku-custom",
          "name": "dynamicskuprop1",
          "id": "dynamicskuprop1",
          "value": "dynamicskuprop1"
        }
      ],
      "customerAccountId": "customerAcc-123",
      "assetId": "asset10001",
      "variant": [],
      "actionCode": "Add",
      "activationDate": "2017-06-27T15:30:00Z",
      "serviceId": "service-123",
      "backOrderQuantity": 0
    }]
  }],
  "approvalSystemMessages": ["Order is pending approval because total is greater than the approved order limit."],
  "shippingMethod": {
    "cost": 25,
    "displayName": "Standard",
    "value": "standardShippingMethod"
  },
  "isItemPriceOverrideAllowed": true,
  "profile": {
    "lastName": "Anderson",
    "firstName": "Kim",
    "organization": {
      "name": "Oracle India Pvt Ltd",
      "id": "oracle"
    },
    "middleName": null,
    "email": "kim@example.com"
  },
  "priceListGroup": {
    "deleted": false,
    "displayName": "UsDollar",
    "repositoryId": "UsDollar",
    "active": true,
    "currency": {
      "symbol": "$",
      "displayName": "US Dollar",
      "repositoryId": "en_US",
      "fractionalDigits": 2,
      "currencyCode": "USD",
      "numericCode": "840"
    },
    "id": "UsDollar",
    "locale": "en_US"
  },
  "returnRequests": [],
  "creationDate": "2015-07-14T20:40:49.000Z",
  "discountInfo": {
    "unclaimedCouponMultiPromotions": {},
    "orderCouponsMap": {},
    "orderDiscount": 0,
    "shippingDiscount": 0,
    "orderImplicitDiscountList": [],
    "unclaimedCouponsMap": {},
    "claimedCouponMultiPromotions": {}
  },
  "profileId": "se-570031",
  "exchangeRequests": [],
  "giftWithPurchaseInfo": [],
  "siteId": "siteUS",
  "shippingAddress": {
    "lastName": "Anderson",
    "country": "US",
    "address3": null,
    "address2": null,
    "city": "Syracuse",
    "address1": "21 Cedar Ave",
    "prefix": null,
    "companyName": null,
    "postalCode": "13202",
    "jobTitle": null,
    "county": null,
    "suffix": null,
    "selectedCountry": "US",
    "firstName": "Kim",
    "phoneNumber": "212-555-1977",
    "stateName": "New York",
    "faxNumber": null,
    "middleName": null,
    "countryName": "United States",
    "state": "NY",
    "email": "kim@example.com",
    "selectedState": "NY",
    "state_ISOCode": "US-NY"
  },
  "giftWithPurchaseOrderMarkers": []
}