Approve an order
post
/ccstore/v1/orders/approve
Allows an approver to approve an order. It approves the order for the given order ID
orderId
and approval message approverMessage
. Returns the modified approved order.See Use Order Approvals for more information.
Request
Supported Media Types
- application/json
Header Parameters
-
X-CCAsset-Language: string
Instructs the endpoint to use the specified locale code for content returned in the response. The locale supplied in the header must be supported by your store.
-
X-CCOrganization: string
Current organization context of the logged in user
Root Schema : storeapproveOrder_request
Type:
Show Source
object
-
approverMessage:
string
The message given by approver when approving an order.
-
ignorePriceWarnings:
boolean
Default Value:
false
This flag decides whether approver is allowing order to be repriced as part of approval or not. -
orderId(required):
string
The order ID of the order which requires approval.
Example:
{
"approverMessage":"Approving order",
"orderId":"o30411",
"ignorePriceWarnings":true
}
Response
Supported Media Types
- application/json
200 Response
Returned when the operation succeeds.
Root Schema : approveOrder_response
Type:
Show Source
object
-
approvalSystemMessages:
array approvalSystemMessages
An array of approval messages when order going in pending approval state
-
approverMessages:
array approverMessages
An array of approval messages when approver approving order
-
approvers:
array approvers
List of approvers of the organization.
-
billingAddress:
object billingAddress
The billing address details.
-
cartName:
string
Cart name for this order.
-
creationDate:
string
The creation date in ISO format.
-
creationSiteId:
string
The ID of the site on which the order was created. This may differ to siteId value if the site is part of a cart sharing group.
-
creationTime:
number
The creation time in long seconds.
-
discountInfo:
object discountInfo
The discount information.
-
dynamicProperties:
array dynamicProperties
Read-only list of dynamic properties for the order along with meta-data.
-
giftWithPurchaseInfo:
array giftWithPurchaseInfo
The gift information.
-
giftWithPurchaseOrderMarkers:
array giftWithPurchaseOrderMarkers
gift with purchase order marker information
-
id:
string
The order ID.
-
lastModifiedDate:
string
The order recent modified date in ISO format.
-
lastModifierId:
string
Profile id of the last contact to modify this cart.
-
markers:
array markers
Order markers
-
orderAction:
string
The action performed on the order.
-
orderLocale:
string
The locale in which order submitted.
-
orderProfileId:
string
The profile-id of the order.
-
orderStatus:
string
Status of the order.
-
paymentGroupId:
string
The payment group ID used for the order.
-
payments:
array payments
Payment details for the order, including additional properties specific to the payment type.
-
priceInfo:
object priceInfo
The price information.
-
priceListGroup:
object priceListGroup
The price list group object.
-
quoteInfo:
object quoteInfo
the quote information of the order
-
recurringChargePriceInfo:
object recurringChargePriceInfo
Recurring charge price information.
-
scheduledOrder:
array scheduledOrder
schedule order information
- sharedWithOrganization: boolean
-
shippingAddress:
object shippingAddress
The shipping address details.
-
shippingGroups:
array shippingGroups
The shipping groups for the order.
-
shippingMethod:
object shippingMethod
The shipping method details for the order.
-
shoppingCart/order:
object shoppingCart/order
The shopping-cart or order contents of the current order.
-
siteId:
string
The ID of the site on which the order was placed.
-
submittedDate:
string
The order submitted date in ISO format.
-
trackingInfo:
array trackingInfo
Tracking Information for the Order.
-
uuid:
string
The unique ID for the order.
Nested Schema : approvalSystemMessages
Type:
array
An array of approval messages when order going in pending approval state
Show Source
Nested Schema : approverMessages
Type:
array
An array of approval messages when approver approving order
Show Source
Nested Schema : billingAddress
Type:
object
The billing address details.
Show Source
-
address1:
string
Address snippet.
-
address2:
string
Address snippet.
-
address3:
string
Address snippet.
-
alias:
string
Address alias.
-
city:
string
City.
-
companyName:
string
Company name.
-
country:
string
Country.
-
county:
string
County.
-
email:
string
Email address.
-
faxNumber:
string
Fax number.
-
firstName:
string
First name.
-
jobTitle:
string
Job title.
-
lastName:
string
Last name.
-
middleName:
string
Middle name.
-
phoneNumber:
string
Phone number.
-
postalCode:
string
Postal code.
-
prefix:
string
Name prefix.
-
selectedCountry:
string
Country code.
-
selectedState:
string
State code.
-
state:
string
State.
-
state_ISOCode:
string
State ISO code.
-
suffix:
string
Name suffix.
Nested Schema : discountInfo
Type:
object
The discount information.
Show Source
-
claimedCouponMultiPromotions:
object claimedCouponMultiPromotions
The coupons that were claimed.
-
orderCouponsMap:
object orderCouponsMap
The coupons that were claimed.
-
orderDiscount:
number
The order discount.
-
orderImplicitDiscountList:
array orderImplicitDiscountList
The implicit order discounts with the order.
-
shippingDiscount:
number
The shipping discount.
-
unclaimedCouponMultiPromotions:
object unclaimedCouponMultiPromotions
The coupons that were not claimed
-
unclaimedCouponsMap:
object unclaimedCouponsMap
The unclaimed coupons with the order.
Nested Schema : dynamicProperties
Type:
array
Read-only list of dynamic properties for the order along with meta-data.
Show Source
Nested Schema : giftWithPurchaseOrderMarkers
Type:
array
gift with purchase order marker information
Show Source
Nested Schema : payments
Type:
array
Payment details for the order, including additional properties specific to the payment type.
Show Source
Nested Schema : priceInfo
Type:
object
The price information.
Show Source
-
amount:
number
The total order amount.
-
currencyCode:
string
The currency code.
-
shipping:
number
The total shipping cost.
-
shippingSurchargeValue:
number
Extra handling costs for shipping the products.
-
subTotal:
number
Sub-total.
-
tax:
number
The total tax amount.
-
total:
number
The order total.
Nested Schema : priceListGroup
Type:
object
The price list group object.
Show Source
-
repositoryId:
string
Repository ID of the price list group.
Nested Schema : quoteInfo
Type:
object
the quote information of the order
Show Source
-
errorInfo:
array errorInfo
the array of errors, if any
-
expirationDate:
string
the expiration date of the quoted order, if any
-
externalId:
string
the external ID for the quote
-
notes:
array notes
the notes (history) for the order
-
providerNote:
string
the provider note for the quoted order
-
quoteDate:
number
the date the order was quoted in milliseconds
-
quoteSubmitted:
boolean
Indicates if the quote is submitted
-
rejectionDate:
string
rejection date of the quoted order
-
rejectionNote:
string
the rejection note for an order whose quote has been rejected by user
-
requestDate:
string
the date when the quote was requested in ISO format
Nested Schema : recurringChargePriceInfo
Type:
object
Recurring charge price information.
Show Source
-
amount:
number
The monetary amount of this recurring charge.
-
currencyCode:
string
The currency code for the monetary amounts. A three character currency code such as USD.
-
frequencyAmountTotals:
array frequencyAmountTotals
The total for each recurring charge frequency
-
frequencyTaxTotals:
array frequencyTaxTotals
The tax for each recurring charge frequency
-
shipping:
number
Cost of shipping the product.
-
subTotal:
number
The sub-total price of the recurring charge.
-
tax:
number
Monetary tax amount.
-
total:
number
The total price of the recurring charge.
-
totalWithoutTax:
number
Total of recurring amount without tax included.
Nested Schema : shippingAddress
Type:
object
The shipping address details.
Show Source
-
address1:
string
Address snippet.
-
address2:
string
Address snippet.
-
address3:
string
Address snippet.
-
alias:
string
Address alias.
-
city:
string
City.
-
companyName:
string
Company name.
-
country:
string
Country.
-
county:
string
County.
-
email:
string
Email address.
-
faxNumber:
string
Fax number.
-
firstName:
string
First name.
-
jobTitle:
string
Job title.
-
lastName:
string
Last name.
-
middleName:
string
Middle name.
-
phoneNumber:
string
Phone number.
-
postalCode:
string
Postal code.
-
prefix:
string
Name prefix.
-
selectedCountry:
string
Country code.
-
selectedState:
string
State code.
-
state:
string
State.
-
state_ISOCode:
string
State ISO code.
-
suffix:
string
Name suffix.
Nested Schema : shippingMethod
Type:
object
The shipping method details for the order.
Show Source
-
cost:
number
The total cost of shipping.
-
value:
string
The shipping method applied to the order.
Nested Schema : shoppingCart/order
Type:
object
The shopping-cart or order contents of the current order.
Show Source
-
items:
array items
The array of products in the shopping cart.
Nested Schema : items
Type:
Show Source
object
-
approverId:
string
ID of approver.
-
firstName:
string
First name of approver.
-
lastName:
string
Last name of approver.
Nested Schema : claimedCouponMultiPromotions
Type:
object
The coupons that were claimed.
Show Source
-
couponCode:
array couponCode
Coupon Code, corresponding to which promotions were applied
Nested Schema : orderCouponsMap
Type:
object
The coupons that were claimed.
Show Source
-
couponCode:
object couponCode
Coupon Code.
Nested Schema : orderImplicitDiscountList
Type:
array
The implicit order discounts with the order.
Show Source
Nested Schema : unclaimedCouponMultiPromotions
Type:
object
The coupons that were not claimed
Show Source
-
couponCode:
array couponCode
Coupon Code, corresponding to which some promotions were not applied
Nested Schema : unclaimedCouponsMap
Type:
object
The unclaimed coupons with the order.
Show Source
-
couponCode:
array couponCode
Coupon Code, corresponding to which some promotions were not applied
Nested Schema : couponCode
Type:
array
Coupon Code, corresponding to which promotions were applied
Show Source
Nested Schema : items
Type:
Show Source
object
-
external:
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc:
string
Description of the promotion. Retained for backward compatibility.
-
promotionId:
string
The Id of the promotion.
-
promotionLevel:
string
The promotion level.
-
promotionLongDesc:
string
The description of the promotion.
-
promotionName:
string
The display name of the promotion.
-
totalAdjustment:
number
Total adjustment caused by the promotion.
Nested Schema : couponCode
Type:
object
Coupon Code.
Show Source
-
external:
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc:
string
Description of the promotion. Retained for backward compatibility.
-
promotionId:
string
The Id of the promotion.
-
promotionLevel:
string
The promotion level.
-
promotionLongDesc:
string
The description of the promotion.
-
promotionName:
string
The display name of the promotion.
-
totalAdjustment:
number
Total adjustment caused by the promotion.
Nested Schema : items
Type:
Show Source
object
-
external:
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc:
string
Description of the promotion. Retained for backward compatibility.
-
promotionId:
string
The promotion ID.
-
promotionLevel:
string
The promotion level.
-
promotionLongDesc:
string
The description of the promotion.
-
promotionName:
string
The display name of the promotion.
-
totalAdjustment:
string
The total adjustment.
Nested Schema : couponCode
Type:
array
Coupon Code, corresponding to which some promotions were not applied
Show Source
Nested Schema : items
Type:
Show Source
object
-
external:
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc:
string
Description of the promotion. Retained for backward compatibility.
-
promotionId:
string
The Id of the promotion.
-
promotionLevel:
string
The promotion level.
-
promotionLongDesc:
string
The description of the promotion.
-
promotionName:
string
The display name of the promotion.
Nested Schema : couponCode
Type:
array
Coupon Code, corresponding to which some promotions were not applied
Show Source
Nested Schema : items
Type:
Show Source
object
-
external:
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc:
string
Description of the promotion. Retained for backward compatibility.
-
promotionId:
string
The Id of the promotion.
-
promotionLevel:
string
The promotion level.
-
promotionLongDesc:
string
The description of the promotion.
-
promotionName:
string
The display name of the promotion.
Nested Schema : items
Type:
Show Source
object
-
id:
string
The ID of the dynamic property.
-
label:
string
The label of the dynamic property.
-
value:
string
The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.
Nested Schema : items
Type:
Show Source
object
-
giftWithPurchaseDetail:
string
String identifying the free gift, usually the repository ID of the gift type.
-
giftWithPurchaseIdentifier:
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:
number
gift quantity available for selection
-
giftWithPurchaseType:
string
The type of the gift. (sku, product)
-
promotionId:
string
The gift with purchase promotion ID
Nested Schema : items
Type:
Show Source
object
-
automaticQuantity:
number
The quantity of free sku for this gift selection that has already been auto added to the order.
-
autoRemove:
boolean
Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.
-
data:
integer
Gift hash code to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.
-
failedQuantity:
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:
string
String identifying the free gift, usually the repository ID of the gift type.
-
giftType:
string
The type of the gift. (sku, product)
-
key:
string
atg.gwp
-
quantity:
number
The total quantity of sku for this gift selection.
-
removedQuantity:
number
The amount of free quantity that has since been manually removed by a Shopper.
-
selectedQuantity:
integer
The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.
-
targetedQuantity:
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:
string
The gift with purchase promotion ID
Nested Schema : items
Type:
Show Source
object
-
key:
string
Order marker key. In a marketing campaign marker, key signifies that it is a campaign marker and it also identifies the external marketing system that is the source of the campaign, e.g., campaign_eloqua
-
value:
string
Order marker value. In a marketing campaign marker, value holds the marketing system's unique campaign ID.
Nested Schema : items
Type:
Show Source
object
-
amount:
number
Amount authorized from the payment group.
-
balance:
number
Total available balance on the gift card.
-
gatewayName:
string
Payment gateway name. e.g. chaseCreditCard.
-
giftCardNumber:
string
Gift card number.
-
isAmountRemaining:
boolean
A boolean to decide if more payment can be made from this payment group.
-
maskedCardNumber:
string
Masked gift card number.
-
paymentGroupId:
string
Payment group ID.
-
paymentMethod:
string
Payment method. e.g. physicalGiftCard/ creditCard.
-
paymentState:
string
The state of the payment group. e.g. AUTHORIZED.
-
PONumber:
string
Purchase order number for invoice payment. Payment type:invoice
-
savedCardId:
string
ID of the saved card associated with the payment group.
-
uiIntervention:
string
This decides whether the client has to do some intervention for payment. e.g. SOP.
Nested Schema : items
Type:
Show Source
object
-
profileId:
string
the profile ID of the user
-
profileType:
string
the profile type of the user that requested the quote
-
requestDate/quoteDate/rejectionDate:
number
the request/quote/rejection date for the note
-
requesterNote/providerNote/rejectionNote:
string
the requester/provider/rejection note
Nested Schema : frequencyAmountTotals
Type:
array
The total for each recurring charge frequency
Show Source
Nested Schema : frequencyTaxTotals
Type:
array
The tax for each recurring charge frequency
Show Source
Nested Schema : items
Type:
Show Source
object
-
frequency:
string
The frequency for the item's total e.g. Monthly.
-
total:
string
The total amount for the frequency.
Nested Schema : items
Type:
Show Source
object
-
frequency:
string
The frequency for the item's tax e.g. Monthly.
-
tax:
string
The tax amount for the frequency.
Nested Schema : items
Type:
Show Source
object
-
clonedOrders:
array clonedOrders
list of orders that were created using this as template.
-
createDate:
string
The submitted date in ISO format.
-
endDate:
string
The submitted date in ISO format.
-
executionStatusList:
array executionStatusList
list of orders with status that are placed with this schedule.
-
id:
string
The scheduled order ID.
-
lastError:
object lastError
last error of this scheduled order.
-
lastScheduledRun:
string
last date of order placed.
-
name:
string
name of scheduled order.
-
nextScheduledRun:
string
next date of order to be placed.
-
profileId:
string
the profile ID of the user.
-
repositoryId:
string
repository ID of scheduled order.
-
schedule(required):
object schedule
schedule details for the schedule.
-
siteId:
string
ID of site.
-
startDate:
string
The submitted date in ISO format.
-
status:
string
status of schedule order active or inactive.
-
templateOrderId:
string
template order ID.
-
type:
string
type of order.
-
version:
integer
version scheduled order.
Nested Schema : clonedOrders
Type:
array
list of orders that were created using this as template.
Show Source
Nested Schema : executionStatusList
Type:
array
list of orders with status that are placed with this schedule.
Show Source
Nested Schema : lastError
Type:
object
last error of this scheduled order.
Show Source
-
errorDate:
string
The date when error occurred
-
errorMessages:
array errorMessages
An array of error messages
-
scheduleErrorId:
string
error ID of the last failed schedule order
Nested Schema : schedule
Type:
object
schedule details for the schedule.
Show Source
-
daysInMonth:
array daysInMonth
mention which days of Month schedule should run. values can be 1 to 31.
-
daysOfWeek:
array daysOfWeek
mention which days of week schedule should run. values can be 1 to 7.
-
monthsInYear:
array monthsInYear
The months in year of the Scheduled order. Values can be 0 to 11.
-
occurenceInDay:
integer
The occurence in day on the Scheduled order. Values can be 1 or 2.
-
weeksInMonth:
array weeksInMonth
The weeks in month of the Scheduled order.Values can be 1 to 5
Nested Schema : items
Type:
Show Source
object
-
orderId:
string
The ID of the order created from the template.
Nested Schema : items
Type:
Show Source
object
-
errorMessages:
array errorMessages
The error messages list.
-
executionDate:
string
The date for previous scheduled run
-
id:
string
The ID of the Scheduled order.
-
orderId:
string
The ID of the template order.
-
orderSubmitted:
boolean
The status of order.
-
orderTotal:
number
Total order value.
-
repositoryId:
string
The ID of the Scheduled order.
-
scheduledOrderId:
string
The ID of the Scheduled order.
Nested Schema : daysInMonth
Type:
array
mention which days of Month schedule should run. values can be 1 to 31.
Show Source
Nested Schema : daysOfWeek
Type:
array
mention which days of week schedule should run. values can be 1 to 7.
Show Source
Nested Schema : monthsInYear
Type:
array
The months in year of the Scheduled order. Values can be 0 to 11.
Show Source
Nested Schema : weeksInMonth
Type:
array
The weeks in month of the Scheduled order.Values can be 1 to 5
Show Source
Nested Schema : items
Type:
Show Source
object
-
actualShipDate:
string
The actual ship date in ISO format.
-
discountInfo:
object discountInfo
The shipping group price information.
-
email:
string
The email address of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
firstName:
string
The first name of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
items:
array items
The array of products in the shipping group.
-
lastName:
string
The last name of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
middleName:
string
The middle name of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
phoneNumber:
string
The phone number of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
priceInfo:
object priceInfo
The shipping group price information.
-
recurringChargePriceInfo:
object recurringChargePriceInfo
Recurring charge price information.
-
shipOnDate:
string
The ship on date in ISO format.
-
shippingAddress:
object shippingAddress
The shipping address details.
-
shippingGroupId:
string
The shipping group ID.
-
shippingMethod:
object shippingMethod
The shipping method details.
-
status:
string
The shipping group status.
-
store:
object store
Information about the Store from which items are being picked up from (if shipping group type is inStorePickupShippingGroup)
-
submittedDate:
string
The submitted date in ISO format.
-
taxPriceInfo:
object taxPriceInfo
The shipping tax price info details.
-
trackingNumber:
string
The tracking number.
-
type:
string
The type of shipping group to create, e.g. hardgoodShippingGroup, inStorePickupShippingGroup, inStoreTakeWithShippingGroup, virtualShippingGroup
Nested Schema : discountInfo
Type:
object
The shipping group price information.
Show Source
-
discountDescList:
array discountDescList
The list of all the order discounts.
-
orderDiscount:
number
The orderDiscount.
-
shippingDiscount:
number
The shipping discount.
Nested Schema : priceInfo
Type:
object
The shipping group price information.
Show Source
-
amount:
number
The shipping method amount.
-
currencyCode:
string
The shipping method amount.
-
shipping:
number
The shipping amount.
-
shippingSurchargeValue:
number
The shipping surcharge value amount.
-
subTotal:
number
The shipping group subtotal.
-
tax:
number
The shipping method tax amount.
-
total:
number
The total cost of shipping.
-
totalWithoutTax:
number
The shipping items total.
Nested Schema : recurringChargePriceInfo
Type:
object
Recurring charge price information.
Show Source
-
amount:
number
The monetary amount of this recurring charge.
-
currencyCode:
string
The currency code for the monetary amounts. A three character currency code such as USD.
-
frequencyAmountTotals:
array frequencyAmountTotals
The total for each recurring charge frequency
-
frequencyTaxTotals:
array frequencyTaxTotals
The tax for each recurring charge frequency
-
shipping:
number
Cost of shipping the product.
-
subTotal:
number
The sub-total price of the recurring charge.
-
tax:
number
Monetary tax amount.
-
total:
number
The total price of the recurring charge.
-
totalWithoutTax:
number
Total of recurring amount without tax included.
Nested Schema : shippingAddress
Type:
object
The shipping address details.
Show Source
-
address1:
string
Address snippet.
-
address2:
string
Address snippet.
-
address3:
string
Address snippet.
-
alias:
string
Address alias.
-
city:
string
City.
-
companyName:
string
Company name.
-
country:
string
Country.
-
county:
string
County.
-
email:
string
Email address.
-
faxNumber:
string
Fax number.
-
firstName:
string
First name.
-
jobTitle:
string
Job title.
-
lastName:
string
Last name.
-
middleName:
string
Middle name.
-
phoneNumber:
string
Phone number.
-
postalCode:
string
Postal code.
-
prefix:
string
Name prefix.
-
selectedCountry:
string
Country code.
-
selectedState:
string
State code.
-
state:
string
State.
-
state_ISOCode:
string
State ISO code.
-
suffix:
string
Name suffix.
Nested Schema : shippingMethod
Type:
object
The shipping method details.
Show Source
-
cost:
number
The total cost of shipping.
-
shippingMethodDescription:
string
The description of the shipping method.
-
shippingTax:
number
The shipping tax.
-
value:
string
The shipping method applied to the order.
Nested Schema : store
Type:
object
Information about the Store from which items are being picked up from (if shipping group type is inStorePickupShippingGroup)
Show Source
-
address1:
string
Address line 1 of the store.
-
address2:
string
Address line 2 of the store.
-
address3:
string
Address line 3 of the store.
-
city:
string
The city in which the store resides.
-
country:
string
The country in which the store resides.
-
county:
string
The county in which the store resides.
-
email:
string
The email address of the store.
-
faxNumber:
string
The fax number of the store.
-
hours:
string
The opening hours of the store.
-
locationId:
string
The location ID of the store.
-
name:
string
Name of the store.
-
phoneNumber:
string
The phone number of the store.
-
postalCode:
string
The postal code of the store.
-
stateAddress:
string
The state in which the store resides.
Nested Schema : taxPriceInfo
Type:
object
The shipping tax price info details.
Show Source
-
amount:
number
The shipping method amount.
-
cityTax:
number
The shipping group subtotal.
-
countryTax:
number
The country tax total.
-
countyTax:
number
The county tax amount.
-
districtTax:
string
The shipping method applied to the order.
-
isTaxIncluded:
boolean
Flag that states whether is tax included.
-
miscTax:
string
The miscellaneous tax amount.
-
stateTax:
number
The shipping method tax amount.
-
valueAddedTax:
number
The value added tax .
Nested Schema : items
Type:
Show Source
object
-
coupon:
string
The coupon code.
-
external:
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc:
string
Description of the promotion. Retained for backward compatibility.
-
promotionId:
string
The promotion ID.
-
promotionLevel:
string
The promotion level.
-
promotionLongDesc:
string
The description of the promotion.
-
promotionName:
string
The display name of the promotion.
Nested Schema : items
Type:
Show Source
object
-
actionCode:
string
The action code that has been set on the item by the configurator system.
-
activationDate:
string
The activation date in ISO format.
-
active:
boolean
UIs this product active.
-
asset:
boolean
The flag that determines if the current item is an asset or not.
-
assetKey:
string
The assetKey is assigned only when the root item has been set as assetable in the catalog and has been configured.
-
availablePickupDate:
string
The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).
-
billingAccountId:
string
The billing account ID associated to the current item.
-
billingProfileId:
string
The billing profile ID associated to the current item.
-
catRefId:
string
The product variant ID.
-
customerAccountId:
string
The customer account ID associated to the current item.
-
deactivationDate:
string
The deactivation date in ISO format.
-
detailedItemPriceInfo:
array detailedItemPriceInfo
Detailed Item Price Information.
-
detailedRecurringChargeInfo:
object detailedRecurringChargeInfo
Detailed Item Price Information.
-
discountAmount:
number
The discount amount.
-
displayName:
string
Display Name.
-
dynamicProperties:
array dynamicProperties
Array of custom properties at order line item level.
-
externalData:
array externalData
External data to be associated with a commerce item, provided by a configurator system.
-
externalRecurringCharge:
number
The external recurring price.
-
externalRecurringChargeDuration:
string
The duration for the recurring charge e.g. 12 months.
-
externalRecurringChargeFrequency:
string
The frequency for the recurring charge e.g. Monthly.
-
inventoryLocationId:
string
Defines the inventory location that services the referenced commerce item.
-
listPrice:
string
List Price.
-
onSale:
boolean
Indicates whether the price is for an item that is on sale.
-
parentAssetKey:
string
The parentAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
-
pointOfNoRevision:
boolean
The boolean that indicates if the item has passed pointOfNoRevision.
-
preferredPickupDate:
string
The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).
-
primaryImageAltText:
string
Primary Image Alternative Text.
-
primaryImageTitle:
string
Primary Image Title.
-
primaryThumbImageURL:
string
Primary Thumb Image URL.
-
productId:
string
ID of the product in the cart.
-
quantity:
integer
The quantity of the product in this shipping group.
-
rawTotalPrice:
string
Raw Total Price.
-
recurringCharge:
number
The recurring charge for the item.
-
relationshipType:
string
The type of this relationship. SHIPPINGQUANITY or SHIPPINGQUANTITYREMAINING.
-
rootAssetKey:
string
The rootAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
-
route:
string
route.
-
salePrice:
string
Sale Price.
-
serviceAccountId:
string
The service account ID associated to the current item.
-
serviceId:
string
The service ID associated to the current item.
-
shippingSurchargeValue:
number
shipping surcharge value.
-
siteId:
string
The ID of the site on which the item was added.
-
state:
string
state of the commerce Item
-
transactionDate:
string
ISO formatted Date on which the service action should be triggered.
-
unitPrice:
number
The unit price.
-
variant:
array variant
List of variants for the product.
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
Show Source
-
amount:
number
The monetary amount for the recurring charge.
-
currencyCode:
string
The three character currency code for the monetary amounts.
-
detailedUnitPrice:
number
The detailed unit price: amount / quantity. (read-only)
-
discounted:
boolean
Whether the price is discounted.
- orderDiscountShare: number
-
quantity:
integer
The number of items covered by this recurring charge price info
-
tax:
number
Monetary tax amount.
Nested Schema : dynamicProperties
Type:
array
Array of custom properties at order line item level.
Show Source
Nested Schema : externalData
Type:
array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : items
Type:
Show Source
object
-
amount:
number
The amount.
-
currencyCode:
string
The currency code.
-
detailedUnitPrice:
number
Detailed Unit Price.
-
discounted:
boolean
Is this item discounted.
- orderDiscountShare: number
-
quantity:
integer
The quantity.
-
tax:
number
The tax amount.
Nested Schema : items
Type:
Show Source
object
-
id:
string
The ID of the dynamic property.
-
label:
string
The label of the dynamic property.
-
value:
string
The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.
Nested Schema : items
Type:
Show Source
object
-
actionCode:
string
The action code that has been set on the externalData item by the configurator system.
-
name:
string
The name to be associated with the externalData item.
-
values:
object values
The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
Show Source
-
dynamic_property_key:
string
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
Show Source
object
-
optionName:
string
The variant option name.
-
optionValue:
string
The variant option value.
Nested Schema : frequencyAmountTotals
Type:
array
The total for each recurring charge frequency
Show Source
Nested Schema : frequencyTaxTotals
Type:
array
The tax for each recurring charge frequency
Show Source
Nested Schema : items
Type:
Show Source
object
-
frequency:
string
The frequency for the item's total e.g. Monthly.
-
total:
string
The total amount for the frequency.
Nested Schema : items
Type:
Show Source
object
-
frequency:
string
The frequency for the item's tax e.g. Monthly.
-
tax:
string
The tax amount for the frequency.
Nested Schema : items
Type:
Show Source
object
-
actionCode:
string
The action code that has been set on the item by the configurator system.
-
activationDate:
string
The activation date in ISO format.
-
active:
boolean
active or not.
-
asset:
boolean
The flag that determines if the current item is an asset or not.
-
assetKey:
string
The assetKey is assigned only when the root item has been set as assetable in the catalog and has been configured.
-
billingAccountId:
string
The billing account ID associated to the current item.
-
billingProfileId:
string
The billing profile ID associated to the current item.
-
catRefId:
string
The product variant ID.
-
childItems:
array childItems
The array of child items in the item, if the item is a configurable item. A child item can itself contain a child item array if it is a configurable product in itself.
-
customerAccountId:
string
The customer account ID associated to the current item.
-
deactivationDate:
string
The deactivation date in ISO format.
-
detailedRecurringChargeInfo:
object detailedRecurringChargeInfo
Detailed Item Price Information.
-
discountInfo:
array discountInfo
The discount information.
-
displayName:
string
The name of the product.
-
dynamicProperties:
array dynamicProperties
Array of custom properties at order line item level.
-
externalData:
array externalData
External data to be associated with a commerce item, provided by a configurator system.
-
externalPrice:
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:
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:
number
The external recurring price.
-
externalRecurringChargeDuration:
string
The duration for the recurring charge e.g. 12 months.
-
externalRecurringChargeFrequency:
string
The frequency for the recurring charge e.g. Monthly.
-
giftWithPurchaseCommerceItemMarkers:
array giftWithPurchaseCommerceItemMarkers
The array of giftWithPurchaseCommerceItemMarkers.
-
id:
string
Repository ID of the commerce item.
-
parentAssetKey:
string
The parentAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
-
pointOfNoRevision:
boolean
The boolean that indicates if the item has passed pointOfNoRevision.
-
price:
number
The actual price of the product.
-
productId:
string
ID of the product in the cart.
-
quantity:
integer
The quantity of the product.
-
rawTotalPrice:
number
The raw price of the product.
-
recurringCharge:
number
The recurring charge for the item.
-
rootAssetKey:
string
The rootAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
-
serviceAccountId:
string
The service account ID associated to the current item.
-
serviceId:
string
The service ID associated to the current item.
-
shopperInput:
object shopperInput
Additional Properties Allowed: additionalPropertiesMap of shopper input keys to values
-
siteId:
string
The ID of the site on which the item was added.
-
state:
string
state of the commerce Item
-
transactionDate:
string
ISO formatted Date on which the service action should be triggered.
-
unitPrice:
number
The unit price of the product.
-
variant:
array variant
List of variants for the product.
Nested Schema : childItems
Type:
array
The array of child items in the item, if the item is a configurable item. A child item can itself contain a child item array if it is a configurable product in itself.
Show Source
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
Show Source
-
amount:
number
The monetary amount for the recurring charge.
-
currencyCode:
string
The three character currency code for the monetary amounts.
-
detailedUnitPrice:
number
The detailed unit price: amount / quantity. (read-only)
-
discounted:
boolean
Whether the price is discounted.
- orderDiscountShare: number
-
quantity:
integer
The number of items covered by this recurring charge price info
-
tax:
number
Monetary tax amount.
Nested Schema : dynamicProperties
Type:
array
Array of custom properties at order line item level.
Show Source
Nested Schema : externalData
Type:
array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : giftWithPurchaseCommerceItemMarkers
Type:
array
The array of giftWithPurchaseCommerceItemMarkers.
Show Source
Nested Schema : shopperInput
Type:
object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type:
Show Source
object
-
actionCode:
string
The action code that has been set on the item by the configurator system.
-
activationDate:
string
The activation date in ISO format.
-
addOnItem:
boolean
Whether the child item is an add-on (externally configured) or not (externally configured).
-
amount:
number
The total amount of this item including its child items amounts.
-
asset:
boolean
The flag that determines if the current item is an asset or not.
-
assetKey:
string
The assetKey is assigned only when the root item has been set as assetable in the catalog and has been configured.
-
billingAccountId:
string
The billing account ID associated to the current item.
-
billingProfileId:
string
The billing profile ID associated to the current item.
-
catRefId:
string
skuid of the item.
-
configurablePropertyId:
string
ID of the catalog's configurableProperty associated with this item.
-
configurationOptionId:
string
ID of the catalog's configurationOption associated with this item.
-
customerAccountId:
string
The customer account ID associated to the current item.
-
deactivationDate:
string
The deactivation date in ISO format.
-
detailedRecurringChargeInfo:
object detailedRecurringChargeInfo
Detailed Item Price Information.
-
displayName:
string
The name of the product.
-
externalData:
array externalData
External data to be associated with a commerce item, provided by a configurator system.
-
externalPrice:
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:
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:
number
The external recurring price.
-
externalRecurringChargeDuration:
string
The duration for the recurring charge e.g. 12 months.
-
externalRecurringChargeFrequency:
string
The frequency for the recurring charge e.g. Monthly.
-
id:
string
Repository ID of the commerce item.
-
parentAssetKey:
string
The parentAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
-
productId:
string
ID of the product in the cart.
-
quantity:
integer
The quantity of the product.
-
rawTotalPrice:
number
The raw price of the product.
-
recurringCharge:
number
The recurring charge for the item.
-
rootAssetKey:
string
The rootAssetKey is only assigned when the root item has been set as assetable in the catalog and has been configured.
-
serviceAccountId:
string
The service account ID associated to the current item.
-
serviceId:
string
The service ID associated to the current item.
-
shopperInput:
object shopperInput
Additional Properties Allowed: additionalPropertiesMap of shopper input keys to values
-
siteId:
string
The ID of the site on which the item was added.
-
transactionDate:
string
ISO formatted Date on which the service action should be triggered.
-
unitPrice:
number
The unit price of the product.
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
Show Source
-
amount:
number
The monetary amount for the recurring charge.
-
currencyCode:
string
The three character currency code for the monetary amounts.
-
detailedUnitPrice:
number
The detailed unit price: amount / quantity. (read-only)
-
discounted:
boolean
Whether the price is discounted.
- orderDiscountShare: number
-
quantity:
integer
The number of items covered by this recurring charge price info
-
tax:
number
Monetary tax amount.
Nested Schema : externalData
Type:
array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : shopperInput
Type:
object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type:
Show Source
object
-
actionCode:
string
The action code that has been set on the externalData item by the configurator system.
-
name:
string
The name to be associated with the externalData item.
-
values:
object values
The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
Show Source
-
dynamic_property_key:
string
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
Show Source
object
-
coupon:
string
The coupon ID.
-
external:
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
giftWithPurchaseDiscountInfo:
array giftWithPurchaseDiscountInfo
The gift information.
-
promotionDesc:
string
Description of the promotion. Retained for backward compatibility.
-
promotionId:
string
The promotion ID.
-
promotionLevel:
string
The promotion level.
-
promotionLongDesc:
string
The description of the promotion.
-
promotionName:
string
The display name of the promotion.
-
totalAdjustment:
number
Total adjustment by the promotion.
Nested Schema : items
Type:
Show Source
object
-
giftWithPurchaseChoicesAvailable:
boolean
If this gift with purchase has multiple gift choices.
-
giftWithPurchaseIdentifier:
integer
The gift hash code for this gift with purchase promotion.
-
giftWithPurchaseQuantity:
number
The quantity that is gift quantity
Nested Schema : items
Type:
Show Source
object
-
id:
string
The ID of the dynamic property.
-
label:
string
The label of the dynamic property.
-
value:
string
The value of the dynamic property. The value type depends on how the dynamic property was defined and might be something other than string, such as boolean or number.
Nested Schema : items
Type:
Show Source
object
-
actionCode:
string
The action code that has been set on the externalData item by the configurator system.
-
name:
string
The name to be associated with the externalData item.
-
values:
object values
The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
Show Source
-
dynamic_property_key:
string
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
Show Source
object
-
automaticQuantity:
number
The quantity of the free gift that this commerce item is making free and was auto added by pricing.
-
data:
integer
The gift hash code for this gift with purchase promotion.
-
key:
string
atg.gwp
-
remainingQuantity:
number
The quantity of the commerce item that is not affected by gift with purchase.
-
selectedQuantity:
number
The quantity of the free gift that this commerce item is making free and was selected by the shopper.
-
targetedQuantity:
number
The quantity of the free gift that this commerce item is making free and was targeted by pricing.
-
value:
string
The gift with purchase promotion ID.
Nested Schema : items
Type:
Show Source
object
-
optionName:
string
The variant option name.
-
optionValue:
string
The variant option value.
Nested Schema : items
Type:
Show Source
object
-
carrierId:
string
Carrier ID for Tracking.
-
carrierName:
string
Carrier Name for Tracking.
-
carrierUrl:
string
Carrier URL for Tracking.
-
trackingNumber:
string
Tracking Number.
Example Response (application/json)
{
"creationTime":"1428563503000",
"dynamicProperties":[
{
"id":"dynamicPropertyShippingInstructions",
"label":"Shipping Instructions",
"value":"Test Instructions"
}
],
"payments":[
{
"paymentGroupId":"pg30411",
"PONumber":null,
"amount":"78.67",
"gatewayName":"invoiceGateway",
"uiIntervention":null,
"paymentMethod":"invoiceRequest",
"isAmountRemaining":true,
"paymentState":"INITIAL"
}
],
"orderStatus":"Pending payment",
"approvers":[
{
"firstName":"Peter",
"lastName":"Grun",
"approverId":"bb-110020"
}
],
"submittedDate":"2015-04-09T07:21:43.000Z",
"uuid":"a15543c2-a44f-4640-8ac4-674c594efc85",
"priceInfo":{
"amount":"52",
"total":"62.6",
"shipping":"6.5",
"shippingSurchargeValue":"20",
"tax":"4.1",
"subTotal":"52",
"currencyCode":"USD"
},
"links":[
{
"rel":"self",
"href":"http://www.example.com/ccstoreui/v1/orders/approve"
}
],
"id":"o10004",
"state":"PENDING_PAYMENT",
"quoteInfo":{
"providerNote":null,
"notes":[
{
"profileType":null,
"profileId":"120213",
"requestDate":"1477479521002",
"requesterNote":"This is a sample quote"
}
],
"rejectionDate":null,
"requestDate":"2016-10-26T10:58:41.002Z",
"errorInfo":null,
"externalID":null,
"quoteSubmitted":false,
"rejectionNote":null,
"quoteDate":null,
"expirationDate":null
},
"order":{
"numberOfItems":"1",
"items":[
{
"primaryThumbImageURL":"/ccstoreui/v1/images/?source=http://www.example.com/file/products/APP_CowboyShirt_full.jpg&height=100&width=100",
"deactivationDate":"2018-06-27T12:59:59Z",
"rawTotalPrice":"52",
"displayName":"Cowboy Shirt",
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"externalData":[
],
"billingProfileId":"billingProfile-123",
"billingAccountId":"billingAcc-123",
"assetKey":"12345",
"price":"52",
"variant":[
{
"optionValue":"Blue",
"optionName":"Color"
},
{
"optionValue":"Medium",
"optionName":"Size"
}
],
"actionCode":"Add",
"serviceId":"service-123",
"unitPrice":"52",
"serviceAccountId":"serviceAcc-123",
"quantity":"1",
"productId":"prod10002",
"externalRecurringCharge":"10",
"giftWithPurchaseCommerceItemMarkers":[
],
"active":true,
"parentAssetKey":null,
"rootAssetKey":null,
"externalRecurringChargeFrequency":"Monthly",
"transactionDate":"2018-06-27T12:59:59Z",
"catRefId":"sku40087",
"externalRecurringChargeDuration":"12",
"customerAccountId":"customerAcc-123",
"discountInfo":[
],
"route":"/cowboy-shirt/product/prod10002",
"siteId":"siteUS",
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":"10",
"quantity":"1",
"tax":"0",
"orderDiscountShare":"0",
"detailedUnitPrice":"10",
"currencyCode":"USD"
}
],
"shopperInput":{
"color":"neon",
"initials":"M.C.K",
"font":"courier"
},
"activationDate":"2017-06-27T15:30:00Z",
"asset":false,
"recurringCharge":"10"
}
]
},
"submittedBy":"bb-10003",
"shippingGroup":{
"shippingMethodDescription":"Ground"
},
"shippingGroups":[
{
"taxPriceInfo":{
"cityTax":"0",
"amount":"4.1",
"valueAddedTax":"0",
"countyTax":"1.76",
"isTaxIncluded":false,
"miscTax":"0",
"districtTax":"0",
"stateTax":"2.34",
"countryTax":"0"
},
"shippingMethod":{
"shippingTax":"0.46",
"cost":"6.5",
"externalId":null,
"value":"ground",
"shippingMethodDescription":"Ground"
},
"shippingGroupId":"sg10032",
"submittedDate":null,
"priceInfo":{
"amount":"52",
"total":"62.6",
"shipping":"6.5",
"shippingSurchargeValue":"0",
"tax":"4.1",
"subTotal":"52",
"currencyCode":"USD",
"totalWithoutTax":"58.5"
},
"recurringChargePriceInfo":{
"amount":"30",
"total":"32.4",
"shipping":"0",
"subTotalByFrequency":[
{
"amount":"30",
"frequency":"Monthly"
}
],
"taxByFrequency":[
{
"amount":"2.4",
"frequency":"Monthly"
}
],
"tax":"2.4",
"subTotal":"30",
"currencyCode":"USD",
"totalWithoutTax":"30"
},
"discountInfo":{
"orderDiscount":"0",
"shippingDiscount":"0",
"discountDescList":[
]
},
"shipOnDate":null,
"trackingInfo":[
],
"actualShipDate":null,
"shippingAddress":{
"lastName":"a",
"country":"US",
"address3":"",
"address2":"a",
"city":"a",
"address1":"a",
"prefix":"",
"companyName":"",
"postalCode":"30005",
"jobTitle":"",
"county":"",
"suffix":"",
"firstName":"a",
"phoneNumber":"5675675678",
"alias":"Address##0",
"faxNumber":"",
"middleName":"",
"state":"GA",
"email":"a@example.com"
},
"trackingNumber":null,
"items":[
{
"primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v2/products/APP_CowboyShirt_full.jpg&height=100&width=100",
"deactivationDate":"2018-06-27T12:59:59Z",
"rawTotalPrice":"52",
"returnedQuantity":"0",
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"displayName":"Cowboy Shirt",
"shippingSurchargeValue":"0",
"discountAmount":"0",
"externalData":[
],
"billingProfileId":"billingProfile-123",
"billingAccountId":"billingAcc-123",
"assetKey":"12345",
"commerceItemId":"ci3000411",
"price":"52",
"variant":[
{
"optionValue":"Blue",
"optionName":"Color"
},
{
"optionValue":"Medium",
"optionName":"Size"
}
],
"onSale":false,
"primaryImageAltText":"Cowboy Shirt",
"actionCode":"Add",
"serviceId":"service-123",
"stateDetailsAsUser":"The item has been initialized within the shipping group",
"serviceAccountId":"serviceAcc-123",
"unitPrice":"52",
"primaryImageTitle":"Cowboy Shirt",
"quantity":"1",
"pointOfNoRevision":false,
"relationshipType":"SHIPPINGQUANTITY",
"productId":"prod10002",
"salePrice":"0",
"detailedItemPriceInfo":[
{
"discounted":false,
"amount":"52",
"quantity":"1",
"tax":"3.64",
"orderDiscountShare":"0",
"detailedUnitPrice":"52",
"currencyCode":"USD"
}
],
"externalRecurringCharge":"10",
"parentAssetKey":null,
"active":true,
"rootAssetKey":null,
"externalRecurringChargeFrequency":"Monthly",
"transactionDate":"2018-06-27T12:59:59Z",
"externalRecurringChargeDuration":"12",
"catRefId":"sku40087",
"customerAccountId":"customerAcc-123",
"discountInfo":[
],
"route":"/cowboy-shirt/product/prod10002",
"siteId":"siteUS",
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":"10",
"quantity":"1",
"tax":"0",
"orderDiscountShare":"0",
"detailedUnitPrice":"10",
"currencyCode":"USD"
}
],
"activationDate":"2017-06-27T15:30:00Z",
"asset":false,
"listPrice":"52",
"recurringCharge":"10",
"status":"INITIAL"
}
],
"status":"INITIAL"
}
],
"lastModifiedDate":"2015-04-09T07:21:43.000Z",
"creationSiteId":"siteUS",
"approvalSystemMessages":[
"Order is pending approval because total is greater than the approved order limit."
],
"shippingMethod":{
"cost":"6.5",
"value":"ground"
},
"approverMessages":[
"I am approving this order"
],
"priceListGroup":{
"repositoryId":"UsDollar"
},
"cartName":"My New Cart",
"creationDate":"2015-04-09T07:11:43.000Z",
"orderProfileId":"120029",
"orderAction":"order",
"paymentGroupId":"pg10004",
"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"
}
}
},
"trackingInfo":[
{
"carrierName":"OnTrac",
"carrierUrl":"http://www.ontrac.com/trackingdetail.asp?tracking=1224",
"carrierId":"OnTrac",
"trackingNumber":"1224"
}
],
"orderLocale":"en",
"shippingAddress":{
"lastName":"a",
"country":"US",
"address3":null,
"address2":"a",
"city":"a",
"address1":"a",
"prefix":null,
"companyName":null,
"postalCode":"30005",
"jobTitle":null,
"county":null,
"suffix":null,
"firstName":"a",
"phoneNumber":"5675675678",
"faxNumber":null,
"alias":null,
"middleName":null,
"state":"GA",
"email":"a@example.com"
},
"siteId":"siteUS",
"billingAddress":{
"lastName":"a",
"country":"US",
"address3":null,
"address2":"a",
"city":"a",
"address1":"a",
"prefix":null,
"companyName":null,
"postalCode":"30005",
"jobTitle":null,
"county":null,
"suffix":null,
"firstName":"a",
"phoneNumber":"5675675678",
"faxNumber":null,
"alias":null,
"middleName":null,
"state":"GA",
"email":"a@example.com"
},
"markers":[
],
"giftWithPurchaseOrderMarkers":[
{
"quantity":"1",
"selectedQuantity":"0",
"removedQuantity":"0",
"data":"-1275480226",
"automaticQuantity":"0",
"giftType":"product",
"autoRemove":true,
"giftDetail":"camera_1",
"repositoryId":"200001",
"failedQuantity":"0",
"value":"promo10002",
"targetedQuantity":"0",
"key":"atg.gwp"
}
]
}
Default Response
In case of any failure in external tax or external shipping webhooks, the errors returned in the webhook response payload get added to the errors property in this endpoint???s error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
The error response:
Error Code | Description | Possible Fix |
---|---|---|
28356 | The order approval failed. | Please ensure request format is correct. If issue continues please contact support. |
28308 | Order update failed. | See error message details for more information. |
28303 | Order is not in a valid state. | Ensure the order is pending approval. |
The error response:
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code