repriceOrder
post
/ccagent/v1/orders/reprice
Reprice Order. Reprices an order enquiring by id from the repository. Maps all required fields for order details. Optionally takes X-CCOrganization header which is a JSON field with organization ID as value. If this header is not provided, then the endPoint will consider first active organization as the current organization for a B2B user.
Request
Supported Media Types
- application/json
Header Parameters
- X-CCOrganization
-
Type:
stringthe organization Id in which order should be created
Body Parameter
Root Schema : repriceOrder_request
{
"id":"o90417"
}
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : repriceOrder_response
- billingMethod
-
Type:
objectbillingMethodAdditional Properties Allowed:billing Method information of the order. - creationDate
-
Type:
stringDate on which the Order was created. - creationTime
-
Type:
numberOrder creation time. - discountInfo
-
Type:
objectdiscountInfoAdditional Properties Allowed:Discount information. - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:Read-only list of dynamic properties for the order along with meta-data. - id
-
Type:
stringCommerce id for this order. - isItemPriceOverrideAllowed
-
Type:
booleanIndicates whether an item price can be overridden. - orderCancelReason
-
Type:
stringReason through which the order has been cancelled. - orderComments
-
Type:
arrayorderCommentsAdditional Properties Allowed:The list of all logged comments for the order. - paymentGroup
-
Type:
objectpaymentGroupAdditional Properties Allowed:Payment Group for the order. - paymentGroups
-
Type:
arraypaymentGroupsAdditional Properties Allowed:List of payment Groups for the order. - priceInfo
-
Type:
objectpriceInfoAdditional Properties Allowed:Price information of the order. - priceListGroup
-
Type:
objectpriceListGroupAdditional Properties Allowed:PriceList group of the order. - profile
-
Type:
objectprofileAdditional Properties Allowed:Profile Information for the order. - profileId
-
Type:
stringThe Repository Id of the profile to which this Order belongs to. - returnRequests
-
Type:
arrayreturnRequestsAdditional Properties Allowed:The list of the requests raised for the order. - scheduledOrderId
-
Type:
stringThe id of the scheduled order from which the order is placed, if the origin of order is schedule order. This is an optional key and will not be available if the origin of order is not scheduled order. - scheduledOrderName
-
Type:
stringThe name of the scheduled order from which the order is placed, if the origin of order is schedule order. This is an optional key and will not be available if the origin of order is not scheduled order. - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:shipping address for the order. - shippingGroups
-
Type:
arrayshippingGroupsAdditional Properties Allowed:Shipping Group Information - shippingMethod
-
Type:
objectshippingMethodAdditional Properties Allowed:Shipping method information. - shoppingCart
-
Type:
objectshoppingCartAdditional Properties Allowed:Shopping cart information. - sourceSystem
-
Type:
stringThe system where the order originated. - state
-
Type:
integerThe order state. - stateDetailsAsUser
-
Type:
stringOrder State description for this order. - stateString
-
Type:
stringOrder state as key string. - submittedDate
-
Type:
stringDate on which the order was submitted. - taxPriceInfo
-
Type:
objecttaxPriceInfoAdditional Properties Allowed:The tax pricing details for the order. - totalAmountAuthorized
-
Type:
numbertotal amount authorized for the order.
Nested Schema : billingMethod
Type:
objectbilling Method information of the order.
- cost
-
Type:
numberbilling Cost for this order. - displayName
-
Type:
stringbilling method display name for this billing method. - value
-
Type:
stringbilling method name for this order.
Nested Schema : discountInfo
Type:
objectDiscount information.
- claimedCouponMultiPromotions
-
Type:
objectclaimedCouponMultiPromotionsAdditional Properties Allowed:The coupons that were claimed - orderCouponsMap
-
Type:
arrayorderCouponsMapAdditional Properties Allowed:Map of coupons. - orderDiscount
-
Type:
numberDiscount given on an order. - orderImplicitDiscountList
-
Type:
arrayorderImplicitDiscountListAdditional Properties Allowed:List of discounts. - shippingDiscount
-
Type:
integerThe shipping discount. - unclaimedCouponMultiPromotions
-
Type:
objectunclaimedCouponMultiPromotionsAdditional Properties Allowed:The coupons that were not claimed - unclaimedCouponsMap
-
Type:
arrayunclaimedCouponsMapAdditional Properties Allowed:Map of unclaimed coupons.
Nested Schema : dynamicProperties
Nested Schema : orderComments
Nested Schema : paymentGroup
Type:
objectPayment Group for the order.
- amount
-
Type:
numberThe amount associated with this Payment Group. - amountAuthorized
-
Type:
numberThe amount authorized with this Payment Group. - balance
-
Type:
stringThe gift card balance available. - billingAddress
-
Type:
objectbillingAddressAdditional Properties Allowed:Billing address for the order. - cardNumber
-
Type:
stringThe masked credit card number. - cardType
-
Type:
stringThe credit card type. - firstName
-
Type:
stringFirst name associated with this Payment Group. - lastName
-
Type:
stringLast name associated with this Payment Group. - paidAmount
-
Type:
numberThe amount that has been debited to-date for this Payment Group. - paymentGroupId
-
Type:
integerId of this payment Group. - paymentState
-
Type:
stringThe Payment Group state. - paymentStateDetailsAsUser
-
Type:
stringThe payment state description as string. - paymentStatString
-
Type:
stringThe payment state as a key string. - PONumber
-
Type:
stringPurchase order number for invoice payment. Payment type: invoice - refundAmount
-
Type:
numberThe amount that has been credited to-date for this Payment Group. - token
-
Type:
stringToken associated with this Payment Group. - totalDue
-
Type:
numberThe current working total order price including all discounts, tax, and billing costs. - uiIntervention
-
Type:
stringThis decides whether the client has to do some intervention for payment. e.g. SOP - zero_value_auto_authorized
-
Type:
stringThe Payment Group is auto authorized without any payment details for zero amount. e.g. true
Nested Schema : paymentGroups
Nested Schema : priceInfo
Type:
objectPrice information of the order.
- amount
-
Type:
numberThe raw number that represents the price. - billing
-
Type:
numberThe billing cost of the order. - currencyCode
-
Type:
stringIndicates the currency of the price. For example, USD indicates that the price is in US dollars. - subTotal
-
Type:
numberThe subtotal of the order before applying order-level promotions. - tax
-
Type:
numberThe tax on the order. - total
-
Type:
numberThe current working total, including all promotions, tax, and billing costs.
Nested Schema : priceListGroup
Type:
objectPriceList group of the order.
- active
-
Type:
booleanActive status of pricelist group. - currency
-
Type:
objectcurrencyAdditional Properties Allowed:Currency of the PriceList group. - deleted
-
Type:
booleanPricelist group deleted status. - displayName
-
Type:
stringDisplay Name. - id
-
Type:
stringId. - locale
-
Type:
stringLocale. - repositoryId
-
Type:
stringRepository Id.
Nested Schema : profile
Type:
objectProfile Information for the order.
-
Type:
stringEmail Address corresponding to the profile. - firstName
-
Type:
stringFirst name of profile. - isAnonymous
-
Type:
booleanIndicates whether this profile is an anonymous profile. By default, it is false. - lastName
-
Type:
stringLast name of profile. - middleName
-
Type:
stringMiddle name of profile. - organization
-
Type:
objectorganizationAdditional Properties Allowed:The Organization associated with the B2B customer profile.
Nested Schema : returnRequests
Nested Schema : shippingAddress
Type:
objectshipping address for the order.
- address1
-
Type:
stringAddress Line 1 for this shipping address. - address2
-
Type:
stringAddress Line 2 for this shipping address. - address3
-
Type:
stringAddress Line 3 for this shipping address. - city
-
Type:
stringCity for this shipping address. - companyName
-
Type:
stringCompany name for this shipping address. - country
-
Type:
stringCountry for this shipping address. - county
-
Type:
stringCounty for this shipping address. -
Type:
stringEmail for this shipping address. - faxNumber
-
Type:
stringFax number for this shipping address. - firstName
-
Type:
stringFirst name for this shipping address. - jobTitle
-
Type:
stringJob title for this shipping address. - lastName
-
Type:
stringLast name for this shipping address. - middleName
-
Type:
stringMiddle name for this shipping address. - phoneNumber
-
Type:
stringPhone number for this shipping address. - postalCode
-
Type:
stringPostal code for this shipping address. - prefix
-
Type:
stringPrefix for this shipping address. - selectedCountry
-
Type:
stringThe selected country of the shipping address. - selectedState
-
Type:
stringThe selected state of the shipping address. - state
-
Type:
stringState for this shipping address. - state_ISOCode
-
Type:
stringThe state ISON code of the shipping address. - suffix
-
Type:
stringSuffix for this shipping address.
Nested Schema : shippingGroups
Nested Schema : shippingMethod
Type:
objectShipping method information.
- cost
-
Type:
numbershipping cost. - displayName
-
Type:
stringDisplay Name of shipment. - value
-
Type:
stringmethod type of shipment
Nested Schema : shoppingCart
Type:
objectShopping cart information.
- items
-
Type:
arrayitemsAdditional Properties Allowed:Items in the cart.
Nested Schema : taxPriceInfo
Type:
objectThe tax pricing details for the order.
- amount
-
Type:
numberThe monetary amount. - amountIsFinal
-
Type:
booleanWhether the amount is final. - cityTax
-
Type:
numberThe monetary amount of city tax. - countryTax
-
Type:
numberThe monetary amount of country tax. - countyTax
-
Type:
numberThe monetary amount of county tax. - currencyCode
-
Type:
stringThe three character currency code. - discounted
-
Type:
booleanWhether the price was discounted. - districtTax
-
Type:
numberTax amount for the district. - stateTax
-
Type:
numberTax amount for the state.
Nested Schema : claimedCouponMultiPromotions
Type:
objectThe coupons that were claimed
- couponCode
-
Type:
arraycouponCodeAdditional Properties Allowed:Coupon Code, corresponding to which promotions were applied
Nested Schema : orderCouponsMap
Nested Schema : orderImplicitDiscountList
Nested Schema : unclaimedCouponMultiPromotions
Type:
objectThe coupons that were not claimed
- couponCode
-
Type:
arraycouponCodeAdditional Properties Allowed:Coupon Code, corresponding to which some promotions were not applied
Nested Schema : unclaimedCouponsMap
Nested Schema : couponCode
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringPromotion Description - promotionId
-
Type:
stringPromotion Id - promotionLevel
-
Type:
stringPromotion Level - totalAdjustment
-
Type:
numberAdjustment done by the promotion
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : couponCode
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringPromotion Description - promotionId
-
Type:
stringPromotion Id - promotionLevel
-
Type:
stringPromotion Level
Nested Schema : items
Type:
object- couponInfo
-
Type:
arraycouponInfoAdditional Properties Allowed:The coupon Info. - promotionValue
-
Type:
stringThe value for promotion.
Nested Schema : couponInfo
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- id
-
Type:
stringThe ID of the dynamic property. - value
-
Type:
stringThe value of the dynamic property.
Nested Schema : items
Type:
object- comment
-
Type:
stringThe comment string. - creationDate
-
Type:
stringDate on which the comment was created. - repositoryId
-
Type:
stringThe repository id of the comment record.
Nested Schema : billingAddress
Type:
objectBilling address for the order.
- address1
-
Type:
stringAddress line 1 for this billing address. - address2
-
Type:
stringAddress line 2 for this billing address. - address3
-
Type:
stringAddress line 3 for this billing address. - city
-
Type:
stringCity for this billing address. - companyName
-
Type:
stringCompany name for this billing address. - country
-
Type:
stringCountry for this billing address. - county
-
Type:
stringCounty for this billing address. -
Type:
stringEmail for this billing address. - faxNumber
-
Type:
stringFax number for this billing address. - firstName
-
Type:
stringFirst name for this billing address. - jobTitle
-
Type:
stringJob title for this billing address. - lastName
-
Type:
stringLast name for this billing address. - middleName
-
Type:
stringMiddle name for this billing address. - phoneNumber
-
Type:
stringPhone number for this billing address. - postalCode
-
Type:
stringPostal code for this billing address. - prefix
-
Type:
stringPrefix for this billing address. - selectedCountry
-
Type:
stringThe selected country of the shipping address. - selectedState
-
Type:
stringThe selected state of the shipping address. - state
-
Type:
stringState for this billing address. - state_ISOCode
-
Type:
stringThe state ISON code of the shipping address. - suffix
-
Type:
stringSuffix for this billing address.
Nested Schema : items
Type:
object- amount
-
Type:
numberThe amount associated with this Payment Group. - amountAuthorized
-
Type:
numberThe amount authorized with this Payment Group. - balance
-
Type:
stringThe gift card balance available. - billingAddress
-
Type:
objectbillingAddressAdditional Properties Allowed:Billing address for the order. - cardNumber
-
Type:
stringThe masked credit card number. - cardType
-
Type:
stringPayment method. e.g. physicalGiftCard/ creditCard - firstName
-
Type:
stringFirst name associated with this Payment Group. - lastName
-
Type:
stringLast name associated with this Payment Group. - paidAmount
-
Type:
numberThe amount that has been debited to-date for this Payment Group. - paymentGroupId
-
Type:
integerId of this payment Group. - paymentState
-
Type:
stringThe Payment Group state. - paymentStateDetailsAsUser
-
Type:
stringThe payment state description as string. - paymentStateString
-
Type:
stringThe payment state as a key String. - PONumber
-
Type:
stringPurchase order number for invoice payment. Payment type: invoice - refundAmount
-
Type:
numberThe amount that has been credited to-date for this Payment Group. - token
-
Type:
stringToken associated with this Payment Group. - totalDue
-
Type:
numberThe current working total order price including all discounts, tax, and billing costs. - uiIntervention
-
Type:
stringThis decides whether the client has to do some intervention for payment. e.g. SOP - zero_value_auto_authorized
-
Type:
stringThe Payment Group is auto authorized without any payment details for zero amount. e.g. true
Nested Schema : billingAddress
Type:
objectBilling address for the order.
- address1
-
Type:
stringAddress line 1 for this billing address. - address2
-
Type:
stringAddress line 2 for this billing address. - address3
-
Type:
stringAddress line 3 for this billing address. - city
-
Type:
stringCity for this billing address. - companyName
-
Type:
stringCompany name for this billing address. - country
-
Type:
stringCountry for this billing address. - county
-
Type:
stringCounty for this billing address. -
Type:
stringEmail for this billing address. - faxNumber
-
Type:
stringFax number for this billing address. - firstName
-
Type:
stringFirst name for this billing address. - jobTitle
-
Type:
stringJob title for this billing address. - lastName
-
Type:
stringLast name for this billing address. - middleName
-
Type:
stringMiddle name for this billing address. - phoneNumber
-
Type:
stringPhone number for this billing address. - postalCode
-
Type:
stringPostal code for this billing address. - prefix
-
Type:
stringPrefix for this billing address. - selectedCountry
-
Type:
stringThe selected country of the shipping address. - selectedState
-
Type:
stringThe selected state of the shipping address. - state
-
Type:
stringState for this billing address. - state_ISOCode
-
Type:
stringThe state ISON code of the shipping address. - suffix
-
Type:
stringSuffix for this billing address.
Nested Schema : currency
Type:
objectCurrency of the PriceList group.
- currencyCode
-
Type:
stringCurrency Code. - displayName
-
Type:
stringDisplay Name. - fractionalDigits
-
Type:
integerFractional Digits. - numericCode
-
Type:
stringNumeric Code. - repositoryId
-
Type:
stringRepository Id. - symbol
-
Type:
stringcurrency Symbol.
Nested Schema : organization
Type:
objectThe Organization associated with the B2B customer profile.
- id
-
Type:
stringThe id of the organization. - name
-
Type:
stringThe name of of the organization.
Nested Schema : items
Type:
object- createdDate
-
Type:
stringThe creation date of the return request. - returnRequestId
-
Type:
stringThe return request id. - state
-
Type:
stringThe status of the return request. - totalRefund
-
Type:
numberThe total amount to be refunded on return. - totalReturnQuantity
-
Type:
integerThe total quantity for which return request has been raised.
Nested Schema : items
Type:
object- approvalSystemMessages
-
Type:
arrayapprovalSystemMessagesAdditional Properties Allowed:The array of messages which are stored during order processing - items
-
Type:
arrayitemsRequired:trueAdditional Properties Allowed:Items in the cart. - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:shipping address for the order. - shippingMethod
-
Type:
objectshippingMethodAdditional Properties Allowed:Shipping method information. - trackingInfo
-
Type:
arraytrackingInfoAdditional Properties Allowed:Tracking Information for the Order. - trackingNumber
-
Type:
stringShipping tracking number.
Nested Schema : approvalSystemMessages
Nested Schema : items
Nested Schema : shippingAddress
Type:
objectshipping address for the order.
- address1
-
Type:
stringAddress Line 1 for this shipping address. - address2
-
Type:
stringAddress Line 2 for this shipping address. - address3
-
Type:
stringAddress Line 3 for this shipping address. - city
-
Type:
stringCity for this shipping address. - companyName
-
Type:
stringCompany name for this shipping address. - country
-
Type:
stringCountry for this shipping address. - county
-
Type:
stringCounty for this shipping address. -
Type:
stringEmail for this shipping address. - faxNumber
-
Type:
stringFax number for this shipping address. - firstName
-
Type:
stringFirst name for this shipping address. - jobTitle
-
Type:
stringJob title for this shipping address. - lastName
-
Type:
stringLast name for this shipping address. - middleName
-
Type:
stringMiddle name for this shipping address. - phoneNumber
-
Type:
stringPhone number for this shipping address. - postalCode
-
Type:
stringPostal code for this shipping address. - prefix
-
Type:
stringPrefix for this shipping address. - selectedCountry
-
Type:
stringThe selected country of the shipping address. - selectedState
-
Type:
stringThe selected state of the shipping address. - state
-
Type:
stringState for this shipping address. - state_ISOCode
-
Type:
stringThe state ISON code of the shipping address. - suffix
-
Type:
stringSuffix for this shipping address.
Nested Schema : shippingMethod
Type:
objectShipping method information.
- cost
-
Type:
numbershipping cost. - displayName
-
Type:
stringDisplay Name of shipment. - value
-
Type:
stringmethod type of shipment.
Nested Schema : trackingInfo
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringRequired:truecatRefId of the product. - commerceItemId
-
Type:
stringThe unique id of the line item. - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:Array of custom properties at order line item level. - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - productId
-
Type:
stringRequired:trueId of the product. - quantity
-
Type:
integerRequired:truequantity of the product. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item. - skuProperties
-
Type:
arrayskuPropertiesAdditional Properties Allowed:Sku properties Information - variant
-
Type:
arrayvariantAdditional Properties Allowed:Product Variant Information.
Nested Schema : dynamicProperties
Nested Schema : externalData
Nested Schema : skuProperties
Nested Schema : variant
Nested Schema : items
Type:
object- id
-
Type:
stringThe ID of the dynamic property. - label
-
Type:
stringThe label of the dynamic property. - value
-
Type:
stringThe value of the dynamic property.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- id
-
Type:
stringID of the Dynamic SKU Property. - name
-
Type:
stringName of the Dynamic SKU Property. - propertyType
-
Type:
stringType that indicates whether it is a base or a custom SKU property, - value
-
Type:
stringValue of the Dynamic SKU Property.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Nested Schema : items
Type:
object- carrierId
-
Type:
stringCarrier Id for Tracking. - carrierName
-
Type:
stringCarrier Name for Tracking. - carrierUrl
-
Type:
stringCarrier URL for Tracking. - trackingNumber
-
Type:
stringTracking Number
Nested Schema : items
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringCatalog Reference Id of commerce item. - childItems
-
Type:
arraychildItemsAdditional Properties Allowed:Child items of the commerce item - commerceItemId
-
Type:
stringThe unique id of the line item. - configuratorId
-
Type:
stringConfiguration id of the configurable product - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - discountAmount
-
Type:
numberTotal discount applied to commerce item. - discountInfo
-
Type:
objectdiscountInfoAdditional Properties Allowed:Discount information. - displayName
-
Type:
stringDisplay name of commerce item. - dynamicProperties
-
Type:
arraydynamicPropertiesAdditional Properties Allowed:Array of custom properties at order line item level. - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
numberThe Price of the product as per the external pricing system. - externalPriceQuantity
-
Type:
integerQuantity of the product, the customer is allowed to buy at the external price. - giftWithPurchaseCommerceItemMarkers
-
Type:
arraygiftWithPurchaseCommerceItemMarkersAdditional Properties Allowed:The array of giftWithPurchaseCommerceItemMarkers. - imageInfo
-
Type:
objectimageInfoAdditional Properties Allowed:Shipping method information. - isPriceOverridden
-
Type:
booleanIndicates if commerce item price is overridden or not. - onSale
-
Type:
booleanindicates if product is on sale or not - overriddenPrice
-
Type:
numberoverridden price of commerce item. - price
-
Type:
numberThe raw number that represents the price. - priceOverridenBy
-
Type:
stringName of the agent who has overridden item price. - priceOverrideReason
-
Type:
objectpriceOverrideReasonAdditional Properties Allowed:Price override reason map. - productId
-
Type:
stringProduct Id of commerce item. - quantity
-
Type:
numberQuantity of the items. - rawTotalPrice
-
Type:
numberThe raw total price. - returnedQuantity
-
Type:
numberQuantity for which return request has been raised. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item. - skuProperties
-
Type:
arrayskuPropertiesAdditional Properties Allowed:Sku properties Information - stateDescription
-
Type:
stringItem state as a key string. - stateDetailsAsUser
-
Type:
stringState description of the commerce item. - status
-
Type:
integerState of the commerce item. - subTotal
-
Type:
numberThe base price for the item, before any modifications. Calculated by multiplying the quantity by the listPrice. - tax
-
Type:
numberThe amount of tax paid for this item. - unitPrice
-
Type:
numberSale price or list price of commerceItem. - variant
-
Type:
arrayvariantAdditional Properties Allowed:Product Variant Information.
Nested Schema : childItems
Nested Schema : discountInfo
Type:
objectDiscount information.
- orderCouponsMap
-
Type:
arrayorderCouponsMapAdditional Properties Allowed:Map of coupons. - orderDiscount
-
Type:
numberDiscount given on an order. - orderImplicitDiscountList
-
Type:
arrayorderImplicitDiscountListAdditional Properties Allowed:List of discounts. - shippingDiscount
-
Type:
integerThe shipping discount. - unclaimedCouponsMap
-
Type:
arrayunclaimedCouponsMapAdditional Properties Allowed:Map of unclaimed coupons.
Nested Schema : dynamicProperties
Nested Schema : externalData
Nested Schema : giftWithPurchaseCommerceItemMarkers
Nested Schema : imageInfo
Type:
objectShipping method information.
- primaryThumbImageURL
-
Type:
stringThumbNail Image URL
Nested Schema : priceOverrideReason
Type:
objectPrice override reason map.
- displayValue
-
Type:
stringprice override reason value. - key
-
Type:
stringprice override reason key.
Nested Schema : skuProperties
Nested Schema : variant
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringSku Id of the child item - childItems
-
Type:
arraychildItemsAdditional Properties Allowed:Child items of the commerce item - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - displayName
-
Type:
stringDisplay name of the child product - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - productId
-
Type:
stringProduct Id of the child item - quantity
-
Type:
numberQuantity of the child item - route
-
Type:
stringProduct path - selectedOptions
-
Type:
arrayselectedOptionsAdditional Properties Allowed:Child Product Variant Information. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item.
Nested Schema : childItems
Nested Schema : externalData
Nested Schema : selectedOptions
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringSku Id of the child item - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - displayName
-
Type:
stringDisplay name of the child product - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - productId
-
Type:
stringProduct Id of the child item - quantity
-
Type:
numberQuantity of the child item - route
-
Type:
stringProduct path - selectedOptions
-
Type:
arrayselectedOptionsAdditional Properties Allowed:Child Product Variant Information. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item.
Nested Schema : externalData
Nested Schema : selectedOptions
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Nested Schema : orderCouponsMap
Nested Schema : orderImplicitDiscountList
Nested Schema : unclaimedCouponsMap
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- couponInfo
-
Type:
arraycouponInfoAdditional Properties Allowed:The coupon Info. - promotionValue
-
Type:
stringThe value for promotion.
Nested Schema : couponInfo
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- id
-
Type:
stringThe ID of the dynamic property. - label
-
Type:
stringThe label of the dynamic property. - value
-
Type:
stringThe value of the dynamic property.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- automaticQuantity
-
Type:
numberThe quantity of the free gift that this commerce item is making free and was auto added by pricing. - data
-
Type:
integerThe gift hash code for this GWP promotion. - key
-
Type:
stringatg.gwp - remainingQuantity
-
Type:
numberThe quantity of the commerce item that is not affected by GWP. - selectedQuantity
-
Type:
numberThe quantity of the free gift that this commerce item is making free and was selected by the shopper. - targetedQuantity
-
Type:
numberThe quantity of the free gift that this commerce item is making free and was targeted by pricing. - value
-
Type:
stringThe gift with purchase promotion id.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic SKU Property. - optionValue
-
Type:
stringValue of the Dynamic SKU Property.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Example application/json
{
"totalAmountAuthorized":124.18,
"orderComments":[
],
"creationTime":1.436906449E12,
"dynamicProperties":[
{
"id":"dynamicPropertyShippingInstructions",
"value":"Test Instructions"
}
],
"submittedDate":"2015-07-14T20:41:49.000Z",
"paymentGroups":[
{
"lastName":"Anderson",
"amountAuthorized":124.18,
"amount":88.55,
"totalDue":88.55,
"cardType":null,
"zero_value_auto_authorized":"true",
"token":"9997000108950573",
"paymentGroupId":"pg10411",
"firstName":"Kim",
"paymentStateDetailsAsUser":"The authorization succeeded",
"uiIntervention":"sop",
"billingAddress":{
"lastName":"Anderson",
"country":"US",
"address3":null,
"address2":null,
"city":"Syracuse",
"address1":"21 Cedar Ave",
"prefix":null,
"companyName":null,
"postalCode":"13202",
"jobTitle":null,
"county":null,
"suffix":null,
"selectedCountry":"US",
"firstName":"Kim",
"phoneNumber":"212-555-1977",
"stateName":"New York",
"faxNumber":null,
"middleName":null,
"countryName":"United States",
"state":"NY",
"email":"kim@example.com",
"selectedState":"NY",
"state_ISOCode":"US-NY"
},
"paymentState":1,
"paidAmount":0,
"cardNumber":"xxxxxxxxxxxx1111",
"refundAmount":0
}
],
"priceInfo":{
"amount":56.99,
"total":88.55,
"shipping":25,
"shippingSurchargeValue":0,
"tax":6.56,
"subTotal":56.99,
"currencyCode":"USD"
},
"paymentGroup":{
"lastName":"Anderson",
"amountAuthorized":124.18,
"amount":88.55,
"totalDue":88.55,
"cardType":null,
"zero_value_auto_authorized":"true",
"token":"9997000108950573",
"paymentGroupId":"pg10411",
"firstName":"Kim",
"paymentStateDetailsAsUser":"The authorization succeeded",
"uiIntervention":"sop",
"billingAddress":{
"lastName":"Anderson",
"country":"US",
"address3":null,
"address2":null,
"city":"Syracuse",
"address1":"21 Cedar Ave",
"prefix":null,
"companyName":null,
"postalCode":"13202",
"jobTitle":null,
"county":null,
"suffix":null,
"selectedCountry":"US",
"firstName":"Kim",
"phoneNumber":"212-555-1977",
"stateName":"New York",
"faxNumber":null,
"middleName":null,
"countryName":"United States",
"state":"NY",
"email":"kim@example.com",
"selectedState":"NY",
"state_ISOCode":"US-NY"
},
"paymentState":1,
"paidAmount":0,
"cardNumber":"xxxxxxxxxxxx1111",
"refundAmount":0
},
"shoppingCart":{
"items":[
{
"deactivationDate":"2018-06-27T12:59:59Z",
"rawTotalPrice":39.99,
"returnedQuantity":0,
"priceOverridenBy":"Damon Weber",
"displayName":"Fable II",
"shippingSurchargeValue":0,
"discountAmount":0,
"externalData":[
],
"billingAccountId":"billingAcc-123",
"imageInfo":{
"primaryThumbImageURL":"/ccstore/v1/images/?source=http://localhost:9080/file/products/fableIIxbox_LARGE.jpg&height=100&width=100"
},
"childItems":[
{
"serviceAccountId":"serviceAcc-123",
"deactivationDate":"2018-06-27T12:59:59Z",
"quantity":1,
"productId":"prod40001",
"displayName":"Intel Pentium Dual Core",
"externalData":[
],
"billingAccountId":"billingAcc-123",
"childItems":[
{
"serviceAccountId":"serviceAcc-123",
"deactivationDate":"2018-06-27T12:59:59Z",
"quantity":1,
"productId":"prod40007",
"displayName":"8 GB Kingston Sodimm DDR3 1600MHz",
"externalData":[
],
"billingAccountId":"billingAcc-123",
"catRefId":"sku40009",
"route":"/8-gb-kingston-sodimm-ddr3-1600mhz/product/prod40007",
"customerAccountId":"customerAcc-123",
"assetId":"asset10001",
"selectedOptions":[
],
"actionCode":"Add",
"activationDate":"2017-06-27T15:30:00Z",
"serviceId":"service-123"
}
],
"catRefId":"sku40001",
"route":"/intel-pentium-dual-core/product/prod40001",
"customerAccountId":"customerAcc-123",
"assetId":"asset10001",
"selectedOptions":[
],
"actionCode":"Add",
"activationDate":"2017-06-27T15:30:00Z",
"serviceId":"service-123"
},
{
"serviceAccountId":"serviceAcc-123",
"deactivationDate":"2018-06-27T12:59:59Z",
"quantity":1,
"productId":"prod40007",
"displayName":"8 GB Kingston Sodimm DDR3 1600MHz",
"externalData":[
],
"billingAccountId":"billingAcc-123",
"catRefId":"sku40007",
"route":"/8-gb-kingston-sodimm-ddr3-1600mhz/product/prod40007",
"customerAccountId":"customerAcc-123",
"assetId":"asset10001",
"selectedOptions":[
],
"actionCode":"Add",
"activationDate":"2017-06-27T15:30:00Z",
"serviceId":"service-123"
}
],
"configuratorId":"36379716",
"overriddenPrice":3,
"commerceItemId":"ci1000785",
"assetId":"asset10001",
"price":3,
"isPriceOverridden":true,
"variant":[
],
"onSale":"true",
"actionCode":"Add",
"serviceId":"service-123",
"stateDetailsAsUser":"The item has been initialized",
"serviceAccountId":"serviceAcc-123",
"unitPrice":39.99,
"quantity":1,
"productId":"prod10041",
"tax":0.34,
"catRefId":"sku10045",
"skuProperties":[
{
"propertyType":"sku-base",
"name":"Name",
"id":"displayName",
"value":null
},
{
"propertyType":"sku-base",
"name":"Id",
"id":"id",
"value":"camerasku_1_1"
},
{
"propertyType":"sku-custom",
"name":"dynamicskuprop1",
"id":"dynamicskuprop1",
"value":"dynamicskuprop1"
}
],
"customerAccountId":"customerAcc-123",
"discountInfo":[
],
"activationDate":"2017-06-27T15:30:00Z",
"listPrice":39.99,
"status":0,
"priceOverrideReason":{
"displayValue":"Agent Price Override",
"key":"agentPriceOverride"
}
},
{
"deactivationDate":"2018-06-27T12:59:59Z",
"rawTotalPrice":49.99,
"returnedQuantity":0,
"priceOverridenBy":"",
"displayName":"Dora the Explorer - Season 1",
"shippingSurchargeValue":0,
"discountAmount":0,
"externalData":[
],
"billingAccountId":"billingAcc-123",
"imageInfo":{
"primaryThumbImageURL":"/ccstore/v1/images/?source=http://localhost:9080/file/products/doratheexplorer_season1_LARGE.jpg&height=100&width=100"
},
"overriddenPrice":"",
"assetId":"asset10001",
"price":49.99,
"isPriceOverridden":false,
"variant":[
],
"actionCode":"Add",
"serviceId":"service-123",
"stateDetailsAsUser":"The item has been initialized",
"unitPrice":49.99,
"serviceAccountId":"serviceAcc-123",
"quantity":1,
"productId":"Product_21Cxi",
"tax":5.75,
"catRefId":"Sku_21Dxy",
"customerAccountId":"customerAcc-123",
"discountInfo":[
],
"activationDate":"2017-06-27T15:30:00Z",
"listPrice":49.99,
"status":0,
"priceOverrideReason":{
}
},
{
"deactivationDate":"2018-06-27T12:59:59Z",
"rawTotalPrice":49.98,
"returnedQuantity":0,
"priceOverridenBy":"Damon Weber",
"displayName":"Akira",
"shippingSurchargeValue":0,
"discountAmount":0,
"externalData":[
],
"billingAccountId":"billingAcc-123",
"imageInfo":{
"primaryThumbImageURL":"/ccstore/v1/images/?source=http://localhost:9080/file/products/akira_LARGE.jpg&height=100&width=100"
},
"overriddenPrice":4,
"assetId":"asset10001",
"price":4,
"isPriceOverridden":true,
"variant":[
],
"actionCode":"Add",
"serviceId":"service-123",
"stateDetailsAsUser":"The item has been initialized",
"unitPrice":24.99,
"serviceAccountId":"serviceAcc-123",
"quantity":2,
"productId":"Product_27Fxyzi",
"giftWithPurchaseCommerceItemMarkers":[
],
"tax":0.46,
"catRefId":"Sku_27Gxyzi",
"customerAccountId":"customerAcc-123",
"discountInfo":[
],
"activationDate":"2017-06-27T15:30:00Z",
"listPrice":24.99,
"status":0,
"priceOverrideReason":{
"displayValue":"Appeasement",
"key":"appeasement"
}
}
]
},
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccagentui/v1/orders/o10411?includeResult=full"
}
],
"state":1,
"id":"o10411",
"stateDetailsAsUser":"Submitted to fulfillment",
"taxPriceInfo":{
"cityTax":0,
"amount":4,
"valueAddedTax":0,
"countyTax":2,
"isTaxIncluded":false,
"miscTax":0,
"districtTax":0,
"stateTax":2,
"countryTax":0
},
"shippingGroups":[
{
"trackingInfo":[
],
"shippingMethod":{
"cost":25,
"displayName":"Standard",
"value":"standardShippingMethod"
},
"shippingAddress":{
"lastName":"Anderson",
"country":"US",
"address3":null,
"address2":null,
"city":"Syracuse",
"address1":"21 Cedar Ave",
"prefix":null,
"companyName":null,
"postalCode":"13202",
"jobTitle":null,
"county":null,
"suffix":null,
"selectedCountry":"US",
"firstName":"Kim",
"phoneNumber":"212-555-1977",
"stateName":"New York",
"faxNumber":null,
"middleName":null,
"countryName":"United States",
"state":"NY",
"email":"kim@example.com",
"selectedState":"NY",
"state_ISOCode":"US-NY"
},
"trackingNumber":null,
"items":[
{
"serviceAccountId":"serviceAcc-123",
"deactivationDate":"2018-06-27T12:59:59Z",
"quantity":1,
"productId":"Product_21Cxi",
"externalData":[
],
"billingAccountId":"billingAcc-123",
"catRefId":"Sku_21Dxy",
"skuProperties":[
{
"propertyType":"sku-base",
"name":"Name",
"id":"displayName",
"value":null
},
{
"propertyType":"sku-base",
"name":"Id",
"id":"id",
"value":"camerasku_1_1"
},
{
"propertyType":"sku-custom",
"name":"dynamicskuprop1",
"id":"dynamicskuprop1",
"value":"dynamicskuprop1"
}
],
"customerAccountId":"customerAcc-123",
"assetId":"asset10001",
"variant":[
],
"actionCode":"Add",
"activationDate":"2017-06-27T15:30:00Z",
"serviceId":"service-123"
}
]
}
],
"approvalSystemMessages":[
"Order is pending approval because total is greater than the approved order limit."
],
"shippingMethod":{
"cost":25,
"displayName":"Standard",
"value":"standardShippingMethod"
},
"isItemPriceOverrideAllowed":true,
"profile":{
"lastName":"Anderson",
"firstName":"Kim",
"organization":{
"name":"Oracle India Pvt Ltd",
"id":"oracle"
},
"middleName":null,
"email":"kim@example.com"
},
"priceListGroup":{
"deleted":false,
"displayName":"UsDollar",
"repositoryId":"UsDollar",
"active":true,
"currency":{
"symbol":"$",
"displayName":"US Dollar",
"repositoryId":"en_US",
"fractionalDigits":2,
"currencyCode":"USD",
"numericCode":"840"
},
"id":"UsDollar",
"locale":"en_US"
},
"returnRequests":[
],
"creationDate":"2015-07-14T20:40:49.000Z",
"discountInfo":{
"unclaimedCouponMultiPromotions":{
},
"orderCouponsMap":{
},
"orderDiscount":0,
"shippingDiscount":0,
"orderImplicitDiscountList":[
],
"unclaimedCouponsMap":{
},
"claimedCouponMultiPromotions":{
}
},
"profileId":"se-570031",
"exchangeRequests":[
],
"giftWithPurchaseInfo":[
],
"shippingAddress":{
"lastName":"Anderson",
"country":"US",
"address3":null,
"address2":null,
"city":"Syracuse",
"address1":"21 Cedar Ave",
"prefix":null,
"companyName":null,
"postalCode":"13202",
"jobTitle":null,
"county":null,
"suffix":null,
"selectedCountry":"US",
"firstName":"Kim",
"phoneNumber":"212-555-1977",
"stateName":"New York",
"faxNumber":null,
"middleName":null,
"countryName":"United States",
"state":"NY",
"email":"kim@example.com",
"selectedState":"NY",
"state_ISOCode":"US-NY"
},
"giftWithPurchaseOrderMarkers":[
]
}
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|28088|The selected shipping method is no longer available.|
|28122|Specified order does not exist|
|100094|Organization passed in the header is currently inactive|
|100095|The order or return request does not belong to the current organization of the shopper profile|
|100096|The organization associated to the order or return request was deleted / does not exist|
|100097|The organization associated to the order or return request is currently inactive|
|100098|Current operation is being performed in an organization context and the shopper profile is not associated to any organization|
|28123|The order cannot be repriced.|
|100099|Current operation is being performed in an organization context and the order or return request does not belong to any organization|
|28124|An error occurred while re-pricing the order.|
|100101|The shopper profile does not belong to organization passed in the header|
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Request:
{"id": "o90417"}
Sample Response Payload returned by endpoint:
{
"totalAmountAuthorized": 124.18,
"orderComments": [],
"creationTime": 1436906449000,
"dynamicProperties": [{
"id": "dynamicPropertyShippingInstructions",
"value": "Test Instructions"
}],
"submittedDate": "2015-07-14T20:41:49.000Z",
"paymentGroups": [{
"lastName": "Anderson",
"amountAuthorized": 124.18,
"amount": 88.55,
"totalDue": 88.55,
"cardType": null,
"zero_value_auto_authorized": "true",
"token": "9997000108950573",
"paymentGroupId": "pg10411",
"firstName": "Kim",
"paymentStateDetailsAsUser": "The authorization succeeded",
"uiIntervention": "sop",
"billingAddress": {
"lastName": "Anderson",
"country": "US",
"address3": null,
"address2": null,
"city": "Syracuse",
"address1": "21 Cedar Ave",
"prefix": null,
"companyName": null,
"postalCode": "13202",
"jobTitle": null,
"county": null,
"suffix": null,
"selectedCountry": "US",
"firstName": "Kim",
"phoneNumber": "212-555-1977",
"stateName": "New York",
"faxNumber": null,
"middleName": null,
"countryName": "United States",
"state": "NY",
"email": "kim@example.com",
"selectedState": "NY",
"state_ISOCode": "US-NY"
},
"paymentState": 1,
"paidAmount": 0,
"cardNumber": "xxxxxxxxxxxx1111",
"refundAmount": 0
}],
"priceInfo": {
"amount": 56.99,
"total": 88.55,
"shipping": 25,
"shippingSurchargeValue": 0,
"tax": 6.56,
"subTotal": 56.99,
"currencyCode": "USD"
},
"paymentGroup": {
"lastName": "Anderson",
"amountAuthorized": 124.18,
"amount": 88.55,
"totalDue": 88.55,
"cardType": null,
"zero_value_auto_authorized": "true",
"token": "9997000108950573",
"paymentGroupId": "pg10411",
"firstName": "Kim",
"paymentStateDetailsAsUser": "The authorization succeeded",
"uiIntervention": "sop",
"billingAddress": {
"lastName": "Anderson",
"country": "US",
"address3": null,
"address2": null,
"city": "Syracuse",
"address1": "21 Cedar Ave",
"prefix": null,
"companyName": null,
"postalCode": "13202",
"jobTitle": null,
"county": null,
"suffix": null,
"selectedCountry": "US",
"firstName": "Kim",
"phoneNumber": "212-555-1977",
"stateName": "New York",
"faxNumber": null,
"middleName": null,
"countryName": "United States",
"state": "NY",
"email": "kim@example.com",
"selectedState": "NY",
"state_ISOCode": "US-NY"
},
"paymentState": 1,
"paidAmount": 0,
"cardNumber": "xxxxxxxxxxxx1111",
"refundAmount": 0
},
"shoppingCart": {"items": [
{
"deactivationDate": "2018-06-27T12:59:59Z",
"rawTotalPrice": 39.99,
"returnedQuantity": 0,
"priceOverridenBy": "Damon Weber",
"displayName": "Fable II",
"shippingSurchargeValue": 0,
"discountAmount": 0,
"externalData": [],
"billingAccountId": "billingAcc-123",
"imageInfo": {"primaryThumbImageURL": "/ccstore/v1/images/?source=http://localhost:9080/file/products/fableIIxbox_LARGE.jpg&height=100&width=100"},
"childItems": [
{
"serviceAccountId": "serviceAcc-123",
"deactivationDate": "2018-06-27T12:59:59Z",
"quantity": 1,
"productId": "prod40001",
"displayName": "Intel Pentium Dual Core",
"externalData": [],
"billingAccountId": "billingAcc-123",
"childItems": [{
"serviceAccountId": "serviceAcc-123",
"deactivationDate": "2018-06-27T12:59:59Z",
"quantity": 1,
"productId": "prod40007",
"displayName": "8 GB Kingston Sodimm DDR3 1600MHz",
"externalData": [],
"billingAccountId": "billingAcc-123",
"catRefId": "sku40009",
"route": "/8-gb-kingston-sodimm-ddr3-1600mhz/product/prod40007",
"customerAccountId": "customerAcc-123",
"assetId": "asset10001",
"selectedOptions": [],
"actionCode": "Add",
"activationDate": "2017-06-27T15:30:00Z",
"serviceId": "service-123"
}],
"catRefId": "sku40001",
"route": "/intel-pentium-dual-core/product/prod40001",
"customerAccountId": "customerAcc-123",
"assetId": "asset10001",
"selectedOptions": [],
"actionCode": "Add",
"activationDate": "2017-06-27T15:30:00Z",
"serviceId": "service-123"
},
{
"serviceAccountId": "serviceAcc-123",
"deactivationDate": "2018-06-27T12:59:59Z",
"quantity": 1,
"productId": "prod40007",
"displayName": "8 GB Kingston Sodimm DDR3 1600MHz",
"externalData": [],
"billingAccountId": "billingAcc-123",
"catRefId": "sku40007",
"route": "/8-gb-kingston-sodimm-ddr3-1600mhz/product/prod40007",
"customerAccountId": "customerAcc-123",
"assetId": "asset10001",
"selectedOptions": [],
"actionCode": "Add",
"activationDate": "2017-06-27T15:30:00Z",
"serviceId": "service-123"
}
],
"configuratorId": "36379716",
"overriddenPrice": 3,
"commerceItemId": "ci1000785",
"assetId": "asset10001",
"price": 3,
"isPriceOverridden": true,
"variant": [],
"onSale": "true",
"actionCode": "Add",
"serviceId": "service-123",
"stateDetailsAsUser": "The item has been initialized",
"serviceAccountId": "serviceAcc-123",
"unitPrice": 39.99,
"quantity": 1,
"productId": "prod10041",
"tax": 0.34,
"catRefId": "sku10045",
"skuProperties": [
{
"propertyType": "sku-base",
"name": "Name",
"id": "displayName",
"value": null
},
{
"propertyType": "sku-base",
"name": "Id",
"id": "id",
"value": "camerasku_1_1"
},
{
"propertyType": "sku-custom",
"name": "dynamicskuprop1",
"id": "dynamicskuprop1",
"value": "dynamicskuprop1"
}
],
"customerAccountId": "customerAcc-123",
"discountInfo": [],
"activationDate": "2017-06-27T15:30:00Z",
"listPrice": 39.99,
"status": 0,
"priceOverrideReason": {
"displayValue": "Agent Price Override",
"key": "agentPriceOverride"
}
},
{
"deactivationDate": "2018-06-27T12:59:59Z",
"rawTotalPrice": 49.99,
"returnedQuantity": 0,
"priceOverridenBy": "",
"displayName": "Dora the Explorer - Season 1",
"shippingSurchargeValue": 0,
"discountAmount": 0,
"externalData": [],
"billingAccountId": "billingAcc-123",
"imageInfo": {"primaryThumbImageURL": "/ccstore/v1/images/?source=http://localhost:9080/file/products/doratheexplorer_season1_LARGE.jpg&height=100&width=100"},
"overriddenPrice": "",
"assetId": "asset10001",
"price": 49.99,
"isPriceOverridden": false,
"variant": [],
"actionCode": "Add",
"serviceId": "service-123",
"stateDetailsAsUser": "The item has been initialized",
"unitPrice": 49.99,
"serviceAccountId": "serviceAcc-123",
"quantity": 1,
"productId": "Product_21Cxi",
"tax": 5.75,
"catRefId": "Sku_21Dxy",
"customerAccountId": "customerAcc-123",
"discountInfo": [],
"activationDate": "2017-06-27T15:30:00Z",
"listPrice": 49.99,
"status": 0,
"priceOverrideReason": {}
},
{
"deactivationDate": "2018-06-27T12:59:59Z",
"rawTotalPrice": 49.98,
"returnedQuantity": 0,
"priceOverridenBy": "Damon Weber",
"displayName": "Akira",
"shippingSurchargeValue": 0,
"discountAmount": 0,
"externalData": [],
"billingAccountId": "billingAcc-123",
"imageInfo": {"primaryThumbImageURL": "/ccstore/v1/images/?source=http://localhost:9080/file/products/akira_LARGE.jpg&height=100&width=100"},
"overriddenPrice": 4,
"assetId": "asset10001",
"price": 4,
"isPriceOverridden": true,
"variant": [],
"actionCode": "Add",
"serviceId": "service-123",
"stateDetailsAsUser": "The item has been initialized",
"unitPrice": 24.99,
"serviceAccountId": "serviceAcc-123",
"quantity": 2,
"productId": "Product_27Fxyzi",
"giftWithPurchaseCommerceItemMarkers": [],
"tax": 0.46,
"catRefId": "Sku_27Gxyzi",
"customerAccountId": "customerAcc-123",
"discountInfo": [],
"activationDate": "2017-06-27T15:30:00Z",
"listPrice": 24.99,
"status": 0,
"priceOverrideReason": {
"displayValue": "Appeasement",
"key": "appeasement"
}
}
]},
"links": [{
"rel": "self",
"href": "http://localhost:9080/ccagentui/v1/orders/o10411?includeResult=full"
}],
"state": 1,
"id": "o10411",
"stateDetailsAsUser": "Submitted to fulfillment",
"taxPriceInfo": {
"cityTax": 0,
"amount": 4,
"valueAddedTax": 0,
"countyTax": 2,
"isTaxIncluded": false,
"miscTax": 0,
"districtTax": 0,
"stateTax": 2,
"countryTax": 0
},
"shippingGroups": [{
"trackingInfo": [],
"shippingMethod": {
"cost": 25,
"displayName": "Standard",
"value": "standardShippingMethod"
},
"shippingAddress": {
"lastName": "Anderson",
"country": "US",
"address3": null,
"address2": null,
"city": "Syracuse",
"address1": "21 Cedar Ave",
"prefix": null,
"companyName": null,
"postalCode": "13202",
"jobTitle": null,
"county": null,
"suffix": null,
"selectedCountry": "US",
"firstName": "Kim",
"phoneNumber": "212-555-1977",
"stateName": "New York",
"faxNumber": null,
"middleName": null,
"countryName": "United States",
"state": "NY",
"email": "kim@example.com",
"selectedState": "NY",
"state_ISOCode": "US-NY"
},
"trackingNumber": null,
"items": [{
"serviceAccountId": "serviceAcc-123",
"deactivationDate": "2018-06-27T12:59:59Z",
"quantity": 1,
"productId": "Product_21Cxi",
"externalData": [],
"billingAccountId": "billingAcc-123",
"catRefId": "Sku_21Dxy",
"skuProperties": [
{
"propertyType": "sku-base",
"name": "Name",
"id": "displayName",
"value": null
},
{
"propertyType": "sku-base",
"name": "Id",
"id": "id",
"value": "camerasku_1_1"
},
{
"propertyType": "sku-custom",
"name": "dynamicskuprop1",
"id": "dynamicskuprop1",
"value": "dynamicskuprop1"
}
],
"customerAccountId": "customerAcc-123",
"assetId": "asset10001",
"variant": [],
"actionCode": "Add",
"activationDate": "2017-06-27T15:30:00Z",
"serviceId": "service-123"
}]
}],
"approvalSystemMessages": ["Order is pending approval because total is greater than the approved order limit."],
"shippingMethod": {
"cost": 25,
"displayName": "Standard",
"value": "standardShippingMethod"
},
"isItemPriceOverrideAllowed": true,
"profile": {
"lastName": "Anderson",
"firstName": "Kim",
"organization": {
"name": "Oracle India Pvt Ltd",
"id": "oracle"
},
"middleName": null,
"email": "kim@example.com"
},
"priceListGroup": {
"deleted": false,
"displayName": "UsDollar",
"repositoryId": "UsDollar",
"active": true,
"currency": {
"symbol": "$",
"displayName": "US Dollar",
"repositoryId": "en_US",
"fractionalDigits": 2,
"currencyCode": "USD",
"numericCode": "840"
},
"id": "UsDollar",
"locale": "en_US"
},
"returnRequests": [],
"creationDate": "2015-07-14T20:40:49.000Z",
"discountInfo": {
"unclaimedCouponMultiPromotions": {},
"orderCouponsMap": {},
"orderDiscount": 0,
"shippingDiscount": 0,
"orderImplicitDiscountList": [],
"unclaimedCouponsMap": {},
"claimedCouponMultiPromotions": {}
},
"profileId": "se-570031",
"exchangeRequests": [],
"giftWithPurchaseInfo": [],
"shippingAddress": {
"lastName": "Anderson",
"country": "US",
"address3": null,
"address2": null,
"city": "Syracuse",
"address1": "21 Cedar Ave",
"prefix": null,
"companyName": null,
"postalCode": "13202",
"jobTitle": null,
"county": null,
"suffix": null,
"selectedCountry": "US",
"firstName": "Kim",
"phoneNumber": "212-555-1977",
"stateName": "New York",
"faxNumber": null,
"middleName": null,
"countryName": "United States",
"state": "NY",
"email": "kim@example.com",
"selectedState": "NY",
"state_ISOCode": "US-NY"
},
"giftWithPurchaseOrderMarkers": []
}