appeasementValidation
post
/ccadmin/v1/webhook/appeasementValidation
This webhook is invoked when an appeasement is submitted in OCC, to validate it with an external system. The external system responds whether this appeasement is valid. If the external system responds that the appeasement is invalid, then the appeasement submission throws a 400 error with the reason for validation failure provided by the external system.
Request
Supported Media Types
- application/json
The request payload contains complete details about the current appeasement, agent's profile, order and profile against which the appeasement is being provided, returns related to the order, previous appeasements related to the profile either directly or indirectly through orders, site and organization on which the appeasement is being submitted. By default only the latest 50 previous appeasements of that order are included in the payload.
Root Schema : appeasementValidation_request
Type:
object
The request payload contains complete details about the current appeasement, agent's profile, order and profile against which the appeasement is being provided, returns related to the order, previous appeasements related to the profile either directly or indirectly through orders, site and organization on which the appeasement is being submitted. By default only the latest 50 previous appeasements of that order are included in the payload.
Show Source
-
agentInfo(optional):
object agentInfo
-
appeasement(optional):
object appeasement
Details of an appeasement
-
order(optional):
object order
The current order representation.
-
organization(optional):
object organization
-
previousAppeasements(optional):
array previousAppeasements
-
profile(optional):
object profile
-
returnsRelatedToOrder(optional):
array returnsRelatedToOrder
-
site(optional):
object site
Example:
{
"appeasement":{
"reason":{
"readableDescription":"Item Arrived Damaged",
"id":"itemArrivedDamaged"
},
"agentId":"service",
"notes":"Customer complained that the order has arrived damaged, and asked for a refund. Providing 15 USD.",
"orderId":"o30444",
"damagedLineItemId":"ci123547",
"lastModifiedDate":"2020-04-05T15:52:22.622Z",
"appeasementRefunds":[
{
"paymentGroupId":null,
"refundType":"externalRefund",
"amount":5,
"customerPreferredGiftCardId":null,
"id":"3200006",
"state":"INCOMPLETE",
"currencyCode":"USD"
},
{
"paymentGroupId":"pg123434",
"refundType":"externalRefund",
"amount":10,
"customerPreferredGiftCardId":null,
"id":"3200007",
"state":"INCOMPLETE",
"currencyCode":"USD"
}
],
"submittedDate":"2020-04-05T15:52:22.622Z",
"type":{
"displayName":"Order",
"description":"Appeasement to be applied on a given order",
"id":"order"
},
"creationDate":"2020-04-05T15:52:22.622Z",
"profileId":"120222",
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccagentui/v1/appeasements/submit"
}
],
"state":"SUBMITTED",
"id":"app370003",
"originOfAppeasement":"agent"
},
"site":{
"name":"Commerce Cloud Site",
"id":"siteUS",
"url":"http://blr2213262.in.oracle.com:8080"
},
"agentInfo":{
"firstName":"Damon",
"lastName":"Weber",
"roles":[
{
"name":"CS Agent Supervisor",
"description":"CS Agent Supervisor Role",
"id":"csAgentSupervisorRole",
"accessRights":[
],
"category":"Agent App"
}
],
"id":"service",
"email":"damon.weber@example.com"
},
"profile":{
"lastPurchaseDate":"2020-03-31T10:04:07.140Z",
"dynamicPropertyMapLong":{
},
"GDPRProfileP13nConsentDate":null,
"GDPRProfileP13nConsentGranted":false,
"secondaryAddresses":{
"Office":{
"country":"US",
"lastName":"Anderson",
"address3":"",
"city":"Los Angeles",
"address2":"Street 32",
"prefix":"",
"address1":"Oracle Office",
"postalCode":"90001",
"companyName":"",
"county":"LA",
"suffix":"",
"firstName":"Jim",
"phoneNumber":"9123284734",
"item-id":null,
"repositoryId":"130231",
"faxNumber":"",
"middleName":"",
"state":"CA"
},
"home":{
"country":"US",
"lastName":"Anderson",
"address3":"",
"city":"Los Angeles",
"address2":"",
"prefix":"",
"address1":"Down street 31",
"postalCode":"90001",
"companyName":"",
"county":"LA",
"suffix":"",
"firstName":"Jim",
"phoneNumber":"91243667889800",
"item-id":null,
"repositoryId":"130230",
"faxNumber":"",
"middleName":"",
"state":"CA"
}
},
"shippingSurchargePriceList":null,
"firstPurchaseDate":"2020-03-31T10:04:07.140Z",
"profileType":null,
"loyaltyPrograms":[
],
"lastPurchaseAmount":136.47,
"registrationDate":"2020-03-31T10:00:10.790Z",
"sessionOrganization":null,
"lifetimeAOV":136.47,
"id":"120222",
"derivedSalePriceList":null,
"homeAddress":{
"country":null,
"lastName":null,
"address3":null,
"city":null,
"address2":null,
"prefix":null,
"address1":null,
"postalCode":null,
"companyName":null,
"county":null,
"suffix":null,
"firstName":null,
"phoneNumber":null,
"item-id":null,
"repositoryId":"130224",
"faxNumber":null,
"middleName":null,
"state":null
},
"daytimeTelephoneNumber":null,
"customerContactId":null,
"taxExempt":false,
"dynamicPropertyMapBigString":{
},
"active":true,
"lastVisitDate":null,
"taxExemptionCode":null,
"previousVisitDate":null,
"version":11,
"abandonedOrderCount":0,
"firstName":"Jim",
"defaultCreditCard":null,
"lifetimeCurrencyCode":"USD",
"derivedTaxExemptionCode":null,
"currentOrganization":null,
"secondaryOrganizations":[
],
"shippingAddresses":[
{
"country":"US",
"lastName":"Anderson",
"address3":"",
"city":"Los Angeles",
"address2":"",
"prefix":"",
"address1":"Down street 31",
"postalCode":"90001",
"companyName":"",
"county":"LA",
"suffix":"",
"firstName":"Jim",
"phoneNumber":"91243667889800",
"item-id":null,
"repositoryId":"130230",
"faxNumber":"",
"middleName":"",
"state":"CA"
},
{
"country":"US",
"lastName":"Anderson",
"address3":"",
"city":"Los Angeles",
"address2":"Street 32",
"prefix":"",
"address1":"Oracle Office",
"postalCode":"90001",
"companyName":"",
"county":"LA",
"suffix":"",
"firstName":"Jim",
"phoneNumber":"9123284734",
"item-id":null,
"repositoryId":"130231",
"faxNumber":"",
"middleName":"",
"state":"CA"
}
],
"derivedPriceListGroup":null,
"lastName":"Anderson",
"roles":[
],
"numberOfOrders":1,
"locale":"en",
"login":"jim.anderson@example.com",
"receiveEmailDate":"2020-03-31T10:00:10.290Z",
"sitePropertiesList":[
{
"site":{
"id":"siteUS"
},
"properties":{
"numberOfVisits":0,
"GDPRProfileP13nConsentDate":null,
"GDPRProfileP13nConsentGranted":false,
"receiveEmail":"yes",
"receiveEmailDate":"2020-03-31T10:00:10.290Z"
}
}
],
"lifetimeSpend":136.47,
"dynamicPropertyMapString":{
},
"email":"jim.anderson@example.com",
"numberOfVisits":0,
"siteProperties":{
"siteUS":{
"numberOfVisits":0,
"GDPRProfileP13nConsentDate":null,
"GDPRProfileP13nConsentGranted":false,
"receiveEmail":"yes",
"receiveEmailDate":"2020-03-31T10:00:10.290Z"
}
},
"comments":[
{
"owner":"120222",
"agent":"service",
"item-id":"/atg/userprofiling/ProfileAdapterRepository_production/agentComment/100001",
"comment":"Note: This is a VIP customer.",
"id":"100001",
"creationDate":"2020-03-31T10:03:45.111Z",
"version":1
}
],
"receiveEmail":"yes",
"priceListGroup":null,
"dateOfBirth":null,
"shippingAddress":{
"country":"US",
"lastName":"Anderson",
"address3":"",
"city":"Los Angeles",
"address2":"",
"prefix":"",
"address1":"Down street 31",
"postalCode":"90001",
"companyName":"",
"county":"LA",
"suffix":"",
"firstName":"Jim",
"phoneNumber":"91243667889800",
"item-id":null,
"repositoryId":"130230",
"faxNumber":"",
"middleName":"",
"state":"CA"
},
"firstVisitDate":null,
"middleName":null,
"lastActivity":"2020-03-31T10:00:10.836Z",
"billingAddress":null,
"dynamicPropertyMapDouble":{
},
"derivedShippingSurchargePriceList":null,
"abandonedOrders":[
]
},
"previousAppeasements":[
{
"reason":{
"readableDescription":"Order Arrived Late",
"key":"orderArrivedLate"
},
"agentId":"service",
"notes":"Customer complained that the order has arrived late, and asked for a refund of shipping amount. Providing 25 USD.",
"orderId":"o30556",
"damagedLineItemId":null,
"lastModifiedDate":"2020-04-05T15:52:22.622Z",
"preferredGiftCardId":null,
"appeasementRefunds":[
{
"paymentGroupId":null,
"refundType":"externalRefund",
"amount":10,
"customerPreferredGiftCardId":null,
"id":"283723",
"state":"INCOMPLETE",
"currencyCode":"USD"
},
{
"paymentGroupId":"pg1223",
"refundType":"externalRefund",
"amount":15,
"customerPreferredGiftCardId":null,
"id":"329382",
"state":"INCOMPLETE",
"currencyCode":"USD"
}
],
"submittedDate":"2020-04-05T15:52:22.622Z",
"type":{
"displayName":"Order",
"description":"Appeasement to be applied on a given order",
"key":"order"
},
"creationDate":"2020-04-05T15:52:22.622Z",
"profileId":"120222",
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccagentui/v1/appeasements/submit"
}
],
"state":"SUBMITTED",
"id":"app74957",
"originOfAppeasement":"contactCenter"
}
],
"returnsRelatedToOrder":[
{
"agentId":"service",
"authorizationDate":"2020-03-31T10:12:55.672Z",
"refundSubtotal":58.49,
"refundMethodList":[
{
"refundType":"manualRefund",
"amount":58.49,
"maximumRefundAmount":-1
}
],
"allocatedAmount":58.49,
"suggestedShippingRefund":12.5,
"returnPaymentState":"Refund",
"processName":"Return",
"processImmediately":false,
"orderCurrencyCode":"USD",
"returnAdjustedOrderId":null,
"returnCalculationOrder":null,
"state":"COMPLETE",
"unAdjustedRefundSubtotal":45.99,
"returnItemCount":1,
"trackingNumber":null,
"totalOrderPromotionValueAdjustmentChange":0,
"comments":null,
"suggestedTaxRefund":0,
"nonReturnItemCostAdjustments":[
],
"actualShippingRefund":12.5,
"otherRefund":0,
"actualTaxRefund":0,
"totalItemRefund":45.99,
"processed":false,
"returnLabel":null,
"authorizationNumber":"100003",
"returningItems":true,
"replacingItems":false,
"returnFee":0,
"exchangeProcess":false,
"totalReturnItemRefund":45.99,
"submitExchangeAllowed":false,
"totalRefundAmount":58.49,
"originOfReturn":"contactCenter",
"unallocatedAmount":0,
"additionalProperties":{
},
"nonReturnItemSubtotalAdjustment":0,
"originatingOrderId":"o30444",
"replaceItemCount":0,
"adjustmentAmount":12.5,
"returnItemList":[
{
"quantityReturned":1,
"quantityToReturn":1,
"quantityAvailable":0,
"returnItemId":"100003",
"suggestedTaxRefundShare":0,
"quantityToExchange":0,
"itemCurrencyCode":"USD",
"shippingGroupId":"sg40460",
"description":null,
"catalogRefId":"Sku_22Dxy",
"suggestedShippingRefundShare":12.5,
"commerceItemId":"ci3000473",
"disposition":"acceptedWithRefund",
"quantityShipped":0,
"returnReason":"incorrectColor",
"itemCostAdjustments":[
{
"commerceItemId":"ci3000473",
"shippingGroupId":"sg40460",
"amountAdjustment":-45.99,
"shippingShareAdjustment":0,
"quantityAdjusted":1,
"orderDiscountShareAdjustment":0,
"manualAdjustmentShareAdjustment":0,
"taxShareAdjustment":0
},
{
"commerceItemId":"ci3000473",
"shippingGroupId":"sg40460",
"amountAdjustment":0,
"shippingShareAdjustment":-12.5,
"quantityAdjusted":0,
"orderDiscountShareAdjustment":0,
"manualAdjustmentShareAdjustment":0,
"taxShareAdjustment":0
}
],
"actualShippingRefundShare":12.5,
"suggestedRefundAmount":45.99,
"actualTaxRefundShare":0,
"quantityReceived":1,
"refundAmount":45.99
}
]
}
],
"order":{
"gwp":false,
"secondaryCurrencyCode":null,
"submittedDate":"2020-03-31T10:07:18.000Z",
"salesChannel":"default",
"configuratorId":null,
"uuid":"1fbd6870-3d45-43bf-9034-e924253a22a2",
"organizationId":null,
"relationships":[
{
"paymentGroupId":"pg30494",
"amount":36.47,
"relationshipType":"ORDERAMOUNT",
"id":"r40638"
},
{
"paymentGroupId":"pg30495",
"amount":100,
"relationshipType":"ORDERAMOUNT",
"id":"r40639"
}
],
"exchangeRate":null,
"id":"o30444",
"state":"SUBMITTED",
"taxCalculated":false,
"combinedPriceInfos":null,
"commerceItems":[
{
"deactivationDate":null,
"returnedQuantity":0,
"availabilityDate":null,
"billingProfileId":null,
"externalData":[
],
"billingAccountId":null,
"preOrderQuantity":0,
"assetKey":null,
"commerceItemId":"ci3000473",
"priceInfo":{
"discounted":false,
"amount":91.98,
"secondaryCurrencyShippingSurcharge":0,
"rawTotalPrice":91.98,
"salePrice":0,
"orderDiscountInfos":[
],
"priceListId":"listPrices",
"quantityDiscounted":0,
"amountIsFinal":false,
"onSale":false,
"shippingSurcharge":0,
"discountable":true,
"currentPriceDetailsSorted":[
{
"secondaryCurrencyTaxAmount":0,
"discounted":false,
"amount":91.98,
"quantity":2,
"amountIsFinal":false,
"range":{
"lowBound":0,
"highBound":1,
"size":2
},
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":45.99,
"currencyCode":"USD"
}
],
"currencyCode":"USD",
"listPrice":45.99
},
"catalogId":null,
"externalRecurringChargeDetails":null,
"externalPriceDetails":null,
"actionCode":null,
"id":"ci3000473",
"state":"INITIAL",
"serviceId":null,
"locationInventoryInfoMap":{
},
"serviceAccountId":null,
"quantity":2,
"pointOfNoRevision":false,
"productId":"Product_22Cxyi",
"parentAssetKey":null,
"externalId":null,
"originalCommerceItemId":null,
"rootAssetKey":null,
"transactionDate":null,
"catalogRefId":"Sku_22Dxy",
"customerAccountId":null,
"recurringChargePriceInfo":null,
"lineAttributes":[
],
"catalogKey":null,
"productDisplayName":"Hannah Montana - Season 1",
"shopperInput":{
},
"activationDate":null,
"asset":false,
"backOrderQuantity":0
},
{
"deactivationDate":null,
"returnedQuantity":0,
"availabilityDate":null,
"billingProfileId":null,
"externalData":[
],
"billingAccountId":null,
"preOrderQuantity":0,
"assetKey":null,
"commerceItemId":"ci3000474",
"priceInfo":{
"discounted":false,
"amount":14.99,
"secondaryCurrencyShippingSurcharge":0,
"rawTotalPrice":14.99,
"salePrice":0,
"orderDiscountInfos":[
],
"priceListId":"listPrices",
"quantityDiscounted":0,
"amountIsFinal":false,
"onSale":false,
"shippingSurcharge":0,
"discountable":true,
"currentPriceDetailsSorted":[
{
"secondaryCurrencyTaxAmount":0,
"discounted":false,
"amount":14.99,
"quantity":1,
"amountIsFinal":false,
"range":{
"lowBound":0,
"highBound":0,
"size":1
},
"tax":0,
"orderDiscountShare":0,
"detailedUnitPrice":14.99,
"currencyCode":"USD"
}
],
"currencyCode":"USD",
"listPrice":14.99
},
"catalogId":null,
"externalRecurringChargeDetails":null,
"externalPriceDetails":null,
"actionCode":null,
"id":"ci3000474",
"state":"INITIAL",
"serviceId":null,
"locationInventoryInfoMap":{
},
"serviceAccountId":null,
"quantity":1,
"pointOfNoRevision":false,
"productId":"Product_18Cxi",
"parentAssetKey":null,
"externalId":null,
"originalCommerceItemId":null,
"rootAssetKey":null,
"transactionDate":null,
"catalogRefId":"Sku_18Dxi",
"customerAccountId":null,
"recurringChargePriceInfo":null,
"lineAttributes":[
],
"catalogKey":null,
"productDisplayName":"Dr. Dolittle",
"shopperInput":{
},
"activationDate":null,
"asset":false,
"backOrderQuantity":0
}
],
"shippingGroups":[
{
"shippingMethod":"twoDayShippingMethod",
"description":"sg40460",
"submittedDate":null,
"priceInfo":{
"secondaryCurrencyTaxAmount":0,
"discounted":false,
"shippingTax":0,
"secondaryCurrencyShippingAmount":0,
"amount":25,
"rawShipping":25,
"amountIsFinal":false,
"currencyCode":"USD"
},
"shipOnDate":null,
"actualShipDate":null,
"specialInstructions":{
},
"shippingAddress":{
"country":"US",
"lastName":"Anderson",
"address3":null,
"city":"Los Angeles",
"address2":null,
"prefix":null,
"address1":"Down street 31",
"companyName":null,
"jobTitle":null,
"postalCode":"90001",
"county":"LA",
"ownerId":null,
"suffix":null,
"firstName":"Jim",
"phoneNumber":"91243667889800",
"faxNumber":null,
"middleName":null,
"state":"CA",
"email":"jim.anderson@example.com"
},
"commerceItemRelationships":[
{
"availablePickupDate":null,
"inventoryLocationId":null,
"amount":0,
"quantity":2,
"pointOfNoRevision":false,
"relationshipType":"SHIPPINGQUANTITY",
"returnedQuantity":0,
"preferredPickupDate":null,
"range":{
"lowBound":0,
"highBound":1,
"size":2
},
"commerceItemExternalId":null,
"commerceItemId":"ci3000473",
"state":"INITIAL",
"id":"r40634"
}
],
"state":"INITIAL",
"id":"sg40460",
"stateDetail":null,
"trackingNumber":null,
"handlingInstructions":[
],
"shippingGroupClassType":"hardgoodShippingGroup"
},
{
"shippingMethod":"groundShippingMethod",
"description":"sg40465",
"submittedDate":null,
"priceInfo":{
"secondaryCurrencyTaxAmount":0,
"discounted":false,
"shippingTax":0,
"secondaryCurrencyShippingAmount":0,
"amount":4.5,
"rawShipping":4.5,
"amountIsFinal":false,
"currencyCode":"USD"
},
"shipOnDate":null,
"actualShipDate":null,
"specialInstructions":{
},
"shippingAddress":{
"country":"US",
"lastName":"Anderson",
"address3":null,
"city":"Los Angeles",
"address2":"Street 32",
"prefix":null,
"address1":"Oracle Office",
"companyName":null,
"jobTitle":null,
"postalCode":"90001",
"county":"LA",
"ownerId":null,
"suffix":null,
"firstName":"Jim",
"phoneNumber":"9123284734",
"faxNumber":null,
"middleName":null,
"state":"CA",
"email":"jim.anderson@example.com"
},
"commerceItemRelationships":[
{
"availablePickupDate":null,
"inventoryLocationId":null,
"amount":0,
"quantity":1,
"pointOfNoRevision":false,
"relationshipType":"SHIPPINGQUANTITY",
"returnedQuantity":0,
"preferredPickupDate":null,
"range":{
"lowBound":0,
"highBound":0,
"size":1
},
"commerceItemExternalId":null,
"commerceItemId":"ci3000474",
"state":"INITIAL",
"id":"r40635"
}
],
"state":"INITIAL",
"id":"sg40465",
"stateDetail":null,
"trackingNumber":null,
"handlingInstructions":[
],
"shippingGroupClassType":"hardgoodShippingGroup"
}
],
"freezeDate":null,
"taxExempt":false,
"profile":{
"lastName":"Anderson",
"firstName":"Jim",
"loyaltyPrograms":[
],
"shippingAddress":{
"country":"US",
"lastName":"Anderson",
"address3":"",
"city":"Los Angeles",
"address2":"",
"prefix":"",
"address1":"Down street 31",
"postalCode":"90001",
"jobTitle":"",
"companyName":"",
"county":"LA",
"ownerId":null,
"suffix":"",
"version":4,
"firstName":"Jim",
"phoneNumber":"91243667889800",
"repositoryId":"130230",
"faxNumber":"",
"middleName":"",
"state":"CA",
"id":"130230"
},
"middleName":null,
"login":"jim.anderson@example.com",
"parentOrganization":null,
"email":"jim.anderson@example.com"
},
"queuedOrderSubmitData":null,
"cartName":"o30444",
"paymentInitiatedEmailSent":false,
"payShippingInSecondaryCurrency":null,
"shippingGroupCount":2,
"taxExemptionCode":null,
"createdByOrderId":null,
"orderAction":"order",
"submissionErrorMessages":[
],
"profileId":"120222",
"activeQuoteOrderId":null,
"approverIds":[
],
"agentId":"service",
"lastModifiedTime":1.585649238E12,
"priceGroupId":"defaultPriceGroup",
"creationTime":1.585649047E12,
"sourceSystem":"Cloud Commerce",
"gwpMarkers":[
],
"locale":"en",
"paymentGroups":[
{
"paymentGroupClassType":"physicalGiftCard",
"amountAuthorized":36.47,
"amount":36.47,
"gatewayName":"chaseGiftCard",
"paymentProps":{
"retryTrace":"4941585649237824"
},
"paymentMethod":"physicalGiftCard",
"state":"AUTHORIZED",
"id":"pg30494",
"submittedDate":"2020-03-31T10:07:17.000Z",
"debitStatus":[
],
"authorizationStatus":[
{
"amount":36.47,
"statusProps":{
"RespCode":"00",
"AuthCode":"025322",
"TerminalID":"001",
"responseMsg":"Approved"
},
"transactionSuccess":true,
"errorMessage":null,
"externalStatusProps":[
],
"transactionId":"55B921ABC20A72FAC0212F0B42A6DECE65E05359",
"transactionTimestamp":"2020-03-31T10:07:17.000Z"
}
],
"currencyCode":"USD"
},
{
"expirationYear":"2022",
"amountAuthorized":100,
"amount":100,
"gatewayName":"chaseCreditCard",
"paymentProps":{
"OrbitalOrderID":"771F-o30444",
"retryTrace":"4951585649237953"
},
"expirationMonth":"02",
"submittedDate":"2020-03-31T10:07:18.000Z",
"authorizationStatus":[
{
"amount":100,
"statusProps":{
"RespCode":"00",
"cvvRespCode":"M",
"AuthCode":"tst953",
"RespTime":"014936",
"TerminalID":"001",
"responseMsg":"Approved"
},
"transactionSuccess":true,
"errorMessage":null,
"transactionId":"55BB0C6FC76AC30CAF122089ED81701D77D4538E"
}
],
"IIN":"411111",
"paymentGroupClassType":"creditCard",
"creditCardNumber":"1111",
"paymentMethod":"creditCard",
"state":"AUTHORIZED",
"id":"pg30495",
"billingAddress":{
"country":"US",
"lastName":"Anderson",
"address3":null,
"city":"Los Angeles",
"address2":null,
"prefix":null,
"address1":"Down street 31",
"companyName":null,
"jobTitle":null,
"postalCode":"90001",
"county":"LA",
"ownerId":null,
"suffix":null,
"firstName":"Jim",
"phoneNumber":"91243667889800",
"faxNumber":null,
"middleName":null,
"state":"CA",
"email":"jim.anderson@example.com"
},
"debitStatus":[
],
"currencyCode":"USD"
}
],
"payTaxInSecondaryCurrency":null,
"priceInfo":{
"secondaryCurrencyTaxAmount":0,
"discounted":false,
"secondaryCurrencyShippingAmount":0,
"amount":106.97,
"secondaryCurrencyTotal":0,
"manualAdjustmentTotal":0,
"discountAmount":0,
"tax":0,
"rawSubtotal":106.97,
"total":136.47,
"shipping":29.5,
"primaryCurrencyTotal":106.97,
"amountIsFinal":false,
"currencyCode":"USD"
},
"submissionProgress":[
],
"catalogId":null,
"totalCommerceItemCount":3,
"externalContext":false,
"cancelReason":null,
"quoteInfo":null,
"taxPriceInfo":{
"secondaryCurrencyTaxAmount":0,
"discounted":false,
"valueAddedTax":0,
"amount":0,
"countyTax":0,
"isTaxIncluded":false,
"miscTax":0,
"districtTax":0,
"stateTax":0,
"miscTaxInfo":{
},
"countryTax":0,
"cityTax":0,
"amountIsFinal":false,
"currencyCode":"USD"
},
"lastModifiedDate":"2020-03-31T10:07:18.000Z",
"approvalSystemMessages":[
],
"approverMessages":[
],
"paymentGroupCount":2,
"submissionErrorCodes":[
],
"recurringChargePriceInfo":null,
"organization":null,
"siteId":"siteUS"
}
}
Nested Schema : agentInfo
Type:
Show Source
object
-
email(optional):
string
Email of agent profile
-
firstName(optional):
string
First Name of agent profile
-
id(optional):
string
Id of agent profile
-
lastName(optional):
string
Last Name of agent profile
-
roles(optional):
array roles
Array of roles assigned to this profile.
Nested Schema : appeasement
Type:
object
Details of an appeasement
Show Source
-
agentId(optional):
string
Id of the agent who created the appeasement.
-
appeasementRefunds(optional):
object appeasementRefunds
Properties of the appeasemen refund.
-
creationDate(optional):
string
Date and timestamp when the appeseasement is created.
-
id(optional):
string
Id of the appeasement.
-
lastModifiedDate(optional):
string
Date and timestamp when the appeseasement is modified recently.
-
notes(optional):
string
Notes to describe the appeasement.
-
orderId(optional):
string
Id of the order, to which appeasement is given.
-
originOfAppeasement(optional):
string
Origin of appeasement signifies the channel of appeasement created.
-
profileId(optional):
string
Id of the user, to whom appeasement is given.
-
reason(optional):
object reason
Reason used for the appeasement. Detailed information
-
state(optional):
string
Current state of the appeasement. It is among the predefined appeasement states.
-
submittedDate(optional):
string
Date and timestamp when the appeseasement is submitted.
-
type(optional):
object type
Type of appeasement, among the configured appeasement type in the system.
Nested Schema : order
Type:
object
The current order representation.
Show Source
-
cartName(optional):
string
Cart name for this order.
-
discountInfo(optional):
object discountInfo
Discount Information
-
dynamicProperties(optional):
array dynamicProperties
Read-only list of dynamic properties for the order along with meta-data.
-
giftWithPurchaseInfo(optional):
array giftWithPurchaseInfo
The gift information.
-
giftWithPurchaseOrderMarkers(optional):
array giftWithPurchaseOrderMarkers
giftWithPurchaseOrderMarker information.
-
orderAction(optional):
string
The action performed on the order.
-
orderId(optional):
string
Order ID of the order to remove.
-
priceInfo(optional):
object priceInfo
Price information of the order.
-
priceListGroup(optional):
object priceListGroup
The price list group object.
-
recurringChargePriceInfo(optional):
object recurringChargePriceInfo
Recurring charge price information.
-
shippingGroups(optional):
array shippingGroups
The shipping groups for the order.
-
shippingMethod(optional):
object shippingMethod
Shipping Method information of the order.
-
shoppingCart(optional):
object shoppingCart
Shopping cart information.
Nested Schema : organization
Type:
Show Source
object
-
id(optional):
string
Id of the organization on which the appeasement is submitted.
-
name(optional):
string
Name of the organization on which the appeasement is submitted.
Nested Schema : previousAppeasements
Type:
Show Source
array
-
Array of:
object appeasement
Details of an appeasement
Nested Schema : profile
Type:
Show Source
object
-
currentOrganization(optional):
object organization
-
email(optional):
string
The email address of the profile
-
firstName(optional):
string
The first name of the profile
-
id(optional):
string
Id
-
lastName(optional):
string
The last name of the profile
-
lastPasswordUpdate(optional):
string(date-time)
Password update date
-
middleName(optional):
string
The middle name of the profile
-
parentOrganization(optional):
object organization
-
profileType(optional):
string
The type of profile
-
receiveEmail(optional):
string
The string representation of whether the user wants to recieve email or not
-
registrationDate(optional):
string(date-time)
Registration date
-
secondaryOrganizations(optional):
array secondaryOrganizations
List of secondary organizations that need to associate with the user.
-
taxExempt(optional):
boolean
if tax is exempted
-
taxExemptionCode(optional):
string
Tax exemption code
Nested Schema : returnsRelatedToOrder
Type:
Show Source
array
-
Array of:
object returnRequest
Complete details of a ReturnRequest, except the properties - relatedReplacementOrders, replacementOrder, originatingOrder, profile
Nested Schema : site
Type:
Show Source
object
-
id(optional):
string
Id of the site on which the appeasement is submitted.
-
name(optional):
string
Name of the site on which the appeasement is submitted.
-
url(optional):
string
Production URL of the site on which the appeasement is submitted.
Nested Schema : items
Type:
Show Source
object
-
accessRights(optional):
array accessRights
Array of accessRights assigned to this role.
-
category(optional):
string
Category of the role
-
description(optional):
string
Description of the role
-
id(optional):
string
Role Id
-
name(optional):
string
Name of the role
Nested Schema : items
Type:
Show Source
object
-
description(optional):
string
Description of the role
-
id(optional):
string
Role Id
-
name(optional):
string
Name of the role
Nested Schema : appeasementRefunds
Type:
object
Properties of the appeasemen refund.
Show Source
-
amount(optional):
number
Appeasement refund amount issued to the customer.
-
currencyCode(optional):
string
Currency code for the appeasement refund amount.
-
id(optional):
string
Id of the Appeasement refund associated to an appeasement.
-
paymentGroupId(optional):
number
Associated Order payment group id.
-
refundType(optional):
string
Type of appeasement refund, among the predefined appeasement refund types.
-
state(optional):
string
Current state of the appeasement refund. It is among the predefined appeasement refund states.
Nested Schema : reason
Type:
object
Reason used for the appeasement. Detailed information
Show Source
-
id(optional):
string
Id of the Appeasement reason
-
readableDescription(optional):
string
Readable description of the appeasemen reason
Nested Schema : type
Type:
object
Type of appeasement, among the configured appeasement type in the system.
Show Source
-
description(optional):
string
Readable description of the appeasemen reason
-
displayName(optional):
string
Display name of the appeasemen reason
-
id(optional):
string
Id of the Appeasement reason
Nested Schema : discountInfo
Type:
object
Discount Information
Show Source
-
claimedCouponMultiPromotions(optional):
object claimedCouponMultiPromotions
The coupons that were claimed.
-
orderCouponsMap(optional):
object orderCouponsMap
The coupons that were claimed.
-
orderDiscount(optional):
number
Order Discount
-
orderImplicitDiscountList(optional):
array orderImplicitDiscountList
Implicit Promotions for the order
-
shippingDiscount(optional):
number
Shipping Discount
-
unclaimedCouponMultiPromotions(optional):
object unclaimedCouponMultiPromotions
The coupons that were not claimed
-
unclaimedCouponsMap(optional):
object unclaimedCouponsMap
The coupons that were not claimed
Nested Schema : dynamicProperties
Type:
array
Read-only list of dynamic properties for the order along with meta-data.
Show Source
Nested Schema : giftWithPurchaseOrderMarkers
Type:
array
giftWithPurchaseOrderMarker information.
Show Source
Nested Schema : priceInfo
Type:
object
Price information of the order.
Show Source
-
amount(optional):
number
Amount of order.
-
currencyCode(optional):
string
Currency code.
-
primaryCurrencyTotal(optional):
number
The current total in loyalty points in case of multi currency
-
secondaryCurrencyShippingAmount(optional):
number
The current total shipping amount in monetry currency
-
secondaryCurrencyShippingSurchargeValue(optional):
number
Extra handling costs for shipping the products in monetry currency.
-
secondaryCurrencyTaxAmount(optional):
number
The current total tax amount in monetry currency
-
secondaryCurrencyTotal(optional):
number
The current total (sum of shipping and tax)amount in monetry currency
-
shipping(optional):
number
Shipping price of order.
-
shippingSurchargeValue(optional):
number
Extra handling costs for shipping the products.
-
subTotal(optional):
number
Sub total.
-
tax(optional):
number
Tax.
-
taxExclusiveAmount(optional):
number
Total excluding shipping and tax in monetary currency
-
total(optional):
number
Total amount of order.
Nested Schema : priceListGroup
Type:
object
The price list group object.
Show Source
-
repositoryId(optional):
string
Repository ID of the price list group.
Nested Schema : recurringChargePriceInfo
Type:
object
Recurring charge price information.
Show Source
-
amount(optional):
number
The monetary amount of this recurring charge.
-
currencyCode(optional):
string
The currency code for the monetary amounts. A three character currency code such as USD.
-
frequencyAmountTotals(optional):
array frequencyAmountTotals
The total for each recurring charge frequency
-
frequencyTaxTotals(optional):
array frequencyTaxTotals
The tax for each recurring charge frequency
-
shipping(optional):
number
Cost of shipping the product.
-
subTotal(optional):
number
The sub-total price of the recurring charge.
-
tax(optional):
number
Monetary tax amount.
-
total(optional):
number
The total price of the recurring charge.
-
totalWithoutTax(optional):
number
Total of recurring amount without tax included.
Nested Schema : shippingMethod
Type:
object
Shipping Method information of the order.
Show Source
-
cost(optional):
number
Cost of shipping method.
-
secondaryCurrencyShipingAmount(optional):
number
shipping amount in monetry currency
-
secondaryCurrencyTaxAmount(optional):
number
Shipping tax amount in monetry currency
-
value(optional):
string
Shipping method value.
Nested Schema : shoppingCart
Type:
object
Shopping cart information.
Show Source
-
items(optional):
array items
Items in the cart.
-
numberOfItems(optional):
integer
Number of items in the cart.
Nested Schema : claimedCouponMultiPromotions
Type:
object
The coupons that were claimed.
Show Source
-
couponCode(optional):
array couponCode
Coupon Code, corresponding to which promotions were applied
Nested Schema : orderCouponsMap
Type:
object
The coupons that were claimed.
Show Source
-
couponCode(optional):
object couponCode
Coupon Code.
Nested Schema : unclaimedCouponMultiPromotions
Type:
object
The coupons that were not claimed
Show Source
-
couponCode(optional):
array couponCode
Coupon Code, corresponding to which some promotions were not applied
Nested Schema : unclaimedCouponsMap
Type:
object
The coupons that were not claimed
Show Source
-
couponCode(optional):
object couponCode
Coupon Code.
Nested Schema : couponCode
Type:
array
Coupon Code, corresponding to which promotions were applied
Show Source
Nested Schema : items
Type:
Show Source
object
-
external(optional):
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc(optional):
string
Description of the promotion. Retained for backward compatibility.
-
promotionId(optional):
string
The Id of the promotion.
-
promotionLevel(optional):
string
The promotion level.
-
promotionLongDesc(optional):
string
The description of the promotion.
-
promotionName(optional):
string
The display name of the promotion.
-
totalAdjustment(optional):
number
Total adjustment caused by the promotion.
Nested Schema : couponCode
Type:
object
Coupon Code.
Show Source
-
external(optional):
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc(optional):
string
Description of the promotion. Retained for backward compatibility.
-
promotionId(optional):
string
The Id of the promotion.
-
promotionLevel(optional):
string
The promotion level.
-
promotionLongDesc(optional):
string
The description of the promotion.
-
promotionName(optional):
string
The display name of the promotion.
-
totalAdjustment(optional):
number
Total adjustment caused by the promotion.
Nested Schema : items
Type:
Show Source
object
-
external(optional):
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc(optional):
string
Description of the promotion. Retained for backward compatibility.
-
promotionId(optional):
string
The Id of the promotion.
-
promotionLevel(optional):
string
The promotion level.
-
promotionLongDesc(optional):
string
The description of the promotion.
-
promotionName(optional):
string
The display name of the promotion.
Nested Schema : couponCode
Type:
array
Coupon Code, corresponding to which some promotions were not applied
Show Source
Nested Schema : items
Type:
Show Source
object
-
external(optional):
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc(optional):
string
Description of the promotion. Retained for backward compatibility.
-
promotionId(optional):
string
The Id of the promotion.
-
promotionLevel(optional):
string
The promotion level.
-
promotionLongDesc(optional):
string
The description of the promotion.
-
promotionName(optional):
string
The display name of the promotion.
Nested Schema : couponCode
Type:
object
Coupon Code.
Show Source
-
external(optional):
boolean
States whether this promotion was applied by an external system (only present on external promotions).
-
promotionDesc(optional):
string
Description of the promotion. Retained for backward compatibility.
-
promotionId(optional):
string
The Id of the promotion.
-
promotionLevel(optional):
string
The promotion level.
-
promotionLongDesc(optional):
string
The description of the promotion.
-
promotionName(optional):
string
The display name of the promotion.
Nested Schema : items
Type:
Show Source
object
-
id(optional):
string
The ID of the dynamic property.
-
label(optional):
string
The label of the dynamic property.
-
value(optional):
string
The value of the dynamic property.
Nested Schema : items
Type:
Show Source
object
-
giftWithPurchaseDetail(optional):
string
String identifying the free gift, usually the repository id of the gift type.
-
giftWithPurchaseIdentifier(optional):
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(optional):
number
gift quantity available for selection
-
giftWithPurchaseType(optional):
string
The type of the gift. (sku, product)
-
promotionId(optional):
string
The gift with purchase promotion id
Nested Schema : items
Type:
Show Source
object
-
automaticQuantity(optional):
number
The quantity of free sku for this gift selection that has already been auto added to the order.
-
autoRemove(optional):
boolean
Flag to indicate whether free gifts should be auto removed if the promotion no longer qualifies.
-
data(optional):
integer
Identifier to track which gift selection in the promotion this is. It allows the commerce item marker to link to this one.
-
failedQuantity(optional):
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(optional):
string
String identifying the free gift, usually the repository id of the gift type.
-
giftType(optional):
string
The type of the gift. (sku, product)
-
key(optional):
string
atg.gwp
-
quantity(optional):
number
The total quantity of sku for this gift selection.
-
removedQuantity(optional):
number
The amount of free quantity that has since been manually removed by a Shopper.
-
selectedQuantity(optional):
integer
The quantity of free sku for this gift selection that has already been selected by the Shopper and added to the order.
-
targetedQuantity(optional):
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(optional):
string
The gift with purchase promotion id
Nested Schema : frequencyAmountTotals
Type:
array
The total for each recurring charge frequency
Show Source
Nested Schema : frequencyTaxTotals
Type:
array
The tax for each recurring charge frequency
Show Source
Nested Schema : items
Type:
Show Source
object
-
frequency(optional):
string
The frequency for the item's total e.g. Monthly.
-
total(optional):
string
The total amount for the frequency.
Nested Schema : items
Type:
Show Source
object
-
frequency(optional):
string
The frequency for the item's tax e.g. Monthly.
-
tax(optional):
string
The tax amount for the frequency.
Nested Schema : items
Type:
Show Source
object
-
email(optional):
string
The email address of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
firstName(optional):
string
The first name of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
items(optional):
array items
The array of products in the shipping group.
-
lastName(optional):
string
The last name of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
middleName(optional):
string
The middle name of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
phoneNumber(optional):
string
The phone number of the person picking up the items in store (if type is inStorePickupShippingGroup).
-
shippingAddress(optional):
object shippingAddress
The shipping address details.
-
shippingMethod(optional):
object shippingMethod
The shipping method details for the order.
-
store(optional):
object store
Information about the Store from which items are being picked up from (if shipping group type is inStorePickupShippingGroup)
-
type(optional):
string
The type of shipping group to create, e.g. hardgoodShippingGroup, inStorePickupShippingGroup, inStoreTakeWithShippingGroup
Nested Schema : shippingAddress
Type:
object
The shipping address details.
Show Source
-
address1(optional):
string
Address snippet.
-
address2(optional):
string
Address snippet.
-
address3(optional):
string
Address snippet.
-
alias(optional):
string
Address alias.
-
city(optional):
string
City.
-
companyName(optional):
string
Company name.
-
country(optional):
string
Country.
-
county(optional):
string
County.
-
email(optional):
string
Email address.
-
faxNumber(optional):
string
Fax number.
-
firstName(optional):
string
First name.
-
jobTitle(optional):
string
Job title.
-
lastName(optional):
string
Last name.
-
middleName(optional):
string
Middle name.
-
phoneNumber(optional):
string
Phone number.
-
postalCode(optional):
string
Postal code.
-
prefix(optional):
string
Name prefix.
-
selectedCountry(optional):
string
Country code.
-
selectedState(optional):
string
State code.
-
state(optional):
string
State.
-
state_ISOCode(optional):
string
State ISO code.
-
suffix(optional):
string
Name suffix.
Nested Schema : shippingMethod
Type:
object
The shipping method details for the order.
Show Source
-
cost(optional):
number
The total cost of shipping.
-
shippingMethodDescription(optional):
string
The description of the shipping method.
-
shippingTax(optional):
number
The shipping tax.
-
value(optional):
string
The shipping method applied to the order.
Nested Schema : store
Type:
object
Information about the Store from which items are being picked up from (if shipping group type is inStorePickupShippingGroup)
Show Source
-
address1(optional):
string
Address line 1 of the store.
-
address2(optional):
string
Address line 2 of the store.
-
address3(optional):
string
Address line 3 of the store.
-
city(optional):
string
The city in which the store resides.
-
country(optional):
string
The country in which the store resides.
-
county(optional):
string
The county in which the store resides.
-
email(optional):
string
The email address of the store.
-
faxNumber(optional):
string
The fax number of the store.
-
hours(optional):
string
The opening hours of the store.
-
locationId(optional):
string
The location id of the store.
-
name(optional):
string
Name of the store.
-
phoneNumber(optional):
string
The phone number of the store.
-
postalCode(optional):
string
The postal code of the store.
-
stateAddress(optional):
string
The state in which the store resides.
Nested Schema : items
Type:
Show Source
object
-
availablePickupDate(optional):
string
The available date (in ISO format) for collection of items to be picked up in store (if shipping group type is inStorePickupShippingGroup).
-
catRefId(optional):
string
The product variant Id.
-
dynamicProperties(optional):
array dynamicProperties
Array of custom properties at order line item level.
-
pointOfNoRevision(optional):
boolean
The boolean that indicates if the item has passed pointOfNoRevision.
-
preferredPickupDate(optional):
string
The preferred date (in ISO format) for the items to be picked up in store (if shipping group type is inStorePickupShippingGroup).
-
productId(optional):
string
ID of the product in the cart.
-
quantity(optional):
integer
The quantity of the product in this shipping group.
-
skuProperties(optional):
array skuProperties
Sku properties Information
-
state(optional):
string
state of the commerce Item
-
variant(optional):
array variant
List of variants for the product.
Nested Schema : dynamicProperties
Type:
array
Array of custom properties at order line item level.
Show Source
Nested Schema : items
Type:
Show Source
object
-
id(optional):
string
The ID of the dynamic property.
-
label(optional):
string
The label of the dynamic property.
-
value(optional):
string
The value of the dynamic property.
Nested Schema : items
Type:
Show Source
object
-
id(optional):
string
ID of the Dynamic SKU Property.
-
name(optional):
string
Name of the Dynamic SKU Property.
-
propertyType(optional):
string
Type that indicates whether it is a base or a custom SKU property,
-
value(optional):
string
Value of the Dynamic SKU Property.
Nested Schema : items
Type:
Show Source
object
-
optionName(optional):
string
The variant option name.
-
optionValue(optional):
string
The variant option value.
Nested Schema : items
Type:
Show Source
object
-
actionCode(optional):
string
The action code that has been set on the item by the configurator system.
-
activationDate(optional):
string
The activation date in ISO format.
-
asset(optional):
boolean
The flag that determines if the current item is an asset or not.
-
assetId(optional):
string
The asset ID corresponding to the current item.
-
assetKey(optional):
string
The assetKey ID associated to the current item.
-
billingAccountId(optional):
string
The billing account ID associated to the current item.
-
billingProfileId(optional):
string
The billing profile ID associated to the current item.
-
catRefId(optional):
string
Sku reference id.
-
childItems(optional):
array childItems
The array of child items in the item, if the item is a configurable item. A child item can itself contain child item array if it is a configurable product in itself.
-
commerceItemId(optional):
string
The unique line item ID distinguisher.
-
customerAccountId(optional):
string
The customer account ID associated to the current item.
-
deactivationDate(optional):
string
The deactivation date in ISO format.
-
detailedRecurringChargeInfo(optional):
object detailedRecurringChargeInfo
Detailed Item Price Information.
-
dynamicProperties(optional):
array dynamicProperties
Array of custom properties at order line item level.
-
externalData(optional):
array externalData
External data to be associated with a commerce item, provided by a configurator system.
-
externalPrice(optional):
number
A price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable).
-
externalPriceQuantity(optional):
integer
The maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable).
-
externalRecurringCharge(optional):
number
The external recurring price.
-
externalRecurringChargeDuration(optional):
string
The duration for the recurring charge e.g. 12 months.
-
externalRecurringChargeFrequency(optional):
string
The frequency for the recurring charge e.g. Monthly.
-
giftWithPurchaseCommerceItemMarkers(optional):
array giftWithPurchaseCommerceItemMarkers
giftWithPurchaseCommerceItemMarker information.
-
id(optional):
string
Repository id of the commerce item.
-
originalCommerceItemId(optional):
string
The Commerce Item ID associated with the original item from which item in cancel order is created.
-
parentAssetKey(optional):
string
The parentAssetKey ID associated to the current item.
-
pointOfNoRevision(optional):
boolean
The boolean that indicates if the item has passed pointOfNoRevision.
-
price(optional):
number
Price of the items.
-
productId(optional):
string
ID of the product in the cart.
-
quantity(optional):
integer
Quantity of the items.
-
recurringCharge(optional):
number
The recurring charge for the item.
-
rootAssetKey(optional):
string
The rootAssetKey ID associated to the current item.
-
serviceAccountId(optional):
string
The service account ID associated to the current item.
-
serviceId(optional):
string
The service ID associated to the current item.
-
shopperInput(optional):
object shopperInput
Additional Properties Allowed: additionalPropertiesMap of shopper input keys to values
-
skuProperties(optional):
array skuProperties
Sku properties Information
-
state(optional):
string
state of the commerce Item
-
transactionDate(optional):
string
ISO formatted Date on which the service action should be triggered.
-
variant(optional):
array variant
List of variants for the product.
Nested Schema : childItems
Type:
array
The array of child items in the item, if the item is a configurable item. A child item can itself contain child item array if it is a configurable product in itself.
Show Source
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
Show Source
-
amount(optional):
number
The monetary amount for the recurring charge.
-
currencyCode(optional):
string
The three character currency code for the monetary amounts.
-
detailedUnitPrice(optional):
number
The detailed unit price: amount / quantity. (read-only)
-
discounted(optional):
boolean
Whether the price is discounted.
- orderDiscountShare(optional): number
-
quantity(optional):
integer
The number of items covered by this recurring charge price info
-
tax(optional):
number
Monetary tax amount.
Nested Schema : dynamicProperties
Type:
array
Array of custom properties at order line item level.
Show Source
Nested Schema : externalData
Type:
array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : giftWithPurchaseCommerceItemMarkers
Type:
array
giftWithPurchaseCommerceItemMarker information.
Show Source
Nested Schema : shopperInput
Type:
object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type:
Show Source
object
-
actionCode(optional):
string
The action code that has been set on the item by the configurator system.
-
activationDate(optional):
string
The activation date in ISO format.
-
addOnItem(optional):
boolean
Whether the child item is an add-on (externally configured) or not (externally configured).
-
amount(optional):
integer
The total amount of this item including its child items amounts.
-
asset(optional):
boolean
The flag that determines if the current item is an asset or not.
-
assetId(optional):
string
The asset ID corresponding to the current item.
-
assetKey(optional):
string
The assetKey ID associated to the current item.
-
billingAccountId(optional):
string
The billing account ID associated to the current item.
-
billingProfileId(optional):
string
The billing profile ID associated to the current item.
-
catRefId(optional):
string
skuid of the item.
-
configurablePropertyId(optional):
string
ID of the catalog's configurableProperty associated with this item.
-
configurationOptionId(optional):
string
ID of the catalog's configurationOption associated with this item.
-
customerAccountId(optional):
string
The customer account ID associated to the current item.
-
deactivationDate(optional):
string
The deactivation date in ISO format.
-
detailedRecurringChargeInfo(optional):
object detailedRecurringChargeInfo
Detailed Item Price Information.
-
displayName(optional):
string
The name of the product.
-
externalData(optional):
array externalData
External data to be associated with a commerce item, provided by a configurator system.
-
externalPrice(optional):
number
A price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable).
-
externalPriceQuantity(optional):
integer
The maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable).
-
externalRecurringCharge(optional):
number
The external recurring price.
-
externalRecurringChargeDuration(optional):
string
The duration for the recurring charge e.g. 12 months.
-
externalRecurringChargeFrequency(optional):
string
The frequency for the recurring charge e.g. Monthly.
-
id(optional):
string
Repository id of the commerce item.
-
parentAssetKey(optional):
string
The parentAssetKey ID associated to the current item.
-
productId(optional):
string
ID of the product in the cart.
-
quantity(optional):
integer
The quantity of the product.
-
rawTotalPrice(optional):
integer
The raw price of the product.
-
recurringCharge(optional):
number
The recurring charge for the item.
-
rootAssetKey(optional):
string
The rootAssetKey ID associated to the current item.
-
serviceAccountId(optional):
string
The service account ID associated to the current item.
-
serviceId(optional):
string
The service ID associated to the current item.
-
shopperInput(optional):
object shopperInput
Additional Properties Allowed: additionalPropertiesMap of shopper input keys to values
-
state(optional):
string
state of the commerce Item
-
transactionDate(optional):
string
ISO formatted Date on which the service action should be triggered.
-
unitPrice(optional):
integer
The unit price of the product.
Nested Schema : detailedRecurringChargeInfo
Type:
object
Detailed Item Price Information.
Show Source
-
amount(optional):
number
The monetary amount for the recurring charge.
-
currencyCode(optional):
string
The three character currency code for the monetary amounts.
-
detailedUnitPrice(optional):
number
The detailed unit price: amount / quantity. (read-only)
-
discounted(optional):
boolean
Whether the price is discounted.
- orderDiscountShare(optional): number
-
quantity(optional):
integer
The number of items covered by this recurring charge price info
-
tax(optional):
number
Monetary tax amount.
Nested Schema : externalData
Type:
array
External data to be associated with a commerce item, provided by a configurator system.
Show Source
Nested Schema : shopperInput
Type:
object
Additional Properties Allowed
Show Source
Map of shopper input keys to values
Nested Schema : items
Type:
Show Source
object
-
actionCode(optional):
string
The action code that has been set on the externalData item by the configurator system.
-
name(optional):
string
The name to be associated with the externalData item.
-
values(optional):
object values
The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
Show Source
-
dynamic_property_key(optional):
string
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
Show Source
object
-
id(optional):
string
The ID of the dynamic property.
-
label(optional):
string
The label of the dynamic property.
-
value(optional):
string
The value of the dynamic property.
Nested Schema : items
Type:
Show Source
object
-
actionCode(optional):
string
The action code that has been set on the externalData item by the configurator system.
-
name(optional):
string
The name to be associated with the externalData item.
-
values(optional):
object values
The array of values associated with an externalData item.
Nested Schema : values
Type:
object
The array of values associated with an externalData item.
Show Source
-
dynamic_property_key(optional):
string
This property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
Show Source
object
-
automaticQuantity(optional):
number
The quantity of the free gift that this commerce item is making free and was auto added by pricing.
-
data(optional):
integer
The gift hash code for this gift with purchase promotion.
-
key(optional):
string
atg.gwp
-
remainingQuantity(optional):
number
The quantity of the commerce item that is not affected by gift with purchase.
-
selectedQuantity(optional):
number
The quantity of the free gift that this commerce item is making free and was selected by the shopper.
-
targetedQuantity(optional):
number
The quantity of the free gift that this commerce item is making free and was targeted by pricing.
-
value(optional):
string
The gift with purchase promotion id.
Nested Schema : items
Type:
Show Source
object
-
id(optional):
string
ID of the Dynamic SKU Property.
-
name(optional):
string
Name of the Dynamic SKU Property.
-
propertyType(optional):
string
Type that indicates whether it is a base or a custom SKU property,
-
value(optional):
string
Value of the Dynamic SKU Property.
Nested Schema : items
Type:
Show Source
object
-
optionName(optional):
string
The variant option name.
-
optionValue(optional):
string
The variant option value.
Nested Schema : organization
Type:
Show Source
object
-
contract(optional):
object contract
-
description(optional):
string
Description of the Organization
-
id(optional):
string
The Organization Id
-
name(optional):
string
Name of the Organization
Nested Schema : secondaryOrganizations
Type:
array
List of secondary organizations that need to associate with the user.
Show Source
Nested Schema : contract
Type:
Show Source
object
-
description(optional):
string
Description name of the contract
-
displayName(optional):
string
Display name of the contract
-
id(optional):
string
The contract Id
Nested Schema : returnRequest
Type:
object
Complete details of a ReturnRequest, except the properties - relatedReplacementOrders, replacementOrder, originatingOrder, profile
Show Source
-
actualShippingRefund(optional):
number
Actual Shipping Refund
-
actualTaxRefund(optional):
number
Actual Tax Refund
-
additionalProperties(optional):
object additionalProperties
-
adjustmentAmount(optional):
number
-
agentId(optional):
string
-
allocatedAmount(optional):
number
-
authorizationDate(optional):
string
Authorization date.
-
authorizationNumber(optional):
string
A Return Merchandise Authorization number of the return Request.
-
comments(optional):
string
-
exchangeProcess(optional):
boolean
-
nonReturnItemCostAdjustments(optional):
array nonReturnItemCostAdjustments
-
nonReturnItemSubtotalAdjustment(optional):
number
-
orderCurrencyCode(optional):
string
Currency used to place order
-
originatingOrderId(optional):
string
Originating order id.
-
originOfReturn(optional):
string
-
otherRefund(optional):
number
Other Refund.
-
processed(optional):
boolean
-
processImmediately(optional):
boolean
-
processName(optional):
string
-
refundMethodList(optional):
array refundMethodList
-
refundSubtotal(optional):
number
Refund SubTotal calculated as summation of unAdjustedRefundAmount for all return Items.
-
replaceItemCount(optional):
integer
-
replacingItems(optional):
boolean
-
returnAdjustedOrderId(optional):
number
-
returnFee(optional):
integer
Return fee.
-
returningItems(optional):
boolean
-
returnItemCount(optional):
integer
-
returnItemList(optional):
array returnItemList
-
returnLabel(optional):
string
Return label of the return Request.
-
returnPaymentState(optional):
string
-
state(optional):
string
The state of the return request
-
submitExchangeAllowed(optional):
boolean
-
suggestedShippingRefund(optional):
number
Shipping Refund for a returnItem
-
suggestedTaxRefund(optional):
number
Tax Refund of all Return Items.
-
totalItemRefund(optional):
number
-
totalOrderPromotionValueAdjustmentChange(optional):
number
-
totalRefundAmount(optional):
number
-
totalReturnItemRefund(optional):
number
-
trackingNumber(optional):
string
Tracking number of the return request.
-
unAdjustedRefundSubtotal(optional):
number
Refund SubTotal calculated as summation of unAdjustedRefundAmount for all return Items.
-
unallocatedAmount(optional):
number
Nested Schema : items
Type:
Show Source
object
-
amountAdjustment(optional):
number
-
class(optional):
string
-
commerceItemId(optional):
string
- manualAdjustmentShareAdjustment(optional): number
- orderDiscountShareAdjustment(optional): number
-
quantityAdjusted(optional):
integer
-
shippingGroupId(optional):
string
- shippingShareAdjustment(optional): number
- taxShareAdjustment(optional): number
Nested Schema : items
Type:
Show Source
object
- actualShippingRefundShare(optional): number
- actualTaxRefundShare(optional): number
-
catalogRefId(optional):
string
-
commerceItemId(optional):
string
-
discription(optional):
string
-
disposition(optional):
string
-
itemCostAdjustments(optional):
array itemCostAdjustments
-
itemCurrencyCode(optional):
string
-
quantityAvailable(optional):
integer
-
quantityReceived(optional):
integer
-
quantityReturned(optional):
integer
-
quantityShipped(optional):
integer
-
quantityToExchange(optional):
integer
-
quantityToReturn(optional):
integer
-
refundAmount(optional):
number
-
returnItemId(optional):
string
-
returnReason(optional):
string
-
shippingGroupId(optional):
string
-
suggestedRefundAmount(optional):
number
- suggestedShippingRefundShare(optional): number
- suggestedTaxRefundShare(optional): number
Nested Schema : items
Type:
Show Source
object
-
amountAdjustment(optional):
number
-
commerceItemId(optional):
string
- manualAdjustmentShareAdjustment(optional): number
- orderDiscountShareAdjustment(optional): number
-
quantityAdjusted(optional):
integer
-
shippingGroupId(optional):
string
- shippingShareAdjustment(optional): number
- taxShareAdjustment(optional): number
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : appeasementValidation_response
Type:
object
Response indicates whether this appeasement is valid and can be submitted in OCC. If the appeasement is invalid, reason for validation failure would be provided.
Show Source
-
reasonForValidationFailure(optional):
string
Indicates the reason why this appeasement is invalid. It is mandatory to provide a reason when 8002 is used as the response code. This reason should be user-readable as this is thrown as an error to the end user (i.e., Agent)
-
responseCode(optional):
string
Response code indicating if the appeasement is valid or invalid. Possible values for ResponseCode: 8001 - indicates that the appeasement is valid. 8002 - indicates that the appeasement is invalid.
Example:
{
"reasonForValidationFailure":"An appeasement of more than 10 USD cannot be given to this order",
"responseCode":"8002"
}