Skip to Content
0
Jan 27, 2023 at 07:36 AM

how to search quote via script

141 Views

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"

}'''