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":"Sample Quote",
"shippingGroups":[
{
"shippingMethod":{
"value":"standardShippingMethod"
},
"shippingAddress":{
"lastName":"Anderson",
"country":"United States",
"address3":"",
"address2":"",
"city":"Syracuse",
"prefix":"",
"address1":"21 Cedar Ave",
"postalCode":"13202",
"jobTitle":"",
"companyName":"",
"county":"",
"isDefaultAddress":true,
"suffix":"",
"selectedCountry":"US",
"firstName":"Kim",
"phoneNumber":"212-555-1977",
"repositoryId":"se-980031",
"alias":"Home",
"faxNumber":"",
"middleName":"",
"state":"New York",
"selectedState":"NY",
"email":"kim@example.com",
"state_ISOCode":"US-NY"
},
"items":[
{
"serviceAccountId":"serviceAcc-123",
"deactivationDate":"2018-06-27T12:59:59Z",
"quantity":1,
"customerAccountId":"customerAcc-123",
"productId":"Product_18Cxi",
"assetId":"asset10001",
"externalData":[
],
"actionCode":"Add",
"billingAccountId":"billingAcc-123",
"activationDate":"2017-06-27T15:30:00Z",
"serviceId":"service-123",
"catRefId":"Sku_18Dxi"
}
]
}
],
"appliedPromotions":[
],
"profileId":"se-570031",
"payments":[
{
"cardCVV":"service",
"amount":"43.19",
"cardType":"",
"type":"card",
"cardNumber":"service"
}
],
"amountRemaining":"43.19",
"shoppingCart":{
"coupons":[
],
"items":[
{
"quantity":1,
"productId":"Product_18Cxi",
"catRefId":"Sku_18Dxi"
}
],
"orderTotal":43.19
},
"id":"o90419",
"billingAddress":{
"lastName":"Anderson",
"country":"United States",
"address3":"",
"address2":"",
"city":"Syracuse",
"prefix":"",
"address1":"21 Cedar Ave",
"postalCode":"13202",
"jobTitle":"",
"companyName":"",
"county":"",
"isDefaultAddress":true,
"suffix":"",
"selectedCountry":"US",
"firstName":"Kim",
"phoneNumber":"212-555-1977",
"repositoryId":"se-980031",
"alias":"Home",
"faxNumber":"",
"middleName":"",
"state":"New York",
"selectedState":"NY",
"email":"kim@example.com",
"state_ISOCode":"US-NY"
},
"requestChannel":"agent"
}
- amountRemaining
-
Type:
numberamount to authorize. - appliedPromotions
-
Type:
arrayappliedPromotionsThe array of applied promotions. If not supplied, it utilizes the promotions in the current incomplete order. - billingAddress
-
Type:
objectbillingAddressBilling address for the order. - id
-
Type:
stringRequired:truethe order id for the order which is to be quoted. If undefined, the current incomplete order for profile is selected - note
-
Type:
stringthe requester note supplied with the quote request - payments
-
Type:
arraypaymentsList of payments - profileId
-
Type:
stringRequired:trueProfile id. - requestChannel
-
Type:
stringrequest Channel name. Possible values are 'agent' or 'asa'. - shippingAddress
-
Type:
objectshippingAddressThe shipping address details. If not supplied, it utilizes the shipping address in the current incomplete order. - shippingGroups
-
Type:
arrayshippingGroupsThe shipping groups for the order. If not supplied, it utilizes the shipping groups in the current incomplete order. - shippingMethod
-
Type:
objectshippingMethodThe shipping method details for the order. If not supplied, it utilizes the shipping method in the current incomplete order. - shoppingCart
-
Type:
objectshoppingCartThe 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 : billingAddress
Type:
objectBilling address for the order.
- address1
-
Type:
stringRequired:trueAddress 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:
stringRequired:trueCity for this billing address. - companyName
-
Type:
stringCompany name for this billing address. - country
-
Type:
stringRequired:trueCountry 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:
stringRequired:trueFirst name for this billing address. - isDefaultAddress
-
Type:
booleanIs the Address is used as default address or not. - jobTitle
-
Type:
stringJob title for this billing address. - lastName
-
Type:
stringRequired:trueLast name for this billing address. - middleName
-
Type:
stringMiddle name for this billing address. - phoneNumber
-
Type:
stringPhone number for this billing address. - postalCode
-
Type:
stringRequired:truePostal 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:
stringRequired:trueState for this billing address. - state_ISOCode
-
Type:
stringThe state ISON code of the shipping address. - suffix
-
Type:
stringSuffix for this billing address.
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. - isDefaultAddress
-
Type:
booleanIs the Address is used as default address or not. - 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- cardCVV
-
Type:
stringRequired:truecredit card CVV. - cardNumber
-
Type:
stringRequired:truecredit card number. - cardType
-
Type:
stringRequired:truecredit card type. - endMonth
-
Type:
stringRequired:truecredit card expiry month. - endYear
-
Type:
integerRequired:truecredit card expiry year. - giftCardNumber
-
Type:
stringGift card number used for payment. Payment type: physicalGiftCard(this field should be used when giftcards are used) - giftCardPin
-
Type:
stringGift card pin. Payment type: physicalGiftCard(this field should be used when giftcards are used) - nameOnCard
-
Type:
stringRequired:truename printed on credit card. - paymentGroupId
-
Type:
stringPayment Group Id of the gift card payment group. Payment type: physicalGiftCard - PONumber
-
Type:
stringPurchase order number for invoice payment. Payment type: invoice - type
-
Type:
stringRequired:truepayment type. payULatamWebcheckout,paypalCheckout,card,invoice,physicalGiftCard
Nested Schema : items
Type:
object- items
-
Type:
arrayitemsRequired:trueThe array of products in the shipping group. - shippingAddress
-
Type:
objectshippingAddressRequired:trueThe shipping address details. - shippingMethod
-
Type:
objectshippingMethodRequired:trueThe 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- 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. - 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. - externalData
-
Type:
arrayexternalDataExternal data to be associated with a commerce item, provided by a configurator system. - productId
-
Type:
stringRequired:trueID of the product in the cart. - quantity
-
Type:
integerRequired:trueThe quantity of the product in this shipping group. - 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 : 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:trueThe 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 : 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:
arraychildItemsChild items of the commerce 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. - externalData
-
Type:
arrayexternalDataExternal 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). - giftWithPurchaseSelections
-
Type:
arraygiftWithPurchaseSelectionsThe 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. - 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 : giftWithPurchaseSelections
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:trueSku 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. - externalData
-
Type:
arrayexternalDataExternal data to be associated with a commerce item, provided by a configurator system. - productId
-
Type:
stringRequired:trueProduct Id of the child item - quantity
-
Type:
numberRequired:trueQuantity of the child item - 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 : 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:trueSku Id of the child item - customerAccountId
-
Type:
stringThe customer account ID associated to the current item. - deactivationDate
-
Type:
stringThe deactivation date in ISO format. - externalData
-
Type:
arrayexternalDataExternal data to be associated with a commerce item, provided by a configurator system. - productId
-
Type:
stringRequired:trueProduct Id of the child item - quantity
-
Type:
numberRequired:trueQuantity of the child item - 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 : 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:trueThe 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:trueThe 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:trueThe 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