updateOrder

put

/ccstore/v1/orders/{id}

Update Order. Update an order. Optionally takes the x-ccasset-language headers to get translated content in another language. Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization context of logged in user. Dynamic Properties of order and order line items can also be updated like any other attribute ("dynamicPropertyKey":"dynamicPropertyValue").

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
The ID of order to update.
Header Parameters
X-CCOrganization
Type: string
Current organization context of the logged in user
Body Parameter
Root Schema : updateOrder_request
Nested Schema : appliedPromotions
Type: array
The array of applied promotions.
Nested Schema : billingAddress
Type: object
The billing address details.
Nested Schema : giftWithPurchaseOrderMarkers
Type: array
giftWithPurchaseOrderMarker information. Required if giftWithPurchaseOrderMarker information is present.
Nested Schema : payments
Type: array
Payment details to update the order.
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
Type: object
The shopping cart contents of the current order.
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 shipping group.
Nested Schema : shippingAddress
Type: object
The shipping address details.
Nested Schema : shippingMethod
Type: object
The shipping method details for the order.
Nested Schema : items
Type: object
Nested Schema : coupons
Type: array
The array of coupons applied to the order.
Nested Schema : items
Type: array
The array of products in the shopping cart.
Nested Schema : items
Type: object
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 : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Nested Schema : giftWithPurchaseCommerceItemMarkers
Type: array
giftWithPurchaseCommerceItemMarker information. If giftWithPurchaseCommerceItemMarker information is present on the order is should be passed in.
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 : values
Type: object
The array of values associated with an externalData item.
Nested Schema : items
Type: object

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : updateOrder_response
Nested Schema : approvalSystemMessages
Type: array
An array of approval messages when order going in pending approval state
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
giftWithPurchaseOrderMarker 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 : pricingMessages
Type: object
The Pricing messages information.
Nested Schema : quoteInfo
Type: object
the quote information of the order
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price 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
Type: object
The shopping cart contents of the current order.
Nested Schema : trackingInfo
Type: array
Tracking Information for the Order.
Nested Schema : orderDiscountDescList
Type: array
The list of all the order discounts.
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 : giftWithPurchaseMessages
Type: array
The gift with purchase messages information.
Nested Schema : items
Type: object
Nested Schema : params
Type: array
The list of all message parameters.
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 : items
Type: array
The array of products in the shipping group.
Nested Schema : priceInfo
Type: object
The 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 for the order.
Nested Schema : trackingInfo
Type: array
Tracking Information for the Order.
Nested Schema : items
Type: object
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 : 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 : 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

{
    "shippingGroups":[
        {
            "taxPriceInfo":{
                "cityTax":3.49,
                "amount":9.96,
                "valueAddedTax":0,
                "countyTax":2.49,
                "isTaxIncluded":false,
                "miscTax":0,
                "districtTax":0,
                "stateTax":3.98,
                "countryTax":0
            },
            "shippingMethod":{
                "shippingTax":1.05,
                "cost":10.5,
                "value":"twoDay",
                "shippingMethodDescription":"Two Days"
            },
            "shippingGroupId":"sg10047",
            "submittedDate":null,
            "priceInfo":{
                "amount":89,
                "total":109.46,
                "shipping":10.5,
                "shippingSurchargeValue":0,
                "tax":9.96,
                "subTotal":89,
                "currencyCode":"USD",
                "totalWithoutTax":99.5
            },
            "recurringChargePriceInfo":{
                "amount":30,
                "total":32.4,
                "shipping":0,
                "subTotalByFrequency":[
                    {
                        "amount":30,
                        "frequency":"Monthly"
                    }
                ],
                "taxByFrequency":[
                    {
                        "amount":2.4,
                        "frequency":"Monthly"
                    }
                ],
                "tax":2.4,
                "subTotal":30,
                "currencyCode":"USD",
                "totalWithoutTax":30
            },
            "discountInfo":{
                "orderDiscount":0,
                "shippingDiscount":0,
                "discountDescList":[
                ]
            },
            "shipOnDate":null,
            "trackingInfo":[
            ],
            "actualShipDate":null,
            "shippingAddress":{
                "lastName":"h",
                "country":"US",
                "address3":"",
                "address2":"A2",
                "city":"C1",
                "address1":"A1",
                "prefix":"",
                "companyName":"",
                "postalCode":"36123",
                "jobTitle":"",
                "county":"",
                "suffix":"",
                "firstName":"h",
                "phoneNumber":"34534533",
                "alias":"Address##1",
                "faxNumber":"",
                "middleName":"",
                "state":"AL",
                "email":"h@h.com"
            },
            "trackingNumber":null,
            "items":[
                {
                    "primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v2/products/APP_AviatorSunglasses_full.jpg&height=100&width=100",
                    "deactivationDate":"2018-06-27T12:59:59Z",
                    "rawTotalPrice":89,
                    "returnedQuantity":0,
                    "dynamicProperties":[
                        {
                            "id":"dynamicPropertyMode",
                            "label":"Mode",
                            "value":"pickup"
                        }
                    ],
                    "displayName":"Aviator Sunglasses",
                    "shippingSurchargeValue":0,
                    "discountAmount":0,
                    "externalData":[
                    ],
                    "billingAccountId":"billingAcc-123",
                    "commerceItemId":"ci3000411",
                    "assetId":"asset10001",
                    "price":89,
                    "variant":[
                        {
                            "optionValue":"Blue",
                            "optionName":"Color"
                        },
                        {
                            "optionValue":"Medium",
                            "optionName":"Size"
                        }
                    ],
                    "onSale":false,
                    "primaryImageAltText":"Aviator Sunglasses",
                    "actionCode":"Add",
                    "serviceId":"service-123",
                    "stateDetailsAsUser":"The item has been initialized within the shipping group",
                    "serviceAccountId":"serviceAcc-123",
                    "unitPrice":89,
                    "primaryImageTitle":"Aviator Sunglasses",
                    "quantity":1,
                    "productId":"prod20006",
                    "salePrice":0,
                    "detailedItemPriceInfo":[
                        {
                            "discounted":false,
                            "amount":89,
                            "quantity":1,
                            "tax":8.91,
                            "orderDiscountShare":0,
                            "detailedUnitPrice":89,
                            "currencyCode":"USD"
                        }
                    ],
                    "externalRecurringCharge":10,
                    "active":true,
                    "externalRecurringChargeFrequency":"Monthly",
                    "externalRecurringChargeDuration":"12",
                    "catRefId":"sku40105",
                    "skuProperties":[
                        {
                            "propertyType":"sku-base",
                            "name":"UPC Code",
                            "id":"upcCode",
                            "value":"123456"
                        }
                    ],
                    "customerAccountId":"customerAcc-123",
                    "discountInfo":[
                    ],
                    "route":"/aviator-sunglasses/product/prod20006",
                    "detailedRecurringChargeInfo":[
                        {
                            "discounted":false,
                            "amount":10,
                            "quantity":1,
                            "tax":0,
                            "orderDiscountShare":0,
                            "detailedUnitPrice":10,
                            "currencyCode":"USD"
                        }
                    ],
                    "activationDate":"2017-06-27T15:30:00Z",
                    "listPrice":89,
                    "recurringCharge":10,
                    "status":"INITIAL"
                }
            ],
            "status":"INITIAL"
        }
    ],
    "creationTime":1.419259052037E12,
    "sourceSystem":"Cloud Commerce",
    "dynamicProperties":[
        {
            "id":"dynamicPropertyShippingInstructions",
            "label":"Shipping Instructions",
            "value":"Test Instructions"
        }
    ],
    "approvalSystemMessages":[
        "Order is pending approval because total is greater than the approved order limit."
    ],
    "shippingMethod":{
        "cost":10.5,
        "value":"twoDay"
    },
    "payments":[
        {
            "paymentGroupId":"pg70442",
            "amount":109.46,
            "gatewayName":"chaseCreditCard",
            "uiIntervention":null,
            "paymentMethod":"creditCard",
            "isAmountRemaining":true,
            "paymentState":"AUTHORIZED"
        }
    ],
    "creationDate":"2014-12-22T14:37:32.037Z",
    "orderProfileId":"110484",
    "uuid":"09e8eb24-734d-4cda-b3b5-b57edd178c75",
    "priceInfo":{
        "amount":89,
        "total":109.46,
        "shipping":10.5,
        "shippingSurchargeValue":20,
        "tax":9.96,
        "subTotal":89,
        "currencyCode":"USD"
    },
    "recurringChargePriceInfo":{
        "amount":30,
        "total":32.4,
        "shipping":0,
        "subTotalByFrequency":[
            {
                "amount":30,
                "frequency":"Monthly"
            }
        ],
        "taxByFrequency":[
            {
                "amount":2.4,
                "frequency":"Monthly"
            }
        ],
        "tax":2.4,
        "subTotal":30,
        "currencyCode":"USD",
        "totalWithoutTax":30
    },
    "discountInfo":{
        "orderDiscount":0,
        "orderDiscountDescList":[
            {
                "promotionLevel":"item",
                "coupon":"FREETATTOO",
                "totalAdjustment":"-21.99",
                "promotionDesc":"Explicit Item Discount - FREETATTOO",
                "promotionId":"explicitItemFreeDiscount"
            }
        ],
        "shippingDiscount":0
    },
    "pricingMessages":{
        "giftWithPurchaseMessages":[
            {
                "summary":"The cart has qualified for a free gift promotion.",
                "identifier":"GWPQualified",
                "params":"[]",
                "type":"information",
                "priority":"-10"
            }
        ]
    },
    "trackingInfo":[
    ],
    "shoppingCart":{
        "items":[
            {
                "unitPrice":89,
                "serviceAccountId":"serviceAcc-123",
                "deactivationDate":"2018-06-27T12:59:59Z",
                "quantity":1,
                "productId":"prod20006",
                "dynamicProperties":[
                    {
                        "id":"dynamicPropertyMode",
                        "label":"Mode",
                        "value":"pickup"
                    }
                ],
                "externalRecurringCharge":10,
                "giftWithPurchaseCommerceItemMarkers":[
                ],
                "externalData":[
                ],
                "billingAccountId":"billingAcc-123",
                "externalRecurringChargeFrequency":"Monthly",
                "externalRecurringChargeDuration":"12",
                "catRefId":"sku40105",
                "commerceItemId":"ci3000411",
                "skuProperties":[
                    {
                        "propertyType":"sku-base",
                        "name":"UPC Code",
                        "id":"upcCode",
                        "value":"123456"
                    }
                ],
                "discountInfo":[
                ],
                "customerAccountId":"customerAcc-123",
                "price":89,
                "assetId":"asset10001",
                "variant":[
                    {
                        "optionValue":"Blue",
                        "optionName":"Color"
                    },
                    {
                        "optionValue":"Medium",
                        "optionName":"Size"
                    }
                ],
                "detailedRecurringChargeInfo":[
                    {
                        "discounted":false,
                        "amount":10,
                        "quantity":1,
                        "tax":0,
                        "orderDiscountShare":0,
                        "detailedUnitPrice":10,
                        "currencyCode":"USD"
                    }
                ],
                "activationDate":"2017-06-27T15:30:00Z",
                "serviceId":"service-123",
                "recurringCharge":10
            }
        ]
    },
    "shippingAddress":{
        "lastName":"h",
        "country":"US",
        "address3":null,
        "address2":"A2",
        "city":"C1",
        "address1":"A1",
        "prefix":null,
        "companyName":null,
        "postalCode":"36123",
        "jobTitle":null,
        "county":null,
        "suffix":null,
        "firstName":"h",
        "phoneNumber":"34534533",
        "faxNumber":null,
        "alias":null,
        "middleName":null,
        "state":"AL",
        "email":"h@h.com"
    },
    "id":"o10003",
    "quoteInfo":{
        "providerNote":null,
        "notes":[
            {
                "profileType":null,
                "profileId":"120213",
                "requestDate":1.477479521002E12,
                "requesterNote":"This is a sample quote"
            }
        ],
        "rejectionDate":null,
        "requestDate":"2016-10-26T10:58:41.002Z",
        "errorInfo":null,
        "externalID":null,
        "rejectionNote":null,
        "quoteDate":null,
        "expirationDate":null
    },
    "giftWithPurchaseOrderMarkers":[
        {
            "quantity":1,
            "selectedQuantity":0,
            "removedQuantity":0,
            "data":"-1275480226",
            "automaticQuantity":0,
            "giftType":"product",
            "autoRemove":true,
            "giftDetail":"camera_1",
            "repositoryId":"200001",
            "failedQuantity":0,
            "value":"promo10002",
            "targetedQuantity":0,
            "key":"atg.gwp"
        }
    ]
}
Default Response
The error response
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 Request:

{
  "isAnonymousCheckout": false,
  "visitId": "27c79ed0-384f-4658-824d-c5b8518bfde0",
  "appliedPromotions": ["explicitItemFreeDiscount"],
  "shippingMethod": {"value": "twoDay"},
  "payments": [{
    "cardCVV": "123",
    "nameOnCard": "test",
    "cardTypeName": "Visa",
    "cardType": "visa",
    "endMonth": "02",
    "type": "card",
    "endYear": 2018,
    "cardNumber": "4055011111111111"
  }],
  "shoppingCart": {
    "coupons": [{
      "code": "FREETATTOO",
      "level": "item",
      "description": "Explicit Item Discount - FREETATTOO",
      "id": "explicitItemFreeDiscount",
      "totalAdjustment": "-21.99",
      "status": "claimed"
    }],
    "items": [{
      "serviceAccountId": "serviceAcc-123",
      "deactivationDate": "2018-06-27T12:59:59Z",
      "quantity": 1,
      "dynamicPropertyMode": "pickup",
      "productId": "prod20006",
      "externalRecurringCharge": 10,
      "giftWithPurchaseCommerceItemMarkers": [],
      "externalData": [],
      "billingAccountId": "billingAcc-123",
      "externalRecurringChargeFrequency": "Monthly",
      "catRefId": "sku40105",
      "externalRecurringChargeDuration": "12",
      "customerAccountId": "customerAcc-123",
      "assetId": "asset10001",
      "actionCode": "Add",
      "detailedRecurringChargeInfo": [{
        "discounted": false,
        "amount": 10,
        "quantity": 1,
        "tax": 0,
        "orderDiscountShare": 0,
        "detailedUnitPrice": 10,
        "currencyCode": "USD"
      }],
      "activationDate": "2017-06-27T15:30:00Z",
      "serviceId": "service-123",
      "recurringCharge": 10
    }],
    "orderTotal": 109.46
  },
  "shippingAddress": {
    "lastName": "h",
    "country": "United States",
    "address3": "",
    "address2": "A2",
    "city": "C1",
    "prefix": "",
    "address1": "A1",
    "defaultCountryCode": null,
    "postalCode": "36123",
    "jobTitle": "",
    "companyName": "",
    "county": "",
    "suffix": "",
    "selectedCountry": "US",
    "firstName": "h",
    "phoneNumber": "34534533",
    "faxNumber": "",
    "alias": "",
    "middleName": "",
    "state": "Alabama",
    "selectedState": "AL",
    "email": "h@h.com",
    "state_ISOCode": "US-AL"
  },
  "id": "o10003",
  "billingAddress": {
    "lastName": "Test",
    "country": "United States",
    "address3": "",
    "address2": "Line 2",
    "city": "Montgomery",
    "prefix": "",
    "address1": "Line 1",
    "postalCode": "36123",
    "jobTitle": "",
    "companyName": "",
    "county": "",
    "suffix": "",
    "selectedCountry": "US",
    "firstName": "Steve",
    "phoneNumber": "45454545",
    "faxNumber": "",
    "alias": "",
    "middleName": "",
    "state": "Alabama",
    "selectedState": "AL",
    "state_ISOCode": "US-AL"
  },
  "dynamicPropertyShippingInstructions": "Test Instructions",
  "giftWithPurchaseOrderMarkers": [{
    "quantity": 1,
    "selectedQuantity": 0,
    "removedQuantity": 0,
    "data": "-1275480226",
    "automaticQuantity": 0,
    "giftType": "product",
    "autoRemove": true,
    "giftDetail": "camera_1",
    "repositoryId": "200001",
    "failedQuantity": 0,
    "value": "promo10002",
    "targetedQuantity": 0,
    "key": "atg.gwp"
  }],
  "visitorId": "-6820098066093706883"
}

Sample Response Payload returned by endpoint:

{
  "shippingGroups": [{
    "taxPriceInfo": {
      "cityTax": 3.49,
      "amount": 9.96,
      "valueAddedTax": 0,
      "countyTax": 2.49,
      "isTaxIncluded": false,
      "miscTax": 0,
      "districtTax": 0,
      "stateTax": 3.98,
      "countryTax": 0
    },
    "shippingMethod": {
      "shippingTax": 1.05,
      "cost": 10.5,
      "value": "twoDay",
      "shippingMethodDescription": "Two Days"
    },
    "shippingGroupId": "sg10047",
    "submittedDate": null,
    "priceInfo": {
      "amount": 89,
      "total": 109.46,
      "shipping": 10.5,
      "shippingSurchargeValue": 0,
      "tax": 9.96,
      "subTotal": 89,
      "currencyCode": "USD",
      "totalWithoutTax": 99.5
    },
    "recurringChargePriceInfo": {
      "amount": 30,
      "total": 32.4,
      "shipping": 0,
      "subTotalByFrequency": [{
        "amount": 30,
        "frequency": "Monthly"
      }],
      "taxByFrequency": [{
        "amount": 2.4,
        "frequency": "Monthly"
      }],
      "tax": 2.4,
      "subTotal": 30,
      "currencyCode": "USD",
      "totalWithoutTax": 30
    },
    "discountInfo": {
      "orderDiscount": 0,
      "shippingDiscount": 0,
      "discountDescList": []
    },
    "shipOnDate": null,
    "trackingInfo": [],
    "actualShipDate": null,
    "shippingAddress": {
      "lastName": "h",
      "country": "US",
      "address3": "",
      "address2": "A2",
      "city": "C1",
      "address1": "A1",
      "prefix": "",
      "companyName": "",
      "postalCode": "36123",
      "jobTitle": "",
      "county": "",
      "suffix": "",
      "firstName": "h",
      "phoneNumber": "34534533",
      "alias": "Address##1",
      "faxNumber": "",
      "middleName": "",
      "state": "AL",
      "email": "h@h.com"
    },
    "trackingNumber": null,
    "items": [{
      "primaryThumbImageURL": "/ccstore/v1/images/?source=/file/v2/products/APP_AviatorSunglasses_full.jpg&height=100&width=100",
      "deactivationDate": "2018-06-27T12:59:59Z",
      "rawTotalPrice": 89,
      "returnedQuantity": 0,
      "dynamicProperties": [{
        "id": "dynamicPropertyMode",
        "label": "Mode",
        "value": "pickup"
      }],
      "displayName": "Aviator Sunglasses",
      "shippingSurchargeValue": 0,
      "discountAmount": 0,
      "externalData": [],
      "billingAccountId": "billingAcc-123",
      "commerceItemId": "ci3000411",
      "assetId": "asset10001",
      "price": 89,
      "variant": [
        {
          "optionValue": "Blue",
          "optionName": "Color"
        },
        {
          "optionValue": "Medium",
          "optionName": "Size"
        }
      ],
      "onSale": false,
      "primaryImageAltText": "Aviator Sunglasses",
      "actionCode": "Add",
      "serviceId": "service-123",
      "stateDetailsAsUser": "The item has been initialized within the shipping group",
      "serviceAccountId": "serviceAcc-123",
      "unitPrice": 89,
      "primaryImageTitle": "Aviator Sunglasses",
      "quantity": 1,
      "productId": "prod20006",
      "salePrice": 0,
      "detailedItemPriceInfo": [{
        "discounted": false,
        "amount": 89,
        "quantity": 1,
        "tax": 8.91,
        "orderDiscountShare": 0,
        "detailedUnitPrice": 89,
        "currencyCode": "USD"
      }],
      "externalRecurringCharge": 10,
      "active": true,
      "externalRecurringChargeFrequency": "Monthly",
      "externalRecurringChargeDuration": "12",
      "catRefId": "sku40105",
      "skuProperties": [{
        "propertyType": "sku-base",
        "name": "UPC Code",
        "id": "upcCode",
        "value": "123456"
      }],
      "customerAccountId": "customerAcc-123",
      "discountInfo": [],
      "route": "/aviator-sunglasses/product/prod20006",
      "detailedRecurringChargeInfo": [{
        "discounted": false,
        "amount": 10,
        "quantity": 1,
        "tax": 0,
        "orderDiscountShare": 0,
        "detailedUnitPrice": 10,
        "currencyCode": "USD"
      }],
      "activationDate": "2017-06-27T15:30:00Z",
      "listPrice": 89,
      "recurringCharge": 10,
      "status": "INITIAL"
    }],
    "status": "INITIAL"
  }],
  "creationTime": 1419259052037,
  "sourceSystem": "Cloud Commerce",
  "dynamicProperties": [{
    "id": "dynamicPropertyShippingInstructions",
    "label": "Shipping Instructions",
    "value": "Test Instructions"
  }],
  "approvalSystemMessages": ["Order is pending approval because total is greater than the approved order limit."],
  "shippingMethod": {
    "cost": 10.5,
    "value": "twoDay"
  },
  "payments": [{
    "paymentGroupId": "pg70442",
    "amount": 109.46,
    "gatewayName": "chaseCreditCard",
    "uiIntervention": null,
    "paymentMethod": "creditCard",
    "isAmountRemaining": true,
    "paymentState": "AUTHORIZED"
  }],
  "creationDate": "2014-12-22T14:37:32.037Z",
  "orderProfileId": "110484",
  "uuid": "09e8eb24-734d-4cda-b3b5-b57edd178c75",
  "priceInfo": {
    "amount": 89,
    "total": 109.46,
    "shipping": 10.5,
    "shippingSurchargeValue": 20,
    "tax": 9.96,
    "subTotal": 89,
    "currencyCode": "USD"
  },
  "recurringChargePriceInfo": {
    "amount": 30,
    "total": 32.4,
    "shipping": 0,
    "subTotalByFrequency": [{
      "amount": 30,
      "frequency": "Monthly"
    }],
    "taxByFrequency": [{
      "amount": 2.4,
      "frequency": "Monthly"
    }],
    "tax": 2.4,
    "subTotal": 30,
    "currencyCode": "USD",
    "totalWithoutTax": 30
  },
  "discountInfo": {
    "orderDiscount": 0,
    "orderDiscountDescList": [{
      "promotionLevel": "item",
      "coupon": "FREETATTOO",
      "totalAdjustment": "-21.99",
      "promotionDesc": "Explicit Item Discount - FREETATTOO",
      "promotionId": "explicitItemFreeDiscount"
    }],
    "shippingDiscount": 0
  },
  "pricingMessages": {"giftWithPurchaseMessages": [{
    "summary": "The cart has qualified for a free gift promotion.",
    "identifier": "GWPQualified",
    "params": "[]",
    "type": "information",
    "priority": "-10"
  }]},
  "trackingInfo": [],
  "shoppingCart": {"items": [{
    "unitPrice": 89,
    "serviceAccountId": "serviceAcc-123",
    "deactivationDate": "2018-06-27T12:59:59Z",
    "quantity": 1,
    "productId": "prod20006",
    "dynamicProperties": [{
      "id": "dynamicPropertyMode",
      "label": "Mode",
      "value": "pickup"
    }],
    "externalRecurringCharge": 10,
    "giftWithPurchaseCommerceItemMarkers": [],
    "externalData": [],
    "billingAccountId": "billingAcc-123",
    "externalRecurringChargeFrequency": "Monthly",
    "externalRecurringChargeDuration": "12",
    "catRefId": "sku40105",
    "commerceItemId": "ci3000411",
    "skuProperties": [{
      "propertyType": "sku-base",
      "name": "UPC Code",
      "id": "upcCode",
      "value": "123456"
    }],
    "discountInfo": [],
    "customerAccountId": "customerAcc-123",
    "price": 89,
    "assetId": "asset10001",
    "variant": [
      {
        "optionValue": "Blue",
        "optionName": "Color"
      },
      {
        "optionValue": "Medium",
        "optionName": "Size"
      }
    ],
    "detailedRecurringChargeInfo": [{
      "discounted": false,
      "amount": 10,
      "quantity": 1,
      "tax": 0,
      "orderDiscountShare": 0,
      "detailedUnitPrice": 10,
      "currencyCode": "USD"
    }],
    "activationDate": "2017-06-27T15:30:00Z",
    "serviceId": "service-123",
    "recurringCharge": 10
  }]},
  "shippingAddress": {
    "lastName": "h",
    "country": "US",
    "address3": null,
    "address2": "A2",
    "city": "C1",
    "address1": "A1",
    "prefix": null,
    "companyName": null,
    "postalCode": "36123",
    "jobTitle": null,
    "county": null,
    "suffix": null,
    "firstName": "h",
    "phoneNumber": "34534533",
    "faxNumber": null,
    "alias": null,
    "middleName": null,
    "state": "AL",
    "email": "h@h.com"
  },
  "id": "o10003",
  "quoteInfo": {
    "providerNote": null,
    "notes": [{
      "profileType": null,
      "profileId": "120213",
      "requestDate": 1477479521002,
      "requesterNote": "This is a sample quote"
    }],
    "rejectionDate": null,
    "requestDate": "2016-10-26T10:58:41.002Z",
    "errorInfo": null,
    "externalID": null,
    "rejectionNote": null,
    "quoteDate": null,
    "expirationDate": null
  },
  "giftWithPurchaseOrderMarkers": [{
    "quantity": 1,
    "selectedQuantity": 0,
    "removedQuantity": 0,
    "data": "-1275480226",
    "automaticQuantity": 0,
    "giftType": "product",
    "autoRemove": true,
    "giftDetail": "camera_1",
    "repositoryId": "200001",
    "failedQuantity": 0,
    "value": "promo10002",
    "targetedQuantity": 0,
    "key": "atg.gwp"
  }]
}