on 2023 Jan 27 7:36 AM
Below is the sample order status message received from fulfillment system, want to know how can I search for the quote having PO number "50-52577-D" and shipto company name as "INGRAM MICRO INC" in order to update quote with status details.
{
"orders": [
{
"order_num": "604084820",
"quote_number": "3000142089949/1",
"po_details": {
"purchase_order_no": "50-52577-D",
"purchase_order_lines": [
{
"line_number": "000001"
}
]
},
"ship_to_customer": {
"customer_num": "530030587800",
"customer_first_name": "JENSEN",
"customer_last_name": "BOBBI",
"company_name": "BISH S RV - IDAHO FALLS",
"customer_address": [
"3855 N 5TH E",
"JEREMY CHRISTIAN",
"IDAHO FALLS",
"Idaho",
"United States"
],
"customer_postal_code": "83401-1132",
"customer_phone": [
"8888888"
],
"customer_name": "JENSEN BOBBI",
"customer_email": [
"TKITE@BISHS.COM"
]
}
}
],
"total_result_count": "1"
}'''
Request clarification before answering.
pritam.kaur26
Are you sure you're using SAP CPQ ? Because the quote number in your payload appears to be different then SAP CPQ generates, and the structure of the json is also different. Kindly confirm once more or re-assign the tag to the right product, so you get reply from others quickly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Above Payload is the message from our order fulfillment system, I need to use the data and display appropriately status of the order in SAP CPQ system. for that I need to match the message with the correct quote. This message doesn't contain SAP CPQ quote number but PO number is something common between the two. Hence I plan to pull the quote using the PO number first and then update the quote with required data.
thanks for giving more information and as well landscape.jpg screenshot. so My question is how do you get PO Number into SAP CPQ ? Does PO Number is a custom field in your CPQ Quotation ? if yes the solution is to find it through GET method /api/v1/quote/quoteid/customfield and you can pass all the necessary information back with POST Method
API Documentation : refer quotes endpoint
User | Count |
---|---|
9 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.