getOrderConfirmation
get
/ccstore/v1/orders/confirmation/{uuid}
Get Order Confirmation. Returns the Order Confirmation data, specified by the UUID of the Order. The Order Confirmation data expires within 30 seconds of the order being submitted. 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
Path Parameters
- uuid
-
Type:
string
Required:true
the uuid of the order.
Header Parameters
- X-CCOrganization
-
Type:
string
Current organization context of the logged in user
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getOrderConfirmation_response
- billingAddress
-
Type:
object
billingAddressAdditional Properties Allowed:The billing address details. - creationDate
-
Type:
string
The creation date in ISO format. - creationTime
-
Type:
number
The creation time in seconds. - discountInfo
-
Type:
object
discountInfoAdditional Properties Allowed:The order discount information. - dynamicProperties
-
Type:
array
dynamicPropertiesAdditional Properties Allowed:Read-only list of dynamic properties for the order along with meta-data. - giftWithPurchaseInfo
-
Type:
array
giftWithPurchaseInfoAdditional Properties Allowed:The gift information. - giftWithPurchaseOrderMarkers
-
Type:
array
giftWithPurchaseOrderMarkersAdditional Properties Allowed:gift with purchase order marker information - id
-
Type:
string
The order ID. - lastModifiedDate
-
Type:
string
The date the order was last modified in ISO format. - orderLocale
-
Type:
string
The locale when the order was submitted. - orderProfileId
-
Type:
string
The profile-id of the order. - organizationId
-
Type:
string
The organization ID, if applicable, for the profile of the order. - payments
-
Type:
array
paymentsAdditional Properties Allowed:Payment details for the order, including additional properties specific to the payment type. - priceInfo
-
Type:
object
priceInfoAdditional Properties Allowed:The order price information. - priceListGroup
-
Type:
object
priceListGroupAdditional Properties Allowed:The order price list group details. - recurringChargePriceInfo
-
Type:
object
recurringChargePriceInfoAdditional Properties Allowed:Recurring charge price information. - shippingAddress
-
Type:
object
shippingAddressAdditional Properties Allowed:The shipping address details. - shippingGroup
-
Type:
object
shippingGroupAdditional Properties Allowed:The 1st shipping group for the order. - shippingGroups
-
Type:
array
shippingGroupsAdditional Properties Allowed:The shipping groups for the order. - shippingMethod
-
Type:
object
shippingMethodAdditional Properties Allowed:The 1st shipping group method details for the order. - shoppingCart
-
Type:
object
shoppingCartAdditional Properties Allowed:The items of the order. - sourceSystem
-
Type:
string
The system where the order originated. - state
-
Type:
string
The state of the order. - submittedDate
-
Type:
string
The order submitted date in ISO format. - taxPriceInfo
-
Type:
object
taxPriceInfoAdditional Properties Allowed:The order tax price information details. - trackingInfo
-
Type:
array
trackingInfoAdditional Properties Allowed:Tracking Information for the Order. - trackingNumber
-
Type:
string
The tracking number. - uuid
-
Type:
string
The universally unique ID for the order.
Nested Schema : billingAddress
Type:
object
The billing 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 code. - 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. - state
-
Type:
string
State. - suffix
-
Type:
string
Name suffix.
Nested Schema : discountInfo
Type:
object
The order discount information.
- discountDescList
-
Type:
array
discountDescListAdditional Properties Allowed:The list of all the order discounts. - orderDiscount
-
Type:
number
The total order discount amount. - shippingDiscount
-
Type:
number
The shipping discount amount.
Nested Schema : dynamicProperties
Nested Schema : giftWithPurchaseInfo
Nested Schema : giftWithPurchaseOrderMarkers
Nested Schema : payments
Nested Schema : priceInfo
Type:
object
The order 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
The sub-total amount. - tax
-
Type:
number
The total tax amount. - total
-
Type:
number
The order total.
Nested Schema : priceListGroup
Type:
object
The order price list group details.
- active
-
Type:
boolean
Active status of the price list group. - currency
-
Type:
object
currencyAdditional Properties Allowed:The currency object. - deleted
-
Type:
boolean
Property to determine existence of the price list group. - displayName
-
Type:
string
Display name of the price list group. - id
-
Type:
string
ID of the price list group. - listPriceList
-
Type:
object
listPriceListAdditional Properties Allowed:List price list details. - locale
-
Type:
string
Locale of the price list group. - repositoryId
-
Type:
string
Repository ID of the price list group. - salePriceList
-
Type:
object
salePriceListAdditional Properties Allowed:Sale price list details. - shippingSurchargePriceList
-
Type:
object
shippingSurchargePriceListAdditional Properties Allowed:Shipping Surcharge PriceList object.
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 : 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 : shippingGroup
Type:
object
The 1st shipping group for the order.
- shippingMethodDescription
-
Type:
string
The shipping method description for the order.
Nested Schema : shippingGroups
Nested Schema : shippingMethod
Type:
object
The 1st shipping group method details for the order.
- cost
-
Type:
number
The total cost of shipping. - shippingTax
-
Type:
number
The shipping tax for the order. - value
-
Type:
string
The shipping method ID for the order.
Nested Schema : shoppingCart
Type:
object
The items of the order.
- items
-
Type:
array
itemsAdditional Properties Allowed:The array of items in the order.
Nested Schema : taxPriceInfo
Type:
object
The order tax price information details.
- amount
-
Type:
number
The total tax amount. - cityTax
-
Type:
number
The city tax amount. - countryTax
-
Type:
number
The country tax amount. - countyTax
-
Type:
number
The county tax amount. - districtTax
-
Type:
string
The district tax amount. - isTaxIncluded
-
Type:
boolean
Flag that states whether tax is included. - miscTax
-
Type:
string
The miscellaneous tax amount. - stateTax
-
Type:
number
The state tax amount. - valueAddedTax
-
Type:
number
The value added tax.
Nested Schema : trackingInfo
Nested Schema : discountDescList
Nested Schema : items
Type:
object
- coupon
-
Type:
string
The coupon code. - 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.
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
- 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
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
-
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 authorized from the payment group. - balance
-
Type:
number
Total available balance on the gift card. - gatewayName
-
Type:
string
Payment gateway name. e.g. chaseCreditCard. - 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. AUTHORIZED. - PONumber
-
Type:
string
Purchase order number for invoice payment. Payment type: invoice - uiIntervention
-
Type:
string
This decides whether the client has to do some intervention for payment. e.g. SOP.
Nested Schema : currency
Type:
object
The currency object.
- currencyCode
-
Type:
string
The currency code. - displayName
-
Type:
string
Display name of the currency. - fractionalDigits
-
Type:
integer
Number of fractional digits for the currency. - numericCode
-
Type:
string
Numeric code of the currency. - repositoryId
-
Type:
string
Repository ID of the currency. - symbol
-
Type:
string
The currency symbol.
Nested Schema : listPriceList
Type:
object
List price list details.
- repositoryId
-
Type:
string
Repository ID of the list price list.
Nested Schema : salePriceList
Type:
object
Sale price list details.
- repositoryId
-
Type:
string
Repository ID of the sale price list.
Nested Schema : shippingSurchargePriceList
Type:
object
Shipping Surcharge PriceList object.
- repositoryId
-
Type:
string
Repository ID of the shipping surcharge price list.
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
- actualShipDate
-
Type:
string
The actual ship date in ISO format. - discountInfo
-
Type:
object
discountInfoAdditional Properties Allowed:The shipping group price information. - items
-
Type:
array
itemsAdditional Properties Allowed:The array of products in the shipping group. - priceInfo
-
Type:
object
priceInfoAdditional Properties Allowed:The shipping group price information. - recurringChargePriceInfo
-
Type:
object
recurringChargePriceInfoAdditional Properties Allowed:Recurring charge price information. - shipOnDate
-
Type:
string
The ship on date in ISO format. - shippingAddress
-
Type:
object
shippingAddressAdditional Properties Allowed:The shipping address details. - shippingGroupId
-
Type:
string
The shipping group ID. - shippingMethod
-
Type:
object
shippingMethodAdditional Properties Allowed:The shipping method details. - status
-
Type:
string
The shipping group status. - submittedDate
-
Type:
string
The submitted date in ISO format. - taxPriceInfo
-
Type:
object
taxPriceInfoAdditional Properties Allowed:The shipping tax price info details. - trackingNumber
-
Type:
string
The tracking number.
Nested Schema : discountInfo
Type:
object
The shipping group price information.
- discountDescList
-
Type:
array
discountDescListAdditional Properties Allowed:The list of all the order discounts. - orderDiscount
-
Type:
number
The order discount. - shippingDiscount
-
Type:
number
The shipping discount.
Nested Schema : items
Nested Schema : priceInfo
Type:
object
The shipping group price information.
- amount
-
Type:
number
The item amount. - currencyCode
-
Type:
string
The currency code. - shipping
-
Type:
number
The shipping amount. - shippingSurchargeValue
-
Type:
number
The shipping surcharge value amount. - subTotal
-
Type:
number
The shipping group subtotal. - tax
-
Type:
number
The shipping method tax amount. - total
-
Type:
number
The total amount. - totalWithoutTax
-
Type:
number
The total without tax.
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 : 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 code. - countryName
-
Type:
string
Country name in the current locale. - 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. - state
-
Type:
string
State. - suffix
-
Type:
string
Name suffix.
Nested Schema : shippingMethod
Type:
object
The shipping method details.
- 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 : taxPriceInfo
Type:
object
The shipping tax price info details.
- amount
-
Type:
number
The tax amount. - cityTax
-
Type:
number
The city tax amount. - countryTax
-
Type:
number
The country tax total. - countyTax
-
Type:
number
The county tax amount. - districtTax
-
Type:
number
The district tax amount. - isTaxIncluded
-
Type:
boolean
Flag that states whether is tax included. - miscTax
-
Type:
number
The miscellaneous tax amount. - stateTax
-
Type:
number
The state tax amount. - valueAddedTax
-
Type:
number
The value added tax .
Nested Schema : discountDescList
Nested Schema : items
Type:
object
- coupon
-
Type:
string
The coupon code. - 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.
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 catalog reference ID/SKU ID. - 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:
number
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:
number
Raw Total Price. - recurringCharge
-
Type:
number
The recurring charge for the item. - route
-
Type:
string
route. - salePrice
-
Type:
number
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:
integer
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 : 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
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 catalog reference ID/SKU ID of the item. - 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. - detailedItemPriceInfo
-
Type:
object
detailedItemPriceInfoAdditional Properties Allowed:Detailed Item Price Information. - detailedRecurringChargeInfo
-
Type:
object
detailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - discountAmount
-
Type:
number
The rdiscount amount for the item. - discountInfo
-
Type:
array
discountInfoAdditional Properties Allowed:The discount information. - displayName
-
Type:
string
The display name of the product. - 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. - giftWithPurchaseCommerceItemMarkers
-
Type:
array
giftWithPurchaseCommerceItemMarkersAdditional Properties Allowed:The array of giftWithPurchaseCommerceItemMarkers. - id
-
Type:
string
The item ID in the order. - listPrice
-
Type:
number
The list price of the product. - price
-
Type:
number
The actual price of the product. - productId
-
Type:
string
ID of the product. - quantity
-
Type:
integer
The quantity of the item. - rawTotalPrice
-
Type:
number
The raw price of the product. - recurringCharge
-
Type:
number
The recurring charge for the item. - salePrice
-
Type:
number
The sale price of the product. - 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
Extra handling costs for shipping the products. - unitPrice
-
Type:
number
The unit price of the product. - 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:
integer
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 : discountInfo
Nested Schema : dynamicProperties
Nested Schema : externalData
Nested Schema : giftWithPurchaseCommerceItemMarkers
Nested Schema : variant
Nested Schema : items
Type:
object
- coupon
-
Type:
string
The coupon ID. - giftWithPurchaseDiscountInfo
-
Type:
array
giftWithPurchaseDiscountInfoAdditional Properties Allowed:The gift 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.
Nested Schema : items
Type:
object
- optionName
-
Type:
string
The variant option name. - optionValue
-
Type:
string
The variant option value.
Nested Schema : items
Type:
object
- carrierId
-
Type:
string
Carrier Id for Tracking. - carrierName
-
Type:
string
Carrier Name for Tracking. - carrierUrl
-
Type:
string
Carrier URL for Tracking. - trackingNumber
-
Type:
string
Tracking Number.
Example application/json
{
"creationTime":1.479743766427E12,
"sourceSystem":"Cloud Commerce",
"dynamicProperties":[
{
"id":"dynamicPropertyShippingInstructions",
"label":"Shipping Instructions",
"value":"Test Instructions"
}
],
"payments":[
{
"paymentGroupId":"pg70442",
"amount":58.03,
"customPaymentProperties":{
"custProp2":"100",
"custProp1":"12"
},
"gatewayName":"chaseCreditCard",
"uiIntervention":null,
"paymentMethod":"creditCard",
"isAmountRemaining":true,
"paymentState":"AUTHORIZED"
}
],
"submittedDate":"2016-11-21T15:56:35.174Z",
"uuid":"6be4196a-ce3c-4fae-bc04-724c40729a05",
"organizationId":null,
"priceInfo":{
"amount":46.8,
"total":58.03,
"shipping":5.95,
"shippingSurchargeValue":0,
"tax":5.28,
"subTotal":52,
"currencyCode":"USD",
"totalWithoutTax":52.75
},
"shoppingCart":{
"items":[
{
"deactivationDate":"2018-06-27T12:59:59Z",
"rawTotalPrice":52,
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"displayName":"Cowboy Shirt",
"shippingSurchargeValue":0,
"externalData":[
],
"discountAmount":0,
"billingAccountId":"billingAcc-123",
"commerceItemId":"ci3000411",
"assetId":"asset10001",
"price":52,
"variant":[
{
"optionValue":"Blue",
"optionName":"Color"
},
{
"optionValue":"Medium",
"optionName":"Size"
}
],
"actionCode":"Add",
"id":"ci4000032",
"serviceId":"service-123",
"unitPrice":52,
"serviceAccountId":"serviceAcc-123",
"quantity":1,
"productId":"prod10002",
"salePrice":0,
"detailedItemPriceInfo":[
{
"discounted":false,
"amount":52,
"quantity":1,
"tax":4.68,
"orderDiscountShare":5.2,
"detailedUnitPrice":52,
"currencyCode":"USD"
}
],
"externalRecurringCharge":10,
"giftWithPurchaseCommerceItemMarkers":[
],
"externalRecurringChargeFrequency":"Monthly",
"externalRecurringChargeDuration":"12",
"catRefId":"sku40087",
"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":52,
"recurringCharge":10
}
]
},
"links":[
{
"rel":"self",
"href":"http://www.example.com/ccstoreui/v1/orders/6be4196a-ce3c-4fae-bc04-724c40729a05"
}
],
"state":"SUBMITTED",
"id":"o90008",
"trackingNumber":"1224",
"taxPriceInfo":{
"cityTax":1.85,
"amount":5.28,
"valueAddedTax":0,
"countyTax":1.32,
"isTaxIncluded":false,
"miscTax":0,
"districtTax":0,
"stateTax":2.11,
"countryTax":0
},
"shippingGroups":[
{
"taxPriceInfo":{
"cityTax":1.85,
"amount":5.28,
"valueAddedTax":0,
"countyTax":1.32,
"isTaxIncluded":false,
"miscTax":0,
"districtTax":0,
"stateTax":2.11,
"countryTax":0
},
"shippingMethod":{
"shippingTax":0.6,
"cost":5.95,
"value":"ground",
"shippingMethodDescription":"Ground"
},
"shippingGroupId":"sg10032",
"submittedDate":null,
"priceInfo":{
"amount":46.8,
"total":58.03,
"shipping":5.95,
"shippingSurchargeValue":0,
"tax":5.28,
"subTotal":52,
"currencyCode":"USD",
"totalWithoutTax":52.75
},
"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":5.2,
"orderDiscountDescList":[
{
"promotionLevel":"order",
"promotionDesc":"10% off Orders over $40",
"promotionId":"promo20011"
}
],
"shippingDiscount":0
},
"shipOnDate":null,
"trackingInfo":[
],
"actualShipDate":null,
"shippingAddress":{
"lastName":"Shopper",
"country":"US",
"address3":"",
"address2":"",
"city":"Springfield",
"address1":"1 Main Street",
"prefix":"",
"companyName":"",
"postalCode":"36130",
"jobTitle":"",
"regionName":"Alabama",
"county":"",
"suffix":"",
"firstName":"Test",
"phoneNumber":"5675675678",
"alias":"Address##0",
"faxNumber":"",
"middleName":"",
"state":"AL",
"countryName":"United States",
"email":"a@a.com"
},
"trackingNumber":"1224",
"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":[
],
"billingAccountId":"billingAcc-123",
"commerceItemId":"ci3000411",
"assetId":"asset10001",
"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,
"productId":"prod10002",
"salePrice":0,
"detailedItemPriceInfo":[
{
"discounted":false,
"amount":52,
"quantity":1,
"tax":4.68,
"orderDiscountShare":5.2,
"detailedUnitPrice":52,
"currencyCode":"USD"
}
],
"externalRecurringCharge":10,
"active":true,
"externalRecurringChargeFrequency":"Monthly",
"externalRecurringChargeDuration":"12",
"catRefId":"sku40087",
"customerAccountId":"customerAcc-123",
"discountInfo":[
],
"route":"/cowboy-shirt/product/prod10002",
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"activationDate":"2017-06-27T15:30:00Z",
"listPrice":52,
"recurringCharge":10,
"status":"INITIAL"
}
],
"status":"INITIAL"
}
],
"lastModifiedDate":"2016-11-21T15:56:35.405Z",
"shippingMethod":{
"shippingTax":0.6,
"cost":5.95,
"value":"ground"
},
"priceListGroup":{
"endDate":null,
"displayName":"Default Price Group",
"listPriceList":{
"repositoryId":"listPrices"
},
"active":true,
"locale":"en_US",
"shippingSurchargePriceList":{
"repositoryId":"shippingSurchargePrices"
},
"deleted":false,
"repositoryId":"defaultPriceGroup",
"salePriceList":{
"repositoryId":"salePrices"
},
"currency":{
"symbol":"$",
"displayName":"US Dollar",
"repositoryId":"en_US",
"fractionalDigits":2,
"currencyCode":"USD",
"numericCode":"840"
},
"id":"defaultPriceGroup",
"includeAllProducts":true,
"startDate":null
},
"creationDate":"2016-11-21T15:56:06.427Z",
"orderProfileId":"120693",
"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":5.2,
"orderDiscountDescList":[
{
"promotionLevel":"order",
"promotionDesc":"10% off Orders over $40",
"promotionId":"promo20011"
}
],
"shippingDiscount":0
},
"trackingInfo":[
{
"carrierName":"OnTrac",
"carrierUrl":"http://www.ontrac.com/trackingdetail.asp?tracking=1224",
"carrierId":"OnTrac",
"trackingNumber":"1224"
}
],
"orderLocale":"en",
"shippingAddress":{
"lastName":"Shopper",
"country":"US",
"address3":"",
"address2":"",
"city":"Springfield",
"address1":"1 Main Street",
"prefix":"",
"companyName":"",
"postalCode":"36130",
"jobTitle":"",
"county":"",
"suffix":"",
"firstName":"Test",
"phoneNumber":"5675675678",
"faxNumber":"",
"alias":"Address",
"middleName":"",
"state":"AL",
"email":"a@a.com"
},
"billingAddress":{
"lastName":"Shopper",
"country":"US",
"address3":"",
"address2":"",
"city":"Springfield",
"address1":"1 Main Street",
"prefix":"",
"companyName":"",
"postalCode":"36130",
"jobTitle":"",
"county":"",
"suffix":"",
"firstName":"Test",
"phoneNumber":"5675675678",
"faxNumber":"",
"alias":null,
"middleName":"",
"state":"AL",
"email":"a@a.com"
},
"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 Response Payload returned by endpoint:
{ "creationTime": 1479743766427, "sourceSystem": "Cloud Commerce", "dynamicProperties": [{ "id": "dynamicPropertyShippingInstructions", "label": "Shipping Instructions", "value": "Test Instructions" }], "payments": [{ "paymentGroupId": "pg70442", "amount": 58.03, "customPaymentProperties": { "custProp2": "100", "custProp1": "12" }, "gatewayName": "chaseCreditCard", "uiIntervention": null, "paymentMethod": "creditCard", "isAmountRemaining": true, "paymentState": "AUTHORIZED" }], "submittedDate": "2016-11-21T15:56:35.174Z", "uuid": "6be4196a-ce3c-4fae-bc04-724c40729a05", "organizationId": null, "priceInfo": { "amount": 46.8, "total": 58.03, "shipping": 5.95, "shippingSurchargeValue": 0, "tax": 5.28, "subTotal": 52, "currencyCode": "USD", "totalWithoutTax": 52.75 }, "shoppingCart": {"items": [{ "deactivationDate": "2018-06-27T12:59:59Z", "rawTotalPrice": 52, "dynamicProperties": [{ "id": "dynamicPropertyMode", "label": "Mode", "value": "pickup" }], "displayName": "Cowboy Shirt", "shippingSurchargeValue": 0, "externalData": [], "discountAmount": 0, "billingAccountId": "billingAcc-123", "commerceItemId": "ci3000411", "assetId": "asset10001", "price": 52, "variant": [ { "optionValue": "Blue", "optionName": "Color" }, { "optionValue": "Medium", "optionName": "Size" } ], "actionCode": "Add", "id": "ci4000032", "serviceId": "service-123", "unitPrice": 52, "serviceAccountId": "serviceAcc-123", "quantity": 1, "productId": "prod10002", "salePrice": 0, "detailedItemPriceInfo": [{ "discounted": false, "amount": 52, "quantity": 1, "tax": 4.68, "orderDiscountShare": 5.2, "detailedUnitPrice": 52, "currencyCode": "USD" }], "externalRecurringCharge": 10, "giftWithPurchaseCommerceItemMarkers": [], "externalRecurringChargeFrequency": "Monthly", "externalRecurringChargeDuration": "12", "catRefId": "sku40087", "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": 52, "recurringCharge": 10 }]}, "links": [{ "rel": "self", "href": "http://www.example.com/ccstoreui/v1/orders/6be4196a-ce3c-4fae-bc04-724c40729a05" }], "state": "SUBMITTED", "id": "o90008", "trackingNumber": "1224", "taxPriceInfo": { "cityTax": 1.85, "amount": 5.28, "valueAddedTax": 0, "countyTax": 1.32, "isTaxIncluded": false, "miscTax": 0, "districtTax": 0, "stateTax": 2.11, "countryTax": 0 }, "shippingGroups": [{ "taxPriceInfo": { "cityTax": 1.85, "amount": 5.28, "valueAddedTax": 0, "countyTax": 1.32, "isTaxIncluded": false, "miscTax": 0, "districtTax": 0, "stateTax": 2.11, "countryTax": 0 }, "shippingMethod": { "shippingTax": 0.6, "cost": 5.95, "value": "ground", "shippingMethodDescription": "Ground" }, "shippingGroupId": "sg10032", "submittedDate": null, "priceInfo": { "amount": 46.8, "total": 58.03, "shipping": 5.95, "shippingSurchargeValue": 0, "tax": 5.28, "subTotal": 52, "currencyCode": "USD", "totalWithoutTax": 52.75 }, "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": 5.2, "orderDiscountDescList": [{ "promotionLevel": "order", "promotionDesc": "10% off Orders over $40", "promotionId": "promo20011" }], "shippingDiscount": 0 }, "shipOnDate": null, "trackingInfo": [], "actualShipDate": null, "shippingAddress": { "lastName": "Shopper", "country": "US", "address3": "", "address2": "", "city": "Springfield", "address1": "1 Main Street", "prefix": "", "companyName": "", "postalCode": "36130", "jobTitle": "", "regionName": "Alabama", "county": "", "suffix": "", "firstName": "Test", "phoneNumber": "5675675678", "alias": "Address##0", "faxNumber": "", "middleName": "", "state": "AL", "countryName": "United States", "email": "a@a.com" }, "trackingNumber": "1224", "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": [], "billingAccountId": "billingAcc-123", "commerceItemId": "ci3000411", "assetId": "asset10001", "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, "productId": "prod10002", "salePrice": 0, "detailedItemPriceInfo": [{ "discounted": false, "amount": 52, "quantity": 1, "tax": 4.68, "orderDiscountShare": 5.2, "detailedUnitPrice": 52, "currencyCode": "USD" }], "externalRecurringCharge": 10, "active": true, "externalRecurringChargeFrequency": "Monthly", "externalRecurringChargeDuration": "12", "catRefId": "sku40087", "customerAccountId": "customerAcc-123", "discountInfo": [], "route": "/cowboy-shirt/product/prod10002", "detailedRecurringChargeInfo": [{ "discounted": false, "amount": 10, "quantity": 1, "tax": 0, "orderDiscountShare": 0, "detailedUnitPrice": 10, "currencyCode": "USD" }], "activationDate": "2017-06-27T15:30:00Z", "listPrice": 52, "recurringCharge": 10, "status": "INITIAL" }], "status": "INITIAL" }], "lastModifiedDate": "2016-11-21T15:56:35.405Z", "shippingMethod": { "shippingTax": 0.6, "cost": 5.95, "value": "ground" }, "priceListGroup": { "endDate": null, "displayName": "Default Price Group", "listPriceList": {"repositoryId": "listPrices"}, "active": true, "locale": "en_US", "shippingSurchargePriceList": {"repositoryId": "shippingSurchargePrices"}, "deleted": false, "repositoryId": "defaultPriceGroup", "salePriceList": {"repositoryId": "salePrices"}, "currency": { "symbol": "$", "displayName": "US Dollar", "repositoryId": "en_US", "fractionalDigits": 2, "currencyCode": "USD", "numericCode": "840" }, "id": "defaultPriceGroup", "includeAllProducts": true, "startDate": null }, "creationDate": "2016-11-21T15:56:06.427Z", "orderProfileId": "120693", "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": 5.2, "orderDiscountDescList": [{ "promotionLevel": "order", "promotionDesc": "10% off Orders over $40", "promotionId": "promo20011" }], "shippingDiscount": 0 }, "trackingInfo": [{ "carrierName": "OnTrac", "carrierUrl": "http://www.ontrac.com/trackingdetail.asp?tracking=1224", "carrierId": "OnTrac", "trackingNumber": "1224" }], "orderLocale": "en", "shippingAddress": { "lastName": "Shopper", "country": "US", "address3": "", "address2": "", "city": "Springfield", "address1": "1 Main Street", "prefix": "", "companyName": "", "postalCode": "36130", "jobTitle": "", "county": "", "suffix": "", "firstName": "Test", "phoneNumber": "5675675678", "faxNumber": "", "alias": "Address", "middleName": "", "state": "AL", "email": "a@a.com" }, "billingAddress": { "lastName": "Shopper", "country": "US", "address3": "", "address2": "", "city": "Springfield", "address1": "1 Main Street", "prefix": "", "companyName": "", "postalCode": "36130", "jobTitle": "", "county": "", "suffix": "", "firstName": "Test", "phoneNumber": "5675675678", "faxNumber": "", "alias": null, "middleName": "", "state": "AL", "email": "a@a.com" }, "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" }] }