Update an order

put

/ccstore/v1/orders/{id}

Updates the order, for the given order id, with the provided data and prices the order again; returning the updated order.

Dynamic Properties of order and order line items can also be updated like any other attribute ("dynamicPropertyKey":"dynamicPropertyValue").

Note: The minimum required properties, in the payload, for this endpoint call (updateOrder) to be successful - granted it is an empty order, are shippingGroup, shippingMethod and shoppingCart. If the order has already been created there is no minimum request payload, just correctly enter the property you wish to update.

Prerequisite: The user must be logged in. See REST API Authentication.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : updateOrder_request
Type: object
Show Source
Example:
{
    "priceGroupId":"defaultPriceGroup",
    "lastModifiedTime":"1409947606000",
    "creationTime":"1409947604000",
    "sourceSystem":"Cloud Commerce",
    "locale":"en",
    "salesChannel":"default",
    "paymentGroups":[
        {
            "PONumber":"9874",
            "expirationYear":"2016",
            "amountAuthorized":"96.27",
            "amount":"96.27",
            "expirationMonth":"05",
            "submittedDate":"2014-09-04T11:46:01.000Z",
            "authorizationStatus":[
                {
                    "transactionUuid":"fbd1adb5b1cc40209e8d39324d7f7f6d",
                    "authorizationDecision":"ACCEPT",
                    "amount":"96.27",
                    "transactionSuccess":true,
                    "errorMessage":"Request was processed successfully.",
                    "currency":"USD",
                    "reasonCode":"100",
                    "transactionId":"4098167595050176195662"
                }
            ],
            "token":"9997000128471543",
            "paymentGroupClassType":"tokenizedCreditCard",
            "creditCardNumber":"1111",
            "paymentMethod":"tokenizedCreditCard",
            "billingAddress":{
                "lastName":"FLORES",
                "country":"US",
                "address3":null,
                "city":"Branford",
                "address2":null,
                "prefix":null,
                "address1":"Address Line 1",
                "companyName":null,
                "jobTitle":null,
                "postalCode":"32008",
                "county":null,
                "suffix":null,
                "ownerId":null,
                "firstName":"FLORENCE",
                "phoneNumber":"12345678",
                "faxNumber":null,
                "middleName":null,
                "state":"FL",
                "id":"pg10076",
                "email":"FLORENCE.FLORES@example.com"
            },
            "id":"pg10076",
            "currencyCode":"USD"
        }
    ],
    "organizationId":"100001",
    "relationships":[
        {
            "paymentGroupId":"pg10076",
            "amount":"96.27",
            "relationshipType":"ORDERAMOUNTREMAINING",
            "id":"r10068"
        }
    ],
    "priceInfo":{
        "discounted":false,
        "secondaryCurrencyTaxAmount":"1.5",
        "amount":"89.97",
        "secondaryCurrencyShippingAmount":"6",
        "secondaryCurrencyTotal":"7.5",
        "manualAdjustmentTotal":"0",
        "discountAmount":"0",
        "tax":"6.3",
        "rawSubtotal":"89.97",
        "total":"96.27",
        "shipping":"0",
        "primaryCurrencyTotal":"89.97",
        "amountIsFinal":false,
        "orderTotalBySite":{
            "siteUS":"96.27"
        },
        "currencyCode":"USD"
    },
    "totalCommerceItemCount":"3",
    "state":"SUBMITTED",
    "id":"o10076",
    "cancelReason":"badProductReview",
    "commerceItems":[
        {
            "deactivationDate":"2018-06-27T12:59:59Z",
            "returnedQuantity":"0",
            "availabilityDate":null,
            "externalData":[
            ],
            "billingProfileId":"billingProfile-123",
            "billingAccountId":"billingAcc-123",
            "preOrderQuantity":"1",
            "configuratorId":"123455",
            "assetKey":"12345",
            "priceInfo":{
                "discounted":false,
                "amount":"89.97",
                "rawTotalPrice":"89.97",
                "salePrice":"0",
                "priceListId":"listPrices",
                "quantityDiscounted":"0",
                "amountIsFinal":false,
                "onSale":false,
                "shippingSurcharge":"10",
                "discountable":true,
                "currencyCode":"USD",
                "currentPriceDetailsSorted":[
                    {
                        "discounted":false,
                        "amount":"89.97",
                        "quantity":"3",
                        "amountIsFinal":false,
                        "range":{
                            "lowBound":"0",
                            "highBound":"2",
                            "size":"3"
                        },
                        "tax":"6.3",
                        "detailedUnitPrice":"29.99",
                        "currencyCode":"USD"
                    }
                ],
                "listPrice":"29.99"
            },
            "catalogId":null,
            "assetId":"asset10001",
            "externalRecurringChargeDetails":{
                "externalRecurringCharge":"10",
                "externalRecurringChargeFrequency":"Monthly",
                "externalRecurringChargeDuration":"12"
            },
            "externalPriceDetails":{
                "externalPriceQuantity":"1",
                "externalPrice":"100"
            },
            "actionCode":"Add",
            "id":"ci1000076",
            "serviceId":"service-123",
            "locationInventoryInfoMap":{
                "__NULL__":{
                    "availabilityDate":null,
                    "preOrderQuantity":"0",
                    "backOrderQuantity":"1",
                    "inStockQuantity":"0"
                },
                "Boston128":{
                    "availabilityDate":null,
                    "preOrderQuantity":"1",
                    "backOrderQuantity":"0",
                    "inStockQuantity":"1"
                }
            },
            "commerceItems":[
                {
                    "serviceAccountId":"serviceAcc-123",
                    "deactivationDate":"2018-06-27T12:59:59Z",
                    "addOnItem":false,
                    "quantity":"1",
                    "productId":"prod40001",
                    "externalData":[
                    ],
                    "parentAssetKey":null,
                    "billingProfileId":"billingProfile-123",
                    "billingAccountId":"billingAcc-123",
                    "rootAssetKey":null,
                    "transactionDate":"2018-06-27T12:59:59Z",
                    "catalogRefId":"sku40001",
                    "assetKey":"12345",
                    "customerAccountId":"customerAcc-123",
                    "recurringChargePriceInfo":{
                        "discounted":false,
                        "amount":"10",
                        "rawTotalPrice":"10",
                        "salePrice":"0",
                        "priceListId":null,
                        "quantityDiscounted":"0",
                        "amountIsFinal":false,
                        "onSale":false,
                        "shippingSurcharge":"0",
                        "discountable":true,
                        "currentPriceDetailsSorted":[
                            {
                                "discounted":false,
                                "amount":"10",
                                "quantity":"1",
                                "amountIsFinal":false,
                                "range":{
                                    "lowBound":"0",
                                    "highBound":"0",
                                    "size":"1"
                                },
                                "tax":"0",
                                "orderDiscountShare":"0",
                                "detailedUnitPrice":"10",
                                "currencyCode":"USD"
                            }
                        ],
                        "currencyCode":"USD",
                        "listPrice":"0"
                    },
                    "assetId":"asset10001",
                    "externalRecurringChargeDetails":{
                        "externalRecurringCharge":"10",
                        "externalRecurringChargeFrequency":"Monthly",
                        "externalRecurringChargeDuration":"12"
                    },
                    "actionCode":"Add",
                    "activationDate":"2017-06-27T15:30:00Z",
                    "serviceId":"service-123",
                    "asset":false
                },
                {
                    "serviceAccountId":"serviceAcc-123",
                    "configurationOptionId":"sku2442",
                    "deactivationDate":"2018-06-27T12:59:59Z",
                    "addOnItem":true,
                    "quantity":"1",
                    "productId":"prod40002",
                    "externalData":[
                    ],
                    "parentAssetKey":null,
                    "billingProfileId":"billingProfile-123",
                    "billingAccountId":"billingAcc-123",
                    "rootAssetKey":null,
                    "configurablePropertyId":"product10222",
                    "transactionDate":"2018-06-27T12:59:59Z",
                    "catalogRefId":"sku40005",
                    "assetKey":"12345",
                    "customerAccountId":"customerAcc-123",
                    "assetId":"asset10001",
                    "actionCode":"Add",
                    "shopperInput":{
                        "message":"Best Wishes my friend",
                        "font":"courier"
                    },
                    "activationDate":"2017-06-27T15:30:00Z",
                    "serviceId":"service-123",
                    "asset":false
                }
            ],
            "serviceAccountId":"serviceAcc-123",
            "quantity":"3",
            "productId":"prod10021",
            "externalId":null,
            "parentAssetKey":null,
            "originalCommerceItemId":null,
            "rootAssetKey":null,
            "transactionDate":"2018-06-27T12:59:59Z",
            "catalogRefId":"sku10017",
            "customerAccountId":"customerAcc-123",
            "recurringChargePriceInfo":{
                "discounted":false,
                "amount":"10",
                "rawTotalPrice":"10",
                "salePrice":"0",
                "priceListId":null,
                "quantityDiscounted":"0",
                "amountIsFinal":false,
                "onSale":false,
                "shippingSurcharge":"0",
                "discountable":true,
                "currentPriceDetailsSorted":[
                    {
                        "discounted":false,
                        "amount":"10",
                        "quantity":"1",
                        "amountIsFinal":false,
                        "range":{
                            "lowBound":"0",
                            "highBound":"0",
                            "size":"1"
                        },
                        "tax":"0",
                        "orderDiscountShare":"0",
                        "detailedUnitPrice":"10",
                        "currencyCode":"USD"
                    }
                ],
                "currencyCode":"USD",
                "listPrice":"0"
            },
            "catalogKey":null,
            "productDisplayName":"Wii Classic Controller",
            "shopperInput":{
                "color":"neon",
                "initials":"M.C.K",
                "font":"courier"
            },
            "activationDate":"2017-06-27T15:30:00Z",
            "asset":false,
            "backOrderQuantity":"1"
        }
    ],
    "taxPriceInfo":{
        "discounted":false,
        "cityTax":"0",
        "secondaryCurrencyTaxAmount":"1.5",
        "amount":"6.3",
        "countyTax":"0.9",
        "amountIsFinal":false,
        "districtTax":"0",
        "stateTax":"5.4",
        "currencyCode":"USD",
        "countryTax":"0"
    },
    "shippingGroups":[
        {
            "lastName":"Black",
            "shippingMethod":"freeShippingMethod",
            "description":"sg10076",
            "submittedDate":null,
            "priceInfo":{
                "discounted":false,
                "secondaryCurrencyTaxAmount":"1.5",
                "amount":"0",
                "secondaryCurrencyShippingAmount":"6",
                "rawShipping":"0",
                "amountIsFinal":false,
                "currencyCode":"USD"
            },
            "firstName":"Joe",
            "phoneNumber":"123456789",
            "shipOnDate":null,
            "actualShipDate":null,
            "trackingInfo":[
                {
                    "carrierName":"USPS",
                    "trackingUrl":"https://tools.example.com/go/TrackConfirmAction_input?qtc_tLabels1=ABC123",
                    "carrierId":"USPS",
                    "trackingNumber":"ABC123"
                }
            ],
            "specialInstructions":{
            },
            "shippingAddress":{
                "lastName":"FLORES",
                "country":"US",
                "address3":null,
                "city":"Branford",
                "address2":null,
                "prefix":null,
                "address1":"203 Main Street",
                "companyName":null,
                "jobTitle":null,
                "postalCode":"32008",
                "county":null,
                "suffix":null,
                "ownerId":null,
                "firstName":"FLORENCE",
                "phoneNumber":"9085554321",
                "faxNumber":null,
                "middleName":null,
                "state":"FL",
                "id":"sg10076",
                "email":"FLORENCE.FLORES@example.com"
            },
            "commerceItemRelationships":[
                {
                    "availablePickupDate":"2018-07-23T12:12:58.000Z",
                    "commerceItemId":"ci1000076",
                    "inventoryLocationId":null,
                    "amount":"0",
                    "quantity":"3",
                    "relationshipType":"SHIPPINGQUANTITY",
                    "pointOfNoRevision":true,
                    "returnedQuantity":"0",
                    "preferredPickupDate":"2018-07-23T12:12:58.000Z",
                    "commerceItemExternalId":null,
                    "id":"r10066"
                }
            ],
            "state":"INITIAL",
            "id":"sg10076",
            "stateDetail":null,
            "trackingNumber":"USPS-ABC123",
            "email":"a.a@example.com",
            "handlingInstructions":[
            ],
            "shippingGroupClassType":"hardgoodShippingGroup"
        }
    ],
    "taxExempt":false,
    "creationSiteId":"siteUS",
    "profile":{
        "lastName":"FLORES",
        "firstName":"FLORENCE",
        "customerContactId":"CRMID_1",
        "shippingAddress":{
            "country":"US",
            "phoneNumber":null,
            "address3":null,
            "address2":null,
            "city":"Branford",
            "address1":"203 Main Street",
            "postalCode":"32008",
            "county":null,
            "state":null
        },
        "middleName":null,
        "email":"FLORENCE.FLORES@example.com"
    },
    "shippingGroupCount":"1",
    "orderAction":"order",
    "paymentGroupCount":"1",
    "recurringChargePriceInfo":{
        "discounted":false,
        "amount":"30",
        "total":"32.4",
        "shipping":"0",
        "subTotalByFrequency":[
            {
                "amount":"30",
                "frequency":"Monthly"
            }
        ],
        "taxByFrequency":[
            {
                "amount":"2.4",
                "frequency":"Monthly"
            }
        ],
        "manualAdjustmentTotal":"0",
        "amountIsFinal":false,
        "discountAmount":"0",
        "tax":"2.4",
        "rawSubtotal":"30",
        "currencyCode":"USD"
    },
    "profileId":"se-570031",
    "siteId":"siteUS",
    "markers":[
        {
            "value":"78900",
            "key":"campaign_eloqua"
        }
    ]
}
Nested Schema : commerceItems
Type: array
The commerce items (sometimes referred to as "line items") represent which actual skus are included in the order in what quantity, and related information. Please see caution in description of update order. Existing commerce items are matched to input data by externalId, followed by id, followed by catalogRefId. The elements in the commerceItem are instances of CommerceItemImpl.
Show Source
Nested Schema : markers
Type: array
Order markers information (read-only)
Show Source
Nested Schema : paymentGroups
Type: array
The array of payment groups represent the payment(s) that paid for the order. Orders when placed will have an instance of a CyberSource TokenizedCreditCard (paymentGroupClassType and paymentMethod of "tokenizedCreditCard"). The paymentGroups property can be updated to include instances of ExternalPaymentGroup (paymentGroupClassType and paymentMethod of "externalPaymentGroup"). ExternalPaymentGroups represent methods of payment that are external and opaque to cloud commerce, and which were taken after the order was initially placed.
Show Source
Nested Schema : priceInfo
Type: object
Pricing information, an instance of OrderPriceInfo.
Show Source
  • The monetary amount.
  • Whether the amount is final.
  • The three character currency code for the monetary amounts.
  • The monetary amount of the discount: rawSubtotal - amount + manualAdjustmentTotal. (read-only)
  • Whether the price is discounted.
  • The monetary total of manual adjustments.
  • orderTotalBySite
    The map containing order totals by site for all sites in a given order.
  • An order can be paid in points and monetary currency. This field represent order value which will be paid in points. It includes items amount, item discount, order discount.\nPrerequisites for the value in this Attribute:\n1. PriceList configured for the site is in custom currency.\n2. payTaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled.
  • The monetary raw subtotal.
  • This field represents the shipping amount, shipping discount and shipping surcharge in monetary Currency.\nPrerequisites for the value in this Attribute:\n1. PriceList configured for the site is in custom currency.\n2. payTaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled.
  • This field represents the total tax(Item Tax and Shipping Tax) of the order in Monetary Currency. \nPrerequisites for the value in this Attribute: Prerequisites for the value in this Attribute:\n1. PriceList configured for the site is in custom currency.\n2. payTaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled.\n3. If the tax is included in the price of the item, then this value represents only shipping tax in monetary currency.
  • An order can be paid in points and monetary currency. This field represent order value which will be paid in monetary currency. It includes shipping charges, shipping surcharges, shipping discount and total tax in monetary currency.\nPrerequisites for the value in this Attribute:\n1. PriceList configured for the site is in custom currency.\n2. payTaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled.\n3. If the tax is included in the price of the item, then this value represents only shipping tax in monetary currency.
  • The monetary cost of shipping.
  • Monetary tax amount.
  • The monetary total: amount + shipping + tax. (read-only)
Nested Schema : profile
Type: object
Basic profile information. (read-only)
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information of the order
Show Source
Nested Schema : shippingGroups
Type: array
Show Source
Nested Schema : taxPriceInfo
Type: object
The tax pricing details for the order.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about pricing.
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : locationInventoryInfoMap
Type: object
Additional Properties Allowed
Show Source
This is a map displaying inventory breakdowns for multiple inventory locations, created when the item is fulfilled by multiple inventories. Each entry in the map is keyed by inventory location id
Nested Schema : priceInfo
Type: object
Details about pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : commerceItems
Type: array
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : externalPriceDetails
Type: object
Details about external pricing
Show Source
Nested Schema : externalRecurringChargeDetails
Type: object
Details about external recurring pricing.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : additionalProperties
Type: object
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : itemDiscountInfos
Type: array
Array of item promotions affecting this item (read-only).
Show Source
Nested Schema : orderDiscountInfos
Type: array
Array of order promotions affecting this item (read-only).
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this price info.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : couponCodes
Type: array
One or more coupon codes used to grant the item promotion providing the discount.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : couponCodes
Type: array
One or more coupon codes used to grant the order promotion providing the discount.
Show Source
Nested Schema : currentPriceDetailsSorted
Type: array
The current price details.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : range
Type: object
Represents which specific items are covered by this recurring charge price info.
Show Source
  • The upper bound of the range this recurring charge price info covers.
  • The lower bound of the range this recurring charge price info covers, inclusive.
  • The number of items in this range, inclusive. (read-only)
Nested Schema : items
Type: object
Show Source
  • Order marker key. In a marketing campaign marker, a key signifies that it is a campaign marker. Also, it identifies the external marketing system that is the source of the campaign, e.g., campaign_eloqua"
  • Order marker value. In the case of a marketing campaign, it represents the actual unique campaign ID
Nested Schema : items
Type: object
Show Source
Nested Schema : authorizationStatus
Type: array
Array of authorization status objects.
Show Source
Nested Schema : billingAddress
Type: array
List of billing addresses associated with profile.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : order_billingAddress
Type: object
Show Source
Nested Schema : orderTotalBySite
Type: object
The map containing order totals by site for all sites in a given order.
Nested Schema : loyaltyPrograms
Type: array
Loyalty Programs Information
Show Source
Nested Schema : shippingAddress
Type: object
Default shipping address
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : frequencyAmountTotals
Type: array
The total for each recurring charge frequency
Show Source
Nested Schema : frequencyTaxTotals
Type: array
The tax for each recurring charge frequency
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : updateOrderRequestShippingGroups
Type: object
Show Source
Nested Schema : updateOrderRequestShippingGroupCommerceItemRelationships
Type: array
Show Source
Nested Schema : handlingInstructions
Type: array
Handling instructions. Currently read-only.
Show Source
Nested Schema : priceInfo
Type: object
The pricing details about this shipping group.
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
Recurring charge price information.
Show Source
Nested Schema : shippingAddress
Type: object
The shipping address for this shipping group.
Show Source
Nested Schema : specialInstructions
Type: object
Special instructions for the shipping group. Keys and values are strings.
Show Source
Nested Schema : trackingInfo
Type: array
An array that specifies the tracking info of shipping group. (read-only)
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : frequencyAmountTotals
Type: array
The total for each recurring charge frequency
Show Source
Nested Schema : frequencyTaxTotals
Type: array
The tax for each recurring charge frequency
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Returned when the operation succeeds.
Body ()
Root Schema : updateOrder_response
Type: object
Show Source
Nested Schema : approvalSystemMessages
Type: array
The array of messages which are stored during order processing
Show Source
Nested Schema : billingMethod
Type: object
billing Method information of the order.
Show Source
Nested Schema : discountInfo
Type: object
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
Gift Selection Information
Show Source
Nested Schema : giftWithPurchaseOrderMarkers
Type: array
Gift With Purchase order markers information
Show Source
Nested Schema : orderComments
Type: array
The list of all logged comments for the order.
Show Source
Nested Schema : paymentGroup
Type: object
Payment Group for the order.
Show Source
Nested Schema : paymentGroups
Type: array
List of payment Groups for the order.
Show Source
Nested Schema : priceInfo
Type: object
Price information of the order.
Show Source
  • The raw number that represents the price.
  • The billing cost of the order.
  • Indicates the currency of the price. For example, USD indicates that the price is in US dollars.
  • An order can be paid in points and monetary currency. This field represent order value which will be paid in points. It includes items amount, item discount, order discount. Prerequisites for the value in this Attribute: 1. PriceList configured for the site is in custom currency. 2. payTaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled.
  • This field represents the shipping amount, shipping discount and shipping surcharge in monetary Currency. Prerequisites for the value in this Attribute: 1. PriceList configured for the site is in custom currency. 2. payTaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled.
  • The shipping surcharges added at item level in monetary currency.
  • This field represents the total tax(Item Tax and Shipping Tax) of the order in Monetary Currency. Prerequisites for the value in this Attribute: Prerequisites for the value in this Attribute: 1. PriceList configured for the site is in custom currency. 2. payTaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled. 3. If the tax is included in the price of the item, then this value represents only shipping tax in monetary currency.
  • An order can be paid in points and monetary currency. This field represent order value which will be paid in monetary currency. It includes shipping charges, shipping surcharges, shipping discount and total tax in monetary currency. Prerequisites for the value in this Attribute: 1. PriceList configured for the site is in custom currency. 2. payTaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled. 3. If the tax is included in the price of the item, then this value represents only shipping tax in monetary currency.
  • The total shiiping surcharge value in the order
  • The subtotal of the order before applying order-level promotions.
  • The tax on the order.
  • Total excluding shipping and tax in monetary currency
  • The current working total, including all promotions, tax, and billing costs.
Nested Schema : priceListGroup
Type: object
PriceList group of the order.
Show Source
Nested Schema : profile
Type: object
Profile Information for the order.
Show Source
Nested Schema : returnRequests
Type: array
The list of the requests raised for the order.
Show Source
Nested Schema : shippingAddress
Type: object
shipping address for the order.
Show Source
Nested Schema : shippingGroups
Type: array
Shipping Group information
Show Source
Nested Schema : shippingMethod
Type: object
Shipping method information.
Show Source
  • shipping cost.
  • Display Name of shipment.
  • shipping amount in secondary currency.
  • This field represents the total tax(Item Tax and Shipping Tax) of the order in Monetary Currency. Prerequisites for the value in this Attribute: 1. PriceList configured for the site is in Monetary Currency. 2. TaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled 3. If the tax is included in the price of the item, then ths value presents only shipping tax in monetary currency.
  • method type of shipment.
Nested Schema : shoppingCart
Type: object
Shopping cart information.
Show Source
Nested Schema : taxPriceInfo
Type: object
The tax pricing details for the order.
Show Source
Nested Schema : orderCouponsMap
Type: object
The coupons that were claimed.
Show Source
Nested Schema : orderImplicitDiscountList
Type: array
List of discounts.
Show Source
Nested Schema : unclaimedCouponsMap
Type: array
Map of unclaimed coupons.
Show Source
Nested Schema : couponCode
Type: object
Coupon Code.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : couponInfo
Type: array
The coupon Info.
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
  • The quantity of free sku for this gift selection that has already been auto added to the order.
  • Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.
  • Gift hash code to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.
  • The amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site..
  • String identifying the free gift, usually the repository id of the gift type.
  • The type of gift like sku, product, category, skuContentGroup or productContentGroup.
  • atg.gwp.
  • The total quantity of sku for this gift selection.
  • The amount of free quantity that has since been manually removed by a Shopper.
  • The repository id of the gwp order marker.
  • The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.
  • The quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order.
  • The GWP promotion id.
Nested Schema : items
Type: object
Show Source
Nested Schema : billingAddress
Type: object
Billing address for the order.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : billingAddress
Type: object
Billing address for the order.
Show Source
Nested Schema : currency
Type: object
Currency of the PriceList group.
Show Source
Nested Schema : organization
Type: object
The Organization associated with the B2B customer profile.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: array
Items in the cart.
Show Source
Nested Schema : shippingAddress
Type: object
shipping address for the order.
Show Source
Nested Schema : shippingMethod
Type: object
Shipping method information.
Show Source
  • shipping cost.
  • Display Name of shipment.
  • shipping amount in secondary currency.
  • This field represents the total tax(Item Tax and Shipping Tax) of the order in Monetary Currency. Prerequisites for the value in this Attribute: 1. PriceList configured for the site is in Monetary Currency. 2. TaxInSecondaryCurrency and payShippingInSecondaryCurrency flags are enabled 3. If the tax is included in the price of the item, then ths value presents only shipping tax in monetary currency.
  • method type of shipment.
Nested Schema : store
Type: object
Information about the Store that the items are being picked up from (if shipping group type is inStorePickupShippingGroup)
Show Source
Nested Schema : trackingInfo
Type: array
Tracking Information for the Order.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : skuProperties
Type: array
Sku properties Information
Show Source
Nested Schema : variant
Type: array
Product Variant 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: array
Items in the cart.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : childItems
Type: array
Child items of the commerce item
Show Source
Nested Schema : discountInfo
Type: object
Discount information.
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : giftWithPurchaseCommerceItemMarkers
Type: array
The array of giftWithPurchaseCommerceItemMarkers.
Show Source
Nested Schema : imageInfo
Type: object
Shipping method information.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : skuProperties
Type: array
Sku properties Information
Show Source
Nested Schema : variant
Type: array
Product Variant Information.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : childItems
Type: array
Child items of the commerce item
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : selectedOptions
Type: array
The array of variants of the child item.
Show Source
Nested Schema : shopperInput
Type: object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type: object
Show Source
Nested Schema : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : selectedOptions
Type: array
The array of variants of the child item.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : orderCouponsMap
Type: object
The coupons that were claimed.
Show Source
Nested Schema : orderImplicitDiscountList
Type: array
List of discounts.
Show Source
Nested Schema : unclaimedCouponsMap
Type: array
Map of unclaimed coupons.
Show Source
Nested Schema : couponCode
Type: object
Coupon Code.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : couponInfo
Type: array
The coupon Info.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
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)
{
    "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",
                "externalId":null,
                "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@example.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":[
                    ],
                    "billingProfileId":"billingProfile-123",
                    "billingAccountId":"billingAcc-123",
                    "assetKey":"12345",
                    "commerceItemId":"ci3000411",
                    "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",
                    "pointOfNoRevision":false,
                    "relationshipType":"SHIPPINGQUANTITY",
                    "productId":"prod20006",
                    "salePrice":"0",
                    "detailedItemPriceInfo":[
                        {
                            "discounted":false,
                            "amount":"89",
                            "quantity":"1",
                            "tax":"8.91",
                            "orderDiscountShare":"0",
                            "detailedUnitPrice":"89",
                            "currencyCode":"USD"
                        }
                    ],
                    "externalRecurringCharge":"10",
                    "parentAssetKey":null,
                    "active":true,
                    "rootAssetKey":null,
                    "externalRecurringChargeFrequency":"Monthly",
                    "transactionDate":"2018-06-27T12:59:59Z",
                    "externalRecurringChargeDuration":"12",
                    "catRefId":"sku40105",
                    "skuProperties":[
                        {
                            "propertyType":"sku-base",
                            "name":"UPC Code",
                            "id":"upcCode",
                            "value":"123456"
                        }
                    ],
                    "customerAccountId":"customerAcc-123",
                    "discountInfo":[
                    ],
                    "route":"/aviator-sunglasses/product/prod20006",
                    "siteId":"siteUS",
                    "detailedRecurringChargeInfo":[
                        {
                            "discounted":false,
                            "amount":"10",
                            "quantity":"1",
                            "tax":"0",
                            "orderDiscountShare":"0",
                            "detailedUnitPrice":"10",
                            "currencyCode":"USD"
                        }
                    ],
                    "activationDate":"2017-06-27T15:30:00Z",
                    "asset":false,
                    "listPrice":"89",
                    "recurringCharge":"10",
                    "status":"INITIAL"
                }
            ],
            "email":"a@example.com",
            "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"
        }
    ],
    "cartName":"Test Name",
    "creationDate":"2014-12-22T14:37:32.037Z",
    "orderProfileId":"110484",
    "uuid":"09e8eb24-734d-4cda-b3b5-b57edd178c75",
    "orderAction":"order",
    "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":[
            {
                "deactivationDate":"2018-06-27T12:59:59Z",
                "dynamicProperties":[
                    {
                        "id":"dynamicPropertyMode",
                        "label":"Mode",
                        "value":"pickup"
                    }
                ],
                "externalData":[
                ],
                "billingProfileId":"billingProfile-123",
                "billingAccountId":"billingAcc-123",
                "assetKey":"12345",
                "itemDiscountInfos":[
                    {
                        "couponCodes":[
                            "TestCouponCode"
                        ],
                        "amount":"10",
                        "promotionId":"promo10001"
                    }
                ],
                "commerceItemId":"ci3000411",
                "price":"89",
                "variant":[
                    {
                        "optionValue":"Blue",
                        "optionName":"Color"
                    },
                    {
                        "optionValue":"Medium",
                        "optionName":"Size"
                    }
                ],
                "serviceId":"service-123",
                "unitPrice":"89",
                "serviceAccountId":"serviceAcc-123",
                "quantity":"1",
                "productId":"prod20006",
                "externalRecurringCharge":"10",
                "orderDiscountInfos":[
                    {
                        "couponCodes":[
                        ],
                        "amount":"29.9",
                        "promotionId":"orderDiscount"
                    },
                    {
                        "couponCodes":[
                            "coupon101"
                        ],
                        "amount":"5",
                        "promotionId":"promo10001"
                    }
                ],
                "giftWithPurchaseCommerceItemMarkers":[
                ],
                "parentAssetKey":null,
                "originalCommerceItemId":null,
                "rootAssetKey":null,
                "externalRecurringChargeFrequency":"Monthly",
                "transactionDate":"2018-06-27T12:59:59Z",
                "externalRecurringChargeDuration":"12",
                "catRefId":"sku40105",
                "skuProperties":[
                    {
                        "propertyType":"sku-base",
                        "name":"UPC Code",
                        "id":"upcCode",
                        "value":"123456"
                    }
                ],
                "discountInfo":[
                ],
                "customerAccountId":"customerAcc-123",
                "detailedRecurringChargeInfo":[
                    {
                        "discounted":false,
                        "amount":"10",
                        "quantity":"1",
                        "tax":"0",
                        "orderDiscountShare":"0",
                        "detailedUnitPrice":"10",
                        "currencyCode":"USD"
                    }
                ],
                "shopperInput":{
                    "color":"neon",
                    "initials":"M.C.K",
                    "font":"courier"
                },
                "activationDate":"2017-06-27T15:30:00Z",
                "asset":false,
                "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@example.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,
        "quoteSubmitted":false,
        "rejectionNote":null,
        "quoteDate":null,
        "expirationDate":null
    },
    "markers":[
    ],
    "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

In case of any failure in external tax or external shipping webhooks, the errors returned in the webhook response payload get added to the errors property in this endpoint???s error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
Error CodeDescriptionPossible Fix
28080Empty shopping cart data.The current order does not contain any shopping cart data you must add it in first before updating anything else.
28102No product found matching the provided product ID.Ensure the product ID entered is valid and that it exists.
28129Sku was not found for the entered product ID.Ensure the provided sku is linked to the product ID provided.
28089Empty shipping address data.Please provide valid shipping address data.
28087No shipping method was specified.Please provide valid shipping method.

The error response:
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top