priceOrder
post
/ccstore/v1/orders/price
Price Order. Price an order. Optionally takes the x-ccasset-language headers to get translated content in another language.Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization context of logged in user.
Request
Supported Media Types
- application/json
Header Parameters
- X-CCOrganization
-
Type:
string
Current organization context of the logged in user
Body Parameter
Root Schema : priceOrder_request
{
"orderId":"o10001",
"shippingMethod":{
"value":"ground"
},
"payments":[
{
"amount":"100.0",
"giftCardNumber":"6035710988880101071",
"giftCardPin":"",
"type":"physicalGiftCard"
}
],
"shoppingCart":{
"coupons":[
{
"code":"FREETATTOO",
"level":"item",
"description":"Explicit Item Discount - FREETATTOO",
"id":"explicitItemFreeDiscount",
"totalAdjustment":"-21.99",
"status":"claimed"
}
],
"items":[
{
"serviceAccountId":"serviceAcc-123",
"deactivationDate":"2018-06-27T12:59:59Z",
"quantity":1,
"dynamicPropertyMode":"pickup",
"productId":"xprod2165",
"externalRecurringCharge":10,
"externalData":[
],
"billingAccountId":"billingAcc-123",
"externalRecurringChargeFrequency":"Monthly",
"catRefId":"xsku2165",
"externalRecurringChargeDuration":"12",
"discountInfo":[
],
"customerAccountId":"customerAcc-123",
"assetId":"asset10001",
"stockStatus":true,
"actionCode":"Add",
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"activationDate":"2017-06-27T15:30:00Z",
"serviceId":"service-123",
"recurringCharge":10
}
]
},
"reprice":true,
"shippingAddress":{
"lastName":"Test",
"country":"United States",
"address3":"",
"address2":"Line 2",
"city":"Montgomery",
"prefix":"",
"address1":"Line 1",
"postalCode":"36123",
"jobTitle":"",
"companyName":"",
"county":"",
"suffix":"",
"selectedCountry":"US",
"firstName":"Steve",
"phoneNumber":"45454545",
"faxNumber":"",
"alias":"",
"middleName":"",
"state":"Alabama",
"email":"steve.test@oracle.com",
"selectedState":"AL",
"state_ISOCode":"US-AL"
}
}
- checkout
-
Type:
boolean
Required:true
The option to check in case the data is updated from checkout page. - combineLineItems
-
Type:
string
Value to determine if line items are to be combined. Can be yes or no. - giftWithPurchaseOrderMarkers
-
Type:
array
giftWithPurchaseOrderMarkersAdditional Properties Allowed:gift with purchase order marker information. Required if gift with purchase order marker information is present. - orderId
-
Type:
string
The ID of order to reprice. This parameter is mandatory if reprice flag is true. Currently this and reprice parameter is used only for orders in pending approval state. - payments
-
Type:
array
paymentsAdditional Properties Allowed:The array of payments containing gift card payments or a payment card's issue identification number (IIN) to be sent when repricing the order. Properties are specific to the given payment type e.g. if 'type' is iinPaymentType include only 'IIN', if physicalGiftCard include all other properties - populateShippingMethods
-
Type:
boolean
This flag identifies whether to validate the full address or only the state, country and zip code. Full address is validated when this is set to false. - reprice
-
Type:
boolean
Currently this flag is used in combination with orderId parameter. If flag is true orderId is mandatory. Used only for orders in pending approval state. - shippingAddress
-
Type:
object
shippingAddressRequired:true
Additional Properties Allowed:The shipping address details. - shippingGroups
-
Type:
array
shippingGroupsAdditional Properties Allowed:The shipping groups for the order. - shippingMethod
-
Type:
object
shippingMethodRequired:true
Additional Properties Allowed:The shipping method details for the order. - shoppingCart
-
Type:
object
shoppingCartRequired:true
Additional Properties Allowed:The shopping cart contents of the current order.
Nested Schema : giftWithPurchaseOrderMarkers
Nested Schema : payments
Type:
array
The array of payments containing gift card payments or a payment card's issue identification number (IIN) to be sent when repricing the order. Properties are specific to the given payment type e.g. if 'type' is iinPaymentType include only 'IIN', if physicalGiftCard include all other properties
Nested Schema : shippingAddress
Type:
object
The shipping address details.
- address1
-
Type:
string
Required:true
Address snippet. - address2
-
Type:
string
Address snippet. - address3
-
Type:
string
Address snippet. - alias
-
Type:
string
Address alias. - city
-
Type:
string
Required:true
City. - companyName
-
Type:
string
Company name. - country
-
Type:
string
Required:true
Country. - county
-
Type:
string
County. -
Type:
string
Required:true
Email address. - faxNumber
-
Type:
string
Fax number. - firstName
-
Type:
string
Required:true
First name - jobTitle
-
Type:
string
Job title. - lastName
-
Type:
string
Required:true
Last name. - middleName
-
Type:
string
Middle name. - phoneNumber
-
Type:
string
Phone number. - postalCode
-
Type:
string
Required:true
Postal code. - prefix
-
Type:
string
Name prefix. - selectedCountry
-
Type:
string
Required:true
Country code. - selectedState
-
Type:
string
Required:true
State code. - state
-
Type:
string
Required:true
State. - state_ISOCode
-
Type:
string
Required:true
State ISO code. - suffix
-
Type:
string
Name suffix.
Nested Schema : shippingGroups
Nested Schema : shippingMethod
Type:
object
The shipping method details for the order.
- value
-
Type:
string
Required:true
The shipping method applied to the order.
Nested Schema : shoppingCart
Type:
object
The shopping cart contents of the current order.
Nested Schema : items
Type:
object
- automaticQuantity
-
Type:
number
Required:true
The quantity of free sku for this gift selection that has already been auto added to the order. - autoRemove
-
Type:
boolean
Required:true
Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies. - data
-
Type:
integer
Required:true
Identifier to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one. - failedQuantity
-
Type:
number
Required:true
The amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site. - giftDetail
-
Type:
string
Required:true
String identifying the free gift, usually the repository id of the gift type. - giftType
-
Type:
string
Required:true
The type of the gift. (sku, product) - key
-
Type:
string
Required:true
atg.gwp - quantity
-
Type:
number
Required:true
The total quantity of sku for this gift selection. - removedQuantity
-
Type:
number
Required:true
The amount of free quantity that has since been manually removed by a Shopper. - selectedQuantity
-
Type:
integer
Required:true
The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order. - targetedQuantity
-
Type:
number
Required:true
The quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order. - value
-
Type:
string
Required:true
The gift with purchase promotion id
Nested Schema : items
Type:
object
- amount
-
Type:
string
Required:true
The total balance on the gift card. It will be empty if the gift card is added for the first time. - giftCardNumber
-
Type:
string
Required:true
Gift card number. Payment type:physicalGiftCard. - giftCardPin
-
Type:
string
Gift card pin. Payment type:physicalGiftCard. - IIN
-
Type:
string
The issuer identification number (first 6 digits) of the IIN payment type card, e.g. credit card. This is normally used to allow any credit card type based promotions to be applied prior to final checkout. (iinPaymentType only) - type
-
Type:
string
Required:true
The type of the payment. e.g. physicalGiftCard/iinPaymentType.
Nested Schema : items
Type:
object
- items
-
Type:
array
itemsRequired:true
Additional Properties Allowed:The array of products in the shipping group. - shippingAddress
-
Type:
object
shippingAddressRequired:true
Additional Properties Allowed:The shipping address details. - shippingMethod
-
Type:
object
shippingMethodRequired:true
Additional Properties Allowed:The shipping method details for the order.
Nested Schema : items
Nested Schema : shippingAddress
Type:
object
The shipping address details.
- address1
-
Type:
string
Required:true
Address snippet. - address2
-
Type:
string
Address snippet. - address3
-
Type:
string
Address snippet. - alias
-
Type:
string
Address alias. - city
-
Type:
string
Required:true
City. - companyName
-
Type:
string
Company name. - country
-
Type:
string
Required:true
Country. - county
-
Type:
string
County. -
Type:
string
Required:true
Email address. - faxNumber
-
Type:
string
Fax number. - firstName
-
Type:
string
Required:true
First name. - jobTitle
-
Type:
string
Job title. - lastName
-
Type:
string
Required:true
Last name. - middleName
-
Type:
string
Middle name. - phoneNumber
-
Type:
string
Phone number. - postalCode
-
Type:
string
Required:true
Postal code. - prefix
-
Type:
string
Name prefix. - selectedCountry
-
Type:
string
Required:true
Country code. - selectedState
-
Type:
string
Required:true
State code. - state
-
Type:
string
Required:true
State. - state_ISOCode
-
Type:
string
Required:true
State ISO code. - suffix
-
Type:
string
Name suffix.
Nested Schema : shippingMethod
Type:
object
The shipping method details for the order.
- value
-
Type:
string
Required:true
The shipping method applied to the order.
Nested Schema : items
Type:
object
- catRefId
-
Type:
string
Required:true
The category to which the product belongs. - commerceItemId
-
Type:
string
Unique line item ID distinguisher. This field becomes required for split shipping when combineLineItems is set to no. - detailedRecurringChargeInfo
-
Type:
object
detailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - externalRecurringCharge
-
Type:
number
The external recurring price. - externalRecurringChargeDuration
-
Type:
string
The duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
string
The frequency for the recurring charge e.g. Monthly. - productId
-
Type:
string
Required:true
ID of the product in the cart. - quantity
-
Type:
integer
Required:true
The quantity of the product in this shipping group. - recurringCharge
-
Type:
number
The recurring charge for the item.
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
- amount
-
Type:
number
The monetary amount for the recurring charge. - currencyCode
-
Type:
string
The three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
number
The detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
boolean
Whether the price is discounted. - orderDiscountShare
-
Type:
number
The order Discount Share. - quantity
-
Type:
integer
The number of items covered by this recurring charge price info - tax
-
Type:
number
Monetary tax amount.
Nested Schema : coupons
Nested Schema : items
Nested Schema : items
Type:
object
- code
-
Type:
string
Required:true
The coupon code. - description
-
Type:
string
The coupon description. - detailedRecurringChargeInfo
-
Type:
object
detailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - externalRecurringCharge
-
Type:
number
The external recurring price. - externalRecurringChargeDuration
-
Type:
string
The duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
string
The frequency for the recurring charge e.g. Monthly. - id
-
Type:
string
Required:true
The coupon ID. - level
-
Type:
string
Required:true
The level of the coupon (whether the coupon is item level, etc). - recurringCharge
-
Type:
number
The recurring charge for the item. - status
-
Type:
string
Required:true
The current status of the coupon.
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
- amount
-
Type:
number
The monetary amount for the recurring charge. - currencyCode
-
Type:
string
The three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
number
The detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
boolean
Whether the price is discounted. - orderDiscountShare
-
Type:
number
The order Discount Share. - quantity
-
Type:
integer
The number of items covered by this recurring charge price info - tax
-
Type:
number
Monetary tax amount.
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the item by the configurator system. - activationDate
-
Type:
string
The activation date in ISO format. - assetId
-
Type:
string
The asset ID corresponding to the current item. - billingAccountId
-
Type:
string
The billing account ID associated to the current item. - catRefId
-
Type:
string
Required:true
The category to which the product belongs. - childItems
-
Type:
array
childItemsAdditional Properties Allowed:The array of child items in the item, if the item is a configurable item. A child item can itself contain child item array if it is a configurable product in itself. - commerceItemId
-
Type:
string
The unique line item ID distinguisher. This field becomes required for split shipping when combineLineItems is set to no. - currentPrice
-
Type:
integer
Required:true
The current price of the item. - customerAccountId
-
Type:
string
The customer account ID associated to the current item. - deactivationDate
-
Type:
string
The deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
object
detailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - discountInfo
-
Type:
object
discountInfoAdditional Properties Allowed:Discount information. - externalData
-
Type:
array
externalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
number
A price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable). - externalPriceQuantity
-
Type:
integer
The maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). - externalRecurringCharge
-
Type:
number
The external recurring price. - externalRecurringChargeDuration
-
Type:
string
The duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
string
The frequency for the recurring charge e.g. Monthly. - giftWithPurchaseCommerceItemMarkers
-
Type:
array
giftWithPurchaseCommerceItemMarkersAdditional Properties Allowed:giftWithPurchaseCommerceItemMarker information. If giftWithPurchaseCommerceItemMarker information is present on the order is should be passed in. - giftWithPurchaseSelections
-
Type:
array
giftWithPurchaseSelectionsAdditional Properties Allowed:The array of gift with purchase selections to be made. - productId
-
Type:
string
Required:true
ID of the product in the cart. - quantity
-
Type:
integer
Required:true
The quantity of the product in the cart. - recurringCharge
-
Type:
number
The recurring charge for the item. - serviceAccountId
-
Type:
string
The service account ID associated to the current item. - serviceId
-
Type:
string
The service ID associated to the current item. - stockStatus
-
Type:
string
Required:true
The stock status of the product.
Nested Schema : childItems
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
- amount
-
Type:
number
The monetary amount for the recurring charge. - currencyCode
-
Type:
string
The three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
number
The detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
boolean
Whether the price is discounted. - orderDiscountShare
-
Type:
number
The order Discount Share. - quantity
-
Type:
integer
The number of items covered by this recurring charge price info - tax
-
Type:
number
Monetary tax amount.
Nested Schema : discountInfo
Type:
object
Discount information.
- coupon
-
Type:
string
Required:true
Coupon code. - giftWithPurchaseDiscountInfo
-
Type:
array
giftWithPurchaseDiscountInfoAdditional Properties Allowed:The gift selection information. - promotionDesc
-
Type:
string
Required:true
This field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
string
Required:true
Promotion ID. - promotionLevel
-
Type:
string
The promotion level. - promotionLongDesc
-
Type:
string
The description of the promotion. - promotionName
-
Type:
string
The display name of the promotion. - totalAdjustment
-
Type:
number
Total adjustment by the promotion.
Nested Schema : externalData
Nested Schema : giftWithPurchaseCommerceItemMarkers
Nested Schema : giftWithPurchaseSelections
Nested Schema : items
Type:
object
- activationDate
-
Type:
string
The activation date in ISO format. - assetId
-
Type:
string
The asset ID corresponding to the current item. - billingAccountId
-
Type:
string
The billing account ID associated to the current item. - catRefId
-
Type:
string
Required:true
Sku reference id. - customerAccountId
-
Type:
string
The customer account ID associated to the current item. - deactivationDate
-
Type:
string
The deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
object
detailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - externalData
-
Type:
array
externalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
number
Required:true
A price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable). - externalPriceQuantity
-
Type:
integer
Required:true
The maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). The value of this property should be -1 in case if the current item is a sub item of a configurable product - externalRecurringCharge
-
Type:
number
The external recurring price. - externalRecurringChargeDuration
-
Type:
string
The duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
string
The frequency for the recurring charge e.g. Monthly. - productId
-
Type:
string
Required:true
ID of the product in the cart. - quantity
-
Type:
integer
Required:true
The quantity of the product in the cart. - recurringCharge
-
Type:
number
The recurring charge for the item. - serviceAccountId
-
Type:
string
The service account ID associated to the current item. - serviceId
-
Type:
string
The service ID associated to the current item.
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
- amount
-
Type:
number
The monetary amount for the recurring charge. - currencyCode
-
Type:
string
The three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
number
The detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
boolean
Whether the price is discounted. - orderDiscountShare
-
Type:
number
The order Discount Share. - quantity
-
Type:
integer
The number of items covered by this recurring charge price info - tax
-
Type:
number
Monetary tax amount.
Nested Schema : externalData
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the externalData item by the configurator system. - name
-
Type:
string
Required:true
The name to be associated with the externalData item. - values
-
Type:
object
valuesRequired:true
Additional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
- dynamic_property_key
-
Type:
string
Required:true
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : giftWithPurchaseDiscountInfo
Nested Schema : items
Type:
object
- giftWithPurchaseChoicesAvailable
-
Type:
boolean
If this gift with purchase has multiple gift choices. - giftWithPurchaseIdentifier
-
Type:
integer
The gift hash code for this gift with purchase promotion. - giftWithPurchaseQuantity
-
Type:
number
The quantity that is gift quantity
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the externalData item by the configurator system. - name
-
Type:
string
Required:true
The name to be associated with the externalData item. - values
-
Type:
object
valuesRequired:true
Additional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
- dynamic_property_key
-
Type:
string
Required:true
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object
- automaticQuantity
-
Type:
number
Required:true
The quantity of the free gift that this commerce item is making free and was auto added by pricing. - data
-
Type:
integer
Required:true
The gift hash code for this gift with purchase promotion. - key
-
Type:
string
Required:true
atg.gwp - remainingQuantity
-
Type:
number
Required:true
The quantity of the commerce item that is not affected by gift with purchase. - selectedQuantity
-
Type:
number
Required:true
The quantity of the free gift that this commerce item is making free and was selected by the shopper. - targetedQuantity
-
Type:
number
Required:true
The quantity of the free gift that this commerce item is making free and was targeted by pricing. - value
-
Type:
string
Required:true
The gift with purchase promotion id.
Nested Schema : items
Type:
object
- catRefId
-
Type:
string
The product variant Id. Include this Id when you are wishing to mark this as a gift with purchase selection you wish to change out - giftWithPurchaseIdentifier
-
Type:
integer
Required:true
The identifier that links this gift with purchase to the giftWithPurchaseInfo. - giftWithPurchaseQuantity
-
Type:
integer
Required:true
The total quantity of the commerceItem that is giftWithPurchaseQuantity. - productId
-
Type:
string
ID of the product in the cart. Include when you are wishing to mark this as a gift with purchase selection you wish to change out - promotionId
-
Type:
string
Required:true
The promotion id.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : priceOrder_response
- discountInfo
-
Type:
object
discountInfoAdditional Properties Allowed:The discount information. - giftWithPurchaseInfo
-
Type:
array
giftWithPurchaseInfoAdditional Properties Allowed:The gift information. - giftWithPurchaseOrderMarkers
-
Type:
array
giftWithPurchaseOrderMarkersAdditional Properties Allowed:gift with purchase order marker information. - numberOfItems
-
Type:
integer
The number of items in the cart. - orderId
-
Type:
string
The ID of order to reprice. - payments
-
Type:
array
paymentsAdditional Properties Allowed:Payment details for the pricing call, including additional properties specific to the payment type. - priceInfo
-
Type:
object
priceInfoAdditional Properties Allowed:The price information. - pricingMessages
-
Type:
object
pricingMessagesAdditional Properties Allowed:The Pricing messages information. - quoteInfo
-
Type:
object
quoteInfoAdditional Properties Allowed:the quote information of the order - recurringChargePriceInfo
-
Type:
object
recurringChargePriceInfoAdditional Properties Allowed:Recurring charge price information. - shippingGroups
-
Type:
array
shippingGroupsAdditional Properties Allowed:The shipping groups for the order. - shippingMethod
-
Type:
object
shippingMethodAdditional Properties Allowed:The shipping method details for the order. - shoppingCart
-
Type:
object
shoppingCartAdditional Properties Allowed:The shopping cart contents of the current order. - siteId
-
Type:
string
The id of the site in which the order was created
Nested Schema : discountInfo
Type:
object
The discount information.
- claimedCouponMultiPromotions
-
Type:
object
claimedCouponMultiPromotionsAdditional Properties Allowed:The coupons that were claimed - orderCouponsMap
-
Type:
array
orderCouponsMapAdditional Properties Allowed:The list of all the coupons with the order. - orderDiscount
-
Type:
integer
The order discount. - orderImplicitDiscountList
-
Type:
array
orderImplicitDiscountListAdditional Properties Allowed:The implicit order discounts with the order. - shippingDiscount
-
Type:
integer
The shipping discount. - unclaimedCouponMultiPromotions
-
Type:
object
unclaimedCouponMultiPromotionsAdditional Properties Allowed:The coupons that were not claimed - unclaimedCouponsMap
-
Type:
object
unclaimedCouponsMapAdditional Properties Allowed:The unclaimed coupons with the order.
Nested Schema : giftWithPurchaseInfo
Nested Schema : giftWithPurchaseOrderMarkers
Nested Schema : payments
Nested Schema : priceInfo
Type:
object
The price information.
- amount
-
Type:
number
The total order amount. - currencyCode
-
Type:
string
The currency code. - shipping
-
Type:
number
The total shipping cost. - shippingSurchargeValue
-
Type:
number
Extra handling costs for shipping the products. - subTotal
-
Type:
number
Sub-total. - tax
-
Type:
number
The total tax amount. - total
-
Type:
number
The order total.
Nested Schema : pricingMessages
Type:
object
The Pricing messages information.
- giftWithPurchaseMessages
-
Type:
array
giftWithPurchaseMessagesAdditional Properties Allowed:The gift with purchase messages information.
Nested Schema : quoteInfo
Type:
object
the quote information of the order
- errorInfo
-
Type:
array
errorInfoAdditional Properties Allowed:the array of errors, if any - expirationDate
-
Type:
string
the expiration date of the quoted order, if any - externalId
-
Type:
string
the external id for the quote - notes
-
Type:
array
notesAdditional Properties Allowed:the notes (history) for the order - providerNote
-
Type:
string
the provider note for the quoted order - quoteDate
-
Type:
number
the date the order was quoted in milliseconds - rejectionDate
-
Type:
string
rejection date of the quoted order - rejectionNote
-
Type:
string
the rejection note for an order whose quote has been rejected by user - requestDate
-
Type:
string
the date when the quote was requested in ISO format
Nested Schema : recurringChargePriceInfo
Type:
object
Recurring charge price information.
- amount
-
Type:
number
The monetary amount of this recurring charge. - currencyCode
-
Type:
string
The currency code for the monetary amounts. A three character currency code such as USD. - frequencyAmountTotals
-
Type:
array
frequencyAmountTotalsAdditional Properties Allowed:The total for each recurring charge frequency - frequencyTaxTotals
-
Type:
array
frequencyTaxTotalsAdditional Properties Allowed:The tax for each recurring charge frequency - shipping
-
Type:
number
Cost of shipping the product. - subTotal
-
Type:
number
The sub-total price of the recurring charge. - tax
-
Type:
number
Monetary tax amount. - total
-
Type:
number
The total price of the recurring charge. - totalWithoutTax
-
Type:
number
Total of recurring amount without tax included.
Nested Schema : shippingGroups
Nested Schema : shippingMethod
Type:
object
The shipping method details for the order.
- cost
-
Type:
number
The total cost of shipping. - value
-
Type:
string
The shipping method applied to the order.
Nested Schema : shoppingCart
Type:
object
The shopping cart contents of the current order.
- items
-
Type:
array
itemsAdditional Properties Allowed:The array of products in the shopping cart.
Nested Schema : claimedCouponMultiPromotions
Type:
object
The coupons that were claimed
- coupon code
-
Type:
array
coupon codeAdditional Properties Allowed:Coupon Code, corresponding to which promotions were applied
Nested Schema : orderCouponsMap
Nested Schema : orderImplicitDiscountList
Nested Schema : unclaimedCouponMultiPromotions
Type:
object
The coupons that were not claimed
- coupon code
-
Type:
array
coupon codeAdditional Properties Allowed:Coupon Code, corresponding to which some promotions were not applied
Nested Schema : unclaimedCouponsMap
Type:
object
The unclaimed coupons with the order.
- coupon code
-
Type:
array
coupon codeAdditional Properties Allowed:Coupon Code, corresponding to which some promotions were not applied
Nested Schema : coupon code
Nested Schema : items
Type:
object
- promotionDesc
-
Type:
string
This field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
string
Promotion Id - promotionLevel
-
Type:
string
Promotion Level - promotionLongDesc
-
Type:
string
The description of the promotion. - promotionName
-
Type:
string
The display name of the promotion. - totalAdjustment
-
Type:
number
Adjustment done by the promotion
Nested Schema : items
Type:
object
- promotionDesc
-
Type:
string
This field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
string
The promotion id. - promotionLevel
-
Type:
string
The promotion level. - promotionLongDesc
-
Type:
string
The description of the promotion. - promotionName
-
Type:
string
The display name of the promotion. - totalAdjustment
-
Type:
string
The total adjustment.
Nested Schema : items
Type:
object
- promotionDesc
-
Type:
string
This field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
string
The promotion ID. - promotionLevel
-
Type:
string
The promotion level. - promotionLongDesc
-
Type:
string
The description of the promotion. - promotionName
-
Type:
string
The display name of the promotion. - totalAdjustment
-
Type:
string
The total adjustment.
Nested Schema : coupon code
Nested Schema : items
Type:
object
- promotionDesc
-
Type:
string
This field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
string
Promotion Id - promotionLevel
-
Type:
string
Promotion Level - promotionLongDesc
-
Type:
string
The description of the promotion. - promotionName
-
Type:
string
The display name of the promotion.
Nested Schema : coupon code
Nested Schema : items
Type:
object
- promotionDesc
-
Type:
string
This field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
string
Promotion Id - promotionLevel
-
Type:
string
Promotion Level - promotionLongDesc
-
Type:
string
The description of the promotion. - promotionName
-
Type:
string
The display name of the promotion.
Nested Schema : items
Type:
object
- giftWithPurchaseDetail
-
Type:
string
String identifying the free gift, usually the repository id of the gift type. - giftWithPurchaseIdentifier
-
Type:
integer
An identifier used to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one. - giftWithPurchaseQuantityAvailableForSelection
-
Type:
number
gift quantity available for selection - giftWithPurchaseType
-
Type:
string
The type of the gift. (sku, product) - promotionId
-
Type:
string
The gift with purchase promotion id
Nested Schema : items
Type:
object
- automaticQuantity
-
Type:
number
The quantity of free sku for this gift selection that has already been auto added to the order. - autoRemove
-
Type:
boolean
Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies. - data
-
Type:
integer
Identifier to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one. - failedQuantity
-
Type:
number
The amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site. - giftDetail
-
Type:
string
String identifying the free gift, usually the repository id of the gift type. - giftType
-
Type:
string
The type of the gift. (sku, product) - key
-
Type:
string
atg.gwp - quantity
-
Type:
number
The total quantity of sku for this gift selection. - removedQuantity
-
Type:
number
The amount of free quantity that has since been manually removed by a Shopper. - selectedQuantity
-
Type:
integer
The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order. - targetedQuantity
-
Type:
number
The quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order. - value
-
Type:
string
The gift with purchase promotion id
Nested Schema : items
Type:
object
- amount
-
Type:
number
Amount to be used from the payment group. - balance
-
Type:
number
Total available balance on the gift card. - gatewayName
-
Type:
string
Payment gateway name. e.g. chaseGiftCard. - giftCardNumber
-
Type:
string
Gift card number. - isAmountRemaining
-
Type:
boolean
A boolean to decide if more payment can be made from this payment group. - maskedCardNumber
-
Type:
string
Masked gift card number. - paymentGroupId
-
Type:
string
Payment group id. - paymentMethod
-
Type:
string
Payment method. e.g. physicalGiftCard/ creditCard. - paymentState
-
Type:
string
The state of the payment group. e.g. INITIAL. - uiIntervention
-
Type:
string
This decides whether the client has to do some intervention for payment. e.g. SOP.
Nested Schema : giftWithPurchaseMessages
Nested Schema : items
Type:
object
- identifier
-
Type:
string
The pricing message identifier. - params
-
Type:
array
paramsAdditional Properties Allowed:The list of all message parameters. - priority
-
Type:
integer
The pricing message priority. - summary
-
Type:
string
The pricing message summary. - type
-
Type:
string
The pricing message type.
Nested Schema : params
Nested Schema : items
Type:
object
- promotionId
-
Type:
string
The promotion id.
Nested Schema : errorInfo
Nested Schema : notes
Nested Schema : items
Type:
object
- profileId
-
Type:
string
the profile id of the user - profileType
-
Type:
string
the profile type of the user that requested the quote - requestDate/quoteDate/rejectionDate
-
Type:
number
the request/quote/rejection date for the note - requesterNote/providerNote/rejectionNote
-
Type:
string
the requester/provider/rejection note
Nested Schema : frequencyAmountTotals
Nested Schema : frequencyTaxTotals
Nested Schema : items
Type:
object
- frequency
-
Type:
string
The frequency for the item's total e.g. Monthly. - total
-
Type:
string
The total amount for the frequency.
Nested Schema : items
Type:
object
- frequency
-
Type:
string
The frequency for the item's tax e.g. Monthly. - tax
-
Type:
string
The tax amount for the frequency.
Nested Schema : items
Type:
object
- items
-
Type:
array
itemsAdditional Properties Allowed:The array of products in the shipping group. - shippingAddress
-
Type:
object
shippingAddressAdditional Properties Allowed:The shipping address details. - shippingMethod
-
Type:
object
shippingMethodAdditional Properties Allowed:The shipping method details for the order.
Nested Schema : items
Nested Schema : shippingAddress
Type:
object
The shipping address details.
- address1
-
Type:
string
Address snippet. - address2
-
Type:
string
Address snippet. - address3
-
Type:
string
Address snippet. - alias
-
Type:
string
Address alias. - city
-
Type:
string
City. - companyName
-
Type:
string
Company name. - country
-
Type:
string
Country. - county
-
Type:
string
County. -
Type:
string
Email address. - faxNumber
-
Type:
string
Fax number. - firstName
-
Type:
string
First name. - jobTitle
-
Type:
string
Job title. - lastName
-
Type:
string
Last name. - middleName
-
Type:
string
Middle name. - phoneNumber
-
Type:
string
Phone number. - postalCode
-
Type:
string
Postal code. - prefix
-
Type:
string
Name prefix. - selectedCountry
-
Type:
string
Country code. - selectedState
-
Type:
string
State code. - state
-
Type:
string
State. - state_ISOCode
-
Type:
string
State ISO code. - suffix
-
Type:
string
Name suffix.
Nested Schema : shippingMethod
Type:
object
The shipping method details for the order.
- cost
-
Type:
number
The total cost of shipping. - shippingMethodDescription
-
Type:
string
The description of the shipping method. - shippingTax
-
Type:
number
The shipping tax. - value
-
Type:
string
The shipping method applied to the order.
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the item by the configurator system. - activationDate
-
Type:
string
The activation date in ISO format. - active
-
Type:
boolean
UIs this product active. - assetId
-
Type:
string
The asset ID corresponding to the current item. - billingAccountId
-
Type:
string
The billing account ID associated to the current item. - catRefId
-
Type:
string
The category to which the product belongs. - customerAccountId
-
Type:
string
The customer account ID associated to the current item. - deactivationDate
-
Type:
string
The deactivation date in ISO format. - detailedItemPriceInfo
-
Type:
object
detailedItemPriceInfoAdditional Properties Allowed:Detailed Item Price Information. - detailedRecurringChargeInfo
-
Type:
object
detailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - discountAmount
-
Type:
string
The discount amount. - displayName
-
Type:
string
Display Name. - dynamicProperties
-
Type:
array
dynamicPropertiesAdditional Properties Allowed:Array of custom properties at order line item level. - externalData
-
Type:
array
externalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalRecurringCharge
-
Type:
number
The external recurring price. - externalRecurringChargeDuration
-
Type:
string
The duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
string
The frequency for the recurring charge e.g. Monthly. - listPrice
-
Type:
string
List Price. - onSale
-
Type:
boolean
Indicates whether the price is for an item that is on sale. - primaryImageAltText
-
Type:
string
Primary Image Alternative Text. - primaryImageTitle
-
Type:
string
Primary Image Title. - primaryThumbImageURL
-
Type:
string
Primary Thumb Image URL. - productId
-
Type:
string
ID of the product in the cart. - quantity
-
Type:
integer
The quantity of the product in this shipping group. - rawTotalPrice
-
Type:
string
Raw Total Price. - recurringCharge
-
Type:
number
The recurring charge for the item. - route
-
Type:
string
route. - salePrice
-
Type:
string
Sale Price. - serviceAccountId
-
Type:
string
The service account ID associated to the current item. - serviceId
-
Type:
string
The service ID associated to the current item. - shippingSurchargeValue
-
Type:
number
shipping surcharge value. - unitPrice
-
Type:
number
The unit price. - variant
-
Type:
array
variantAdditional Properties Allowed:List of variants for the product.
Nested Schema : detailedItemPriceInfo
Type:
object
Detailed Item Price Information.
- amount
-
Type:
number
The amount. - currencyCode
-
Type:
string
The currency code. - detailedUnitPrice
-
Type:
number
Detailed Unit Price. - discounted
-
Type:
boolean
Is this item discounted. - orderDiscountShare
-
Type:
number
The order Discount Share. - quantity
-
Type:
number
The quantity. - tax
-
Type:
number
The tax amount.
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
- amount
-
Type:
number
The monetary amount for the recurring charge. - currencyCode
-
Type:
string
The three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
number
The detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
boolean
Whether the price is discounted. - orderDiscountShare
-
Type:
number
The order Discount Share. - quantity
-
Type:
integer
The number of items covered by this recurring charge price info - tax
-
Type:
number
Monetary tax amount.
Nested Schema : dynamicProperties
Nested Schema : externalData
Nested Schema : variant
Nested Schema : items
Type:
object
- id
-
Type:
string
The ID of the dynamic property. - label
-
Type:
string
The label of the dynamic property. - value
-
Type:
string
The value of the dynamic property.
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the externalData item by the configurator system. - name
-
Type:
string
The name to be associated with the externalData item. - values
-
Type:
object
valuesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
- dynamic_property_key
-
Type:
string
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object
- optionName
-
Type:
string
The variant option name. - optionValue
-
Type:
string
The variant option value.
Nested Schema : items
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the item by the configurator system. - activationDate
-
Type:
string
The activation date in ISO format. - assetId
-
Type:
string
The asset ID corresponding to the current item. - billingAccountId
-
Type:
string
The billing account ID associated to the current item. - catRefId
-
Type:
string
The category to which the product belongs. - childItems
-
Type:
array
childItemsAdditional Properties Allowed:The array of child items in the item, if the item is a configurable item. A child item can itself contain child item array if it is a configurable product in itself. - commerceItemId
-
Type:
string
The unique line item ID distinguisher. - customerAccountId
-
Type:
string
The customer account ID associated to the current item. - deactivationDate
-
Type:
string
The deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
object
detailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - discountInfo
-
Type:
array
discountInfoAdditional Properties Allowed:The discount information. - dynamicProperties
-
Type:
array
dynamicPropertiesAdditional Properties Allowed:Array of custom properties at order line item level. - externalData
-
Type:
array
externalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
number
A price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable). - externalPriceQuantity
-
Type:
integer
The maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). - externalRecurringCharge
-
Type:
number
The external recurring price. - externalRecurringChargeDuration
-
Type:
string
The duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
string
The frequency for the recurring charge e.g. Monthly. - giftWithPurchaseCommerceItemMarkers
-
Type:
array
giftWithPurchaseCommerceItemMarkersAdditional Properties Allowed:giftWithPurchaseCommerceItemMarker information. - id
-
Type:
string
Repository id of the commerce item. - onSale
-
Type:
boolean
Whether the product is on sale. - price
-
Type:
integer
The actual price of the product. - productId
-
Type:
string
ID of the product in the cart. - quantity
-
Type:
integer
The quantity of the product. - recurringCharge
-
Type:
number
The recurring charge for the item. - serviceAccountId
-
Type:
string
The service account ID associated to the current item. - serviceId
-
Type:
string
The service ID associated to the current item. - unitPrice
-
Type:
integer
The unit price of the product.
Nested Schema : childItems
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
- amount
-
Type:
number
The monetary amount for the recurring charge. - currencyCode
-
Type:
string
The three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
number
The detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
boolean
Whether the price is discounted. - orderDiscountShare
-
Type:
number
The order Discount Share. - quantity
-
Type:
integer
The number of items covered by this recurring charge price info - tax
-
Type:
number
Monetary tax amount.
Nested Schema : discountInfo
Nested Schema : dynamicProperties
Nested Schema : externalData
Nested Schema : giftWithPurchaseCommerceItemMarkers
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the item by the configurator system. - activationDate
-
Type:
string
The activation date in ISO format. - amount
-
Type:
integer
The total amount of this item including its child items amounts. - assetId
-
Type:
string
The asset ID corresponding to the current item. - billingAccountId
-
Type:
string
The billing account ID associated to the current item. - catRefId
-
Type:
string
skuid of the item. - customerAccountId
-
Type:
string
The customer account ID associated to the current item. - deactivationDate
-
Type:
string
The deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
object
detailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - displayName
-
Type:
string
The name of the product. - externalData
-
Type:
array
externalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
number
A price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable). - externalPriceQuantity
-
Type:
integer
The maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). - externalRecurringCharge
-
Type:
number
The external recurring price. - externalRecurringChargeDuration
-
Type:
string
The duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
string
The frequency for the recurring charge e.g. Monthly. - id
-
Type:
string
Repository id of the commerce item. - productId
-
Type:
string
ID of the product in the cart. - quantity
-
Type:
integer
The quantity of the product. - rawTotalPrice
-
Type:
integer
The raw price of the product. - recurringCharge
-
Type:
number
The recurring charge for the item. - serviceAccountId
-
Type:
string
The service account ID associated to the current item. - serviceId
-
Type:
string
The service ID associated to the current item. - unitPrice
-
Type:
integer
The unit price of the product.
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
- amount
-
Type:
number
The monetary amount for the recurring charge. - currencyCode
-
Type:
string
The three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
number
The detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
boolean
Whether the price is discounted. - orderDiscountShare
-
Type:
number
The order Discount Share. - quantity
-
Type:
integer
The number of items covered by this recurring charge price info - tax
-
Type:
number
Monetary tax amount.
Nested Schema : externalData
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the externalData item by the configurator system. - name
-
Type:
string
The name to be associated with the externalData item. - values
-
Type:
object
valuesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
- dynamic_property_key
-
Type:
string
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object
- coupon
-
Type:
string
The coupon ID. - giftWithPurchaseDiscountInfo
-
Type:
array
giftWithPurchaseDiscountInfoAdditional Properties Allowed:The gift selection information. - promotionDesc
-
Type:
string
This field returns name of the promotion. Retained for backward compatibility - promotionId
-
Type:
string
The promotion ID. - promotionLevel
-
Type:
string
The promotion level. - promotionLongDesc
-
Type:
string
The description of the promotion. - promotionName
-
Type:
string
The display name of the promotion. - totalAdjustment
-
Type:
number
Total adjustment by the promotion.
Nested Schema : giftWithPurchaseDiscountInfo
Nested Schema : items
Type:
object
- giftWithPurchaseChoicesAvailable
-
Type:
boolean
If this gift with purchase has multiple gift choices. - giftWithPurchaseIdentifier
-
Type:
integer
The gift hash code for this gift with purchase promotion. - giftWithPurchaseQuantity
-
Type:
number
The quantity that is gift quantity
Nested Schema : items
Type:
object
- id
-
Type:
string
The ID of the dynamic property. - label
-
Type:
string
The label of the dynamic property. - value
-
Type:
string
The value of the dynamic property.
Nested Schema : items
Type:
object
- actionCode
-
Type:
string
The action code that has been set on the externalData item by the configurator system. - name
-
Type:
string
The name to be associated with the externalData item. - values
-
Type:
object
valuesAdditional Properties Allowed:The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
- dynamic_property_key
-
Type:
string
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object
- automaticQuantity
-
Type:
number
The quantity of the free gift that this commerce item is making free and was auto added by pricing. - data
-
Type:
integer
The gift hash code for this gift with purchase promotion. - key
-
Type:
string
atg.gwp - remainingQuantity
-
Type:
number
The quantity of the commerce item that is not affected by gift with purchase. - selectedQuantity
-
Type:
number
The quantity of the free gift that this commerce item is making free and was selected by the shopper. - targetedQuantity
-
Type:
number
The quantity of the free gift that this commerce item is making free and was targeted by pricing. - value
-
Type:
string
The gift with purchase promotion id.
Example application/json
{
"shippingGroups":[
{
"taxPriceInfo":{
"cityTax":0.88,
"amount":2.51,
"valueAddedTax":0,
"countyTax":0.63,
"isTaxIncluded":false,
"miscTax":0,
"districtTax":0,
"stateTax":1,
"countryTax":0
},
"priceInfo":{
"amount":19,
"total":27.46,
"shipping":5.95,
"shippingSurchargeValue":0,
"tax":2.51,
"subTotal":19,
"currencyCode":"USD",
"totalWithoutTax":24.95
},
"recurringChargePriceInfo":{
"amount":30,
"total":32.4,
"shipping":0,
"subTotalByFrequency":[
{
"amount":30,
"frequency":"Monthly"
}
],
"taxByFrequency":[
{
"amount":2.4,
"frequency":"Monthly"
}
],
"tax":2.4,
"subTotal":30,
"currencyCode":"USD",
"totalWithoutTax":30
},
"discountInfo":{
"orderDiscount":0,
"shippingDiscount":0,
"discountDescList":[
]
},
"shippingMethod":{
"shippingTax":0.6,
"cost":5.95,
"value":"ground",
"shippingMethodDescription":"Ground"
},
"shippingGroupId":"sg10015",
"shippingAddress":{
"lastName":"Test",
"country":"US",
"address3":"",
"address2":"Line 2",
"city":"Montgomery",
"address1":"Line 1",
"prefix":"",
"companyName":"",
"postalCode":"36123",
"jobTitle":"",
"county":"",
"suffix":"",
"firstName":"Steve",
"phoneNumber":"45454545",
"alias":"Address",
"faxNumber":"",
"middleName":"",
"state":"AL",
"email":null
},
"items":[
{
"deactivationDate":"2018-06-27T12:59:59Z",
"rawTotalPrice":19,
"returnedQuantity":0,
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"shippingSurchargeValue":0,
"discountAmount":0,
"externalData":[
],
"billingAccountId":"billingAcc-123",
"commerceItemId":"ci3000411",
"assetId":"asset10001",
"price":19,
"onSale":false,
"actionCode":"Add",
"serviceId":"service-123",
"stateDetailsAsUser":"The item has been initialized within the shipping group",
"unitPrice":19,
"serviceAccountId":"serviceAcc-123",
"quantity":1,
"productId":"xprod2065",
"salePrice":0,
"detailedItemPriceInfo":[
{
"discounted":false,
"amount":19,
"quantity":1,
"tax":1.91,
"orderDiscountShare":0,
"detailedUnitPrice":19,
"currencyCode":"USD"
}
],
"externalRecurringCharge":10,
"externalRecurringChargeFrequency":"Monthly",
"externalRecurringChargeDuration":"12",
"catRefId":"xsku2065",
"customerAccountId":"customerAcc-123",
"discountInfo":[
],
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"activationDate":"2017-06-27T15:30:00Z",
"listPrice":19,
"recurringCharge":10,
"status":"INITIAL"
}
]
}
],
"orderId":"o10001",
"shippingMethod":{
"cost":6.5,
"value":"ground"
},
"payments":[
{
"paymentGroupId":"pg70448",
"amount":27.46,
"balance":"100.0",
"gatewayName":"chaseGiftCard",
"giftCardNumber":"6035710988880101071",
"uiIntervention":null,
"paymentMethod":"physicalGiftCard",
"isAmountRemaining":true,
"paymentState":"INITIAL",
"maskedCardNumber":"xxxxxxxxxxxxxxx1071"
}
],
"priceInfo":{
"amount":19,
"total":27.46,
"shipping":5.95,
"shippingSurchargeValue":0,
"tax":2.51,
"subTotal":19,
"currencyCode":"USD"
},
"recurringChargePriceInfo":{
"amount":30,
"total":32.4,
"shipping":0,
"subTotalByFrequency":[
{
"amount":30,
"frequency":"Monthly"
}
],
"taxByFrequency":[
{
"amount":2.4,
"frequency":"Monthly"
}
],
"tax":2.4,
"subTotal":30,
"currencyCode":"USD",
"totalWithoutTax":30
},
"discountInfo":{
"unclaimedCouponMultiPromotions":{
"coupon2":[
{
"promotionLevel":"order",
"promotionDesc":"promo4",
"promotionId":"promo20004"
}
]
},
"orderCouponsMap":{
"coupon1":{
"promotionLevel":"order",
"totalAdjustment":-1,
"promotionDesc":"promo1",
"promotionId":"promo20001"
},
"coupon2":{
"promotionLevel":"order",
"totalAdjustment":-1,
"promotionDesc":"promo2",
"promotionId":"promo20002"
}
},
"orderDiscount":0,
"shippingDiscount":0,
"orderImplicitDiscountList":[
{
"promotionLevel":"item",
"totalAdjustment":"-0.66",
"promotionDesc":"Implicit Item Discount - 3PercentOff",
"promotionId":"implicitItemPercentDiscount"
}
],
"claimedCouponMultiPromotions":{
"coupon1":[
{
"promotionLevel":"order",
"totalAdjustment":-1,
"promotionDesc":"promo1",
"promotionId":"promo20001"
},
{
"promotionLevel":"order",
"totalAdjustment":-1,
"promotionDesc":"promo3",
"promotionId":"promo20003"
}
],
"coupon2":[
{
"promotionLevel":"order",
"totalAdjustment":-1,
"promotionDesc":"promo2",
"promotionId":"promo20002"
}
]
},
"unclaimedCouponsMap":{
"coupon2":{
"promotionLevel":"order",
"promotionDesc":"promo4",
"promotionId":"promo20004"
}
}
},
"pricingMessages":{
"giftWithPurchaseMessages":[
{
"summary":"The cart has qualified for a free gift promotion.",
"identifier":"GWPQualified",
"params":"[]",
"type":"information",
"priority":"-10"
}
]
},
"numberOfItems":1,
"shoppingCart":{
"items":[
{
"unitPrice":19,
"serviceAccountId":"serviceAcc-123",
"deactivationDate":"2018-06-27T12:59:59Z",
"quantity":1,
"productId":"xprod2065",
"externalRecurringCharge":10,
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"giftWithPurchaseCommerceItemMarkers":[
],
"externalData":[
],
"billingAccountId":"billingAcc-123",
"externalRecurringChargeFrequency":"Monthly",
"externalRecurringChargeDuration":"12",
"catRefId":"xsku2065",
"commerceItemId":"ci3000411",
"discountInfo":[
],
"customerAccountId":"customerAcc-123",
"price":19,
"assetId":"asset10001",
"onSale":false,
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"actionCode":"Add",
"activationDate":"2017-06-27T15:30:00Z",
"serviceId":"service-123",
"recurringCharge":10
}
]
},
"siteId":"siteUS",
"quoteInfo":{
"providerNote":null,
"notes":[
{
"profileType":null,
"profileId":"120213",
"requestDate":1.477479521002E12,
"requesterNote":"This is a sample quote"
}
],
"rejectionDate":null,
"requestDate":"2016-10-26T10:58:41.002Z",
"errorInfo":null,
"externalID":null,
"rejectionNote":null,
"quoteDate":null,
"expirationDate":null
},
"giftWithPurchaseOrderMarkers":[
{
"quantity":1,
"selectedQuantity":0,
"removedQuantity":0,
"data":"-1275480226",
"automaticQuantity":0,
"giftType":"product",
"autoRemove":true,
"giftDetail":"camera_1",
"repositoryId":"200001",
"failedQuantity":0,
"value":"promo10002",
"targetedQuantity":0,
"key":"atg.gwp"
}
]
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code
Examples
Sample Request:
{ "orderId": "o10001", "shippingMethod": {"value": "ground"}, "payments": [{ "amount": "100.0", "giftCardNumber": "6035710988880101071", "giftCardPin": "", "type": "physicalGiftCard" }], "shoppingCart": { "coupons": [{ "code": "FREETATTOO", "level": "item", "description": "Explicit Item Discount - FREETATTOO", "id": "explicitItemFreeDiscount", "totalAdjustment": "-21.99", "status": "claimed" }], "items": [{ "serviceAccountId": "serviceAcc-123", "deactivationDate": "2018-06-27T12:59:59Z", "quantity": 1, "dynamicPropertyMode": "pickup", "productId": "xprod2165", "externalRecurringCharge": 10, "externalData": [], "billingAccountId": "billingAcc-123", "externalRecurringChargeFrequency": "Monthly", "catRefId": "xsku2165", "externalRecurringChargeDuration": "12", "discountInfo": [], "customerAccountId": "customerAcc-123", "assetId": "asset10001", "stockStatus": true, "actionCode": "Add", "detailedRecurringChargeInfo": [{ "discounted": false, "amount": 10, "quantity": 1, "tax": 0, "orderDiscountShare": 0, "detailedUnitPrice": 10, "currencyCode": "USD" }], "activationDate": "2017-06-27T15:30:00Z", "serviceId": "service-123", "recurringCharge": 10 }] }, "reprice": true, "shippingAddress": { "lastName": "Test", "country": "United States", "address3": "", "address2": "Line 2", "city": "Montgomery", "prefix": "", "address1": "Line 1", "postalCode": "36123", "jobTitle": "", "companyName": "", "county": "", "suffix": "", "selectedCountry": "US", "firstName": "Steve", "phoneNumber": "45454545", "faxNumber": "", "alias": "", "middleName": "", "state": "Alabama", "email": "steve.test@oracle.com", "selectedState": "AL", "state_ISOCode": "US-AL" } }
Sample Response Payload returned by endpoint:
{ "shippingGroups": [{ "taxPriceInfo": { "cityTax": 0.88, "amount": 2.51, "valueAddedTax": 0, "countyTax": 0.63, "isTaxIncluded": false, "miscTax": 0, "districtTax": 0, "stateTax": 1, "countryTax": 0 }, "priceInfo": { "amount": 19, "total": 27.46, "shipping": 5.95, "shippingSurchargeValue": 0, "tax": 2.51, "subTotal": 19, "currencyCode": "USD", "totalWithoutTax": 24.95 }, "recurringChargePriceInfo": { "amount": 30, "total": 32.4, "shipping": 0, "subTotalByFrequency": [{ "amount": 30, "frequency": "Monthly" }], "taxByFrequency": [{ "amount": 2.4, "frequency": "Monthly" }], "tax": 2.4, "subTotal": 30, "currencyCode": "USD", "totalWithoutTax": 30 }, "discountInfo": { "orderDiscount": 0, "shippingDiscount": 0, "discountDescList": [] }, "shippingMethod": { "shippingTax": 0.6, "cost": 5.95, "value": "ground", "shippingMethodDescription": "Ground" }, "shippingGroupId": "sg10015", "shippingAddress": { "lastName": "Test", "country": "US", "address3": "", "address2": "Line 2", "city": "Montgomery", "address1": "Line 1", "prefix": "", "companyName": "", "postalCode": "36123", "jobTitle": "", "county": "", "suffix": "", "firstName": "Steve", "phoneNumber": "45454545", "alias": "Address", "faxNumber": "", "middleName": "", "state": "AL", "email": null }, "items": [{ "deactivationDate": "2018-06-27T12:59:59Z", "rawTotalPrice": 19, "returnedQuantity": 0, "dynamicProperties": [{ "id": "dynamicPropertyMode", "label": "Mode", "value": "pickup" }], "shippingSurchargeValue": 0, "discountAmount": 0, "externalData": [], "billingAccountId": "billingAcc-123", "commerceItemId": "ci3000411", "assetId": "asset10001", "price": 19, "onSale": false, "actionCode": "Add", "serviceId": "service-123", "stateDetailsAsUser": "The item has been initialized within the shipping group", "unitPrice": 19, "serviceAccountId": "serviceAcc-123", "quantity": 1, "productId": "xprod2065", "salePrice": 0, "detailedItemPriceInfo": [{ "discounted": false, "amount": 19, "quantity": 1, "tax": 1.91, "orderDiscountShare": 0, "detailedUnitPrice": 19, "currencyCode": "USD" }], "externalRecurringCharge": 10, "externalRecurringChargeFrequency": "Monthly", "externalRecurringChargeDuration": "12", "catRefId": "xsku2065", "customerAccountId": "customerAcc-123", "discountInfo": [], "detailedRecurringChargeInfo": [{ "discounted": false, "amount": 10, "quantity": 1, "tax": 0, "orderDiscountShare": 0, "detailedUnitPrice": 10, "currencyCode": "USD" }], "activationDate": "2017-06-27T15:30:00Z", "listPrice": 19, "recurringCharge": 10, "status": "INITIAL" }] }], "orderId": "o10001", "shippingMethod": { "cost": 6.5, "value": "ground" }, "payments": [{ "paymentGroupId": "pg70448", "amount": 27.46, "balance": "100.0", "gatewayName": "chaseGiftCard", "giftCardNumber": "6035710988880101071", "uiIntervention": null, "paymentMethod": "physicalGiftCard", "isAmountRemaining": true, "paymentState": "INITIAL", "maskedCardNumber": "xxxxxxxxxxxxxxx1071" }], "priceInfo": { "amount": 19, "total": 27.46, "shipping": 5.95, "shippingSurchargeValue": 0, "tax": 2.51, "subTotal": 19, "currencyCode": "USD" }, "recurringChargePriceInfo": { "amount": 30, "total": 32.4, "shipping": 0, "subTotalByFrequency": [{ "amount": 30, "frequency": "Monthly" }], "taxByFrequency": [{ "amount": 2.4, "frequency": "Monthly" }], "tax": 2.4, "subTotal": 30, "currencyCode": "USD", "totalWithoutTax": 30 }, "discountInfo": { "unclaimedCouponMultiPromotions": {"coupon2": [{ "promotionLevel": "order", "promotionDesc": "promo4", "promotionId": "promo20004" }]}, "orderCouponsMap": { "coupon1": { "promotionLevel": "order", "totalAdjustment": -1, "promotionDesc": "promo1", "promotionId": "promo20001" }, "coupon2": { "promotionLevel": "order", "totalAdjustment": -1, "promotionDesc": "promo2", "promotionId": "promo20002" } }, "orderDiscount": 0, "shippingDiscount": 0, "orderImplicitDiscountList": [{ "promotionLevel": "item", "totalAdjustment": "-0.66", "promotionDesc": "Implicit Item Discount - 3PercentOff", "promotionId": "implicitItemPercentDiscount" }], "claimedCouponMultiPromotions": { "coupon1": [ { "promotionLevel": "order", "totalAdjustment": -1, "promotionDesc": "promo1", "promotionId": "promo20001" }, { "promotionLevel": "order", "totalAdjustment": -1, "promotionDesc": "promo3", "promotionId": "promo20003" } ], "coupon2": [{ "promotionLevel": "order", "totalAdjustment": -1, "promotionDesc": "promo2", "promotionId": "promo20002" }] }, "unclaimedCouponsMap": {"coupon2": { "promotionLevel": "order", "promotionDesc": "promo4", "promotionId": "promo20004" }} }, "pricingMessages": {"giftWithPurchaseMessages": [{ "summary": "The cart has qualified for a free gift promotion.", "identifier": "GWPQualified", "params": "[]", "type": "information", "priority": "-10" }]}, "numberOfItems": 1, "shoppingCart": {"items": [{ "unitPrice": 19, "serviceAccountId": "serviceAcc-123", "deactivationDate": "2018-06-27T12:59:59Z", "quantity": 1, "productId": "xprod2065", "externalRecurringCharge": 10, "dynamicProperties": [{ "id": "dynamicPropertyMode", "label": "Mode", "value": "pickup" }], "giftWithPurchaseCommerceItemMarkers": [], "externalData": [], "billingAccountId": "billingAcc-123", "externalRecurringChargeFrequency": "Monthly", "externalRecurringChargeDuration": "12", "catRefId": "xsku2065", "commerceItemId": "ci3000411", "discountInfo": [], "customerAccountId": "customerAcc-123", "price": 19, "assetId": "asset10001", "onSale": false, "detailedRecurringChargeInfo": [{ "discounted": false, "amount": 10, "quantity": 1, "tax": 0, "orderDiscountShare": 0, "detailedUnitPrice": 10, "currencyCode": "USD" }], "actionCode": "Add", "activationDate": "2017-06-27T15:30:00Z", "serviceId": "service-123", "recurringCharge": 10 }]}, "siteId": "siteUS", "quoteInfo": { "providerNote": null, "notes": [{ "profileType": null, "profileId": "120213", "requestDate": 1477479521002, "requesterNote": "This is a sample quote" }], "rejectionDate": null, "requestDate": "2016-10-26T10:58:41.002Z", "errorInfo": null, "externalID": null, "rejectionNote": null, "quoteDate": null, "expirationDate": null }, "giftWithPurchaseOrderMarkers": [{ "quantity": 1, "selectedQuantity": 0, "removedQuantity": 0, "data": "-1275480226", "automaticQuantity": 0, "giftType": "product", "autoRemove": true, "giftDetail": "camera_1", "repositoryId": "200001", "failedQuantity": 0, "value": "promo10002", "targetedQuantity": 0, "key": "atg.gwp" }] }