requestQuote
post
/ccadmin/v1/webhook/requestQuote
This is triggered when the user requests a quote
Request
Supported Media Types
- application/json
Body Parameter
Root Schema : requestQuote_request
{
"note":"This is a sample quote"
}
- appliedPromotions
-
Type:
arrayappliedPromotionsAdditional Properties Allowed:The array of applied promotions. If not supplied, it utilizes the promotions in the current incomplete order. - combineLineItems
-
Type:
stringValue to determine if line items are to be combined. Can be yes or no. - note
-
Type:
stringthe requester note supplied with the quote request - orderId
-
Type:
stringthe order id for the order which is to be quoted. If undefined, the current incomplete order for profile is selected - shippingAddress
-
Type:
objectshippingAddressAdditional Properties Allowed:The shipping address details. If not supplied, it utilizes the shipping address in the current incomplete order. - shippingGroups
-
Type:
arrayshippingGroupsAdditional Properties Allowed:The shipping groups for the order. If not supplied, it utilizes the shipping groups in the current incomplete order. - shippingMethod
-
Type:
objectshippingMethodAdditional Properties Allowed:The shipping method details for the order. If not supplied, it utilizes the shipping method in the current incomplete order. - shoppingCart
-
Type:
objectshoppingCartAdditional Properties Allowed:The shopping cart contents of the current order. If not supplied, it utilizes the items in the current incomplete order.
Nested Schema : appliedPromotions
Type:
arrayThe array of applied promotions. If not supplied, it utilizes the promotions in the current incomplete order.
-
Type:
string
Nested Schema : shippingAddress
Type:
objectThe shipping address details. If not supplied, it utilizes the shipping address in the current incomplete order.
- address1
-
Type:
stringRequired:trueAddress snippet. - address2
-
Type:
stringAddress snippet. - address3
-
Type:
stringAddress snippet. - alias
-
Type:
stringAddress alias. - city
-
Type:
stringRequired:trueCity. - companyName
-
Type:
stringCompany name. - country
-
Type:
stringRequired:trueCountry. - county
-
Type:
stringCounty. -
Type:
stringRequired:trueEmail address. - faxNumber
-
Type:
stringFax number. - firstName
-
Type:
stringRequired:trueFirst name. - jobTitle
-
Type:
stringJob title. - lastName
-
Type:
stringRequired:trueLast name. - middleName
-
Type:
stringMiddle name. - phoneNumber
-
Type:
stringPhone number. - postalCode
-
Type:
stringRequired:truePostal code. - prefix
-
Type:
stringName prefix. - selectedCountry
-
Type:
stringRequired:trueCountry code. - selectedState
-
Type:
stringRequired:trueState code. - state
-
Type:
stringRequired:trueState. - state_ISOCode
-
Type:
stringRequired:trueState ISO code. - suffix
-
Type:
stringName suffix.
Nested Schema : shippingGroups
Nested Schema : shippingMethod
Type:
objectThe shipping method details for the order. If not supplied, it utilizes the shipping method in the current incomplete order.
- value
-
Type:
stringRequired:trueThe shipping method applied to the order.
Nested Schema : shoppingCart
Type:
objectThe shopping cart contents of the current order. If not supplied, it utilizes the items in the current incomplete order.
Nested Schema : items
Type:
object- items
-
Type:
arrayitemsRequired:trueAdditional Properties Allowed:The array of products in the shipping group. - shippingAddress
-
Type:
objectshippingAddressRequired:trueAdditional Properties Allowed:The shipping address details. - shippingMethod
-
Type:
objectshippingMethodRequired:trueAdditional Properties Allowed:The shipping method details for the order.
Nested Schema : items
Nested Schema : shippingAddress
Type:
objectThe shipping address details.
- address1
-
Type:
stringRequired:trueAddress snippet. - address2
-
Type:
stringAddress snippet. - address3
-
Type:
stringAddress snippet. - alias
-
Type:
stringAddress alias. - city
-
Type:
stringRequired:trueCity. - companyName
-
Type:
stringCompany name. - country
-
Type:
stringRequired:trueCountry. - county
-
Type:
stringCounty. -
Type:
stringRequired:trueEmail address. - faxNumber
-
Type:
stringFax number. - firstName
-
Type:
stringRequired:trueFirst name. - jobTitle
-
Type:
stringJob title. - lastName
-
Type:
stringRequired:trueLast name. - middleName
-
Type:
stringMiddle name. - phoneNumber
-
Type:
stringPhone number. - postalCode
-
Type:
stringRequired:truePostal code. - prefix
-
Type:
stringName prefix. - selectedCountry
-
Type:
stringRequired:trueCountry code. - selectedState
-
Type:
stringRequired:trueState code. - state
-
Type:
stringRequired:trueState. - state_ISOCode
-
Type:
stringRequired:trueState ISO code. - suffix
-
Type:
stringName suffix.
Nested Schema : shippingMethod
Type:
objectThe shipping method details for the order.
- value
-
Type:
stringRequired:trueThe shipping method applied to the order.
Nested Schema : items
Type:
object- catRefId
-
Type:
stringRequired:trueThe category to which the product belongs. - commerceItemId
-
Type:
stringThe unique line item ID distinguisher. This field becomes required for split shipping when combineLineItems is set to no. - productId
-
Type:
stringRequired:trueID of the product in the cart. - quantity
-
Type:
integerRequired:trueThe quantity of the product in this shipping group.
Nested Schema : coupons
Nested Schema : items
Nested Schema : items
Type:
object- code
-
Type:
stringRequired:trueThe coupon code. - description
-
Type:
stringThe coupon description. - id
-
Type:
stringRequired:trueThe coupon id. - level
-
Type:
stringRequired:trueThe level of the coupon (whether the coupon is item level, etc). - status
-
Type:
stringRequired:trueThe current status of the coupon.
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:
stringRequired:trueThe category to which the product belongs. - childItems
-
Type:
arraychildItemsAdditional Properties Allowed:The array of child items in the item, if the item is a configurable item. A child item can itself contain child item array if it is a configurable product in itself. - commerceItemId
-
Type:
stringThe unique line item ID distinguisher. This field becomes required for split shipping when combineLineItems is set to no. - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
objectdetailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
numberA price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable). - externalPriceQuantity
-
Type:
integerThe maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). - externalRecurringCharge
-
Type:
numberThe external recurring price. - externalRecurringChargeDuration
-
Type:
stringThe duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
stringThe frequency for the recurring charge e.g. Monthly. - giftWithPurchaseSelections
-
Type:
arraygiftWithPurchaseSelectionsAdditional Properties Allowed:The array of gift with purchase selections to be made. - productId
-
Type:
stringRequired:trueID of the product in the cart. - quantity
-
Type:
integerRequired:trueThe quantity of the product in the cart. - recurringCharge
-
Type:
numberThe recurring charge for the item. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item.
Nested Schema : childItems
Nested Schema : detailedRecurringChargeInfo
Type:
objectDetailed Item Price Information.
- amount
-
Type:
numberThe monetary amount for the recurring charge. - currencyCode
-
Type:
stringThe three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
numberThe detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
booleanWhether the price is discounted. - orderDiscountShare
-
Type:
numberThe order Discount Share. - quantity
-
Type:
integerThe number of items covered by this recurring charge price info - tax
-
Type:
numberMonetary tax amount.
Nested Schema : externalData
Nested Schema : giftWithPurchaseSelections
Nested Schema : items
Type:
object- 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:
stringRequired:trueSku reference id. - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - detailedRecurringChargeInfo
-
Type:
objectdetailedRecurringChargeInfoAdditional Properties Allowed:Detailed Item Price Information. - externalData
-
Type:
arrayexternalDataAdditional Properties Allowed:External data to be associated with a commerce item, provided by a configurator system. - externalPrice
-
Type:
numberRequired:trueA price for a quantity of 1 of this line item which will be used in place of the standard catalog price (this price will be verified to ensure it is allowable). - externalPriceQuantity
-
Type:
integerRequired:trueThe maximum quantity of this line item which may be purchased at the external price (this quantity will be verified to ensure it is allowable). The value of this property should be -1 in case if the current item is a sub item of a configurable product - externalRecurringCharge
-
Type:
numberThe external recurring price. - externalRecurringChargeDuration
-
Type:
stringThe duration for the recurring charge e.g. 12 months. - externalRecurringChargeFrequency
-
Type:
stringThe frequency for the recurring charge e.g. Monthly. - productId
-
Type:
stringRequired:trueID of the product in the cart. - quantity
-
Type:
integerRequired:trueThe quantity of the product in the cart. - recurringCharge
-
Type:
numberThe recurring charge for the item. - serviceAccountId
-
Type:
stringThe service account ID associated to the current item. - serviceId
-
Type:
stringThe service ID associated to the current item.
Nested Schema : detailedRecurringChargeInfo
Type:
objectDetailed Item Price Information.
- amount
-
Type:
numberThe monetary amount for the recurring charge. - currencyCode
-
Type:
stringThe three character currency code for the monetary amounts. - detailedUnitPrice
-
Type:
numberThe detailed unit price: amount / quantity. (read-only) - discounted
-
Type:
booleanWhether the price is discounted. - orderDiscountShare
-
Type:
numberThe order Discount Share. - quantity
-
Type:
integerThe number of items covered by this recurring charge price info - tax
-
Type:
numberMonetary tax amount.
Nested Schema : externalData
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringRequired:trueThe name to be associated with the externalData item. - values
-
Type:
objectvaluesRequired:trueAdditional Properties Allowed:The 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:
stringRequired:trueThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- actionCode
-
Type:
stringThe action code that has been set on the externalData item by the configurator system. - name
-
Type:
stringRequired:trueThe name to be associated with the externalData item. - values
-
Type:
objectvaluesRequired:trueAdditional Properties Allowed:The 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:
stringRequired:trueThis property's name and value will be retrieved from a configurator system, so will be dynamically set.
Nested Schema : items
Type:
object- catRefId
-
Type:
stringThe product variant Id. Include this Id when you are wishing to mark this as a gift with purchase selection you wish to change out - giftWithPurchaseIdentifier
-
Type:
integerRequired:trueThe identifier that links this gift with purchase to the giftWithPurchaseInfo. - giftWithPurchaseQuantity
-
Type:
integerRequired:trueThe total quantity of the commerceItem that is giftWithPurchaseQuantity. - productId
-
Type:
stringID of the product in the cart. Include when you are wishing to mark this as a gift with purchase selection you wish to change out - promotionId
-
Type:
stringRequired:trueThe promotion id.
Response
Supported Media Types
- application/json
200 Response
No response is returned as this is an event webhook
Body
Root Schema : emptyResponse