handleOrderAmendment

post

/ccagent/v1/orderAmendments/{orderId}

Handle Order Amendment. Performs either of the operations initiateAmendment(initiates the order amendment process), checkAmendmentInProgress, priceOrderAmendmentcheck by passing op value. Additonally takes x-ccsite header to submit the edited order in a site. If the site information is not provided takes the order site. Optionally takes X-CCOrganization header which is a JSON field with organization ID as value.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : handleOrderAmendment_request
Type: object
Show Source
Example:
{
    "op":"initiateAmendment",
    "continueWithInProgressEdit":false
}
Nested Schema : billingAddress
Type: object
Billing address for the order. Related Endpoint Operations - preAuthorizeAmendOrder
Show Source
Nested Schema : payments
Type: object
Payment in the cart. Related Endpoint Operations - preAuthorizeAmendOrder
Show Source
Nested Schema : shippingAddress
Type: object
shipping address for the order. Related Endpoint Operations - priceOrderAmendment, preAuthorizeAmendOrder
Show Source
Nested Schema : shippingGroups
Type: array
List of shipping groups
Show Source
Nested Schema : shippingMethod
Type: object
Shipping method information. Related Endpoint Operations - priceOrderAmendment, preAuthorizeAmendOrder
Show Source
Nested Schema : shoppingCart
Type: object
Shopping cart information. Related Endpoint Operations - priceOrderAmendment, preAuthorizeAmendOrder
Show Source
Nested Schema : customProperties
Type: object
Additional Properties Allowed
Show Source
Custom object with dynamic properties. This will be passed to the webhook request
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : shippingAddress
Type: object
shipping address for the order.
Show Source
Nested Schema : shippingMethod
Type: object
Shipping method information.
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: array
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 : 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
Child Product Variant Information.
Show Source
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
Child Product Variant Information.
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 : 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
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : handleOrderAmendment_response
Type: object
Show Source
Nested Schema : cloneOrder
Type: object
The clone order details. Related Endpoint Operations - initiateAmendment
Show Source
Nested Schema : discountInfo
Type: object
Discount information. Related Endpoint Operations - priceOrderAmendment
Show Source
Nested Schema : orderableQuantityMap
Type: array
The list of all logged comments for the order. Related Endpoint Operations - initiateAmendment
Show Source
Nested Schema : paymentGroups
Type: array
List of payment Groups for the order. Related Endpoint Operations - preAuthorizeAmendOrder
Show Source
Nested Schema : payments
Type: object
Payment in the cart. Related Endpoint Operations - priceOrderAmendment
Show Source
Nested Schema : priceInfo
Type: object
Price information of the order. Related Endpoint Operations - priceOrderAmendment
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.
  • 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.
  • Total shipping amount of the order.
  • Total shipping surcharge amount of the order.
  • The subtotal of the order before applying order-level promotions.
  • The tax on the order.
  • The current working total, including all promotions, tax, and billing costs.
  • Order total without tax.
Nested Schema : priceOverrideReasons
Type: array
All price override reasons. These are sent only if isItemPriceOverrideAllowed is true. Related Endpoint Operations - initiateAmendment
Show Source
Nested Schema : pricingMessages
Type: object
The Pricing messages information.
Show Source
Nested Schema : shippingGroups
Type: array
List of shipping groups
Show Source
Nested Schema : shoppingCart
Type: object
Shopping cart information. Related Endpoint Operations - priceOrderAmendment
Show Source
Nested Schema : taxPriceInfo
Type: object
The tax pricing details for the order. Related Endpoint Operations - priceOrderAmendment
Show Source
Nested Schema : discountInfo
Type: object
Discount 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.
  • 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.
  • 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.
  • Total shipping amount of the order.
  • Total shipping surcharge amount of the order.
  • The subtotal of the order before applying order-level promotions.
  • The tax on the order.
  • The current working total, including all promotions, tax, and billing costs.
  • Order total without tax.
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 : quoteInfo
Type: object
the quote information of the order
Show Source
Nested Schema : recurringChargePriceInfo
Type: object
recurring charge price info at order level
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
List of shipping groups
Show Source
Nested Schema : shippingMethod
Type: object
Shipping method information.
Show Source
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 : claimedCouponMultiPromotions
Type: object
The coupons that were claimed
Show Source
Nested Schema : orderCouponsMap
Type: array
Map of coupons.
Show Source
Nested Schema : orderImplicitDiscountList
Type: array
List of discounts.
Show Source
Nested Schema : unclaimedCouponMultiPromotions
Type: object
The coupons that were not claimed
Show Source
Nested Schema : unclaimedCouponsMap
Type: array
Map of unclaimed coupons.
Show Source
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which promotions were applied
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which some promotions were not applied
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : couonInfo
Type: array
The couopn Info
Show Source
Nested Schema : items
Type: object
Show Source
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 : errorInfo
Type: array
the array of errors, if any
Show Source
Nested Schema : notes
Type: array
the notes (history) for the order
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : subTotalByFrequency
Type: array
subtotal by frequency
Show Source
Nested Schema : taxByFrequency
Type: array
tax calculated by frequency
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : priceInfo
Type: object
Price information of the order.
Show Source
Nested Schema : shippingAddress
Type: object
shipping address for the order.
Show Source
Nested Schema : shippingMethod
Type: object
Shipping method information.
Show Source
Nested Schema : taxPriceInfo
Type: object
The tax pricing details for the order.
Show Source
Nested Schema : trackingInfo
Type: array
Tracking Information for the Order
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 : detailedRecurringChargeInfo
Type: array
detailed recurring charge info for the item
Show Source
Nested Schema : discountInfo
Type: array
discount information of the product
Show Source
Nested Schema : dynamicProperties
Type: array
Array of custom properties at order line item level.
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 : imageInfo
Type: object
Image information
Show Source
Nested Schema : priceOverrideReason
Type: object
Price override reason map
Show Source
Nested Schema : variant
Type: array
Sku option 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 : 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 : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The array of values associated with an externalData item.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : claimedCouponMultiPromotions
Type: object
The coupons that were claimed
Show Source
Nested Schema : orderCouponsMap
Type: array
Map of coupons.
Show Source
Nested Schema : orderImplicitDiscountList
Type: array
List of discounts.
Show Source
Nested Schema : unclaimedCouponMultiPromotions
Type: object
The coupons that were not claimed
Show Source
Nested Schema : unclaimedCouponsMap
Type: array
Map of unclaimed coupons.
Show Source
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which promotions were applied
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : coupon code
Type: array
Coupon Code, corresponding to which some promotions were not applied
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : couonInfo
Type: array
The couopn 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 : billingAddress
Type: object
Billing address for the order.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : promotionUpsellMessages
Type: array
The promotion upsell messages.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : tags
Type: array
The tags the promotion upsell message is associated with.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : priceInfo
Type: object
Price information of the order.
Show Source
Nested Schema : shippingAddress
Type: object
shipping address for the order.
Show Source
Nested Schema : shippingMethod
Type: object
Shipping method information.
Show Source
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 : taxPriceInfo
Type: object
The tax pricing details for the order.
Show Source
Nested Schema : trackingInfo
Type: array
Tracking Information for the Order
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 : externalData
Type: array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : imageInfo
Type: object
The image information.
Show Source
Nested Schema : variant
Type: array
Sku 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
Child Product Variant Information.
Show Source
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
Child Product Variant Information.
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 : 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
Example Response (application/json)
{
    "originalOrderId":"o160415",
    "pricingMessages":{
        "promotionUpsellMessages":[
            {
                "text":"Spend $20 more get free shipping!",
                "tags":[
                    "CART_UPSELL"
                ]
            },
            {
                "text":"You have qualified for a free Sports DVD!",
                "tags":[
                    "BANNER_UPSELL",
                    "CART_UPSELL"
                ]
            }
        ]
    },
    "orderableQuantityMap":{
        "camcorder_1:camcordersku_1_3":5
    },
    "priceOverrideReasons":[
        {
            "displayValue":"Agent Price Override",
            "key":"agentPriceOverride"
        },
        {
            "displayValue":"Appeasement",
            "key":"appeasement"
        }
    ],
    "isItemPriceOverrideAllowed":true,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccagentui/v1/orderAmendments/o160415"
        }
    ],
    "cloneOrder":{
        "totalAmountAuthorized":542.8,
        "orderComments":[
        ],
        "creationTime":1.465930276E12,
        "dynamicProperties":[
        ],
        "paymentGroups":[
            {
                "lastName":"test",
                "amountAuthorized":542.8,
                "amount":542.8,
                "totalDue":542.8,
                "cardType":null,
                "type":"card",
                "token":"9997000108950573",
                "paymentGroupId":"pg160420",
                "firstName":"Test",
                "paymentStateDetailsAsUser":"The authorization succeeded",
                "uiIntervention":"sop",
                "billingAddress":{
                    "lastName":"test",
                    "country":"US",
                    "address3":null,
                    "address2":null,
                    "city":"tt",
                    "address1":"t",
                    "prefix":null,
                    "companyName":null,
                    "postalCode":"13202",
                    "jobTitle":null,
                    "county":null,
                    "suffix":null,
                    "firstName":"Test",
                    "phoneNumber":"222-333-1111",
                    "stateName":"New York",
                    "faxNumber":null,
                    "middleName":null,
                    "countryName":"United States",
                    "state":"NY",
                    "email":"test@example.com"
                },
                "paymentState":1,
                "paidAmount":0,
                "cardNumber":"xxxxxxxxxxxx1111",
                "refundAmount":0
            }
        ],
        "submittedDate":"2016-06-14T19:06:37.000Z",
        "priceInfo":{
            "amount":467.6,
            "total":542.8,
            "shipping":35,
            "shippingSurchargeValue":0,
            "tax":40.2,
            "subTotal":597,
            "currencyCode":"USD",
            "totalWithoutTax":502.6
        },
        "paymentGroup":{
            "lastName":"test",
            "amountAuthorized":542.8,
            "amount":542.8,
            "totalDue":542.8,
            "cardType":null,
            "type":"card",
            "token":"9997000108950573",
            "paymentGroupId":"pg160420",
            "firstName":"Test",
            "paymentStateDetailsAsUser":"The authorization succeeded",
            "uiIntervention":"sop",
            "billingAddress":{
                "lastName":"test",
                "country":"US",
                "address3":null,
                "address2":null,
                "city":"tt",
                "address1":"t",
                "prefix":null,
                "companyName":null,
                "postalCode":"13202",
                "jobTitle":null,
                "county":null,
                "suffix":null,
                "firstName":"Test",
                "phoneNumber":"222-333-1111",
                "stateName":"New York",
                "faxNumber":null,
                "middleName":null,
                "countryName":"United States",
                "state":"NY",
                "email":"test@example.com"
            },
            "paymentState":1,
            "paidAmount":0,
            "cardNumber":"xxxxxxxxxxxx1111",
            "refundAmount":0
        },
        "shoppingCart":{
            "items":[
                {
                    "deactivationDate":"2018-06-27T12:59:59Z",
                    "rawTotalPrice":699.99,
                    "returnedQuantity":0,
                    "priceOverridenBy":"",
                    "dynamicProperties":[
                        {
                            "id":"ReferralCode",
                            "label":"ReferralCode",
                            "value":null
                        },
                        {
                            "id":"OfferEndsDate",
                            "label":"OfferEndsDate",
                            "value":"2020-07-02T03:42:42.962Z"
                        },
                        {
                            "id":"Discount",
                            "label":"Discount",
                            "value":10
                        },
                        {
                            "id":"GiftWrapping",
                            "label":"Gift Wrapping",
                            "value":false
                        },
                        {
                            "id":"name",
                            "label":"Name on product(Mug)",
                            "value":"My name"
                        }
                    ],
                    "displayName":"Samsung - F90BN HD Flash Memory Camcorder",
                    "shippingSurchargeValue":0,
                    "externalData":[
                    ],
                    "billingProfileId":"billingProfile-123",
                    "discountAmount":0,
                    "billingAccountId":"billingAcc-123",
                    "imageInfo":{
                        "primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v2/products/Samsung_F90BN_LARGE.jpg&height=100&width=100"
                    },
                    "childItems":[
                        {
                            "serviceAccountId":"serviceAcc-123",
                            "configurationOptionId":"co40001",
                            "deactivationDate":"2018-06-27T12:59:59Z",
                            "quantity":1,
                            "productId":"prod40001",
                            "displayName":"Intel Pentium Dual Core",
                            "isAddOnItem":true,
                            "externalData":[
                            ],
                            "parentAssetKey":"12345",
                            "billingProfileId":"billingProfile-123",
                            "billingAccountId":"billingAcc-123",
                            "rootAssetKey":"12345",
                            "configurablePropertyId":"cp40001",
                            "transactionDate":"2018-06-27T12:59:59Z",
                            "catRefId":"sku40001",
                            "assetKey":"23456",
                            "commerceItemId":"ci19000424",
                            "route":"/intel-pentium-dual-core/product/prod40001",
                            "customerAccountId":"customerAcc-123",
                            "selectedOptions":[
                            ],
                            "actionCode":"Add",
                            "activationDate":"2017-06-27T15:30:00Z",
                            "serviceId":"service-123",
                            "asset":false
                        },
                        {
                            "serviceAccountId":"serviceAcc-123",
                            "deactivationDate":"2018-06-27T12:59:59Z",
                            "quantity":1,
                            "productId":"prod40007",
                            "displayName":"8 GB Kingston Sodimm DDR3 1600MHz",
                            "isAddOnItem":false,
                            "externalData":[
                            ],
                            "parentAssetKey":"12345",
                            "billingProfileId":"billingProfile-123",
                            "billingAccountId":"billingAcc-123",
                            "childItems":[
                                {
                                    "serviceAccountId":"serviceAcc-123",
                                    "deactivationDate":"2018-06-27T12:59:59Z",
                                    "quantity":1,
                                    "productId":"prod40009",
                                    "displayName":"Intel Pentium i9 Core",
                                    "externalData":[
                                    ],
                                    "parentAssetKey":"12345",
                                    "billingAccountId":"billingAcc-123",
                                    "rootAssetKey":"98765",
                                    "transactionDate":"2018-06-27T12:59:59Z",
                                    "catRefId":"sku40009",
                                    "assetKey":"84848",
                                    "route":"/intel-pentium-dual-core/product/prod40001",
                                    "customerAccountId":"customerAcc-123",
                                    "selectedOptions":[
                                    ],
                                    "actionCode":"Add",
                                    "activationDate":"2017-06-27T15:30:00Z",
                                    "serviceId":"service-123",
                                    "asset":false
                                }
                            ],
                            "rootAssetKey":"12345",
                            "transactionDate":"2018-06-27T12:59:59Z",
                            "catRefId":"sku40007",
                            "assetKey":"98765",
                            "commerceItemId":"ci19000425",
                            "route":"/8-gb-kingston-sodimm-ddr3-1600mhz/product/prod40007",
                            "customerAccountId":"customerAcc-123",
                            "selectedOptions":[
                            ],
                            "actionCode":"Add",
                            "activationDate":"2017-06-27T15:30:00Z",
                            "serviceId":"service-123",
                            "asset":false
                        }
                    ],
                    "configuratorId":"36379716",
                    "assetKey":"12345",
                    "overriddenPrice":"",
                    "commerceItemId":"ci1000785",
                    "price":597,
                    "isPriceOverridden":false,
                    "variant":[
                        {
                            "optionValue":"Neon",
                            "optionName":"color"
                        },
                        {
                            "optionValue":"2x optical/130x digital",
                            "optionName":"zoom"
                        }
                    ],
                    "actionCode":"Add",
                    "serviceId":"service-123",
                    "stateDetailsAsUser":"Added to order",
                    "serviceAccountId":"serviceAcc-123",
                    "unitPrice":597,
                    "quantity":1,
                    "productId":"camcorder_1",
                    "salePrice":597,
                    "parentAssetKey":null,
                    "tax":37.4,
                    "rootAssetKey":null,
                    "transactionDate":"2018-06-27T12:59:59Z",
                    "catRefId":"camcordersku_1_3",
                    "customerAccountId":"customerAcc-123",
                    "discountInfo":[
                    ],
                    "activationDate":"2017-06-27T15:30:00Z",
                    "asset":false,
                    "listPrice":699.99,
                    "status":0,
                    "priceOverrideReason":{
                    }
                }
            ]
        },
        "state":10,
        "id":"o160416",
        "quoteInfo":{
            "providerNote":null,
            "notes":[
                {
                    "providerDate":"2016-11-25T13:33:48.000Z",
                    "providerNote":"The quote is approved as per the request",
                    "profileType":null,
                    "profileId":"se-570031"
                },
                {
                    "profileType":null,
                    "profileId":"se-570031",
                    "requestDate":"2016-10-25T13:33:48.000Z",
                    "requesterNote":"provide 10 percent off on the total quantity"
                }
            ],
            "rejectionDate":null,
            "requestDate":"2016-10-25T13:33:48.000Z",
            "errorInfo":null,
            "externalID":null,
            "rejectionNote":null,
            "quoteDate":"2016-10-25T13:35:32.000Z",
            "expirationDate":"2026-04-28T18:53:48.000Z"
        },
        "stateDetailsAsUser":"Order being amended",
        "taxPriceInfo":{
            "cityTax":0,
            "amount":40.2,
            "valueAddedTax":0,
            "countyTax":20.099999999999998,
            "isTaxIncluded":false,
            "miscTax":0,
            "districtTax":0,
            "stateTax":20.099999999999998,
            "countryTax":0
        },
        "shippingGroups":[
            {
                "firstName":null,
                "emailAddress":null,
                "phoneNumber":null,
                "trackingInfo":[
                ],
                "shippingMethod":{
                    "shippingTax":2.8,
                    "cost":35,
                    "displayName":"Standard",
                    "value":"standardShippingMethod"
                },
                "shippingAddress":{
                    "lastName":"test",
                    "country":"US",
                    "address3":null,
                    "address2":"t",
                    "city":"tt",
                    "address1":"t",
                    "prefix":null,
                    "companyName":null,
                    "postalCode":"13202",
                    "jobTitle":null,
                    "county":null,
                    "suffix":null,
                    "firstName":"Test",
                    "phoneNumber":"222-333-1111",
                    "stateName":"New York",
                    "faxNumber":null,
                    "middleName":null,
                    "countryName":"United States",
                    "state":"NY",
                    "email":"test@example.com"
                },
                "middleName":null,
                "store":{
                    "country":"USA",
                    "hours":"Mon - Sat 10AM - 7PM Sun 11AM - 6 PM",
                    "address3":null,
                    "address2":"15th Floor",
                    "city":"San Francisco",
                    "address1":"475 Sansome Street",
                    "postalCode":"94111",
                    "county":null,
                    "stateAddress":"CA",
                    "phoneNumber":"(617) 386-1200",
                    "locationId":"testLoc2",
                    "name":"Cloud Store - SanFrancisco",
                    "faxNumber":"(617) 386-1200",
                    "email":"store113@example.com"
                },
                "type":"inStorePickupShippingGroup",
                "items":[
                    {
                        "serviceAccountId":"serviceAcc-123",
                        "availablePickupDate":null,
                        "deactivationDate":"2018-06-27T12:59:59Z",
                        "quantity":1,
                        "productId":"Product_18Cxi",
                        "preferredPickupDate":null,
                        "externalData":[
                        ],
                        "parentAssetKey":null,
                        "billingProfileId":"billingProfile-123",
                        "billingAccountId":"billingAcc-123",
                        "rootAssetKey":null,
                        "transactionDate":"2018-06-27T12:59:59Z",
                        "catRefId":"Sku_18Dxi",
                        "assetKey":"84756",
                        "customerAccountId":"customerAcc-123",
                        "actionCode":"Add",
                        "activationDate":"2017-06-27T15:30:00Z",
                        "serviceId":"service-123",
                        "asset":false
                    }
                ],
                "trackingNumber":null
            }
        ],
        "shippingMethod":{
            "shippingTax":2.8,
            "cost":35,
            "displayName":"Standard",
            "value":"standardShippingMethod"
        },
        "profile":{
            "lastName":"test",
            "firstName":"Test",
            "middleName":null,
            "email":"test@example.com"
        },
        "priceListGroup":{
            "deleted":false,
            "displayName":"Default Price Group",
            "listPriceList":{
                "repositoryId":"listPrices"
            },
            "repositoryId":"defaultPriceGroup",
            "active":true,
            "salePriceList":{
                "repositoryId":"salePrices"
            },
            "currency":{
                "symbol":"$",
                "displayName":"US Dollar",
                "repositoryId":"en_US",
                "fractionalDigits":2,
                "currencyCode":"USD",
                "numericCode":"840"
            },
            "id":"defaultPriceGroup",
            "locale":"en_US",
            "shippingSurchargePriceList":{
                "repositoryId":"shippingSurchargePrices"
            }
        },
        "returnRequests":[
        ],
        "creationDate":"2016-06-14T18:51:16.000Z",
        "originOfOrder":"contactCenter",
        "discountInfo":{
            "unclaimedCouponMultiPromotions":{
            },
            "orderCouponsMap":{
                "Coupon2":{
                    "promotionLevel":"order",
                    "totalAdjustment":"-119.4",
                    "promotionDesc":"SPEND200FOR20PercentOFF",
                    "promotionId":"promo30007"
                }
            },
            "orderDiscount":129.39999999999998,
            "shippingDiscount":0,
            "orderImplicitDiscountList":[
            ],
            "claimedCouponMultiPromotions":{
                "Coupon2":[
                    {
                        "promotionLevel":"order",
                        "totalAdjustment":"-119.4",
                        "promotionDesc":"SPEND200FOR20PercentOFF",
                        "promotionId":"promo30007"
                    },
                    {
                        "promotionLevel":"order",
                        "totalAdjustment":"-10.0",
                        "promotionDesc":"Order_Discount_M2M",
                        "promotionId":"promo30008"
                    }
                ]
            },
            "unclaimedCouponsMap":{
            }
        },
        "orderCancelReason":null,
        "profileId":"120026",
        "exchangeRequests":[
        ],
        "siteId":"siteUS",
        "shippingAddress":{
            "lastName":"test",
            "country":"US",
            "address3":null,
            "address2":"t",
            "city":"tt",
            "address1":"t",
            "prefix":null,
            "companyName":null,
            "postalCode":"13202",
            "jobTitle":null,
            "county":null,
            "suffix":null,
            "firstName":"Test",
            "phoneNumber":"222-333-1111",
            "stateName":"New York",
            "faxNumber":null,
            "middleName":null,
            "countryName":"United States",
            "state":"NY",
            "email":"test@example.com"
        }
    }
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |200109|No edit in progress| |200106|Order data passed is null| |200105|Order id passed is null or empty| |200108|Edit in progress by another agent| |200107|Internal error occurred| |200110|Internal error occurred| |30020|The Site to which the order belongs was deleted| |30021|The Site to which the order belongs is currently inactive| |100094|Organization passed in the header is currently inactive| |20101|Invalid shipping details| |100095|The order or return request does not belong to the current organization of the shopper profile| |100096|The organization associated to the order or return request was deleted / does not exist| |100097|The organization associated to the order or return request is currently inactive| |100098|Current operation is being performed in an organization context and the shopper profile is not associated to any organization| |100099|Current operation is being performed in an organization context and the order or return request does not belong to any organization| |28107|Order not found| |200116|Internal error occurred| |200119|Internal error occurred| |20107|Specified order does not exist| |200112|Internal error occurred| |200115|Internal error occurred| |200120|Edit not initiated for the order| |30015|SiteId passed in x-ccsite header is currently inactive| |200100|Internal error occurred| |30014|SiteId passed in x-ccsite header is invalid or the site was deleted| |100101|The shopper profile does not belong to organization passed in the header| |30019|SiteId passed in x-ccsite header is not related to the order being worked upon| |28410|The structure of add-ons defined for the order is invalid| |28329|One of the dynamic properties is not writable by the Agent user|
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