Reject a quote.
post
/ccstore/v1/selfservice/quotes/{id}/reject
Reject Quote with comment.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): string
ID of quote.
Root Schema : RejectQuoteCpqRequest
Type:
Show Source
object
Example:
{
"documents":{
"comments":"Rejected by Buyer"
},
"criteria":{
"expandedDomains":[
"rejectReason_t",
"status_t"
],
"state":true,
"fields":[
"status_t",
"transactionID_t",
"transactionName_t",
"rejectExplanation_t"
]
}
}
Nested Schema : criteria
Type:
Show Source
object
-
expandedDomains:
array expandedDomains
The list of expanded Domains.
-
fields:
array fields
The list of properties to be returned in the response
-
state:
boolean
Property to indicate if the CPQ specific properties to be included in the response
Nested Schema : documents
Type:
Show Source
object
-
comments:
string
All the reasons from the customer for rejecting the quote.
Nested Schema : fields
Type:
array
The list of properties to be returned in the response
Show Source
Nested Schema : items
Type:
Show Source
object
-
rejectReason_t:
string
The reject reason.
-
status_t:
string
The status of the quote. Example CREATED
Nested Schema : items
Type:
Show Source
object
-
rejectExplanation_t:
string
The property to specify the reject reason.
-
status_t:
string
The status of the quote
-
transactionID_t:
string
The id of the quote
-
transactionName_t:
string
The name of the transaction for a quote.
Response
Supported Media Types
- application/json
200 Response
Response containing the quote rejection details.
Root Schema : RejectQuoteCpqResponse
Example:
{
"revisionId":"7,0",
"fileAttachment_t":{
"fileName":"Document.pdf",
"isFileSaved":true,
"fileLocation":"http://localhost:8080/ccstoreui/v1/selfservice/quotes/42253990/documents/41454591",
"fileType":"application/pdf",
"fileID":"42253071"
},
"documents":{
"_locked_by_user_login":null,
"_s_soldToPartyName_t":null,
"_reject_link":"",
"_s_billTo_t_state":null,
"_document_var_name":"transaction",
"_customer_t_last_name":"Challa",
"_customer_t_phone":null,
"_customer_id":"12747",
"_customer_t_company_name":"Miller Manufacturing",
"_s_accountIntegrationResponse_t":null,
"_s_billTo_t_city":null,
"_s_isPublished_t":true,
"_s_billTo_t_fax":null,
"_customer_t_state":null,
"priceExpirationDate_t":null,
"_s_orderDiscountAmount_t":null,
"_s_customerStatus_t":{
"displayValue":"Rejected",
"value":"rejected"
},
"_s_billTo_t_phone":null,
"_locked_time":null,
"_s_billTo_t_zip":null,
"createdDate_t":"2024-07-12",
"_date_modified":"2024-07-15T10:54:08.000Z",
"_s_billTo_t_address":null,
"_customer_t_address":null,
"cC_ProviderNote_c":null,
"sampleCustomer_c":null,
"_tax_isTaxInclusive_t":false,
"_last_document_number":2,
"cC_OrderId_c":"o30504",
"_customer_t_city":null,
"_esigTest_c_esig_date_modified":null,
"_approve_link":"",
"_esigTest_c_esig_status":{
"displayValue":"Not Sent",
"value":"Not Sent"
},
"_tax_isTaxPresent_t":false,
"cC_ExpirationDate_c":null,
"transactionDescription_t":null,
"_date_added":"2024-07-12T15:51:24.000Z",
"_s_contactPartyNumber_t":"CDRM_965910",
"_customer_t_address_2":null,
"transactionLine":{
"hasMore":false,
"items":[
{
"testAttr_c":null,
"_shipTo_l_country":null,
"_shipping_shippingServiceLevel_l":null,
"_document_var_name":"transactionLine",
"_s_unitProratedOrderDiscount_l":null,
"_s_totalProratedOrderDiscount_l":{
"currency":"USD",
"value":0
},
"_tax_totalAmountRollup_l":null,
"_shipTo_l_zip":null,
"_tax_totalAmount_l":null,
"_tax_taxPrice_l":null,
"_shipTo_l_fax":null,
"includedInBasePrice":null,
"_parent_line_item":null,
"_date_modified":"2024-07-15T10:54:08.000Z",
"_shipTo_l_address":null,
"cC_CatalogRefId_c":"part10",
"_s_externalItemId_l":null,
"documentNumber_l":"2",
"_is_part_pricing_rule_price":false,
"_line_bom_model_path":null,
"_tax_totalPrice_l":null,
"_model_id":null,
"_date_added":"2024-07-12T15:51:24.000Z",
"_shipTo_l_phone":null,
"_parent_doc_number":null,
"_is_line_item_mandatory":false,
"_model_product_line_id":null,
"_last_modified_date":"2024-07-15 10:54:08",
"_tax_totalContractPriceRollup_l":null,
"_shipping_shipCarrierName_l":null,
"_shipTo_l_city":null,
"_shipping_shippingInstructions_l":null,
"_tax_totalPriceRollup_l":null,
"_reconfiguration_date":"1970-01-01 00:00:00",
"_id":42253992,
"_shipTo_l_address_2":null,
"_pp_id":41525463,
"_document_number":2,
"_tax_totalPriceMinusTax_l":null,
"_is_bom_price":false,
"_line_item_comment":null,
"_shipTo_l_email":null,
"_line_bom_sequence_index":null,
"_shipTo_l_first_name":null,
"_step_var_name":"rejectedByCustomer",
"_line_bom_display_name":null,
"cC_CommerceItemId_c":"ci3000520",
"_part_supplier_company_id":"4118171",
"_tax_totalAmountMinusTax_l":null,
"_original_document_number":"-1",
"_is_recommended_price":false,
"cC_ProductId_c":"part10",
"_shipTo_l_company_name_2":null,
"test_custom_c":null,
"_line_item_spare_rule_var_name":null,
"_tax_taxRollup_l":null,
"_shipping_shippingGroupId_l":null,
"_part_id":"38746518",
"_shipping_shipToPartyId_l":null,
"_shipTo_l_state":null,
"_shipTo_l_last_name":null,
"_transaction_currency_pref":{
"id":5190368,
"currencyCode":"USD"
},
"_shipTo_l_company_name":null,
"_price_book_var_name":"_default_price_book",
"_shipping_shipModeOfTransport_l":null,
"_model_supplier_company_id":null,
"_shipping_shipToPartySiteId_l":null,
"_tax_calculation_info":null,
"_model_segment_id":null,
"_bs_id":42253990,
"_pp_name":"Self Service User",
"_line_bom_condition_index":null
}
]
},
"contactName_t":"Sundeep Challa",
"transactionName_t":null,
"_s_skipSellerReview_t":true,
"_id":42253990,
"contactLastName_t":"Challa",
"_s_billTo_t_address_2":null,
"_pp_id":41525463,
"_document_number":"1",
"cC_LineItem_Data_c":null,
"fileAttachment_t":{
"fileName":"Document.pdf",
"isFileSaved":true,
"fileLocation":"http://localhost:8080/ccstoreui/v1/selfservice/quotes/42253990/documents/41454591",
"fileType":"application/pdf",
"fileID":"42253071"
},
"_esigTest_c_esig_recipients":null,
"cC_SiteId_c":"siteUS",
"owner_t":"Albert M",
"_process_var_name":"oraclecpqo",
"_s_billTo_t_email":null,
"_locked_by_user_first_name":null,
"contactFirstName_t":"Sundeep",
"_s_billTo_t_country":null,
"_customer_t_country":null,
"createdBy_t":"Albert M",
"_step_var_name":"rejectedByCustomer",
"_customer_t_zip":null,
"bs_id":"42253990",
"_lock_status":false,
"_customer_t_fax":null,
"currency_t":{
"displayValue":"USD",
"value":"USD"
},
"_submitted_by_submit_t":"",
"_s_assignedTo_t":{
"displayValue":"Seller",
"value":"SELLER"
},
"_stage":{
"displayValue":"Quote",
"value":"QUOTE"
},
"_customer_t_email":"sundeep.challa@oracle.com",
"_s_externalOrderId_t":null,
"_esigTest_c_esig_envelope_id":null,
"_s_transactionSource_t":{
"displayValue":"Buyer Initiated",
"value":"buyerInitiated"
},
"_s_billTo_t_first_name":null,
"_locked_by_user_last_name":null,
"_s_billTo_t_last_name":null,
"transactionID_t":"CPQ-308",
"_customer_t_company_name_2":null,
"_buyer_company_name":"cpqqa230",
"_s_hostCompanyFullName_t":"cpqqa230",
"_s_billTo_t_company_name":null,
"_price_book_var_name":"_default_price_book",
"_date_tx_modified":"2024-07-15T10:54:08.000Z",
"_supplier_company_name":"cpqqa230",
"_locked_by_user":-1,
"_s_billToCustomerAccountID_t":null,
"_freezePrice":false,
"_s_billToCustomerAccountName_t":null,
"_customer_t_first_name":"Sundeep",
"_s_billTo_t_company_name_2":null,
"_currency_pref":{
"id":5190368,
"currencyCode":"USD"
},
"contactEmailAddress_t":"sundeep.challa@oracle.com",
"_tax_taxAmount_t":null,
"_pp_name":"Self Service User"
},
"warnings":{
},
"links":[
{
"rel":"self",
"href":"http://localhost:8080/ccstoreui/v1/selfservice/quotes/42253990/reject"
}
],
"destinationURL":""
}
400 Response
Bad query params in the request
Root Schema : Error
Type:
Show Source
object
-
message:
string
The error message
-
status:
string
The Error code