[Monday 5th of October 2026 12:26:54 PM] ORDER WEBHOOK STARTED - Order ID: 2321 [Monday 5th of October 2026 12:26:54 PM] Fetching customer data for Order ID: 2321 [Monday 5th of October 2026 12:26:54 PM] get_order_customer_data() - START - Order ID: 2321 [Monday 5th of October 2026 12:26:54 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2321 [Monday 5th of October 2026 12:26:54 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2321 [Monday 5th of October 2026 12:26:54 PM] get_order_customer_data() - Parsing order response for Order ID: 2321 [Monday 5th of October 2026 12:26:54 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Thomas Andrade | Email: ALEVASSEUR@EVERETTSAUTOPARTS.COM | Total: 206.2500 | Shipping: 19.26 [Monday 5th of October 2026 12:26:54 PM] get_order_customer_data() - END - Order ID: 2321 [Monday 5th of October 2026 12:26:54 PM] Customer data received: {"id":0,"email":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","address_1":"553 Thatcher St. ","address_2":"","city":"Brockton ","state":"MA","country":"USA","zip":"02302","f_name":"Thomas ","l_name":"Andrade","contact_5":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","contact_1":"5085837478","contact_4":"Thomas Andrade"} [Monday 5th of October 2026 12:26:54 PM] Fetching shipping info for Order ID: 2321 [Monday 5th of October 2026 12:26:54 PM] get_order_shipping_info() - START - Order ID: 2321 [Monday 5th of October 2026 12:26:54 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2321/shipping_addresses [Monday 5th of October 2026 12:26:54 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2321 [Monday 5th of October 2026 12:26:55 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2321 | Name: Andrew Levasseur | Address: 553 Thatcher St. , Brockton , Massachusetts, 02302 [Monday 5th of October 2026 12:26:55 PM] get_order_shipping_info() - END - Order ID: 2321 [Monday 5th of October 2026 12:26:55 PM] Shipping info received: {"id":2220,"order_id":2321,"first_name":"Andrew","last_name":"Levasseur","company":"Everett's Auto Parts ","street_1":"553 Thatcher St. ","street_2":"","city":"Brockton ","zip":"02302","country":"United States","country_iso2":"US","state":"Massachusetts","email":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","phone":"5085837478","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"19.2600","cost_ex_tax":"19.2600","cost_inc_tax":"19.2600","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2321\/shipping_addresses\/2220\/shipping_quotes","resource":"\/orders\/2321\/shipping_addresses\/2220\/shipping_quotes"},"form_fields":[]} [Monday 5th of October 2026 12:26:55 PM] Resolved Customer ID: APONLINE [Monday 5th of October 2026 12:26:55 PM] Building order object for Invoice: AP2321 [Monday 5th of October 2026 12:26:55 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2321","ADDRESS1":"553 Thatcher St. ","ADDRESS2":"","C_ADDRESS1":"553 Thatcher St. ","C_ADDRESS2":"","C_CITY":"Brockton ","C_COUNTRY":"USA","C_EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","C_NAME":"Andrew Levasseur","C_STATE":"MA","C_ZIP":"02302","ShippingAmount":"19.26","CITY":"Brockton ","EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","ID":"APONLINE","NAME":"Thomas Andrade","STATE":"MA","COUNTRY":"USA","ZIP":"02302","MEMO":"","DESCR":"BigCommerce Order - AP2321 - Customer APONLINE"} [Monday 5th of October 2026 12:26:55 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 5th of October 2026 12:26:55 PM] Fetching products from BigCommerce for Order ID: 2321 [Monday 5th of October 2026 12:26:55 PM] BigCommerce API call successful for Order ID: 2321 [Monday 5th of October 2026 12:26:55 PM] Products received: 1 item(s) [Monday 5th of October 2026 12:26:55 PM] Processing product SKU: PWM178021 | Qty: 1 | Price: 186.9900 [Monday 5th of October 2026 12:26:55 PM] get_mpn() - START - Product ID: 57439 [Monday 5th of October 2026 12:26:55 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/57439 [Monday 5th of October 2026 12:26:55 PM] get_mpn() - BigCommerce API call successful for Product ID: 57439 [Monday 5th of October 2026 12:26:55 PM] get_mpn() - WARNING - MPN is empty for Product ID: 57439 [Monday 5th of October 2026 12:26:55 PM] get_mpn() - END - Product ID: 57439 | MPN: [Monday 5th of October 2026 12:26:55 PM] check_for_ebms_product() - START - SKU: PWM178021 [Monday 5th of October 2026 12:26:55 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27PWM178021%27 [Monday 5th of October 2026 12:26:57 PM] check_for_ebms_product() - EBMS API call successful for SKU: PWM178021 [Monday 5th of October 2026 12:26:57 PM] check_for_ebms_product() - SKU: PWM178021 not found in EBMS [Monday 5th of October 2026 12:26:57 PM] check_for_ebms_product() - END - SKU: PWM178021 | Found: false [Monday 5th of October 2026 12:26:57 PM] SKU PWM178021 not found in EBMS - creating new part [Monday 5th of October 2026 12:26:57 PM] get_product_desc() - START - Product ID: 57439 [Monday 5th of October 2026 12:26:57 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/57439 [Monday 5th of October 2026 12:26:58 PM] get_product_desc() - BigCommerce API call successful for Product ID: 57439 [Monday 5th of October 2026 12:26:58 PM] get_product_desc() - Description retrieved for Product ID: 57439 - Description: Alternator - CS130 - 105 amps - 12V - 1-Wire / 3-Wire - Single V-Belt Pulley - Straight Mount - Aluminum Case - Chrome - GM - Each [Monday 5th of October 2026 12:26:58 PM] get_product_desc() - END - Product ID: 57439 [Monday 5th of October 2026 12:26:58 PM] get_ms_product() - START - SKU: PWM178021 [Monday 5th of October 2026 12:26:58 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PWM178021 [Monday 5th of October 2026 12:26:58 PM] get_ms_product() - Motorstate API call successful for SKU: PWM178021 [Monday 5th of October 2026 12:26:58 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: PWM178021 - Response: [{"Found":true,"PartNumber":"PWM178021","Product":{"PartNumber":"pwm178021","VendorPartNumber":"178021","Status":1,"IsStocking":true,"ShortDescription":"Chrome 105amp Small Delco Alternator 1 Wire","Quantity":1,"CustomerPrice":166.99062,"CustomerPriceNonPromotional":166.99062,"BasePrice":222.0,"ListPrice":186.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"SpecialOrderCharge":10.0,"DropShipCharge":10.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Monday 5th of October 2026 12:26:58 PM] get_ms_product() - END - SKU: PWM178021 [Monday 5th of October 2026 12:26:58 PM] MS pricing found for SKU PWM178021 - base: 186.99, cost: 166.99062 [Monday 5th of October 2026 12:26:58 PM] create_new_part() - START - SKU: PWM178021 | Base: 186.99 | Cost: 166.99 | Weight: 11.7500 | MPN: [Monday 5th of October 2026 12:26:58 PM] create_new_part() - Description parsed - DESCR_1: Alternator - CS130 - 105 amps - 12V - 1-Wire / 3-Wire - Single V-Belt Pulley - S | DESCR_2: traight Mount - Aluminum Case - Chrome - GM - Each [Monday 5th of October 2026 12:26:58 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Monday 5th of October 2026 12:26:58 PM] create_new_part() - POST payload: {"ID":"PWM178021","DESCR_1":"Alternator - CS130 - 105 amps - 12V - 1-Wire \/ 3-Wire - Single V-Belt Pulley - S","DESCR_2":"traight Mount - Aluminum Case - Chrome - GM - Each","DESCR_3":"Alternator - CS130 - 105 amps - 12V - 1-Wire \/ 3-Wire - Single V-Belt Pulley - Straight Mount - Aluminum Case - Chrome - GM - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"166.99","BASE":"186.99","WEIGHT":"11.7500","MFG_PART":"","TREE_ID":"603"} [Monday 5th of October 2026 12:27:00 PM] create_new_part() - EBMS API call successful for SKU: PWM178021 [Monday 5th of October 2026 12:27:00 PM] create_new_part() - Part created successfully in EBMS - SKU: PWM178021 - {"id":"PWM178021","cost":"166.99","base":"186.99","description":"Alternator - CS130 - 105 amps - 12V - 1-Wire \/ 3-Wire - Single V-Belt Pulley - Straight Mount - Aluminum Case - Chrome - GM - Each","tree_id":" 603"} [Monday 5th of October 2026 12:27:00 PM] create_new_part() - Sending new part notification email for SKU: PWM178021 [Monday 5th of October 2026 12:27:01 PM] create_new_part() - Notification email sent successfully for SKU: PWM178021 [Monday 5th of October 2026 12:27:01 PM] create_new_part() - END - SKU: PWM178021 [Monday 5th of October 2026 12:27:01 PM] New part created in EBMS for SKU: PWM178021 [Monday 5th of October 2026 12:27:01 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"PWM178021","M_QUAN_VIS":1,"UNIT":"186.99","UNIT_MEAS":"EA"}] [Monday 5th of October 2026 12:27:01 PM] Building payment record - Total: 206.2500 [Monday 5th of October 2026 12:27:01 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2321","ADDRESS1":"553 Thatcher St. ","ADDRESS2":"","C_ADDRESS1":"553 Thatcher St. ","C_ADDRESS2":"","C_CITY":"Brockton ","C_COUNTRY":"USA","C_EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","C_NAME":"Andrew Levasseur","C_STATE":"MA","C_ZIP":"02302","ShippingAmount":"19.26","CITY":"Brockton ","EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","ID":"APONLINE","NAME":"Thomas Andrade","STATE":"MA","COUNTRY":"USA","ZIP":"02302","MEMO":"","DESCR":"BigCommerce Order - AP2321 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PWM178021","M_QUAN_VIS":1,"UNIT":"186.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"206.25","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 5th of October 2026 12:27:01 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2321 [Monday 5th of October 2026 12:27:01 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2321%27 [Monday 5th of October 2026 12:27:01 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2321 [Monday 5th of October 2026 12:27:01 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2321 not found in EBMS [Monday 5th of October 2026 12:27:01 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2321 | Found: false [Monday 5th of October 2026 12:27:01 PM] Invoice AP2321 does not exist in EBMS - creating [Monday 5th of October 2026 12:27:01 PM] create_ebms_invoice() - START - Invoice: AP2321 [Monday 5th of October 2026 12:27:01 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2321","ADDRESS1":"553 Thatcher St. ","ADDRESS2":"","C_ADDRESS1":"553 Thatcher St. ","C_ADDRESS2":"","C_CITY":"Brockton ","C_COUNTRY":"USA","C_EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","C_NAME":"Andrew Levasseur","C_STATE":"MA","C_ZIP":"02302","ShippingAmount":"19.26","CITY":"Brockton ","EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","ID":"APONLINE","NAME":"Thomas Andrade","STATE":"MA","COUNTRY":"USA","ZIP":"02302","MEMO":"","DESCR":"BigCommerce Order - AP2321 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PWM178021","M_QUAN_VIS":1,"UNIT":"186.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"206.25","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 5th of October 2026 12:27:01 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 5th of October 2026 12:27:08 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2321 [Monday 5th of October 2026 12:27:08 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2321 - Response: {"@odata.context":"http:\/\/localhost:62286\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4554464f-4552-3656-4445-523632303030","AUTOID":"OFTEREV6DER62000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-186.990000000000009094947017729282379150390625,"BAL_CUST_X":-186.990000000000009094947017729282379150390625,"BALANCE":-186.990000000000009094947017729282379150390625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":0,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":206.25,"TOTAL_S_SO":186.990000000000009094947017729282379150390625,"TOTAL_SO":206.25,"TOTAL_W":0,"TTLPROCPMT":206.25,"TOTAL":19.260000000000001563194018672220408916473388671875,"FREIGHT":19.260000000000001563194018672220408916473388671875,"HANDLING":0,"SHIPPING":19.260000000000001563194018672220408916473388671875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"553 Thatcher St.","ADDRESS2":"","C_EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-05T00:00:00Z","CHECK_NO":" APBC","CITY":"Brockton","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-05T00:00:00Z","E_DATE":"2026-10-05T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","IADDRESS":"553 Thatcher St. , Brockton, MA 02302","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-05T00:00:00Z","INVOICE":"AP2321","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Thomas Andrade","PHONE":"","PROCESS":"Default","STATE":"MA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"02302","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"553 Thatcher St.","C_ADDRESS2":"","C_CITY":"Brockton","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Andrew Levasseur","C_STATE":"MA","C_ZIP":"02302","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2321 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-05T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 5th of October 2026 12:27:08 PM] create_ebms_invoice() - END - Invoice: AP2321 [Monday 5th of October 2026 12:27:08 PM] Invoice AP2321 created successfully [Monday 5th of October 2026 12:27:08 PM] ORDER WEBHOOK COMPLETED - Order ID: 2321 | Invoice: AP2321 [Monday 5th of October 2026 12:28:04 PM] ORDER WEBHOOK STARTED - Order ID: 2321 [Monday 5th of October 2026 12:28:04 PM] Fetching customer data for Order ID: 2321 [Monday 5th of October 2026 12:28:04 PM] get_order_customer_data() - START - Order ID: 2321 [Monday 5th of October 2026 12:28:04 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2321 [Monday 5th of October 2026 12:28:04 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2321 [Monday 5th of October 2026 12:28:04 PM] get_order_customer_data() - Parsing order response for Order ID: 2321 [Monday 5th of October 2026 12:28:04 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Thomas Andrade | Email: ALEVASSEUR@EVERETTSAUTOPARTS.COM | Total: 206.2500 | Shipping: 19.26 [Monday 5th of October 2026 12:28:04 PM] get_order_customer_data() - END - Order ID: 2321 [Monday 5th of October 2026 12:28:04 PM] Customer data received: {"id":0,"email":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","address_1":"553 Thatcher St. ","address_2":"","city":"Brockton ","state":"MA","country":"USA","zip":"02302","f_name":"Thomas ","l_name":"Andrade","contact_5":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","contact_1":"5085837478","contact_4":"Thomas Andrade"} [Monday 5th of October 2026 12:28:04 PM] Fetching shipping info for Order ID: 2321 [Monday 5th of October 2026 12:28:04 PM] get_order_shipping_info() - START - Order ID: 2321 [Monday 5th of October 2026 12:28:04 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2321/shipping_addresses [Monday 5th of October 2026 12:28:05 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2321 [Monday 5th of October 2026 12:28:05 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2321 | Name: Andrew Levasseur | Address: 553 Thatcher St. , Brockton , Massachusetts, 02302 [Monday 5th of October 2026 12:28:05 PM] get_order_shipping_info() - END - Order ID: 2321 [Monday 5th of October 2026 12:28:05 PM] Shipping info received: {"id":2220,"order_id":2321,"first_name":"Andrew","last_name":"Levasseur","company":"Everett's Auto Parts ","street_1":"553 Thatcher St. ","street_2":"","city":"Brockton ","zip":"02302","country":"United States","country_iso2":"US","state":"Massachusetts","email":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","phone":"5085837478","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"19.2600","cost_ex_tax":"19.2600","cost_inc_tax":"19.2600","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2321\/shipping_addresses\/2220\/shipping_quotes","resource":"\/orders\/2321\/shipping_addresses\/2220\/shipping_quotes"},"form_fields":[]} [Monday 5th of October 2026 12:28:05 PM] Resolved Customer ID: APONLINE [Monday 5th of October 2026 12:28:05 PM] Building order object for Invoice: AP2321 [Monday 5th of October 2026 12:28:05 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2321","ADDRESS1":"553 Thatcher St. ","ADDRESS2":"","C_ADDRESS1":"553 Thatcher St. ","C_ADDRESS2":"","C_CITY":"Brockton ","C_COUNTRY":"USA","C_EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","C_NAME":"Andrew Levasseur","C_STATE":"MA","C_ZIP":"02302","ShippingAmount":"19.26","CITY":"Brockton ","EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","ID":"APONLINE","NAME":"Thomas Andrade","STATE":"MA","COUNTRY":"USA","ZIP":"02302","MEMO":"","DESCR":"BigCommerce Order - AP2321 - Customer APONLINE"} [Monday 5th of October 2026 12:28:05 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 5th of October 2026 12:28:05 PM] Fetching products from BigCommerce for Order ID: 2321 [Monday 5th of October 2026 12:28:05 PM] BigCommerce API call successful for Order ID: 2321 [Monday 5th of October 2026 12:28:05 PM] Products received: 1 item(s) [Monday 5th of October 2026 12:28:05 PM] Processing product SKU: PWM178021 | Qty: 1 | Price: 186.9900 [Monday 5th of October 2026 12:28:05 PM] get_mpn() - START - Product ID: 57439 [Monday 5th of October 2026 12:28:05 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/57439 [Monday 5th of October 2026 12:28:05 PM] get_mpn() - BigCommerce API call successful for Product ID: 57439 [Monday 5th of October 2026 12:28:05 PM] get_mpn() - WARNING - MPN is empty for Product ID: 57439 [Monday 5th of October 2026 12:28:05 PM] get_mpn() - END - Product ID: 57439 | MPN: [Monday 5th of October 2026 12:28:05 PM] check_for_ebms_product() - START - SKU: PWM178021 [Monday 5th of October 2026 12:28:05 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27PWM178021%27 [Monday 5th of October 2026 12:28:06 PM] check_for_ebms_product() - EBMS API call successful for SKU: PWM178021 [Monday 5th of October 2026 12:28:06 PM] check_for_ebms_product() - SKU: PWM178021 found in EBMS [Monday 5th of October 2026 12:28:06 PM] check_for_ebms_product() - END - SKU: PWM178021 | Found: true [Monday 5th of October 2026 12:28:06 PM] SKU PWM178021 found in EBMS - checking prices [Monday 5th of October 2026 12:28:06 PM] obtain_current_prices() - START - SKU: PWM178021 [Monday 5th of October 2026 12:28:06 PM] obtain_current_prices() - Checking Motorstate for SKU: PWM178021 [Monday 5th of October 2026 12:28:06 PM] check_for_ms_product() - START - SKU: PWM178021 [Monday 5th of October 2026 12:28:06 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PWM178021 [Monday 5th of October 2026 12:28:06 PM] check_for_ms_product() - Motorstate API call successful for SKU: PWM178021 [Monday 5th of October 2026 12:28:06 PM] check_for_ms_product() - SKU: PWM178021 found in Motorstate [Monday 5th of October 2026 12:28:06 PM] check_for_ms_product() - END - SKU: PWM178021 | Found: true [Monday 5th of October 2026 12:28:06 PM] obtain_current_prices() - SKU: PWM178021 found in Motorstate - Fetching prices [Monday 5th of October 2026 12:28:06 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: PWM178021 - URL: https://api.motorstate.com/api/Product?partNumbers=PWM178021 [Monday 5th of October 2026 12:28:06 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: PWM178021 - Base: 186.99 | Cost: 166.99 [Monday 5th of October 2026 12:28:06 PM] obtain_current_prices() - Returning Motorstate prices for SKU: PWM178021 - Base: 186.99 | Cost: 166.99 [Monday 5th of October 2026 12:28:06 PM] obtain_current_prices() - END - SKU: PWM178021 [Monday 5th of October 2026 12:28:06 PM] SKU PWM178021 has existing EBMS prices - syncing BigCommerce price back (cost: 166.99, base: 186.99) [Monday 5th of October 2026 12:28:06 PM] update_product_price() - START - Product ID: 57439 | Base: 186.99 | Cost: 166.99 [Monday 5th of October 2026 12:28:06 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/57439 [Monday 5th of October 2026 12:28:06 PM] update_product_price() - PUT payload: {"price":186.990000000000009094947017729282379150390625,"cost_price":166.990000000000009094947017729282379150390625} [Monday 5th of October 2026 12:28:06 PM] update_product_price() - Attempt 1 of 6 for Product ID: 57439 [Monday 5th of October 2026 12:28:06 PM] update_product_price() - Price updated successfully for Product ID: 57439 - Base: 186.99 | Cost: 166.99 [Monday 5th of October 2026 12:28:06 PM] update_product_price() - END - Product ID: 57439 | Result: success [Monday 5th of October 2026 12:28:06 PM] BigCommerce price updated for Product ID: 57439 [Monday 5th of October 2026 12:28:06 PM] get_product_inventory() - START - SKU: PWM178021 [Monday 5th of October 2026 12:28:06 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PWM178021 [Monday 5th of October 2026 12:28:06 PM] get_product_inventory() - Motorstate API call successful for SKU: PWM178021 [Monday 5th of October 2026 12:28:06 PM] get_product_inventory() - Stock found for SKU: PWM178021 - Quantity: 1 | Running Total: 1 [Monday 5th of October 2026 12:28:06 PM] get_product_inventory() - END - SKU: PWM178021 | Total: 1 [Monday 5th of October 2026 12:28:06 PM] get_cf_id() - START - Product ID: 57439 [Monday 5th of October 2026 12:28:06 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/57439/custom-fields [Monday 5th of October 2026 12:28:06 PM] get_cf_id() - BigCommerce API call successful for Product ID: 57439 [Monday 5th of October 2026 12:28:06 PM] get_cf_id() - Custom field found for Product ID: 57439 | Field: online_stock_level | CF ID: 57329 [Monday 5th of October 2026 12:28:06 PM] get_cf_id() - END - Product ID: 57439 | CF ID: 57329 [Monday 5th of October 2026 12:28:06 PM] Updating inventory for SKU PWM178021 - stock: 1, CF ID: 57329 [Monday 5th of October 2026 12:28:06 PM] update_product_inventory() - START - Product ID: 57439 | Stock: 1 | CF ID: 57329 [Monday 5th of October 2026 12:28:06 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/57439/custom-fields/57329 [Monday 5th of October 2026 12:28:07 PM] update_product_inventory() - Inventory updated successfully for Product ID: 57439 | Stock: 1 [Monday 5th of October 2026 12:28:07 PM] update_product_inventory() - END - Product ID: 57439 | Result: success [Monday 5th of October 2026 12:28:07 PM] Inventory updated for SKU: PWM178021 [Monday 5th of October 2026 12:28:07 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"PWM178021","M_QUAN_VIS":1,"UNIT":"186.99","UNIT_MEAS":"EA"}] [Monday 5th of October 2026 12:28:07 PM] Building payment record - Total: 206.2500 [Monday 5th of October 2026 12:28:07 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2321","ADDRESS1":"553 Thatcher St. ","ADDRESS2":"","C_ADDRESS1":"553 Thatcher St. ","C_ADDRESS2":"","C_CITY":"Brockton ","C_COUNTRY":"USA","C_EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","C_NAME":"Andrew Levasseur","C_STATE":"MA","C_ZIP":"02302","ShippingAmount":"19.26","CITY":"Brockton ","EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","ID":"APONLINE","NAME":"Thomas Andrade","STATE":"MA","COUNTRY":"USA","ZIP":"02302","MEMO":"","DESCR":"BigCommerce Order - AP2321 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PWM178021","M_QUAN_VIS":1,"UNIT":"186.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"206.25","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 5th of October 2026 12:28:07 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2321 [Monday 5th of October 2026 12:28:07 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2321%27 [Monday 5th of October 2026 12:28:07 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2321 [Monday 5th of October 2026 12:28:07 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2321 found in EBMS [Monday 5th of October 2026 12:28:07 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2321 | Found: true [Monday 5th of October 2026 12:28:07 PM] Invoice AP2321 already exists in EBMS - patching [Monday 5th of October 2026 12:28:07 PM] patch_ebms_invoice() - START - Invoice: AP2321 [Monday 5th of October 2026 12:28:07 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2321","ADDRESS1":"553 Thatcher St. ","ADDRESS2":"","C_ADDRESS1":"553 Thatcher St. ","C_ADDRESS2":"","C_CITY":"Brockton ","C_COUNTRY":"USA","C_EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","C_NAME":"Andrew Levasseur","C_STATE":"MA","C_ZIP":"02302","ShippingAmount":"19.26","CITY":"Brockton ","EMAIL":"ALEVASSEUR@EVERETTSAUTOPARTS.COM","ID":"APONLINE","NAME":"Thomas Andrade","STATE":"MA","COUNTRY":"USA","ZIP":"02302","MEMO":"","DESCR":"BigCommerce Order - AP2321 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PWM178021","M_QUAN_VIS":1,"UNIT":"186.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"206.25","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 5th of October 2026 12:28:07 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2321%27 [Monday 5th of October 2026 12:28:08 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2321 [Monday 5th of October 2026 12:28:08 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2321 [Monday 5th of October 2026 12:28:08 PM] patch_ebms_invoice() - END - Invoice: AP2321 [Monday 5th of October 2026 12:28:08 PM] Invoice AP2321 patched successfully [Monday 5th of October 2026 12:28:08 PM] ORDER WEBHOOK COMPLETED - Order ID: 2321 | Invoice: AP2321 [Monday 5th of October 2026 12:28:25 PM] add_customer() - START - Customer ID: 612 | Name: Andres Torres [Monday 5th of October 2026 12:28:25 PM] add_customer() - Customer payload: {"id":612,"email":"diggygomez239@gmail.com","address_1":"10410 Rock Cove Ln","address_2":"","city":"Converse","state":"TX","country":"USA","zip":"78109","f_name":"Andres","l_name":"Torres","contact_5":"diggygomez239@gmail.com","contact_1":"2109000222","contact_4":"Andres Torres"} [Monday 5th of October 2026 12:28:25 PM] add_customer() - Customer fields parsed - ID: AP612 | Address: 10410 Rock Cove Ln, Converse, TX 78109 | Email: diggygomez239@gmail.com [Monday 5th of October 2026 12:28:25 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 5th of October 2026 12:28:25 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"10410 Rock Cove Ln","ADDRESS2":"","CITY":"Converse","CONTACT_5":"diggygomez239@gmail.com","CONTACT_1":"2109000222","CONTACT_4":"Andres Torres","COUNTRY":"USA","F_NAME":"Andres","ID":"AP612","L_NAME":"Torres","STATE":"TX","ZIP":"78109"} [Monday 5th of October 2026 12:28:28 PM] add_customer() - EBMS API call successful for Customer ID: AP612 [Monday 5th of October 2026 12:28:28 PM] add_customer() - Customer created successfully in EBMS - ID: AP612 - Response: {"@odata.context":"http:\/\/localhost:62286\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"304b564e-3732-3753-4445-523632303030","AUTOID":"NVK027S7DER62000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Andres Torres","ADDRESS1":"10410 Rock Cove Ln","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Converse","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-05T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"diggygomez239@gmail.com","EMAIL_LIST":false,"F_NAME":"Andres","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP612","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Torres","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Andres Torres)","OUT_CITY":false,"PHONE":"(210) 900-0222","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"TX","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"78109","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(210) 900-0222","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Andres Torres","CONTACT_5":"diggygomez239@gmail.com","EXTERNALID":""} [Monday 5th of October 2026 12:28:28 PM] add_customer() - END - Customer ID: AP612 [Monday 5th of October 2026 01:53:05 PM] add_customer() - START - Customer ID: 613 | Name: Michael Bare [Monday 5th of October 2026 01:53:05 PM] add_customer() - Customer payload: {"id":613,"email":"jkechejian147@gmail.com","address_1":"1122 S 2nd St","address_2":"","city":"Greenville","state":"IL","country":"USA","zip":"62246","f_name":"Michael","l_name":"Bare","contact_5":"jkechejian147@gmail.com","contact_1":"6185145472","contact_4":"Michael Bare"} [Monday 5th of October 2026 01:53:05 PM] add_customer() - Customer fields parsed - ID: AP613 | Address: 1122 S 2nd St, Greenville, IL 62246 | Email: jkechejian147@gmail.com [Monday 5th of October 2026 01:53:05 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 5th of October 2026 01:53:05 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","CITY":"Greenville","CONTACT_5":"jkechejian147@gmail.com","CONTACT_1":"6185145472","CONTACT_4":"Michael Bare","COUNTRY":"USA","F_NAME":"Michael","ID":"AP613","L_NAME":"Bare","STATE":"IL","ZIP":"62246"} [Monday 5th of October 2026 01:53:07 PM] add_customer() - EBMS API call successful for Customer ID: AP613 [Monday 5th of October 2026 01:53:07 PM] add_customer() - Customer created successfully in EBMS - ID: AP613 - Response: {"@odata.context":"http:\/\/localhost:62286\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4d384b55-4842-5553-4545-523632303030","AUTOID":"UK8MBHSUEER62000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Michael Bare","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Greenville","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-05T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jkechejian147@gmail.com","EMAIL_LIST":false,"F_NAME":"Michael","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP613","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Bare","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Michael Bare)","OUT_CITY":false,"PHONE":"(618) 514-5472","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"IL","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"62246","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(618) 514-5472","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Michael Bare","CONTACT_5":"jkechejian147@gmail.com","EXTERNALID":""} [Monday 5th of October 2026 01:53:07 PM] add_customer() - END - Customer ID: AP613 [Monday 5th of October 2026 01:58:43 PM] ORDER WEBHOOK STARTED - Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] Fetching customer data for Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] get_order_customer_data() - START - Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2332 [Monday 5th of October 2026 01:58:43 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] get_order_customer_data() - Parsing order response for Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] get_order_customer_data() - Customer object built - Customer ID: 613 | Name: Michael Bare | Email: jkechejian147@gmail.com | Total: 177.0600 | Shipping: 27.30 [Monday 5th of October 2026 01:58:43 PM] get_order_customer_data() - END - Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] Customer data received: {"id":613,"email":"jkechejian147@gmail.com","address_1":"1122 S 2nd St","address_2":"","city":"Greenville","state":"IL","country":"USA","zip":"62246","f_name":"Michael","l_name":"Bare","contact_5":"jkechejian147@gmail.com","contact_1":"6185145472","contact_4":"Michael Bare"} [Monday 5th of October 2026 01:58:43 PM] Fetching shipping info for Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] get_order_shipping_info() - START - Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2332/shipping_addresses [Monday 5th of October 2026 01:58:43 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2332 | Name: Michael Bare | Address: 1122 S 2nd St, Greenville, Illinois, 62246 [Monday 5th of October 2026 01:58:43 PM] get_order_shipping_info() - END - Order ID: 2332 [Monday 5th of October 2026 01:58:43 PM] Shipping info received: {"id":2231,"order_id":2332,"first_name":"Michael","last_name":"Bare","company":"","street_1":"1122 S 2nd St","street_2":"","city":"Greenville","zip":"62246","country":"United States","country_iso2":"US","state":"Illinois","email":"jkechejian147@gmail.com","phone":"6185145472","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"27.3000","cost_ex_tax":"27.3000","cost_inc_tax":"27.3000","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2332\/shipping_addresses\/2231\/shipping_quotes","resource":"\/orders\/2332\/shipping_addresses\/2231\/shipping_quotes"},"form_fields":[]} [Monday 5th of October 2026 01:58:43 PM] Resolved Customer ID: AP613 [Monday 5th of October 2026 01:58:43 PM] Building order object for Invoice: AP2332 [Monday 5th of October 2026 01:58:43 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2332","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","C_ADDRESS1":"1122 S 2nd St","C_ADDRESS2":"","C_CITY":"Greenville","C_COUNTRY":"USA","C_EMAIL":"jkechejian147@gmail.com","C_NAME":"Michael Bare","C_STATE":"IL","C_ZIP":"62246","ShippingAmount":"27.30","CITY":"Greenville","EMAIL":"jkechejian147@gmail.com","ID":"AP613","NAME":"Michael Bare","STATE":"IL","COUNTRY":"USA","ZIP":"62246","MEMO":"","DESCR":"BigCommerce Order - AP2332 - Customer AP613"} [Monday 5th of October 2026 01:58:43 PM] Registered customer detected - checking EBMS for Customer ID: AP613 [Monday 5th of October 2026 01:58:43 PM] check_for_customer() - START - Customer ID: 613 [Monday 5th of October 2026 01:58:43 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP613%27 [Monday 5th of October 2026 01:58:44 PM] check_for_customer() - EBMS API call successful for Customer ID: 613 [Monday 5th of October 2026 01:58:44 PM] check_for_customer() - Customer ID: 613 found in EBMS [Monday 5th of October 2026 01:58:44 PM] check_for_customer() - END - Customer ID: 613 | Found: true [Monday 5th of October 2026 01:58:44 PM] Customer AP613 found in EBMS [Monday 5th of October 2026 01:58:44 PM] check_for_empty_info() - START - Customer ID: 613 [Monday 5th of October 2026 01:58:44 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP613%27 [Monday 5th of October 2026 01:58:44 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 613 [Monday 5th of October 2026 01:58:44 PM] check_for_empty_info() - Customer record found for Customer ID: 613 - Checking ADDRESS1 field [Monday 5th of October 2026 01:58:44 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 613 - No update needed [Monday 5th of October 2026 01:58:44 PM] check_for_empty_info() - END - Customer ID: 613 | Empty Info: false [Monday 5th of October 2026 01:58:44 PM] check_for_empty_pn() - START - Customer ID: AP613 [Monday 5th of October 2026 01:58:44 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP613%27 [Monday 5th of October 2026 01:58:44 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP613 [Monday 5th of October 2026 01:58:44 PM] check_for_empty_pn() - Customer record found for Customer ID: AP613 - Checking CONTACT_1 field [Monday 5th of October 2026 01:58:44 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP613 - Value: (618) 514-5472 - No update needed [Monday 5th of October 2026 01:58:44 PM] check_for_empty_pn() - END - Customer ID: AP613 | Empty PN: false [Monday 5th of October 2026 01:58:44 PM] Fetching products from BigCommerce for Order ID: 2332 [Monday 5th of October 2026 01:58:44 PM] BigCommerce API call successful for Order ID: 2332 [Monday 5th of October 2026 01:58:44 PM] Products received: 1 item(s) [Monday 5th of October 2026 01:58:44 PM] Processing product SKU: LUC10131-4 | Qty: 1 | Price: 138.9900 [Monday 5th of October 2026 01:58:44 PM] get_mpn() - START - Product ID: 66489 [Monday 5th of October 2026 01:58:44 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Monday 5th of October 2026 01:58:45 PM] get_mpn() - BigCommerce API call successful for Product ID: 66489 [Monday 5th of October 2026 01:58:45 PM] get_mpn() - WARNING - MPN is empty for Product ID: 66489 [Monday 5th of October 2026 01:58:45 PM] get_mpn() - END - Product ID: 66489 | MPN: [Monday 5th of October 2026 01:58:45 PM] check_for_ebms_product() - START - SKU: LUC10131-4 [Monday 5th of October 2026 01:58:45 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10131-4%27 [Monday 5th of October 2026 01:58:45 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10131-4 [Monday 5th of October 2026 01:58:45 PM] check_for_ebms_product() - SKU: LUC10131-4 found in EBMS [Monday 5th of October 2026 01:58:45 PM] check_for_ebms_product() - END - SKU: LUC10131-4 | Found: true [Monday 5th of October 2026 01:58:45 PM] SKU LUC10131-4 found in EBMS - checking prices [Monday 5th of October 2026 01:58:45 PM] obtain_current_prices() - START - SKU: LUC10131-4 [Monday 5th of October 2026 01:58:45 PM] obtain_current_prices() - Checking Motorstate for SKU: LUC10131-4 [Monday 5th of October 2026 01:58:45 PM] check_for_ms_product() - START - SKU: LUC10131-4 [Monday 5th of October 2026 01:58:45 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Monday 5th of October 2026 01:58:46 PM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10131-4 [Monday 5th of October 2026 01:58:46 PM] check_for_ms_product() - SKU: LUC10131-4 found in Motorstate [Monday 5th of October 2026 01:58:46 PM] check_for_ms_product() - END - SKU: LUC10131-4 | Found: true [Monday 5th of October 2026 01:58:46 PM] obtain_current_prices() - SKU: LUC10131-4 found in Motorstate - Fetching prices [Monday 5th of October 2026 01:58:46 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10131-4 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Monday 5th of October 2026 01:58:46 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Monday 5th of October 2026 01:58:46 PM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Monday 5th of October 2026 01:58:46 PM] obtain_current_prices() - END - SKU: LUC10131-4 [Monday 5th of October 2026 01:58:46 PM] SKU LUC10131-4 has existing EBMS prices - syncing BigCommerce price back (cost: 117.99, base: 138.99) [Monday 5th of October 2026 01:58:46 PM] update_product_price() - START - Product ID: 66489 | Base: 138.99 | Cost: 117.99 [Monday 5th of October 2026 01:58:46 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Monday 5th of October 2026 01:58:46 PM] update_product_price() - PUT payload: {"price":138.990000000000009094947017729282379150390625,"cost_price":117.9899999999999948840923025272786617279052734375} [Monday 5th of October 2026 01:58:46 PM] update_product_price() - Attempt 1 of 6 for Product ID: 66489 [Monday 5th of October 2026 01:58:46 PM] update_product_price() - Price updated successfully for Product ID: 66489 - Base: 138.99 | Cost: 117.99 [Monday 5th of October 2026 01:58:46 PM] update_product_price() - END - Product ID: 66489 | Result: success [Monday 5th of October 2026 01:58:46 PM] BigCommerce price updated for Product ID: 66489 [Monday 5th of October 2026 01:58:46 PM] get_product_inventory() - START - SKU: LUC10131-4 [Monday 5th of October 2026 01:58:46 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Monday 5th of October 2026 01:58:46 PM] get_product_inventory() - Motorstate API call successful for SKU: LUC10131-4 [Monday 5th of October 2026 01:58:46 PM] get_product_inventory() - Stock found for SKU: LUC10131-4 - Quantity: 100 | Running Total: 100 [Monday 5th of October 2026 01:58:46 PM] get_product_inventory() - END - SKU: LUC10131-4 | Total: 100 [Monday 5th of October 2026 01:58:46 PM] get_cf_id() - START - Product ID: 66489 [Monday 5th of October 2026 01:58:46 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields [Monday 5th of October 2026 01:58:46 PM] get_cf_id() - BigCommerce API call successful for Product ID: 66489 [Monday 5th of October 2026 01:58:46 PM] get_cf_id() - Custom field found for Product ID: 66489 | Field: online_stock_level | CF ID: 66379 [Monday 5th of October 2026 01:58:46 PM] get_cf_id() - END - Product ID: 66489 | CF ID: 66379 [Monday 5th of October 2026 01:58:46 PM] Updating inventory for SKU LUC10131-4 - stock: 100, CF ID: 66379 [Monday 5th of October 2026 01:58:46 PM] update_product_inventory() - START - Product ID: 66489 | Stock: 100 | CF ID: 66379 [Monday 5th of October 2026 01:58:46 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields/66379 [Monday 5th of October 2026 01:58:46 PM] update_product_inventory() - Inventory updated successfully for Product ID: 66489 | Stock: 100 [Monday 5th of October 2026 01:58:46 PM] update_product_inventory() - END - Product ID: 66489 | Result: success [Monday 5th of October 2026 01:58:46 PM] Inventory updated for SKU: LUC10131-4 [Monday 5th of October 2026 01:58:46 PM] All products processed - Order details: [{"ID":"AP613","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}] [Monday 5th of October 2026 01:58:46 PM] Building payment record - Total: 177.0600 [Monday 5th of October 2026 01:58:46 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2332","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","C_ADDRESS1":"1122 S 2nd St","C_ADDRESS2":"","C_CITY":"Greenville","C_COUNTRY":"USA","C_EMAIL":"jkechejian147@gmail.com","C_NAME":"Michael Bare","C_STATE":"IL","C_ZIP":"62246","ShippingAmount":"27.30","CITY":"Greenville","EMAIL":"jkechejian147@gmail.com","ID":"AP613","NAME":"Michael Bare","STATE":"IL","COUNTRY":"USA","ZIP":"62246","MEMO":"","DESCR":"BigCommerce Order - AP2332 - Customer AP613","Details":[{"ID":"AP613","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"177.06","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 5th of October 2026 01:58:46 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2332 [Monday 5th of October 2026 01:58:46 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2332%27 [Monday 5th of October 2026 01:58:47 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2332 [Monday 5th of October 2026 01:58:47 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2332 not found in EBMS [Monday 5th of October 2026 01:58:47 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2332 | Found: false [Monday 5th of October 2026 01:58:47 PM] Invoice AP2332 does not exist in EBMS - creating [Monday 5th of October 2026 01:58:47 PM] create_ebms_invoice() - START - Invoice: AP2332 [Monday 5th of October 2026 01:58:47 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2332","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","C_ADDRESS1":"1122 S 2nd St","C_ADDRESS2":"","C_CITY":"Greenville","C_COUNTRY":"USA","C_EMAIL":"jkechejian147@gmail.com","C_NAME":"Michael Bare","C_STATE":"IL","C_ZIP":"62246","ShippingAmount":"27.30","CITY":"Greenville","EMAIL":"jkechejian147@gmail.com","ID":"AP613","NAME":"Michael Bare","STATE":"IL","COUNTRY":"USA","ZIP":"62246","MEMO":"","DESCR":"BigCommerce Order - AP2332 - Customer AP613","Details":[{"ID":"AP613","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"177.06","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 5th of October 2026 01:58:47 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 5th of October 2026 01:58:54 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2332 [Monday 5th of October 2026 01:58:54 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2332 - Response: {"@odata.context":"http:\/\/localhost:62286\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"43363656-4c52-3249-4645-523632303030","AUTOID":"V66CRLI2FER62000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-149.759999999999990905052982270717620849609375,"BAL_CUST_X":-149.759999999999990905052982270717620849609375,"BALANCE":-149.759999999999990905052982270717620849609375,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":10.769999999999999573674358543939888477325439453125,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":177.06000000000000227373675443232059478759765625,"TOTAL_S_SO":138.990000000000009094947017729282379150390625,"TOTAL_SO":177.06000000000000227373675443232059478759765625,"TOTAL_W":0,"TTLPROCPMT":177.06000000000000227373675443232059478759765625,"TOTAL":27.300000000000000710542735760100185871124267578125,"FREIGHT":27.300000000000000710542735760100185871124267578125,"HANDLING":0,"SHIPPING":27.300000000000000710542735760100185871124267578125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","C_EMAIL":"jkechejian147@gmail.com","C_PHONE":"(618) 514-5472","CCNTCT_AID":"6J7QA7QCRBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-05T00:00:00Z","CHECK_NO":" APBC","CITY":"Greenville","CNTCT_AID":"6J7QA7QCRBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-05T00:00:00Z","E_DATE":"2026-10-05T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jkechejian147@gmail.com","IADDRESS":"1122 S 2nd St , Greenville, IL 62246","ID":"AP613","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-05T00:00:00Z","INVOICE":"AP2332","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Michael Bare","PHONE":"","PROCESS":"Default","STATE":"IL","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"62246","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1122 S 2nd St","C_ADDRESS2":"","C_CITY":"Greenville","C_COUNTRY":"USA","C_ID":"AP613","C_NAME":"Michael Bare","C_STATE":"IL","C_ZIP":"62246","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2332 - Customer AP613","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-05T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 5th of October 2026 01:58:54 PM] create_ebms_invoice() - END - Invoice: AP2332 [Monday 5th of October 2026 01:58:54 PM] Invoice AP2332 created successfully [Monday 5th of October 2026 01:58:54 PM] ORDER WEBHOOK COMPLETED - Order ID: 2332 | Invoice: AP2332 [Monday 5th of October 2026 01:59:53 PM] ORDER WEBHOOK STARTED - Order ID: 2332 [Monday 5th of October 2026 01:59:53 PM] Fetching customer data for Order ID: 2332 [Monday 5th of October 2026 01:59:53 PM] get_order_customer_data() - START - Order ID: 2332 [Monday 5th of October 2026 01:59:53 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2332 [Monday 5th of October 2026 01:59:53 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2332 [Monday 5th of October 2026 01:59:53 PM] get_order_customer_data() - Parsing order response for Order ID: 2332 [Monday 5th of October 2026 01:59:53 PM] get_order_customer_data() - Customer object built - Customer ID: 613 | Name: Michael Bare | Email: jkechejian147@gmail.com | Total: 177.0600 | Shipping: 27.30 [Monday 5th of October 2026 01:59:53 PM] get_order_customer_data() - END - Order ID: 2332 [Monday 5th of October 2026 01:59:53 PM] Customer data received: {"id":613,"email":"jkechejian147@gmail.com","address_1":"1122 S 2nd St","address_2":"","city":"Greenville","state":"IL","country":"USA","zip":"62246","f_name":"Michael","l_name":"Bare","contact_5":"jkechejian147@gmail.com","contact_1":"6185145472","contact_4":"Michael Bare"} [Monday 5th of October 2026 01:59:53 PM] Fetching shipping info for Order ID: 2332 [Monday 5th of October 2026 01:59:53 PM] get_order_shipping_info() - START - Order ID: 2332 [Monday 5th of October 2026 01:59:53 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2332/shipping_addresses [Monday 5th of October 2026 01:59:54 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2332 [Monday 5th of October 2026 01:59:54 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2332 | Name: Michael Bare | Address: 1122 S 2nd St, Greenville, Illinois, 62246 [Monday 5th of October 2026 01:59:54 PM] get_order_shipping_info() - END - Order ID: 2332 [Monday 5th of October 2026 01:59:54 PM] Shipping info received: {"id":2231,"order_id":2332,"first_name":"Michael","last_name":"Bare","company":"","street_1":"1122 S 2nd St","street_2":"","city":"Greenville","zip":"62246","country":"United States","country_iso2":"US","state":"Illinois","email":"jkechejian147@gmail.com","phone":"6185145472","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"27.3000","cost_ex_tax":"27.3000","cost_inc_tax":"27.3000","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2332\/shipping_addresses\/2231\/shipping_quotes","resource":"\/orders\/2332\/shipping_addresses\/2231\/shipping_quotes"},"form_fields":[]} [Monday 5th of October 2026 01:59:54 PM] Resolved Customer ID: AP613 [Monday 5th of October 2026 01:59:54 PM] Building order object for Invoice: AP2332 [Monday 5th of October 2026 01:59:54 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2332","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","C_ADDRESS1":"1122 S 2nd St","C_ADDRESS2":"","C_CITY":"Greenville","C_COUNTRY":"USA","C_EMAIL":"jkechejian147@gmail.com","C_NAME":"Michael Bare","C_STATE":"IL","C_ZIP":"62246","ShippingAmount":"27.30","CITY":"Greenville","EMAIL":"jkechejian147@gmail.com","ID":"AP613","NAME":"Michael Bare","STATE":"IL","COUNTRY":"USA","ZIP":"62246","MEMO":"","DESCR":"BigCommerce Order - AP2332 - Customer AP613"} [Monday 5th of October 2026 01:59:54 PM] Registered customer detected - checking EBMS for Customer ID: AP613 [Monday 5th of October 2026 01:59:54 PM] check_for_customer() - START - Customer ID: 613 [Monday 5th of October 2026 01:59:54 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP613%27 [Monday 5th of October 2026 01:59:54 PM] check_for_customer() - EBMS API call successful for Customer ID: 613 [Monday 5th of October 2026 01:59:54 PM] check_for_customer() - Customer ID: 613 found in EBMS [Monday 5th of October 2026 01:59:54 PM] check_for_customer() - END - Customer ID: 613 | Found: true [Monday 5th of October 2026 01:59:54 PM] Customer AP613 found in EBMS [Monday 5th of October 2026 01:59:54 PM] check_for_empty_info() - START - Customer ID: 613 [Monday 5th of October 2026 01:59:54 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP613%27 [Monday 5th of October 2026 01:59:54 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 613 [Monday 5th of October 2026 01:59:54 PM] check_for_empty_info() - Customer record found for Customer ID: 613 - Checking ADDRESS1 field [Monday 5th of October 2026 01:59:54 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 613 - No update needed [Monday 5th of October 2026 01:59:54 PM] check_for_empty_info() - END - Customer ID: 613 | Empty Info: false [Monday 5th of October 2026 01:59:54 PM] check_for_empty_pn() - START - Customer ID: AP613 [Monday 5th of October 2026 01:59:54 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP613%27 [Monday 5th of October 2026 01:59:54 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP613 [Monday 5th of October 2026 01:59:54 PM] check_for_empty_pn() - Customer record found for Customer ID: AP613 - Checking CONTACT_1 field [Monday 5th of October 2026 01:59:54 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP613 - Value: (618) 514-5472 - No update needed [Monday 5th of October 2026 01:59:54 PM] check_for_empty_pn() - END - Customer ID: AP613 | Empty PN: false [Monday 5th of October 2026 01:59:54 PM] Fetching products from BigCommerce for Order ID: 2332 [Monday 5th of October 2026 01:59:55 PM] BigCommerce API call successful for Order ID: 2332 [Monday 5th of October 2026 01:59:55 PM] Products received: 1 item(s) [Monday 5th of October 2026 01:59:55 PM] Processing product SKU: LUC10131-4 | Qty: 1 | Price: 138.9900 [Monday 5th of October 2026 01:59:55 PM] get_mpn() - START - Product ID: 66489 [Monday 5th of October 2026 01:59:55 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Monday 5th of October 2026 01:59:55 PM] get_mpn() - BigCommerce API call successful for Product ID: 66489 [Monday 5th of October 2026 01:59:55 PM] get_mpn() - WARNING - MPN is empty for Product ID: 66489 [Monday 5th of October 2026 01:59:55 PM] get_mpn() - END - Product ID: 66489 | MPN: [Monday 5th of October 2026 01:59:55 PM] check_for_ebms_product() - START - SKU: LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10131-4%27 [Monday 5th of October 2026 01:59:55 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] check_for_ebms_product() - SKU: LUC10131-4 found in EBMS [Monday 5th of October 2026 01:59:55 PM] check_for_ebms_product() - END - SKU: LUC10131-4 | Found: true [Monday 5th of October 2026 01:59:55 PM] SKU LUC10131-4 found in EBMS - checking prices [Monday 5th of October 2026 01:59:55 PM] obtain_current_prices() - START - SKU: LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] obtain_current_prices() - Checking Motorstate for SKU: LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] check_for_ms_product() - START - SKU: LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] check_for_ms_product() - SKU: LUC10131-4 found in Motorstate [Monday 5th of October 2026 01:59:55 PM] check_for_ms_product() - END - SKU: LUC10131-4 | Found: true [Monday 5th of October 2026 01:59:55 PM] obtain_current_prices() - SKU: LUC10131-4 found in Motorstate - Fetching prices [Monday 5th of October 2026 01:59:55 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10131-4 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Monday 5th of October 2026 01:59:55 PM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Monday 5th of October 2026 01:59:55 PM] obtain_current_prices() - END - SKU: LUC10131-4 [Monday 5th of October 2026 01:59:55 PM] SKU LUC10131-4 has existing EBMS prices - syncing BigCommerce price back (cost: 117.99, base: 138.99) [Monday 5th of October 2026 01:59:55 PM] update_product_price() - START - Product ID: 66489 | Base: 138.99 | Cost: 117.99 [Monday 5th of October 2026 01:59:55 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Monday 5th of October 2026 01:59:55 PM] update_product_price() - PUT payload: {"price":138.990000000000009094947017729282379150390625,"cost_price":117.9899999999999948840923025272786617279052734375} [Monday 5th of October 2026 01:59:55 PM] update_product_price() - Attempt 1 of 6 for Product ID: 66489 [Monday 5th of October 2026 01:59:56 PM] update_product_price() - Price updated successfully for Product ID: 66489 - Base: 138.99 | Cost: 117.99 [Monday 5th of October 2026 01:59:56 PM] update_product_price() - END - Product ID: 66489 | Result: success [Monday 5th of October 2026 01:59:56 PM] BigCommerce price updated for Product ID: 66489 [Monday 5th of October 2026 01:59:56 PM] get_product_inventory() - START - SKU: LUC10131-4 [Monday 5th of October 2026 01:59:56 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Monday 5th of October 2026 01:59:56 PM] get_product_inventory() - Motorstate API call successful for SKU: LUC10131-4 [Monday 5th of October 2026 01:59:56 PM] get_product_inventory() - Stock found for SKU: LUC10131-4 - Quantity: 100 | Running Total: 100 [Monday 5th of October 2026 01:59:56 PM] get_product_inventory() - END - SKU: LUC10131-4 | Total: 100 [Monday 5th of October 2026 01:59:56 PM] get_cf_id() - START - Product ID: 66489 [Monday 5th of October 2026 01:59:56 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields [Monday 5th of October 2026 01:59:56 PM] get_cf_id() - BigCommerce API call successful for Product ID: 66489 [Monday 5th of October 2026 01:59:56 PM] get_cf_id() - Custom field found for Product ID: 66489 | Field: online_stock_level | CF ID: 66379 [Monday 5th of October 2026 01:59:56 PM] get_cf_id() - END - Product ID: 66489 | CF ID: 66379 [Monday 5th of October 2026 01:59:56 PM] Updating inventory for SKU LUC10131-4 - stock: 100, CF ID: 66379 [Monday 5th of October 2026 01:59:56 PM] update_product_inventory() - START - Product ID: 66489 | Stock: 100 | CF ID: 66379 [Monday 5th of October 2026 01:59:56 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields/66379 [Monday 5th of October 2026 01:59:56 PM] update_product_inventory() - Inventory updated successfully for Product ID: 66489 | Stock: 100 [Monday 5th of October 2026 01:59:56 PM] update_product_inventory() - END - Product ID: 66489 | Result: success [Monday 5th of October 2026 01:59:56 PM] Inventory updated for SKU: LUC10131-4 [Monday 5th of October 2026 01:59:56 PM] All products processed - Order details: [{"ID":"AP613","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}] [Monday 5th of October 2026 01:59:56 PM] Building payment record - Total: 177.0600 [Monday 5th of October 2026 01:59:56 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2332","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","C_ADDRESS1":"1122 S 2nd St","C_ADDRESS2":"","C_CITY":"Greenville","C_COUNTRY":"USA","C_EMAIL":"jkechejian147@gmail.com","C_NAME":"Michael Bare","C_STATE":"IL","C_ZIP":"62246","ShippingAmount":"27.30","CITY":"Greenville","EMAIL":"jkechejian147@gmail.com","ID":"AP613","NAME":"Michael Bare","STATE":"IL","COUNTRY":"USA","ZIP":"62246","MEMO":"","DESCR":"BigCommerce Order - AP2332 - Customer AP613","Details":[{"ID":"AP613","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"177.06","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 5th of October 2026 01:59:56 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2332 [Monday 5th of October 2026 01:59:56 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2332%27 [Monday 5th of October 2026 01:59:57 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2332 [Monday 5th of October 2026 01:59:57 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2332 found in EBMS [Monday 5th of October 2026 01:59:57 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2332 | Found: true [Monday 5th of October 2026 01:59:57 PM] Invoice AP2332 already exists in EBMS - patching [Monday 5th of October 2026 01:59:57 PM] patch_ebms_invoice() - START - Invoice: AP2332 [Monday 5th of October 2026 01:59:57 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2332","ADDRESS1":"1122 S 2nd St","ADDRESS2":"","C_ADDRESS1":"1122 S 2nd St","C_ADDRESS2":"","C_CITY":"Greenville","C_COUNTRY":"USA","C_EMAIL":"jkechejian147@gmail.com","C_NAME":"Michael Bare","C_STATE":"IL","C_ZIP":"62246","ShippingAmount":"27.30","CITY":"Greenville","EMAIL":"jkechejian147@gmail.com","ID":"AP613","NAME":"Michael Bare","STATE":"IL","COUNTRY":"USA","ZIP":"62246","MEMO":"","DESCR":"BigCommerce Order - AP2332 - Customer AP613","Details":[{"ID":"AP613","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"177.06","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 5th of October 2026 01:59:57 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2332%27 [Monday 5th of October 2026 01:59:57 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2332 [Monday 5th of October 2026 01:59:57 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2332 [Monday 5th of October 2026 01:59:57 PM] patch_ebms_invoice() - END - Invoice: AP2332 [Monday 5th of October 2026 01:59:57 PM] Invoice AP2332 patched successfully [Monday 5th of October 2026 01:59:57 PM] ORDER WEBHOOK COMPLETED - Order ID: 2332 | Invoice: AP2332