rejectOrder
post
/ccstore/v1/orders/reject
Reject Order. Approver rejects an order. Optionally takes the x-ccasset-language headers to get translated content in another language. Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization context of logged in user.
Request
Supported Media Types
- application/json
Header Parameters
- X-CCOrganization
-
Type:
stringCurrent organization context of the logged in user
Body Parameter
Root Schema : rejectOrder_request
{
"approverMessage":"Rejecting order",
"orderId":"o40411"
}
- approverMessage
-
Type:
stringthe message given by approver when he is approving order. - orderId
-
Type:
stringRequired:truethe order id of the order which requires approval.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : rejectOrder_response
- approverMessages
-
Type:
stringApprover Messages. - approvers
-
Type:
arrayapproversList of approvers of the organization. - creationDate
-
Type:
stringThe creation date in ISO format. - creationTime
-
Type:
numberOrder creation time. - discountInfo
-
Type:
objectdiscountInfoDiscount information. - dynamicProperties
-
Type:
arraydynamicPropertiesRead-only list of dynamic properties for the order along with meta-data. - giftWithPurchaseInfo
-
Type:
arraygiftWithPurchaseInfoGift Selection Information - giftWithPurchaseOrderMarkers
-
Type:
arraygiftWithPurchaseOrderMarkersGift With Purchase order markers information - id
-
Type:
stringRequired:trueThe order id. - orderComments
-
Type:
arrayorderCommentsThe list of all logged comments for the order. - paymentGroup
-
Type:
objectpaymentGroupPayment Group for the order. - priceInfo
-
Type:
objectpriceInfoThe price information. - priceListGroup
-
Type:
objectpriceListGroupPriceList group of the order. - pricingMessages
-
Type:
objectpricingMessagesThe Pricing messages information. - profile
-
Type:
objectprofileProfile Information for the order. - profileId
-
Type:
stringRequired:trueprofile id. - returnRequests
-
Type:
arrayreturnRequestsThe list of the requests raised for the order. - shippingAddress
-
Type:
objectshippingAddressRequired:trueShipping address. - shippingGroups
-
Type:
arrayshippingGroupsShipping Group Information - shippingMethod
-
Type:
objectshippingMethodShipping method information. - shoppingCart
-
Type:
objectshoppingCartShopping cart information. - state
-
Type:
integerThe order state. - stateDetailsAsUser
-
Type:
stringOrder State description for this order. - stateString
-
Type:
stringOrder state as key string. - taxPriceInfo
-
Type:
objecttaxPriceInfoThe tax pricing details for the order. - totalAmountAuthorized
-
Type:
numbertotal amount authorized for the order.
Nested Schema : approvers
Nested Schema : discountInfo
Type:
objectDiscount information.
- claimedCouponMultiPromotions
-
Type:
objectclaimedCouponMultiPromotionsThe coupons that were claimed - orderCouponsMap
-
Type:
arrayorderCouponsMapMap of coupons. - orderDiscount
-
Type:
numberDiscount given on an order. - orderImplicitDiscountList
-
Type:
arrayorderImplicitDiscountListList of discounts. - shippingDiscount
-
Type:
integerThe shipping discount. - unclaimedCouponMultiPromotions
-
Type:
objectunclaimedCouponMultiPromotionsThe coupons that were not claimed - unclaimedCouponsMap
-
Type:
arrayunclaimedCouponsMapMap of unclaimed coupons.
Nested Schema : dynamicProperties
Nested Schema : giftWithPurchaseInfo
Nested Schema : giftWithPurchaseOrderMarkers
Nested Schema : orderComments
Nested Schema : paymentGroup
Type:
objectPayment Group for the order.
- amount
-
Type:
numberThe amount associated with this Payment Group. - amountAuthorized
-
Type:
numberThe amount authorized with this Payment Group. - balance
-
Type:
stringThe gift card balance available. - billingAddress
-
Type:
objectbillingAddressBilling address for the order. - cardNumber
-
Type:
stringThe masked credit card number. - cardType
-
Type:
stringThe credit card type. - firstName
-
Type:
stringFirst name associated with this Payment Group. - lastName
-
Type:
stringLast name associated with this Payment Group. - paidAmount
-
Type:
numberThe amount that has been debited to-date for this Payment Group. - paymentGroupId
-
Type:
integerId of this payment Group. - paymentState
-
Type:
stringThe Payment Group state. - paymentStateDetailsAsUser
-
Type:
stringThe payment state description as string. - paymentStatString
-
Type:
stringThe payment state as a key string. - PONumber
-
Type:
stringPurchase order number for invoice payment. Payment type: invoice - refundAmount
-
Type:
numberThe amount that has been credited to-date for this Payment Group. - token
-
Type:
stringToken associated with this Payment Group. - totalDue
-
Type:
numberThe current working total order price including all discounts, tax, and billing costs. - uiIntervention
-
Type:
stringThis decides whether the client has to do some intervention for payment. e.g. SOP - zero_value_auto_authorized
-
Type:
stringThe Payment Group is auto authorized without any payment details for zero amount. e.g. true
Nested Schema : priceInfo
Type:
objectThe price information.
- amount
-
Type:
numberThe total order amount. - currencyCode
-
Type:
stringThe currency code. - shipping
-
Type:
numberThe total shipping cost. - shippingSurchargeValue
-
Type:
numberExtra handling costs for shipping the products. - subTotal
-
Type:
numberSub-total. - tax
-
Type:
numberThe total tax amount. - total
-
Type:
numberThe order total.
Nested Schema : priceListGroup
Type:
objectPriceList group of the order.
- active
-
Type:
booleanActive status of pricelist group. - currency
-
Type:
objectcurrencyCurrency of the PriceList group. - deleted
-
Type:
booleanPricelist group deleted status. - displayName
-
Type:
stringDisplay Name. - id
-
Type:
stringId. - locale
-
Type:
stringLocale. - repositoryId
-
Type:
stringRepository Id.
Nested Schema : pricingMessages
Type:
objectThe Pricing messages information.
- GiftWithPurchaseMessages
-
Type:
arrayGiftWithPurchaseMessagesThe GWP messages information.
Nested Schema : profile
Type:
objectProfile Information for the order.
-
Type:
stringEmail Address corresponding to the profile. - firstName
-
Type:
stringFirst name of profile. - lastName
-
Type:
stringLast name of profile. - middleName
-
Type:
stringMiddle name of profile. - organization
-
Type:
objectorganizationThe Organization associated with the B2B customer profile.
Nested Schema : returnRequests
Nested Schema : shippingAddress
Type:
objectShipping address.
- address1
-
Type:
stringRequired:trueThe address1 of the shipping address. - address2
-
Type:
stringRequired:trueThe address2 of the shipping address. - address3
-
Type:
stringThe address3 of the shipping address. - city
-
Type:
stringRequired:trueThe city of the shipping address. - companyName
-
Type:
stringThe companyName. - country
-
Type:
stringRequired:trueThe country of the shipping address. - county
-
Type:
stringThe county of the shipping address. - DEFAULT_POSTAL_CODE_PATTERN
-
Type:
stringThe default post code pattern of the shipping address. -
Type:
stringRequired:trueemail of the shipping address. - faxNumber
-
Type:
stringThe faxNumber of the shipping address. - firstName
-
Type:
stringRequired:trueThe first name of the shipping address. - jobTitle
-
Type:
stringThe job title. - lastName
-
Type:
stringRequired:trueThe last name of the shipping address. - middleName
-
Type:
stringThe middle name of the shipping address. - phoneNumber
-
Type:
stringRequired:trueThe phone Number of the shipping address. - postalCode
-
Type:
stringRequired:trueThe postal Code of the shipping address. - prefix
-
Type:
stringprefix of shipping address name. - selectedCountry
-
Type:
stringRequired:trueThe selected country of the shipping address. - selectedState
-
Type:
stringRequired:trueThe selected state of the shipping address. - state
-
Type:
stringRequired:trueThe state of the shipping address. - state_ISOCode
-
Type:
stringRequired:trueThe state ISON code of the shipping address. - suffix
-
Type:
stringsuffix of the shipping address name.
Nested Schema : shippingMethod
Type:
objectShipping method information.
- cost
-
Type:
numbershipping cost. - displayName
-
Type:
stringDisplay Name of shipment. - value
-
Type:
stringmethod type of shipment.
Nested Schema : shoppingCart
Nested Schema : taxPriceInfo
Type:
objectThe tax pricing details for the order.
- amount
-
Type:
numberThe monetary amount. - amountIsFinal
-
Type:
booleanWhether the amount is final. - cityTax
-
Type:
numberThe monetary amount of city tax. - countryTax
-
Type:
numberThe monetary amount of country tax. - countyTax
-
Type:
numberThe monetary amount of county tax. - currencyCode
-
Type:
stringThe three character currency code. - discounted
-
Type:
booleanWhether the price was discounted. - districtTax
-
Type:
numberTax amount for the district. - stateTax
-
Type:
numberTax amount for the state.
Nested Schema : items
Type:
object- approverId
-
Type:
stringId of approver. - firstName
-
Type:
stringFirst name of approver. - lastName
-
Type:
stringLast name of approver.
Nested Schema : claimedCouponMultiPromotions
Type:
objectThe coupons that were claimed
- couponCode
-
Type:
arraycouponCodeCoupon Code, corresponding to which promotions were applied
Nested Schema : unclaimedCouponMultiPromotions
Type:
objectThe coupons that were not claimed
- couponCode
-
Type:
arraycouponCodeCoupon Code, corresponding to which some promotions were not applied
Nested Schema : couponCode
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringPromotion Description - promotionId
-
Type:
stringPromotion Id - promotionLevel
-
Type:
stringPromotion Level - totalAdjustment
-
Type:
numberAdjustment done by the promotion
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : couponCode
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringPromotion Description - promotionId
-
Type:
stringPromotion Id - promotionLevel
-
Type:
stringPromotion Level
Nested Schema : items
Type:
object- couponInfo
-
Type:
arraycouponInfoThe coupon Info. - promotionValue
-
Type:
stringThe value for promotion.
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- id
-
Type:
stringThe ID of the dynamic property. - value
-
Type:
stringThe value of the dynamic property.
Nested Schema : items
Type:
object- giftHashCode
-
Type:
stringThe gift hash code for the promotion - giftWithPurchaseDetail
-
Type:
stringString identifying the gift usually the repository ID of the gift type. - giftWithPurchaseIdentifier
-
Type:
integerAn 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:
numberQuantity of gift that the shopper still needs to select. - giftWithPurchaseType
-
Type:
stringThe type of gift like sku, product, category, skuContentGroup or productContentGroup. - promotionDesc
-
Type:
stringThe promotion description. - promotionId
-
Type:
stringThe gift with purchase promotion id
Nested Schema : items
Type:
object- automaticQuantity
-
Type:
numberThe quantity of free sku for this gift selection that has already been auto added to the order. - autoRemove
-
Type:
booleanFlag to indicate whether free gifts should be auto removed if the promotion no longer qualifies. - data
-
Type:
stringGift 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:
numberThe amount of automatic free quantity that failed to be added to the cart due to some pricing error, e.g. invalid site.. - giftDetail
-
Type:
stringString identifying the free gift, usually the repository id of the gift type. - giftType
-
Type:
stringThe type of gift like sku, product, category, skuContentGroup or productContentGroup. - key
-
Type:
stringatg.gwp. - quantity
-
Type:
numberThe total quantity of sku for this gift selection. - removedQuantity
-
Type:
numberThe amount of free quantity that has since been manually removed by a Shopper. - repositoryId
-
Type:
stringThe repository id of the gwp order marker. - selectedQuantity
-
Type:
numberThe quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order. - targetedQuantity
-
Type:
numberThe quantity of free sku for this gift selection that has already been targeted and made free by the calculator in the order. - value
-
Type:
stringThe GWP promotion id.
Nested Schema : items
Type:
object- comment
-
Type:
stringThe comment string. - creationDate
-
Type:
stringDate on which the comment was created. - repositoryId
-
Type:
stringThe repository id of the comment record.
Nested Schema : billingAddress
Type:
objectBilling address for the order.
- address1
-
Type:
stringAddress line 1 for this billing address. - address2
-
Type:
stringAddress line 2 for this billing address. - address3
-
Type:
stringAddress line 3 for this billing address. - city
-
Type:
stringCity for this billing address. - companyName
-
Type:
stringCompany name for this billing address. - country
-
Type:
stringCountry for this billing address. - county
-
Type:
stringCounty for this billing address. -
Type:
stringEmail for this billing address. - faxNumber
-
Type:
stringFax number for this billing address. - firstName
-
Type:
stringFirst name for this billing address. - jobTitle
-
Type:
stringJob title for this billing address. - lastName
-
Type:
stringLast name for this billing address. - middleName
-
Type:
stringMiddle name for this billing address. - phoneNumber
-
Type:
stringPhone number for this billing address. - postalCode
-
Type:
stringPostal code for this billing address. - prefix
-
Type:
stringPrefix for this billing address. - selectedCountry
-
Type:
stringThe selected country of the shipping address. - selectedState
-
Type:
stringThe selected state of the shipping address. - state
-
Type:
stringState for this billing address. - state_ISOCode
-
Type:
stringThe state ISON code of the shipping address. - suffix
-
Type:
stringSuffix for this billing address.
Nested Schema : currency
Type:
objectCurrency of the PriceList group.
- currencyCode
-
Type:
stringCurrency Code. - displayName
-
Type:
stringDisplay Name. - fractionalDigits
-
Type:
integerFractional Digits. - numericCode
-
Type:
stringNumeric Code. - repositoryId
-
Type:
stringRepository Id. - symbol
-
Type:
stringcurrency Symbol.
Nested Schema : GiftWithPurchaseMessages
Nested Schema : items
Type:
object- identifier
-
Type:
stringThe pricing message identifier. - params
-
Type:
arrayparamsThe list of all message parameters. - priority
-
Type:
integerThe pricing message priority. - summary
-
Type:
stringThe pricing message summary. - type
-
Type:
stringThe pricing message type.
Nested Schema : items
Type:
object- promotionId
-
Type:
stringThe promotion id.
Nested Schema : organization
Type:
objectThe Organization associated with the B2B customer profile.
- id
-
Type:
stringThe id of the organization. - name
-
Type:
stringThe name of of the organization.
Nested Schema : items
Type:
object- createdDate
-
Type:
stringThe creation date of the return request. - returnRequestId
-
Type:
stringThe return request id. - state
-
Type:
stringThe status of the return request. - totalRefund
-
Type:
numberThe total amount to be refunded on return. - totalReturnQuantity
-
Type:
integerThe total quantity for which return request has been raised.
Nested Schema : items
Type:
object- items
-
Type:
arrayitemsRequired:trueItems in the cart. - shippingAddress
-
Type:
objectshippingAddressshipping address for the order. - shippingMethod
-
Type:
objectshippingMethodShipping method information. - trackingInfo
-
Type:
arraytrackingInfoTracking Information for the Order. - trackingNumber
-
Type:
stringShipping tracking number.
Nested Schema : shippingAddress
Type:
objectshipping address for the order.
- address1
-
Type:
stringAddress Line 1 for this shipping address. - address2
-
Type:
stringAddress Line 2 for this shipping address. - address3
-
Type:
stringAddress Line 3 for this shipping address. - city
-
Type:
stringCity for this shipping address. - companyName
-
Type:
stringCompany name for this shipping address. - country
-
Type:
stringCountry for this shipping address. - county
-
Type:
stringCounty for this shipping address. -
Type:
stringEmail for this shipping address. - faxNumber
-
Type:
stringFax number for this shipping address. - firstName
-
Type:
stringFirst name for this shipping address. - jobTitle
-
Type:
stringJob title for this shipping address. - lastName
-
Type:
stringLast name for this shipping address. - middleName
-
Type:
stringMiddle name for this shipping address. - phoneNumber
-
Type:
stringPhone number for this shipping address. - postalCode
-
Type:
stringPostal code for this shipping address. - prefix
-
Type:
stringPrefix for this shipping address. - selectedCountry
-
Type:
stringThe selected country of the shipping address. - selectedState
-
Type:
stringThe selected state of the shipping address. - state
-
Type:
stringState for this shipping address. - state_ISOCode
-
Type:
stringThe state ISON code of the shipping address. - suffix
-
Type:
stringSuffix for this shipping address.
Nested Schema : shippingMethod
Type:
objectShipping method information.
- cost
-
Type:
numbershipping cost. - displayName
-
Type:
stringDisplay Name of shipment. - value
-
Type:
stringmethod type of shipment.
Nested Schema : trackingInfo
Nested Schema : items
Type:
object- catRefId
-
Type:
stringRequired:truecatRefId of the product. - productId
-
Type:
stringRequired:trueId of the product. - quantity
-
Type:
integerRequired:truequantity of the product. - skuProperties
-
Type:
arrayskuPropertiesSku properties Information - variant
-
Type:
arrayvariantProduct Variant Information.
Nested Schema : items
Type:
object- id
-
Type:
stringID of the Dynamic SKU Property. - name
-
Type:
stringName of the Dynamic SKU Property. - propertyType
-
Type:
stringType that indicates whether it is a base or a custom SKU property, - value
-
Type:
stringValue of the Dynamic SKU Property.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Nested Schema : items
Type:
object- carrierId
-
Type:
stringCarrier Id for Tracking. - carrierName
-
Type:
stringCarrier Name for Tracking. - carrierUrl
-
Type:
stringCarrier URL for Tracking. - trackingNumber
-
Type:
stringTracking Number
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringCatalog Reference Id of commerce item. - childItems
-
Type:
arraychildItemsChild items of the commerce item - commerceItemId
-
Type:
stringUnique id of the line item - configuratorId
-
Type:
stringConfiguration id of the configurable product - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - discountAmount
-
Type:
numberTotal discount applied to commerce item. - discountInfo
-
Type:
objectdiscountInfoDiscount information. - displayName
-
Type:
stringDisplay name of commerce item. - externalData
-
Type:
arrayexternalDataExternal data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
numberThe Price of the product as per the external pricing system. - externalPriceQuantity
-
Type:
integerQuantity of the product, the customer is allowed to buy at the external price. - giftWithPurchaseCommerceItemMarkers
-
Type:
arraygiftWithPurchaseCommerceItemMarkersThe array of giftWithPurchaseCommerceItemMarkers. - imageInfo
-
Type:
objectimageInfoShipping method information. - isPriceOverridden
-
Type:
booleanIndicates if commerce item price is overridden or not. - onSale
-
Type:
booleanindicates if product is on sale or not - overriddenPrice
-
Type:
numberoverridden price of commerce item. - price
-
Type:
numberThe raw number that represents the price. - priceOverridenBy
-
Type:
stringName of the agent who has overridden item price. - priceOverrideReason
-
Type:
objectpriceOverrideReasonPrice override reason map. - productId
-
Type:
stringProduct Id of commerce item. - quantity
-
Type:
numberQuantity of the items. - rawTotalPrice
-
Type:
numberThe raw total price. - returnedQuantity
-
Type:
numberQuantity for which return request has been raised. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item. - skuProperties
-
Type:
arrayskuPropertiesSku properties Information - stateDescription
-
Type:
stringItem state as a key string. - stateDetailsAsUser
-
Type:
stringState description of the commerce item. - status
-
Type:
integerState of the commerce item. - subTotal
-
Type:
numberThe base price for the item, before any modifications. Calculated by multiplying the quantity by the listPrice. - tax
-
Type:
numberThe amount of tax paid for this item. - unitPrice
-
Type:
numberSale price or list price of commerceItem. - variant
-
Type:
arrayvariantProduct Variant Information.
Nested Schema : discountInfo
Type:
objectDiscount information.
- orderCouponsMap
-
Type:
arrayorderCouponsMapMap of coupons. - orderDiscount
-
Type:
numberDiscount given on an order. - orderImplicitDiscountList
-
Type:
arrayorderImplicitDiscountListList of discounts. - shippingDiscount
-
Type:
integerThe shipping discount. - unclaimedCouponsMap
-
Type:
arrayunclaimedCouponsMapMap of unclaimed coupons.
Nested Schema : externalData
Nested Schema : giftWithPurchaseCommerceItemMarkers
Nested Schema : imageInfo
Type:
objectShipping method information.
- primaryThumbImageURL
-
Type:
stringThumbNail Image URL
Nested Schema : priceOverrideReason
Type:
objectPrice override reason map.
- displayValue
-
Type:
stringprice override reason value. - key
-
Type:
stringprice override reason key.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringSku Id of the child item - childItems
-
Type:
arraychildItemsChild items of the commerce item - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - displayName
-
Type:
stringDisplay name of the child product - externalData
-
Type:
arrayexternalDataExternal data to be associated with a commerce item, provided by a configurator system. - productId
-
Type:
stringProduct Id of the child item - quantity
-
Type:
numberQuantity of the child item - route
-
Type:
stringProduct path - selectedOptions
-
Type:
arrayselectedOptionsChild Product Variant Information. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item.
Nested Schema : externalData
Nested Schema : selectedOptions
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the item by the configurator system. - activationDate
-
Type:
stringThe activation date in ISO format. - assetId
-
Type:
stringThe asset ID corresponding to the current item. - billingAccountId
-
Type:
stringThe billing account ID associated to the current item. - catRefId
-
Type:
stringSku Id of the child item - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - displayName
-
Type:
stringDisplay name of the child product - externalData
-
Type:
arrayexternalDataExternal data to be associated with a commerce item, provided by a configurator system. - productId
-
Type:
stringProduct Id of the child item - quantity
-
Type:
numberQuantity of the child item - route
-
Type:
stringProduct path - selectedOptions
-
Type:
arrayselectedOptionsChild Product Variant Information. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item.
Nested Schema : externalData
Nested Schema : selectedOptions
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesThe array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesThe array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- couponInfo
-
Type:
arraycouponInfoThe coupon Info. - promotionValue
-
Type:
stringThe value for promotion.
Nested Schema : items
Type:
object- promotionDesc
-
Type:
stringDescription of the promotion. - promotionId
-
Type:
stringId of the promotion. - promotionLevel
-
Type:
stringLevel of the promotion. - totalAdjustment
-
Type:
stringTotal adjustment caused by the promotion.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringThe name to be associated with the externalData item. - values
-
Type:
objectvaluesThe array of values associated with an externalData item.
Nested Schema : values
Type:
objectThe array of values associated with an externalData item.
- dynamic_property_key
-
Type:
stringThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- automaticQuantity
-
Type:
numberThe quantity of the free gift that this commerce item is making free and was auto added by pricing. - data
-
Type:
integerThe gift hash code for this GWP promotion. - key
-
Type:
stringatg.gwp - remainingQuantity
-
Type:
numberThe quantity of the commerce item that is not affected by GWP. - selectedQuantity
-
Type:
numberThe quantity of the free gift that this commerce item is making free and was selected by the shopper. - targetedQuantity
-
Type:
numberThe quantity of the free gift that this commerce item is making free and was targeted by pricing. - value
-
Type:
stringThe gift with purchase promotion id.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic SKU Property. - optionValue
-
Type:
stringValue of the Dynamic SKU Property.
Nested Schema : items
Type:
object- optionName
-
Type:
stringName of the Dynamic attribute. - optionValue
-
Type:
stringValue of the Dynamic attribute.
Example application/json
{
"creationTime":1.428563503E12,
"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":"Failed Approval",
"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/reject"
}
],
"id":"o10004",
"quoteInfo":{
"providerNote":null,
"notes":[
{
"profileType":null,
"profileId":"120213",
"requestDate":1.477479521002E12,
"requesterNote":"This is a sample quote"
}
],
"rejectionDate":null,
"requestDate":"2016-10-26T10:58:41.002Z",
"errorInfo":null,
"externalID":null,
"rejectionNote":null,
"quoteDate":null,
"expirationDate":null
},
"order":{
"numberOfItems":1,
"items":[
{
"unitPrice":52,
"primaryThumbImageURL":"/ccstoreui/v1/images/?source=http://www.example.com/file/products/APP_CowboyShirt_full.jpg&height=100&width=100",
"quantity":1,
"rawTotalPrice":52,
"productId":"prod10002",
"displayName":"Cowboy Shirt",
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"externalRecurringCharge":10,
"giftWithPurchaseCommerceItemMarkers":[
],
"active":true,
"externalRecurringChargeFrequency":"Monthly",
"catRefId":"sku40087",
"externalRecurringChargeDuration":"12",
"discountInfo":[
],
"route":"/cowboy-shirt/product/prod10002",
"price":52,
"variant":[
{
"optionValue":"Blue",
"optionName":"Color"
},
{
"optionValue":"Medium",
"optionName":"Size"
}
],
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"recurringCharge":10
}
]
},
"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,
"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@a.com"
},
"trackingNumber":null,
"items":[
{
"primaryThumbImageURL":"/ccstore/v1/images/?source=/file/v2/products/APP_CowboyShirt_full.jpg&height=100&width=100",
"rawTotalPrice":52,
"returnedQuantity":0,
"dynamicProperties":[
{
"id":"dynamicPropertyMode",
"label":"Mode",
"value":"pickup"
}
],
"displayName":"Cowboy Shirt",
"shippingSurchargeValue":0,
"discountAmount":0,
"commerceItemId":"ci3000411",
"price":52,
"variant":[
{
"optionValue":"Blue",
"optionName":"Color"
},
{
"optionValue":"Medium",
"optionName":"Size"
}
],
"onSale":false,
"primaryImageAltText":"Cowboy Shirt",
"stateDetailsAsUser":"The item has been initialized within the shipping group",
"unitPrice":52,
"primaryImageTitle":"Cowboy Shirt",
"quantity":1,
"productId":"prod10002",
"salePrice":0,
"detailedItemPriceInfo":[
{
"discounted":false,
"amount":52,
"quantity":1,
"tax":3.64,
"orderDiscountShare":0,
"detailedUnitPrice":52,
"currencyCode":"USD"
}
],
"externalRecurringCharge":10,
"active":true,
"externalRecurringChargeFrequency":"Monthly",
"externalRecurringChargeDuration":"12",
"catRefId":"sku40087",
"discountInfo":[
],
"route":"/cowboy-shirt/product/prod10002",
"detailedRecurringChargeInfo":[
{
"discounted":false,
"amount":10,
"quantity":1,
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":10,
"currencyCode":"USD"
}
],
"listPrice":52,
"recurringCharge":10,
"status":"INITIAL"
}
],
"status":"INITIAL"
}
],
"lastModifiedDate":"2015-04-09T07:21:43.000Z",
"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"
},
"creationDate":"2015-04-09T07:11:43.000Z",
"orderProfileId":"120029",
"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@a.com"
},
"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@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:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAn optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Request:
{
"approverMessage": "Rejecting order",
"orderId": "o30411"
}
Sample Response Payload returned by endpoint:
{
"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": "Failed Approval",
"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/reject"
}],
"id": "o10004",
"quoteInfo": {
"providerNote": null,
"notes": [{
"profileType": null,
"profileId": "120213",
"requestDate": 1477479521002,
"requesterNote": "This is a sample quote"
}],
"rejectionDate": null,
"requestDate": "2016-10-26T10:58:41.002Z",
"errorInfo": null,
"externalID": null,
"rejectionNote": null,
"quoteDate": null,
"expirationDate": null
},
"order": {
"numberOfItems": 1,
"items": [{
"unitPrice": 52,
"primaryThumbImageURL": "/ccstoreui/v1/images/?source=http://www.example.com/file/products/APP_CowboyShirt_full.jpg&height=100&width=100",
"quantity": 1,
"rawTotalPrice": 52,
"productId": "prod10002",
"displayName": "Cowboy Shirt",
"dynamicProperties": [{
"id": "dynamicPropertyMode",
"label": "Mode",
"value": "pickup"
}],
"externalRecurringCharge": 10,
"giftWithPurchaseCommerceItemMarkers": [],
"active": true,
"externalRecurringChargeFrequency": "Monthly",
"catRefId": "sku40087",
"externalRecurringChargeDuration": "12",
"discountInfo": [],
"route": "/cowboy-shirt/product/prod10002",
"price": 52,
"variant": [
{
"optionValue": "Blue",
"optionName": "Color"
},
{
"optionValue": "Medium",
"optionName": "Size"
}
],
"detailedRecurringChargeInfo": [{
"discounted": false,
"amount": 10,
"quantity": 1,
"tax": 0,
"orderDiscountShare": 0,
"detailedUnitPrice": 10,
"currencyCode": "USD"
}],
"recurringCharge": 10
}]
},
"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,
"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@a.com"
},
"trackingNumber": null,
"items": [{
"primaryThumbImageURL": "/ccstore/v1/images/?source=/file/v2/products/APP_CowboyShirt_full.jpg&height=100&width=100",
"rawTotalPrice": 52,
"returnedQuantity": 0,
"dynamicProperties": [{
"id": "dynamicPropertyMode",
"label": "Mode",
"value": "pickup"
}],
"displayName": "Cowboy Shirt",
"shippingSurchargeValue": 0,
"discountAmount": 0,
"commerceItemId": "ci3000411",
"price": 52,
"variant": [
{
"optionValue": "Blue",
"optionName": "Color"
},
{
"optionValue": "Medium",
"optionName": "Size"
}
],
"onSale": false,
"primaryImageAltText": "Cowboy Shirt",
"stateDetailsAsUser": "The item has been initialized within the shipping group",
"unitPrice": 52,
"primaryImageTitle": "Cowboy Shirt",
"quantity": 1,
"productId": "prod10002",
"salePrice": 0,
"detailedItemPriceInfo": [{
"discounted": false,
"amount": 52,
"quantity": 1,
"tax": 3.64,
"orderDiscountShare": 0,
"detailedUnitPrice": 52,
"currencyCode": "USD"
}],
"externalRecurringCharge": 10,
"active": true,
"externalRecurringChargeFrequency": "Monthly",
"externalRecurringChargeDuration": "12",
"catRefId": "sku40087",
"discountInfo": [],
"route": "/cowboy-shirt/product/prod10002",
"detailedRecurringChargeInfo": [{
"discounted": false,
"amount": 10,
"quantity": 1,
"tax": 0,
"orderDiscountShare": 0,
"detailedUnitPrice": 10,
"currencyCode": "USD"
}],
"listPrice": 52,
"recurringCharge": 10,
"status": "INITIAL"
}],
"status": "INITIAL"
}],
"lastModifiedDate": "2015-04-09T07:21:43.000Z",
"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"},
"creationDate": "2015-04-09T07:11:43.000Z",
"orderProfileId": "120029",
"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@a.com"
},
"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@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"
}]
}