[Wednesday 9th of September 2026 02:12:58 AM] add_customer() - START - Customer ID: 556 | Name: Peter Grant [Wednesday 9th of September 2026 02:12:58 AM] add_customer() - Customer payload: {"id":556,"email":"jesdilling@comcast.net","address_1":"1707 Cedar Point Rd","address_2":"","city":"Sandusky","state":"OH","country":"USA","zip":"44870","f_name":"Peter","l_name":"Grant","contact_5":"jesdilling@comcast.net","contact_1":"3193668310","contact_4":"Peter Grant"} [Wednesday 9th of September 2026 02:12:58 AM] add_customer() - Customer fields parsed - ID: AP556 | Address: 1707 Cedar Point Rd, Sandusky, OH 44870 | Email: jesdilling@comcast.net [Wednesday 9th of September 2026 02:12:58 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 9th of September 2026 02:12:58 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","CITY":"Sandusky","CONTACT_5":"jesdilling@comcast.net","CONTACT_1":"3193668310","CONTACT_4":"Peter Grant","COUNTRY":"USA","F_NAME":"Peter","ID":"AP556","L_NAME":"Grant","STATE":"OH","ZIP":"44870"} [Wednesday 9th of September 2026 02:13:03 AM] add_customer() - EBMS API call successful for Customer ID: AP556 [Wednesday 9th of September 2026 02:13:03 AM] add_customer() - Customer created successfully in EBMS - ID: AP556 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4d49454e-3447-5041-5553-474f43303030","AUTOID":"NEIMG4APUSGOC000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Peter Grant","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Sandusky","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jesdilling@comcast.net","EMAIL_LIST":false,"F_NAME":"Peter","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP556","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Grant","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Peter Grant)","OUT_CITY":false,"PHONE":"(319) 366-8310","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"OH","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"44870","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(319) 366-8310","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Peter Grant","CONTACT_5":"jesdilling@comcast.net","EXTERNALID":""} [Wednesday 9th of September 2026 02:13:03 AM] add_customer() - END - Customer ID: AP556 [Wednesday 9th of September 2026 02:17:21 AM] ORDER WEBHOOK STARTED - Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] Fetching customer data for Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] get_order_customer_data() - START - Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2239 [Wednesday 9th of September 2026 02:17:21 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] get_order_customer_data() - Parsing order response for Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] get_order_customer_data() - Customer object built - Customer ID: 556 | Name: Peter Grant | Email: jesdilling@comcast.net | Total: 156.1800 | Shipping: 37.31 [Wednesday 9th of September 2026 02:17:21 AM] get_order_customer_data() - END - Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] Customer data received: {"id":556,"email":"jesdilling@comcast.net","address_1":"1707 Cedar Point Rd","address_2":"","city":"Sandusky","state":"OH","country":"USA","zip":"44870","f_name":"Peter","l_name":"Grant","contact_5":"jesdilling@comcast.net","contact_1":"3193668310","contact_4":"Peter Grant"} [Wednesday 9th of September 2026 02:17:21 AM] Fetching shipping info for Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] get_order_shipping_info() - START - Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2239/shipping_addresses [Wednesday 9th of September 2026 02:17:21 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2239 | Name: Peter Grant | Address: 1707 Cedar Point Rd, Sandusky, Ohio, 44870 [Wednesday 9th of September 2026 02:17:21 AM] get_order_shipping_info() - END - Order ID: 2239 [Wednesday 9th of September 2026 02:17:21 AM] Shipping info received: {"id":2138,"order_id":2239,"first_name":"Peter","last_name":"Grant","company":"","street_1":"1707 Cedar Point Rd","street_2":"","city":"Sandusky","zip":"44870","country":"United States","country_iso2":"US","state":"Ohio","email":"jesdilling@comcast.net","phone":"3193668310","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"37.3100","cost_ex_tax":"37.3100","cost_inc_tax":"39.8284","cost_tax":"2.5184","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\/2239\/shipping_addresses\/2138\/shipping_quotes","resource":"\/orders\/2239\/shipping_addresses\/2138\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 02:17:21 AM] Resolved Customer ID: AP556 [Wednesday 9th of September 2026 02:17:21 AM] Building order object for Invoice: AP2239 [Wednesday 9th of September 2026 02:17:21 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2239","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","C_ADDRESS1":"1707 Cedar Point Rd","C_ADDRESS2":"","C_CITY":"Sandusky","C_COUNTRY":"USA","C_EMAIL":"jesdilling@comcast.net","C_NAME":"Peter Grant","C_STATE":"OH","C_ZIP":"44870","ShippingAmount":"37.31","CITY":"Sandusky","EMAIL":"jesdilling@comcast.net","ID":"AP556","NAME":"Peter Grant","STATE":"OH","COUNTRY":"USA","ZIP":"44870","MEMO":"","DESCR":"BigCommerce Order - AP2239 - Customer AP556"} [Wednesday 9th of September 2026 02:17:21 AM] Registered customer detected - checking EBMS for Customer ID: AP556 [Wednesday 9th of September 2026 02:17:21 AM] check_for_customer() - START - Customer ID: 556 [Wednesday 9th of September 2026 02:17:21 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP556%27 [Wednesday 9th of September 2026 02:17:22 AM] check_for_customer() - EBMS API call successful for Customer ID: 556 [Wednesday 9th of September 2026 02:17:22 AM] check_for_customer() - Customer ID: 556 found in EBMS [Wednesday 9th of September 2026 02:17:22 AM] check_for_customer() - END - Customer ID: 556 | Found: true [Wednesday 9th of September 2026 02:17:22 AM] Customer AP556 found in EBMS [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_info() - START - Customer ID: 556 [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP556%27 [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 556 [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_info() - Customer record found for Customer ID: 556 - Checking ADDRESS1 field [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 556 - No update needed [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_info() - END - Customer ID: 556 | Empty Info: false [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_pn() - START - Customer ID: AP556 [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP556%27 [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP556 [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_pn() - Customer record found for Customer ID: AP556 - Checking CONTACT_1 field [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP556 - Value: (319) 366-8310 - No update needed [Wednesday 9th of September 2026 02:17:22 AM] check_for_empty_pn() - END - Customer ID: AP556 | Empty PN: false [Wednesday 9th of September 2026 02:17:22 AM] Fetching products from BigCommerce for Order ID: 2239 [Wednesday 9th of September 2026 02:17:22 AM] BigCommerce API call successful for Order ID: 2239 [Wednesday 9th of September 2026 02:17:22 AM] Products received: 1 item(s) [Wednesday 9th of September 2026 02:17:22 AM] Processing product SKU: LUC18003 | Qty: 1 | Price: 108.9900 [Wednesday 9th of September 2026 02:17:22 AM] get_mpn() - START - Product ID: 65937 [Wednesday 9th of September 2026 02:17:22 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937 [Wednesday 9th of September 2026 02:17:23 AM] get_mpn() - BigCommerce API call successful for Product ID: 65937 [Wednesday 9th of September 2026 02:17:23 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65937 [Wednesday 9th of September 2026 02:17:23 AM] get_mpn() - END - Product ID: 65937 | MPN: [Wednesday 9th of September 2026 02:17:23 AM] check_for_ebms_product() - START - SKU: LUC18003 [Wednesday 9th of September 2026 02:17:23 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC18003%27 [Wednesday 9th of September 2026 02:17:23 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC18003 [Wednesday 9th of September 2026 02:17:23 AM] check_for_ebms_product() - SKU: LUC18003 not found in EBMS [Wednesday 9th of September 2026 02:17:23 AM] check_for_ebms_product() - END - SKU: LUC18003 | Found: false [Wednesday 9th of September 2026 02:17:23 AM] SKU LUC18003 not found in EBMS - creating new part [Wednesday 9th of September 2026 02:17:23 AM] get_product_desc() - START - Product ID: 65937 [Wednesday 9th of September 2026 02:17:23 AM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937 [Wednesday 9th of September 2026 02:17:23 AM] get_product_desc() - BigCommerce API call successful for Product ID: 65937 [Wednesday 9th of September 2026 02:17:23 AM] get_product_desc() - Description retrieved for Product ID: 65937 - Description: Motor Oil - Fuel Saving - 0W20 - Synthetic - 6 gal Box - Each [Wednesday 9th of September 2026 02:17:23 AM] get_product_desc() - END - Product ID: 65937 [Wednesday 9th of September 2026 02:17:23 AM] get_ms_product() - START - SKU: LUC18003 [Wednesday 9th of September 2026 02:17:23 AM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC18003 [Wednesday 9th of September 2026 02:17:23 AM] get_ms_product() - Motorstate API call successful for SKU: LUC18003 [Wednesday 9th of September 2026 02:17:23 AM] get_ms_product() - Product data retrieved from Motorstate for SKU: LUC18003 - Response: [{"Found":true,"PartNumber":"LUC18003","Product":{"PartNumber":"luc18003","VendorPartNumber":"18003","Status":1,"IsStocking":true,"ShortDescription":"Synthetic SAE 0W20 Oil 6 Gallon Bag In Box Dexos","Quantity":2,"CustomerPrice":104.9898510,"CustomerPriceNonPromotional":104.9898510,"BasePrice":122.05,"ListPrice":108.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":false,"CanDropShip":false,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Wednesday 9th of September 2026 02:17:23 AM] get_ms_product() - END - SKU: LUC18003 [Wednesday 9th of September 2026 02:17:23 AM] MS pricing found for SKU LUC18003 - base: 108.99, cost: 104.989851 [Wednesday 9th of September 2026 02:17:23 AM] create_new_part() - START - SKU: LUC18003 | Base: 108.99 | Cost: 104.99 | Weight: 45.9000 | MPN: [Wednesday 9th of September 2026 02:17:23 AM] create_new_part() - Description parsed - DESCR_1: Motor Oil - Fuel Saving - 0W20 - Synthetic - 6 gal Box - Each | DESCR_2: [Wednesday 9th of September 2026 02:17:23 AM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Wednesday 9th of September 2026 02:17:23 AM] create_new_part() - POST payload: {"ID":"LUC18003","DESCR_1":"Motor Oil - Fuel Saving - 0W20 - Synthetic - 6 gal Box - Each","DESCR_2":"","DESCR_3":"Motor Oil - Fuel Saving - 0W20 - Synthetic - 6 gal Box - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"104.99","BASE":"108.99","WEIGHT":"45.9000","MFG_PART":"","TREE_ID":"603"} [Wednesday 9th of September 2026 02:17:25 AM] create_new_part() - EBMS API call successful for SKU: LUC18003 [Wednesday 9th of September 2026 02:17:25 AM] create_new_part() - Part created successfully in EBMS - SKU: LUC18003 - {"id":"LUC18003","cost":"104.99","base":"108.99","description":"Motor Oil - Fuel Saving - 0W20 - Synthetic - 6 gal Box - Each","tree_id":" 603"} [Wednesday 9th of September 2026 02:17:25 AM] create_new_part() - Sending new part notification email for SKU: LUC18003 [Wednesday 9th of September 2026 02:17:26 AM] create_new_part() - Notification email sent successfully for SKU: LUC18003 [Wednesday 9th of September 2026 02:17:26 AM] create_new_part() - END - SKU: LUC18003 [Wednesday 9th of September 2026 02:17:26 AM] New part created in EBMS for SKU: LUC18003 [Wednesday 9th of September 2026 02:17:26 AM] All products processed - Order details: [{"ID":"AP556","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 02:17:26 AM] Building payment record - Total: 156.1800 [Wednesday 9th of September 2026 02:17:26 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2239","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","C_ADDRESS1":"1707 Cedar Point Rd","C_ADDRESS2":"","C_CITY":"Sandusky","C_COUNTRY":"USA","C_EMAIL":"jesdilling@comcast.net","C_NAME":"Peter Grant","C_STATE":"OH","C_ZIP":"44870","ShippingAmount":"37.31","CITY":"Sandusky","EMAIL":"jesdilling@comcast.net","ID":"AP556","NAME":"Peter Grant","STATE":"OH","COUNTRY":"USA","ZIP":"44870","MEMO":"","DESCR":"BigCommerce Order - AP2239 - Customer AP556","Details":[{"ID":"AP556","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"156.18","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 02:17:26 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2239 [Wednesday 9th of September 2026 02:17:26 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2239%27 [Wednesday 9th of September 2026 02:17:26 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2239 [Wednesday 9th of September 2026 02:17:26 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2239 not found in EBMS [Wednesday 9th of September 2026 02:17:26 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2239 | Found: false [Wednesday 9th of September 2026 02:17:26 AM] Invoice AP2239 does not exist in EBMS - creating [Wednesday 9th of September 2026 02:17:26 AM] create_ebms_invoice() - START - Invoice: AP2239 [Wednesday 9th of September 2026 02:17:26 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2239","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","C_ADDRESS1":"1707 Cedar Point Rd","C_ADDRESS2":"","C_CITY":"Sandusky","C_COUNTRY":"USA","C_EMAIL":"jesdilling@comcast.net","C_NAME":"Peter Grant","C_STATE":"OH","C_ZIP":"44870","ShippingAmount":"37.31","CITY":"Sandusky","EMAIL":"jesdilling@comcast.net","ID":"AP556","NAME":"Peter Grant","STATE":"OH","COUNTRY":"USA","ZIP":"44870","MEMO":"","DESCR":"BigCommerce Order - AP2239 - Customer AP556","Details":[{"ID":"AP556","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"156.18","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 02:17:26 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 9th of September 2026 02:17:34 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2239 [Wednesday 9th of September 2026 02:17:34 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2239 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"394b4150-5545-5335-5553-474f43303030","AUTOID":"PAK9EU5SUSGOC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-116.349999999999994315658113919198513031005859375,"BAL_CUST_X":-116.349999999999994315658113919198513031005859375,"BALANCE":-116.349999999999994315658113919198513031005859375,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":9.8800000000000007815970093361102044582366943359375,"TAX":2.520000000000000017763568394002504646778106689453125,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":156.18000000000000682121026329696178436279296875,"TOTAL_S_SO":108.9899999999999948840923025272786617279052734375,"TOTAL_SO":156.18000000000000682121026329696178436279296875,"TOTAL_W":0,"TTLPROCPMT":156.18000000000000682121026329696178436279296875,"TOTAL":39.8299999999999982946974341757595539093017578125,"FREIGHT":37.31000000000000227373675443232059478759765625,"HANDLING":0,"SHIPPING":37.31000000000000227373675443232059478759765625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","C_EMAIL":"jesdilling@comcast.net","C_PHONE":"(319) 366-8310","CCNTCT_AID":"F94NJF16DBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-09T00:00:00Z","CHECK_NO":" APBC","CITY":"Sandusky","CNTCT_AID":"F94NJF16DBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-09T00:00:00Z","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jesdilling@comcast.net","IADDRESS":"1707 Cedar Point Rd , Sandusky, OH 44870","ID":"AP556","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-09T00:00:00Z","INVOICE":"AP2239","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Peter Grant","PHONE":"","PROCESS":"Default","STATE":"OH","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"44870","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1707 Cedar Point Rd","C_ADDRESS2":"","C_CITY":"Sandusky","C_COUNTRY":"USA","C_ID":"AP556","C_NAME":"Peter Grant","C_STATE":"OH","C_ZIP":"44870","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2239 - Customer AP556","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-09T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 9th of September 2026 02:17:34 AM] create_ebms_invoice() - END - Invoice: AP2239 [Wednesday 9th of September 2026 02:17:34 AM] Invoice AP2239 created successfully [Wednesday 9th of September 2026 02:17:34 AM] ORDER WEBHOOK COMPLETED - Order ID: 2239 | Invoice: AP2239 [Wednesday 9th of September 2026 02:18:31 AM] ORDER WEBHOOK STARTED - Order ID: 2239 [Wednesday 9th of September 2026 02:18:31 AM] Fetching customer data for Order ID: 2239 [Wednesday 9th of September 2026 02:18:31 AM] get_order_customer_data() - START - Order ID: 2239 [Wednesday 9th of September 2026 02:18:31 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2239 [Wednesday 9th of September 2026 02:18:31 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2239 [Wednesday 9th of September 2026 02:18:31 AM] get_order_customer_data() - Parsing order response for Order ID: 2239 [Wednesday 9th of September 2026 02:18:31 AM] get_order_customer_data() - Customer object built - Customer ID: 556 | Name: Peter Grant | Email: jesdilling@comcast.net | Total: 156.1800 | Shipping: 37.31 [Wednesday 9th of September 2026 02:18:31 AM] get_order_customer_data() - END - Order ID: 2239 [Wednesday 9th of September 2026 02:18:31 AM] Customer data received: {"id":556,"email":"jesdilling@comcast.net","address_1":"1707 Cedar Point Rd","address_2":"","city":"Sandusky","state":"OH","country":"USA","zip":"44870","f_name":"Peter","l_name":"Grant","contact_5":"jesdilling@comcast.net","contact_1":"3193668310","contact_4":"Peter Grant"} [Wednesday 9th of September 2026 02:18:31 AM] Fetching shipping info for Order ID: 2239 [Wednesday 9th of September 2026 02:18:31 AM] get_order_shipping_info() - START - Order ID: 2239 [Wednesday 9th of September 2026 02:18:31 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2239/shipping_addresses [Wednesday 9th of September 2026 02:18:32 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2239 [Wednesday 9th of September 2026 02:18:32 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2239 | Name: Peter Grant | Address: 1707 Cedar Point Rd, Sandusky, Ohio, 44870 [Wednesday 9th of September 2026 02:18:32 AM] get_order_shipping_info() - END - Order ID: 2239 [Wednesday 9th of September 2026 02:18:32 AM] Shipping info received: {"id":2138,"order_id":2239,"first_name":"Peter","last_name":"Grant","company":"","street_1":"1707 Cedar Point Rd","street_2":"","city":"Sandusky","zip":"44870","country":"United States","country_iso2":"US","state":"Ohio","email":"jesdilling@comcast.net","phone":"3193668310","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"37.3100","cost_ex_tax":"37.3100","cost_inc_tax":"39.8284","cost_tax":"2.5184","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\/2239\/shipping_addresses\/2138\/shipping_quotes","resource":"\/orders\/2239\/shipping_addresses\/2138\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 02:18:32 AM] Resolved Customer ID: AP556 [Wednesday 9th of September 2026 02:18:32 AM] Building order object for Invoice: AP2239 [Wednesday 9th of September 2026 02:18:32 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2239","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","C_ADDRESS1":"1707 Cedar Point Rd","C_ADDRESS2":"","C_CITY":"Sandusky","C_COUNTRY":"USA","C_EMAIL":"jesdilling@comcast.net","C_NAME":"Peter Grant","C_STATE":"OH","C_ZIP":"44870","ShippingAmount":"37.31","CITY":"Sandusky","EMAIL":"jesdilling@comcast.net","ID":"AP556","NAME":"Peter Grant","STATE":"OH","COUNTRY":"USA","ZIP":"44870","MEMO":"","DESCR":"BigCommerce Order - AP2239 - Customer AP556"} [Wednesday 9th of September 2026 02:18:32 AM] Registered customer detected - checking EBMS for Customer ID: AP556 [Wednesday 9th of September 2026 02:18:32 AM] check_for_customer() - START - Customer ID: 556 [Wednesday 9th of September 2026 02:18:32 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP556%27 [Wednesday 9th of September 2026 02:18:32 AM] check_for_customer() - EBMS API call successful for Customer ID: 556 [Wednesday 9th of September 2026 02:18:32 AM] check_for_customer() - Customer ID: 556 found in EBMS [Wednesday 9th of September 2026 02:18:32 AM] check_for_customer() - END - Customer ID: 556 | Found: true [Wednesday 9th of September 2026 02:18:32 AM] Customer AP556 found in EBMS [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_info() - START - Customer ID: 556 [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP556%27 [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 556 [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_info() - Customer record found for Customer ID: 556 - Checking ADDRESS1 field [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 556 - No update needed [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_info() - END - Customer ID: 556 | Empty Info: false [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_pn() - START - Customer ID: AP556 [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP556%27 [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP556 [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_pn() - Customer record found for Customer ID: AP556 - Checking CONTACT_1 field [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP556 - Value: (319) 366-8310 - No update needed [Wednesday 9th of September 2026 02:18:32 AM] check_for_empty_pn() - END - Customer ID: AP556 | Empty PN: false [Wednesday 9th of September 2026 02:18:32 AM] Fetching products from BigCommerce for Order ID: 2239 [Wednesday 9th of September 2026 02:18:32 AM] BigCommerce API call successful for Order ID: 2239 [Wednesday 9th of September 2026 02:18:32 AM] Products received: 1 item(s) [Wednesday 9th of September 2026 02:18:32 AM] Processing product SKU: LUC18003 | Qty: 1 | Price: 108.9900 [Wednesday 9th of September 2026 02:18:32 AM] get_mpn() - START - Product ID: 65937 [Wednesday 9th of September 2026 02:18:32 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937 [Wednesday 9th of September 2026 02:18:33 AM] get_mpn() - BigCommerce API call successful for Product ID: 65937 [Wednesday 9th of September 2026 02:18:33 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65937 [Wednesday 9th of September 2026 02:18:33 AM] get_mpn() - END - Product ID: 65937 | MPN: [Wednesday 9th of September 2026 02:18:33 AM] check_for_ebms_product() - START - SKU: LUC18003 [Wednesday 9th of September 2026 02:18:33 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC18003%27 [Wednesday 9th of September 2026 02:18:33 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC18003 [Wednesday 9th of September 2026 02:18:33 AM] check_for_ebms_product() - SKU: LUC18003 found in EBMS [Wednesday 9th of September 2026 02:18:33 AM] check_for_ebms_product() - END - SKU: LUC18003 | Found: true [Wednesday 9th of September 2026 02:18:33 AM] SKU LUC18003 found in EBMS - checking prices [Wednesday 9th of September 2026 02:18:33 AM] obtain_current_prices() - START - SKU: LUC18003 [Wednesday 9th of September 2026 02:18:33 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC18003 [Wednesday 9th of September 2026 02:18:33 AM] check_for_ms_product() - START - SKU: LUC18003 [Wednesday 9th of September 2026 02:18:33 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC18003 [Wednesday 9th of September 2026 02:18:34 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC18003 [Wednesday 9th of September 2026 02:18:34 AM] check_for_ms_product() - SKU: LUC18003 found in Motorstate [Wednesday 9th of September 2026 02:18:34 AM] check_for_ms_product() - END - SKU: LUC18003 | Found: true [Wednesday 9th of September 2026 02:18:34 AM] obtain_current_prices() - SKU: LUC18003 found in Motorstate - Fetching prices [Wednesday 9th of September 2026 02:18:34 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC18003 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC18003 [Wednesday 9th of September 2026 02:18:34 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC18003 - Base: 108.99 | Cost: 104.99 [Wednesday 9th of September 2026 02:18:34 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC18003 - Base: 108.99 | Cost: 104.99 [Wednesday 9th of September 2026 02:18:34 AM] obtain_current_prices() - END - SKU: LUC18003 [Wednesday 9th of September 2026 02:18:34 AM] SKU LUC18003 has existing EBMS prices - syncing BigCommerce price back (cost: 104.99, base: 108.99) [Wednesday 9th of September 2026 02:18:34 AM] update_product_price() - START - Product ID: 65937 | Base: 108.99 | Cost: 104.99 [Wednesday 9th of September 2026 02:18:34 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937 [Wednesday 9th of September 2026 02:18:34 AM] update_product_price() - PUT payload: {"price":108.9899999999999948840923025272786617279052734375,"cost_price":104.9899999999999948840923025272786617279052734375} [Wednesday 9th of September 2026 02:18:34 AM] update_product_price() - Attempt 1 of 6 for Product ID: 65937 [Wednesday 9th of September 2026 02:18:34 AM] update_product_price() - Price updated successfully for Product ID: 65937 - Base: 108.99 | Cost: 104.99 [Wednesday 9th of September 2026 02:18:34 AM] update_product_price() - END - Product ID: 65937 | Result: success [Wednesday 9th of September 2026 02:18:34 AM] BigCommerce price updated for Product ID: 65937 [Wednesday 9th of September 2026 02:18:34 AM] get_product_inventory() - START - SKU: LUC18003 [Wednesday 9th of September 2026 02:18:34 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC18003 [Wednesday 9th of September 2026 02:18:34 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC18003 [Wednesday 9th of September 2026 02:18:34 AM] get_product_inventory() - Stock found for SKU: LUC18003 - Quantity: 2 | Running Total: 2 [Wednesday 9th of September 2026 02:18:34 AM] get_product_inventory() - END - SKU: LUC18003 | Total: 2 [Wednesday 9th of September 2026 02:18:34 AM] get_cf_id() - START - Product ID: 65937 [Wednesday 9th of September 2026 02:18:34 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937/custom-fields [Wednesday 9th of September 2026 02:18:35 AM] get_cf_id() - BigCommerce API call successful for Product ID: 65937 [Wednesday 9th of September 2026 02:18:35 AM] get_cf_id() - Custom field found for Product ID: 65937 | Field: online_stock_level | CF ID: 65827 [Wednesday 9th of September 2026 02:18:35 AM] get_cf_id() - END - Product ID: 65937 | CF ID: 65827 [Wednesday 9th of September 2026 02:18:35 AM] Updating inventory for SKU LUC18003 - stock: 2, CF ID: 65827 [Wednesday 9th of September 2026 02:18:35 AM] update_product_inventory() - START - Product ID: 65937 | Stock: 2 | CF ID: 65827 [Wednesday 9th of September 2026 02:18:35 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937/custom-fields/65827 [Wednesday 9th of September 2026 02:18:35 AM] update_product_inventory() - Inventory updated successfully for Product ID: 65937 | Stock: 2 [Wednesday 9th of September 2026 02:18:35 AM] update_product_inventory() - END - Product ID: 65937 | Result: success [Wednesday 9th of September 2026 02:18:35 AM] Inventory updated for SKU: LUC18003 [Wednesday 9th of September 2026 02:18:35 AM] All products processed - Order details: [{"ID":"AP556","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 02:18:35 AM] Building payment record - Total: 156.1800 [Wednesday 9th of September 2026 02:18:35 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2239","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","C_ADDRESS1":"1707 Cedar Point Rd","C_ADDRESS2":"","C_CITY":"Sandusky","C_COUNTRY":"USA","C_EMAIL":"jesdilling@comcast.net","C_NAME":"Peter Grant","C_STATE":"OH","C_ZIP":"44870","ShippingAmount":"37.31","CITY":"Sandusky","EMAIL":"jesdilling@comcast.net","ID":"AP556","NAME":"Peter Grant","STATE":"OH","COUNTRY":"USA","ZIP":"44870","MEMO":"","DESCR":"BigCommerce Order - AP2239 - Customer AP556","Details":[{"ID":"AP556","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"156.18","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 02:18:35 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2239 [Wednesday 9th of September 2026 02:18:35 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2239%27 [Wednesday 9th of September 2026 02:18:36 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2239 [Wednesday 9th of September 2026 02:18:36 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2239 found in EBMS [Wednesday 9th of September 2026 02:18:36 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2239 | Found: true [Wednesday 9th of September 2026 02:18:36 AM] Invoice AP2239 already exists in EBMS - patching [Wednesday 9th of September 2026 02:18:36 AM] patch_ebms_invoice() - START - Invoice: AP2239 [Wednesday 9th of September 2026 02:18:36 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2239","ADDRESS1":"1707 Cedar Point Rd","ADDRESS2":"","C_ADDRESS1":"1707 Cedar Point Rd","C_ADDRESS2":"","C_CITY":"Sandusky","C_COUNTRY":"USA","C_EMAIL":"jesdilling@comcast.net","C_NAME":"Peter Grant","C_STATE":"OH","C_ZIP":"44870","ShippingAmount":"37.31","CITY":"Sandusky","EMAIL":"jesdilling@comcast.net","ID":"AP556","NAME":"Peter Grant","STATE":"OH","COUNTRY":"USA","ZIP":"44870","MEMO":"","DESCR":"BigCommerce Order - AP2239 - Customer AP556","Details":[{"ID":"AP556","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"156.18","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 02:18:36 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2239%27 [Wednesday 9th of September 2026 02:18:36 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2239 [Wednesday 9th of September 2026 02:18:36 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2239 [Wednesday 9th of September 2026 02:18:36 AM] patch_ebms_invoice() - END - Invoice: AP2239 [Wednesday 9th of September 2026 02:18:36 AM] Invoice AP2239 patched successfully [Wednesday 9th of September 2026 02:18:36 AM] ORDER WEBHOOK COMPLETED - Order ID: 2239 | Invoice: AP2239 [Wednesday 9th of September 2026 02:53:34 AM] add_customer() - START - Customer ID: 557 | Name: James Bennett [Wednesday 9th of September 2026 02:53:34 AM] add_customer() - Customer payload: {"id":557,"email":"exdejesus@gmail.com","address_1":"3586 Holland Tillatoba Rd","address_2":"","city":"Tillatoba","state":"MS","country":"USA","zip":"38961","f_name":"James","l_name":"Bennett","contact_5":"exdejesus@gmail.com","contact_1":"6624204112","contact_4":"James Bennett"} [Wednesday 9th of September 2026 02:53:34 AM] add_customer() - Customer fields parsed - ID: AP557 | Address: 3586 Holland Tillatoba Rd, Tillatoba, MS 38961 | Email: exdejesus@gmail.com [Wednesday 9th of September 2026 02:53:34 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 9th of September 2026 02:53:34 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"3586 Holland Tillatoba Rd","ADDRESS2":"","CITY":"Tillatoba","CONTACT_5":"exdejesus@gmail.com","CONTACT_1":"6624204112","CONTACT_4":"James Bennett","COUNTRY":"USA","F_NAME":"James","ID":"AP557","L_NAME":"Bennett","STATE":"MS","ZIP":"38961"} [Wednesday 9th of September 2026 02:53:35 AM] add_customer() - EBMS API call successful for Customer ID: AP557 [Wednesday 9th of September 2026 02:53:35 AM] add_customer() - Customer created successfully in EBMS - ID: AP557 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4b373138-3153-4a4c-5653-474f43303030","AUTOID":"817KS1LJVSGOC000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"James Bennett","ADDRESS1":"3586 Holland Tillatoba Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Tillatoba","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"exdejesus@gmail.com","EMAIL_LIST":false,"F_NAME":"James","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP557","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Bennett","MAIL_LIST":false,"MEMO":"","NAMESTR":"(James Bennett)","OUT_CITY":false,"PHONE":"(662) 420-4112","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"MS","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"38961","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(662) 420-4112","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"James Bennett","CONTACT_5":"exdejesus@gmail.com","EXTERNALID":""} [Wednesday 9th of September 2026 02:53:35 AM] add_customer() - END - Customer ID: AP557 [Wednesday 9th of September 2026 02:55:52 AM] ORDER WEBHOOK STARTED - Order ID: 2240 [Wednesday 9th of September 2026 02:55:52 AM] Fetching customer data for Order ID: 2240 [Wednesday 9th of September 2026 02:55:52 AM] get_order_customer_data() - START - Order ID: 2240 [Wednesday 9th of September 2026 02:55:52 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2240 [Wednesday 9th of September 2026 02:55:52 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2240 [Wednesday 9th of September 2026 02:55:52 AM] get_order_customer_data() - Parsing order response for Order ID: 2240 [Wednesday 9th of September 2026 02:55:52 AM] get_order_customer_data() - Customer object built - Customer ID: 557 | Name: James Bennett | Email: exdejesus@gmail.com | Total: 181.4400 | Shipping: 56.45 [Wednesday 9th of September 2026 02:55:52 AM] get_order_customer_data() - END - Order ID: 2240 [Wednesday 9th of September 2026 02:55:52 AM] Customer data received: {"id":557,"email":"exdejesus@gmail.com","address_1":"3586 Holland Tillatoba Rd","address_2":"","city":"Tillatoba","state":"MS","country":"USA","zip":"38961","f_name":"James","l_name":"Bennett","contact_5":"exdejesus@gmail.com","contact_1":"6624204112","contact_4":"James Bennett"} [Wednesday 9th of September 2026 02:55:52 AM] Fetching shipping info for Order ID: 2240 [Wednesday 9th of September 2026 02:55:52 AM] get_order_shipping_info() - START - Order ID: 2240 [Wednesday 9th of September 2026 02:55:52 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2240/shipping_addresses [Wednesday 9th of September 2026 02:55:53 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2240 [Wednesday 9th of September 2026 02:55:53 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2240 | Name: James Bennett | Address: 3586 Holland Tillatoba Rd, Tillatoba, Mississippi, 38961 [Wednesday 9th of September 2026 02:55:53 AM] get_order_shipping_info() - END - Order ID: 2240 [Wednesday 9th of September 2026 02:55:53 AM] Shipping info received: {"id":2139,"order_id":2240,"first_name":"James","last_name":"Bennett","company":"","street_1":"3586 Holland Tillatoba Rd","street_2":"","city":"Tillatoba","zip":"38961","country":"United States","country_iso2":"US","state":"Mississippi","email":"exdejesus@gmail.com","phone":"6624204112","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"56.4500","cost_ex_tax":"56.4500","cost_inc_tax":"56.4500","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\/2240\/shipping_addresses\/2139\/shipping_quotes","resource":"\/orders\/2240\/shipping_addresses\/2139\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 02:55:53 AM] Resolved Customer ID: AP557 [Wednesday 9th of September 2026 02:55:53 AM] Building order object for Invoice: AP2240 [Wednesday 9th of September 2026 02:55:53 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2240","ADDRESS1":"3586 Holland Tillatoba Rd","ADDRESS2":"","C_ADDRESS1":"3586 Holland Tillatoba Rd","C_ADDRESS2":"","C_CITY":"Tillatoba","C_COUNTRY":"USA","C_EMAIL":"exdejesus@gmail.com","C_NAME":"James Bennett","C_STATE":"MS","C_ZIP":"38961","ShippingAmount":"56.45","CITY":"Tillatoba","EMAIL":"exdejesus@gmail.com","ID":"AP557","NAME":"James Bennett","STATE":"MS","COUNTRY":"USA","ZIP":"38961","MEMO":"","DESCR":"BigCommerce Order - AP2240 - Customer AP557"} [Wednesday 9th of September 2026 02:55:53 AM] Registered customer detected - checking EBMS for Customer ID: AP557 [Wednesday 9th of September 2026 02:55:53 AM] check_for_customer() - START - Customer ID: 557 [Wednesday 9th of September 2026 02:55:53 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP557%27 [Wednesday 9th of September 2026 02:55:53 AM] check_for_customer() - EBMS API call successful for Customer ID: 557 [Wednesday 9th of September 2026 02:55:53 AM] check_for_customer() - Customer ID: 557 found in EBMS [Wednesday 9th of September 2026 02:55:53 AM] check_for_customer() - END - Customer ID: 557 | Found: true [Wednesday 9th of September 2026 02:55:53 AM] Customer AP557 found in EBMS [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_info() - START - Customer ID: 557 [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP557%27 [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 557 [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_info() - Customer record found for Customer ID: 557 - Checking ADDRESS1 field [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 557 - No update needed [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_info() - END - Customer ID: 557 | Empty Info: false [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_pn() - START - Customer ID: AP557 [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP557%27 [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP557 [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_pn() - Customer record found for Customer ID: AP557 - Checking CONTACT_1 field [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP557 - Value: (662) 420-4112 - No update needed [Wednesday 9th of September 2026 02:55:53 AM] check_for_empty_pn() - END - Customer ID: AP557 | Empty PN: false [Wednesday 9th of September 2026 02:55:53 AM] Fetching products from BigCommerce for Order ID: 2240 [Wednesday 9th of September 2026 02:55:53 AM] BigCommerce API call successful for Order ID: 2240 [Wednesday 9th of September 2026 02:55:53 AM] Products received: 1 item(s) [Wednesday 9th of September 2026 02:55:53 AM] Processing product SKU: LUC10018-4 | Qty: 1 | Price: 124.9900 [Wednesday 9th of September 2026 02:55:53 AM] get_mpn() - START - Product ID: 65546 [Wednesday 9th of September 2026 02:55:53 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65546 [Wednesday 9th of September 2026 02:55:54 AM] get_mpn() - BigCommerce API call successful for Product ID: 65546 [Wednesday 9th of September 2026 02:55:54 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65546 [Wednesday 9th of September 2026 02:55:54 AM] get_mpn() - END - Product ID: 65546 | MPN: [Wednesday 9th of September 2026 02:55:54 AM] check_for_ebms_product() - START - SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:54 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10018-4%27 [Wednesday 9th of September 2026 02:55:54 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:54 AM] check_for_ebms_product() - SKU: LUC10018-4 not found in EBMS [Wednesday 9th of September 2026 02:55:54 AM] check_for_ebms_product() - END - SKU: LUC10018-4 | Found: false [Wednesday 9th of September 2026 02:55:54 AM] SKU LUC10018-4 not found in EBMS - creating new part [Wednesday 9th of September 2026 02:55:54 AM] get_product_desc() - START - Product ID: 65546 [Wednesday 9th of September 2026 02:55:54 AM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65546 [Wednesday 9th of September 2026 02:55:54 AM] get_product_desc() - BigCommerce API call successful for Product ID: 65546 [Wednesday 9th of September 2026 02:55:54 AM] get_product_desc() - Description retrieved for Product ID: 65546 - Description: Hydraulic Oil Additive - Booster and Stop Leak - 1 gal Jug - Set of 4 [Wednesday 9th of September 2026 02:55:54 AM] get_product_desc() - END - Product ID: 65546 [Wednesday 9th of September 2026 02:55:54 AM] get_ms_product() - START - SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:54 AM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10018-4 [Wednesday 9th of September 2026 02:55:54 AM] get_ms_product() - Motorstate API call successful for SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:54 AM] get_ms_product() - Product data retrieved from Motorstate for SKU: LUC10018-4 - Response: [{"Found":true,"PartNumber":"LUC10018-4","Product":{"PartNumber":"luc10018-4","VendorPartNumber":"10018","Status":1,"IsStocking":true,"ShortDescription":"Hydraulic Oil Booster Stop Leak 4x1 Gallon","Quantity":6,"CustomerPrice":92.6996976,"CustomerPriceNonPromotional":92.6996976,"BasePrice":105.76,"ListPrice":124.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":false,"CanDropShip":false,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Wednesday 9th of September 2026 02:55:54 AM] get_ms_product() - END - SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:54 AM] MS pricing found for SKU LUC10018-4 - base: 124.99, cost: 92.6996976 [Wednesday 9th of September 2026 02:55:54 AM] create_new_part() - START - SKU: LUC10018-4 | Base: 124.99 | Cost: 92.70 | Weight: 33.4500 | MPN: [Wednesday 9th of September 2026 02:55:54 AM] create_new_part() - Description parsed - DESCR_1: Hydraulic Oil Additive - Booster and Stop Leak - 1 gal Jug - Set of 4 | DESCR_2: [Wednesday 9th of September 2026 02:55:54 AM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Wednesday 9th of September 2026 02:55:54 AM] create_new_part() - POST payload: {"ID":"LUC10018-4","DESCR_1":"Hydraulic Oil Additive - Booster and Stop Leak - 1 gal Jug - Set of 4","DESCR_2":"","DESCR_3":"Hydraulic Oil Additive - Booster and Stop Leak - 1 gal Jug - Set of 4","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"92.70","BASE":"124.99","WEIGHT":"33.4500","MFG_PART":"","TREE_ID":"603"} [Wednesday 9th of September 2026 02:55:56 AM] create_new_part() - EBMS API call successful for SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:56 AM] create_new_part() - Part created successfully in EBMS - SKU: LUC10018-4 - {"id":"LUC10018-4","cost":"92.70","base":"124.99","description":"Hydraulic Oil Additive - Booster and Stop Leak - 1 gal Jug - Set of 4","tree_id":" 603"} [Wednesday 9th of September 2026 02:55:56 AM] create_new_part() - Sending new part notification email for SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:56 AM] create_new_part() - Notification email sent successfully for SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:56 AM] create_new_part() - END - SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:56 AM] New part created in EBMS for SKU: LUC10018-4 [Wednesday 9th of September 2026 02:55:56 AM] All products processed - Order details: [{"ID":"AP557","INVEN":"LUC10018-4","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 02:55:56 AM] Building payment record - Total: 181.4400 [Wednesday 9th of September 2026 02:55:56 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2240","ADDRESS1":"3586 Holland Tillatoba Rd","ADDRESS2":"","C_ADDRESS1":"3586 Holland Tillatoba Rd","C_ADDRESS2":"","C_CITY":"Tillatoba","C_COUNTRY":"USA","C_EMAIL":"exdejesus@gmail.com","C_NAME":"James Bennett","C_STATE":"MS","C_ZIP":"38961","ShippingAmount":"56.45","CITY":"Tillatoba","EMAIL":"exdejesus@gmail.com","ID":"AP557","NAME":"James Bennett","STATE":"MS","COUNTRY":"USA","ZIP":"38961","MEMO":"","DESCR":"BigCommerce Order - AP2240 - Customer AP557","Details":[{"ID":"AP557","INVEN":"LUC10018-4","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"181.44","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 02:55:56 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2240 [Wednesday 9th of September 2026 02:55:56 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2240%27 [Wednesday 9th of September 2026 02:55:57 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2240 [Wednesday 9th of September 2026 02:55:57 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2240 not found in EBMS [Wednesday 9th of September 2026 02:55:57 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2240 | Found: false [Wednesday 9th of September 2026 02:55:57 AM] Invoice AP2240 does not exist in EBMS - creating [Wednesday 9th of September 2026 02:55:57 AM] create_ebms_invoice() - START - Invoice: AP2240 [Wednesday 9th of September 2026 02:55:57 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2240","ADDRESS1":"3586 Holland Tillatoba Rd","ADDRESS2":"","C_ADDRESS1":"3586 Holland Tillatoba Rd","C_ADDRESS2":"","C_CITY":"Tillatoba","C_COUNTRY":"USA","C_EMAIL":"exdejesus@gmail.com","C_NAME":"James Bennett","C_STATE":"MS","C_ZIP":"38961","ShippingAmount":"56.45","CITY":"Tillatoba","EMAIL":"exdejesus@gmail.com","ID":"AP557","NAME":"James Bennett","STATE":"MS","COUNTRY":"USA","ZIP":"38961","MEMO":"","DESCR":"BigCommerce Order - AP2240 - Customer AP557","Details":[{"ID":"AP557","INVEN":"LUC10018-4","M_QUAN_VIS":1,"UNIT":"124.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"181.44","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 02:55:57 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 9th of September 2026 02:56:01 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2240 [Wednesday 9th of September 2026 02:56:01 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2240 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"314c4b51-4a38-4c36-5653-474f43303030","AUTOID":"QKL18J6LVSGOC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-124.9899999999999948840923025272786617279052734375,"BAL_CUST_X":-124.9899999999999948840923025272786617279052734375,"BALANCE":-124.9899999999999948840923025272786617279052734375,"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":181.43999999999999772626324556767940521240234375,"TOTAL_S_SO":124.9899999999999948840923025272786617279052734375,"TOTAL_SO":181.43999999999999772626324556767940521240234375,"TOTAL_W":0,"TTLPROCPMT":181.43999999999999772626324556767940521240234375,"TOTAL":56.4500000000000028421709430404007434844970703125,"FREIGHT":56.4500000000000028421709430404007434844970703125,"HANDLING":0,"SHIPPING":56.4500000000000028421709430404007434844970703125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"3586 Holland Tillatoba Rd","ADDRESS2":"","C_EMAIL":"exdejesus@gmail.com","C_PHONE":"(662) 420-4112","CCNTCT_AID":"PANHVCC0EBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-09T00:00:00Z","CHECK_NO":" APBC","CITY":"Tillatoba","CNTCT_AID":"PANHVCC0EBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-09T00:00:00Z","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"exdejesus@gmail.com","IADDRESS":"3586 Holland Tillatoba Rd , Tillatoba, MS 38961","ID":"AP557","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-09T00:00:00Z","INVOICE":"AP2240","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"James Bennett","PHONE":"","PROCESS":"Default","STATE":"MS","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"38961","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"3586 Holland Tillatoba Rd","C_ADDRESS2":"","C_CITY":"Tillatoba","C_COUNTRY":"USA","C_ID":"AP557","C_NAME":"James Bennett","C_STATE":"MS","C_ZIP":"38961","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2240 - Customer AP557","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-09T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 9th of September 2026 02:56:01 AM] create_ebms_invoice() - END - Invoice: AP2240 [Wednesday 9th of September 2026 02:56:01 AM] Invoice AP2240 created successfully [Wednesday 9th of September 2026 02:56:01 AM] ORDER WEBHOOK COMPLETED - Order ID: 2240 | Invoice: AP2240 [Wednesday 9th of September 2026 03:49:56 AM] add_customer() - START - Customer ID: 558 | Name: Gary Vlosak [Wednesday 9th of September 2026 03:49:56 AM] add_customer() - Customer payload: {"id":558,"email":"clarinaegan@gmail.com","address_1":"9110 Forest Dr","address_2":"","city":"Hickory Hills","state":"IL","country":"USA","zip":"60457","f_name":"Gary","l_name":"Vlosak","contact_5":"clarinaegan@gmail.com","contact_1":"7088266213","contact_4":"Gary Vlosak"} [Wednesday 9th of September 2026 03:49:56 AM] add_customer() - Customer fields parsed - ID: AP558 | Address: 9110 Forest Dr, Hickory Hills, IL 60457 | Email: clarinaegan@gmail.com [Wednesday 9th of September 2026 03:49:56 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 9th of September 2026 03:49:56 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"9110 Forest Dr","ADDRESS2":"","CITY":"Hickory Hills","CONTACT_5":"clarinaegan@gmail.com","CONTACT_1":"7088266213","CONTACT_4":"Gary Vlosak","COUNTRY":"USA","F_NAME":"Gary","ID":"AP558","L_NAME":"Vlosak","STATE":"IL","ZIP":"60457"} [Wednesday 9th of September 2026 03:49:57 AM] add_customer() - EBMS API call successful for Customer ID: AP558 [Wednesday 9th of September 2026 03:49:57 AM] add_customer() - Customer created successfully in EBMS - ID: AP558 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"45304246-4f41-4f38-3054-474f43303030","AUTOID":"FB0EAO8O0TGOC000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Gary Vlosak","ADDRESS1":"9110 Forest Dr","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Hickory Hills","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"clarinaegan@gmail.com","EMAIL_LIST":false,"F_NAME":"Gary","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP558","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Vlosak","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Gary Vlosak)","OUT_CITY":false,"PHONE":"(708) 826-6213","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"IL","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"60457","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(708) 826-6213","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Gary Vlosak","CONTACT_5":"clarinaegan@gmail.com","EXTERNALID":""} [Wednesday 9th of September 2026 03:49:57 AM] add_customer() - END - Customer ID: AP558 [Wednesday 9th of September 2026 07:42:40 AM] ORDER WEBHOOK STARTED - Order ID: 2246 [Wednesday 9th of September 2026 07:42:40 AM] Fetching customer data for Order ID: 2246 [Wednesday 9th of September 2026 07:42:40 AM] get_order_customer_data() - START - Order ID: 2246 [Wednesday 9th of September 2026 07:42:40 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2246 [Wednesday 9th of September 2026 07:42:40 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2246 [Wednesday 9th of September 2026 07:42:40 AM] get_order_customer_data() - Parsing order response for Order ID: 2246 [Wednesday 9th of September 2026 07:42:40 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Tim Masterman | Email: timmasterman@gmail.com | Total: 92.7400 | Shipping: 55.58 [Wednesday 9th of September 2026 07:42:40 AM] get_order_customer_data() - END - Order ID: 2246 [Wednesday 9th of September 2026 07:42:40 AM] Customer data received: {"id":0,"email":"timmasterman@gmail.com","address_1":"125 lakewind ct","address_2":"","city":"Sanford","state":"NC","country":"USA","zip":"27332","f_name":"Tim","l_name":"Masterman","contact_5":"timmasterman@gmail.com","contact_1":"3154200813","contact_4":"Tim Masterman"} [Wednesday 9th of September 2026 07:42:40 AM] Fetching shipping info for Order ID: 2246 [Wednesday 9th of September 2026 07:42:40 AM] get_order_shipping_info() - START - Order ID: 2246 [Wednesday 9th of September 2026 07:42:40 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2246/shipping_addresses [Wednesday 9th of September 2026 07:42:41 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2246 [Wednesday 9th of September 2026 07:42:41 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2246 | Name: Tim Masterman | Address: 125 lakewind ct, Sanford, North Carolina, 27332 [Wednesday 9th of September 2026 07:42:41 AM] get_order_shipping_info() - END - Order ID: 2246 [Wednesday 9th of September 2026 07:42:41 AM] Shipping info received: {"id":2145,"order_id":2246,"first_name":"Tim","last_name":"Masterman","company":"","street_1":"125 lakewind ct","street_2":"","city":"Sanford","zip":"27332","country":"United States","country_iso2":"US","state":"North Carolina","email":"timmasterman@gmail.com","phone":"3154200813","items_total":4,"items_shipped":0,"shipping_method":"FedEx 1-Day","base_cost":"55.5800","cost_ex_tax":"55.5800","cost_inc_tax":"55.5800","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\/2246\/shipping_addresses\/2145\/shipping_quotes","resource":"\/orders\/2246\/shipping_addresses\/2145\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 07:42:41 AM] Resolved Customer ID: APONLINE [Wednesday 9th of September 2026 07:42:41 AM] Building order object for Invoice: AP2246 [Wednesday 9th of September 2026 07:42:41 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2246","ADDRESS1":"125 lakewind ct","ADDRESS2":"","C_ADDRESS1":"125 lakewind ct","C_ADDRESS2":"","C_CITY":"Sanford","C_COUNTRY":"USA","C_EMAIL":"timmasterman@gmail.com","C_NAME":"Tim Masterman","C_STATE":"NC","C_ZIP":"27332","ShippingAmount":"55.58","CITY":"Sanford","EMAIL":"timmasterman@gmail.com","ID":"APONLINE","NAME":"Tim Masterman","STATE":"NC","COUNTRY":"USA","ZIP":"27332","MEMO":"","DESCR":"BigCommerce Order - AP2246 - Customer APONLINE"} [Wednesday 9th of September 2026 07:42:41 AM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 9th of September 2026 07:42:41 AM] Fetching products from BigCommerce for Order ID: 2246 [Wednesday 9th of September 2026 07:42:41 AM] BigCommerce API call successful for Order ID: 2246 [Wednesday 9th of September 2026 07:42:41 AM] Products received: 1 item(s) [Wednesday 9th of September 2026 07:42:41 AM] Processing product SKU: VIB16615 | Qty: 4 | Price: 9.2900 [Wednesday 9th of September 2026 07:42:41 AM] get_mpn() - START - Product ID: 44304 [Wednesday 9th of September 2026 07:42:41 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/44304 [Wednesday 9th of September 2026 07:42:41 AM] get_mpn() - BigCommerce API call successful for Product ID: 44304 [Wednesday 9th of September 2026 07:42:41 AM] get_mpn() - WARNING - MPN is empty for Product ID: 44304 [Wednesday 9th of September 2026 07:42:41 AM] get_mpn() - END - Product ID: 44304 | MPN: [Wednesday 9th of September 2026 07:42:41 AM] check_for_ebms_product() - START - SKU: VIB16615 [Wednesday 9th of September 2026 07:42:41 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27VIB16615%27 [Wednesday 9th of September 2026 07:42:42 AM] check_for_ebms_product() - EBMS API call successful for SKU: VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] check_for_ebms_product() - SKU: VIB16615 found in EBMS [Wednesday 9th of September 2026 07:42:42 AM] check_for_ebms_product() - END - SKU: VIB16615 | Found: true [Wednesday 9th of September 2026 07:42:42 AM] SKU VIB16615 found in EBMS - checking prices [Wednesday 9th of September 2026 07:42:42 AM] obtain_current_prices() - START - SKU: VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] obtain_current_prices() - Checking Motorstate for SKU: VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] check_for_ms_product() - START - SKU: VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] check_for_ms_product() - Motorstate API call successful for SKU: VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] check_for_ms_product() - SKU: VIB16615 found in Motorstate [Wednesday 9th of September 2026 07:42:42 AM] check_for_ms_product() - END - SKU: VIB16615 | Found: true [Wednesday 9th of September 2026 07:42:42 AM] obtain_current_prices() - SKU: VIB16615 found in Motorstate - Fetching prices [Wednesday 9th of September 2026 07:42:42 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: VIB16615 - URL: https://api.motorstate.com/api/Product?partNumbers=VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: VIB16615 - Base: 9.29 | Cost: 6.69 [Wednesday 9th of September 2026 07:42:42 AM] obtain_current_prices() - Returning Motorstate prices for SKU: VIB16615 - Base: 9.29 | Cost: 6.69 [Wednesday 9th of September 2026 07:42:42 AM] obtain_current_prices() - END - SKU: VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] SKU VIB16615 has existing EBMS prices - syncing BigCommerce price back (cost: 6.69, base: 9.29) [Wednesday 9th of September 2026 07:42:42 AM] update_product_price() - START - Product ID: 44304 | Base: 9.29 | Cost: 6.69 [Wednesday 9th of September 2026 07:42:42 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/44304 [Wednesday 9th of September 2026 07:42:42 AM] update_product_price() - PUT payload: {"price":9.28999999999999914734871708787977695465087890625,"cost_price":6.69000000000000039079850466805510222911834716796875} [Wednesday 9th of September 2026 07:42:42 AM] update_product_price() - Attempt 1 of 6 for Product ID: 44304 [Wednesday 9th of September 2026 07:42:42 AM] update_product_price() - Price updated successfully for Product ID: 44304 - Base: 9.29 | Cost: 6.69 [Wednesday 9th of September 2026 07:42:42 AM] update_product_price() - END - Product ID: 44304 | Result: success [Wednesday 9th of September 2026 07:42:42 AM] BigCommerce price updated for Product ID: 44304 [Wednesday 9th of September 2026 07:42:42 AM] get_product_inventory() - START - SKU: VIB16615 [Wednesday 9th of September 2026 07:42:42 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=VIB16615 [Wednesday 9th of September 2026 07:42:43 AM] get_product_inventory() - Motorstate API call successful for SKU: VIB16615 [Wednesday 9th of September 2026 07:42:43 AM] get_product_inventory() - Stock found for SKU: VIB16615 - Quantity: 11 | Running Total: 11 [Wednesday 9th of September 2026 07:42:43 AM] get_product_inventory() - END - SKU: VIB16615 | Total: 11 [Wednesday 9th of September 2026 07:42:43 AM] get_cf_id() - START - Product ID: 44304 [Wednesday 9th of September 2026 07:42:43 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/44304/custom-fields [Wednesday 9th of September 2026 07:42:43 AM] get_cf_id() - BigCommerce API call successful for Product ID: 44304 [Wednesday 9th of September 2026 07:42:43 AM] get_cf_id() - Custom field found for Product ID: 44304 | Field: online_stock_level | CF ID: 44194 [Wednesday 9th of September 2026 07:42:43 AM] get_cf_id() - END - Product ID: 44304 | CF ID: 44194 [Wednesday 9th of September 2026 07:42:43 AM] Updating inventory for SKU VIB16615 - stock: 11, CF ID: 44194 [Wednesday 9th of September 2026 07:42:43 AM] update_product_inventory() - START - Product ID: 44304 | Stock: 11 | CF ID: 44194 [Wednesday 9th of September 2026 07:42:43 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/44304/custom-fields/44194 [Wednesday 9th of September 2026 07:42:43 AM] update_product_inventory() - Inventory updated successfully for Product ID: 44304 | Stock: 11 [Wednesday 9th of September 2026 07:42:43 AM] update_product_inventory() - END - Product ID: 44304 | Result: success [Wednesday 9th of September 2026 07:42:43 AM] Inventory updated for SKU: VIB16615 [Wednesday 9th of September 2026 07:42:43 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"VIB16615","M_QUAN_VIS":4,"UNIT":"9.29","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 07:42:43 AM] Building payment record - Total: 92.7400 [Wednesday 9th of September 2026 07:42:43 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2246","ADDRESS1":"125 lakewind ct","ADDRESS2":"","C_ADDRESS1":"125 lakewind ct","C_ADDRESS2":"","C_CITY":"Sanford","C_COUNTRY":"USA","C_EMAIL":"timmasterman@gmail.com","C_NAME":"Tim Masterman","C_STATE":"NC","C_ZIP":"27332","ShippingAmount":"55.58","CITY":"Sanford","EMAIL":"timmasterman@gmail.com","ID":"APONLINE","NAME":"Tim Masterman","STATE":"NC","COUNTRY":"USA","ZIP":"27332","MEMO":"","DESCR":"BigCommerce Order - AP2246 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"VIB16615","M_QUAN_VIS":4,"UNIT":"9.29","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"92.74","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 07:42:43 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2246 [Wednesday 9th of September 2026 07:42:43 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2246%27 [Wednesday 9th of September 2026 07:42:43 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2246 [Wednesday 9th of September 2026 07:42:43 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2246 not found in EBMS [Wednesday 9th of September 2026 07:42:43 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2246 | Found: false [Wednesday 9th of September 2026 07:42:43 AM] Invoice AP2246 does not exist in EBMS - creating [Wednesday 9th of September 2026 07:42:43 AM] create_ebms_invoice() - START - Invoice: AP2246 [Wednesday 9th of September 2026 07:42:43 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2246","ADDRESS1":"125 lakewind ct","ADDRESS2":"","C_ADDRESS1":"125 lakewind ct","C_ADDRESS2":"","C_CITY":"Sanford","C_COUNTRY":"USA","C_EMAIL":"timmasterman@gmail.com","C_NAME":"Tim Masterman","C_STATE":"NC","C_ZIP":"27332","ShippingAmount":"55.58","CITY":"Sanford","EMAIL":"timmasterman@gmail.com","ID":"APONLINE","NAME":"Tim Masterman","STATE":"NC","COUNTRY":"USA","ZIP":"27332","MEMO":"","DESCR":"BigCommerce Order - AP2246 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"VIB16615","M_QUAN_VIS":4,"UNIT":"9.29","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"92.74","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 07:42:43 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 9th of September 2026 07:42:50 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2246 [Wednesday 9th of September 2026 07:42:50 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2246 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"334c4a36-4b56-4646-3554-474f43303030","AUTOID":"6JL3VKFF5TGOC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-37.159999999999996589394868351519107818603515625,"BAL_CUST_X":-37.159999999999996589394868351519107818603515625,"BALANCE":-37.159999999999996589394868351519107818603515625,"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":92.7399999999999948840923025272786617279052734375,"TOTAL_S_SO":37.159999999999996589394868351519107818603515625,"TOTAL_SO":92.7399999999999948840923025272786617279052734375,"TOTAL_W":0,"TTLPROCPMT":92.7399999999999948840923025272786617279052734375,"TOTAL":55.5799999999999982946974341757595539093017578125,"FREIGHT":55.5799999999999982946974341757595539093017578125,"HANDLING":0,"SHIPPING":55.5799999999999982946974341757595539093017578125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"125 lakewind ct","ADDRESS2":"","C_EMAIL":"timmasterman@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-09T00:00:00Z","CHECK_NO":" APBC","CITY":"Sanford","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-09T00:00:00Z","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"timmasterman@gmail.com","IADDRESS":"125 lakewind ct , Sanford, NC 27332","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-09T00:00:00Z","INVOICE":"AP2246","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Tim Masterman","PHONE":"","PROCESS":"Default","STATE":"NC","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"27332","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"125 lakewind ct","C_ADDRESS2":"","C_CITY":"Sanford","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Tim Masterman","C_STATE":"NC","C_ZIP":"27332","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2246 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-09T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 9th of September 2026 07:42:50 AM] create_ebms_invoice() - END - Invoice: AP2246 [Wednesday 9th of September 2026 07:42:50 AM] Invoice AP2246 created successfully [Wednesday 9th of September 2026 07:42:50 AM] ORDER WEBHOOK COMPLETED - Order ID: 2246 | Invoice: AP2246 [Wednesday 9th of September 2026 10:13:57 AM] add_customer() - START - Customer ID: 559 | Name: Frank Wynters [Wednesday 9th of September 2026 10:13:57 AM] add_customer() - Customer payload: {"id":559,"email":"nildaprovi@gmail.com","address_1":"24 Wimbledon Dr","address_2":"","city":"Londonderry","state":"NH","country":"USA","zip":"03053","f_name":"Frank","l_name":"Wynters","contact_5":"nildaprovi@gmail.com","contact_1":"6039134912","contact_4":"Frank Wynters"} [Wednesday 9th of September 2026 10:13:57 AM] add_customer() - Customer fields parsed - ID: AP559 | Address: 24 Wimbledon Dr, Londonderry, NH 03053 | Email: nildaprovi@gmail.com [Wednesday 9th of September 2026 10:13:57 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 9th of September 2026 10:13:57 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","CITY":"Londonderry","CONTACT_5":"nildaprovi@gmail.com","CONTACT_1":"6039134912","CONTACT_4":"Frank Wynters","COUNTRY":"USA","F_NAME":"Frank","ID":"AP559","L_NAME":"Wynters","STATE":"NH","ZIP":"03053"} [Wednesday 9th of September 2026 10:14:00 AM] add_customer() - EBMS API call successful for Customer ID: AP559 [Wednesday 9th of September 2026 10:14:00 AM] add_customer() - Customer created successfully in EBMS - ID: AP559 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"33325342-4d4b-484e-3854-474f43303030","AUTOID":"BS23KMNH8TGOC000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Frank Wynters","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Londonderry","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"nildaprovi@gmail.com","EMAIL_LIST":false,"F_NAME":"Frank","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP559","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Wynters","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Frank Wynters)","OUT_CITY":false,"PHONE":"(603) 913-4912","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"NH","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"03053","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(603) 913-4912","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Frank Wynters","CONTACT_5":"nildaprovi@gmail.com","EXTERNALID":""} [Wednesday 9th of September 2026 10:14:00 AM] add_customer() - END - Customer ID: AP559 [Wednesday 9th of September 2026 10:17:01 AM] ORDER WEBHOOK STARTED - Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] Fetching customer data for Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] get_order_customer_data() - START - Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2249 [Wednesday 9th of September 2026 10:17:01 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] get_order_customer_data() - Parsing order response for Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] get_order_customer_data() - Customer object built - Customer ID: 559 | Name: Frank Wynters | Email: nildaprovi@gmail.com | Total: 216.4800 | Shipping: 40.52 [Wednesday 9th of September 2026 10:17:01 AM] get_order_customer_data() - END - Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] Customer data received: {"id":559,"email":"nildaprovi@gmail.com","address_1":"24 Wimbledon Dr","address_2":"","city":"Londonderry","state":"NH","country":"USA","zip":"03053","f_name":"Frank","l_name":"Wynters","contact_5":"nildaprovi@gmail.com","contact_1":"6039134912","contact_4":"Frank Wynters"} [Wednesday 9th of September 2026 10:17:01 AM] Fetching shipping info for Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] get_order_shipping_info() - START - Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2249/shipping_addresses [Wednesday 9th of September 2026 10:17:01 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2249 | Name: Frank Wynters | Address: 24 Wimbledon Dr, Londonderry, New Hampshire, 03053 [Wednesday 9th of September 2026 10:17:01 AM] get_order_shipping_info() - END - Order ID: 2249 [Wednesday 9th of September 2026 10:17:01 AM] Shipping info received: {"id":2148,"order_id":2249,"first_name":"Frank","last_name":"Wynters","company":"","street_1":"24 Wimbledon Dr","street_2":"","city":"Londonderry","zip":"03053","country":"United States","country_iso2":"US","state":"New Hampshire","email":"nildaprovi@gmail.com","phone":"6039134912","items_total":4,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"40.5200","cost_ex_tax":"40.5200","cost_inc_tax":"40.5200","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\/2249\/shipping_addresses\/2148\/shipping_quotes","resource":"\/orders\/2249\/shipping_addresses\/2148\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 10:17:01 AM] Resolved Customer ID: AP559 [Wednesday 9th of September 2026 10:17:01 AM] Building order object for Invoice: AP2249 [Wednesday 9th of September 2026 10:17:01 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2249","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","C_ADDRESS1":"24 Wimbledon Dr","C_ADDRESS2":"","C_CITY":"Londonderry","C_COUNTRY":"USA","C_EMAIL":"nildaprovi@gmail.com","C_NAME":"Frank Wynters","C_STATE":"NH","C_ZIP":"03053","ShippingAmount":"40.52","CITY":"Londonderry","EMAIL":"nildaprovi@gmail.com","ID":"AP559","NAME":"Frank Wynters","STATE":"NH","COUNTRY":"USA","ZIP":"03053","MEMO":"","DESCR":"BigCommerce Order - AP2249 - Customer AP559"} [Wednesday 9th of September 2026 10:17:01 AM] Registered customer detected - checking EBMS for Customer ID: AP559 [Wednesday 9th of September 2026 10:17:01 AM] check_for_customer() - START - Customer ID: 559 [Wednesday 9th of September 2026 10:17:01 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP559%27 [Wednesday 9th of September 2026 10:17:02 AM] check_for_customer() - EBMS API call successful for Customer ID: 559 [Wednesday 9th of September 2026 10:17:02 AM] check_for_customer() - Customer ID: 559 found in EBMS [Wednesday 9th of September 2026 10:17:02 AM] check_for_customer() - END - Customer ID: 559 | Found: true [Wednesday 9th of September 2026 10:17:02 AM] Customer AP559 found in EBMS [Wednesday 9th of September 2026 10:17:02 AM] check_for_empty_info() - START - Customer ID: 559 [Wednesday 9th of September 2026 10:17:02 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP559%27 [Wednesday 9th of September 2026 10:17:03 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 559 [Wednesday 9th of September 2026 10:17:03 AM] check_for_empty_info() - Customer record found for Customer ID: 559 - Checking ADDRESS1 field [Wednesday 9th of September 2026 10:17:03 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 559 - No update needed [Wednesday 9th of September 2026 10:17:03 AM] check_for_empty_info() - END - Customer ID: 559 | Empty Info: false [Wednesday 9th of September 2026 10:17:03 AM] check_for_empty_pn() - START - Customer ID: AP559 [Wednesday 9th of September 2026 10:17:03 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP559%27 [Wednesday 9th of September 2026 10:17:04 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP559 [Wednesday 9th of September 2026 10:17:04 AM] check_for_empty_pn() - Customer record found for Customer ID: AP559 - Checking CONTACT_1 field [Wednesday 9th of September 2026 10:17:04 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP559 - Value: (603) 913-4912 - No update needed [Wednesday 9th of September 2026 10:17:04 AM] check_for_empty_pn() - END - Customer ID: AP559 | Empty PN: false [Wednesday 9th of September 2026 10:17:04 AM] Fetching products from BigCommerce for Order ID: 2249 [Wednesday 9th of September 2026 10:17:04 AM] BigCommerce API call successful for Order ID: 2249 [Wednesday 9th of September 2026 10:17:04 AM] Products received: 1 item(s) [Wednesday 9th of September 2026 10:17:04 AM] Processing product SKU: LUC10679 | Qty: 4 | Price: 43.9900 [Wednesday 9th of September 2026 10:17:04 AM] get_mpn() - START - Product ID: 65888 [Wednesday 9th of September 2026 10:17:04 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888 [Wednesday 9th of September 2026 10:17:05 AM] get_mpn() - BigCommerce API call successful for Product ID: 65888 [Wednesday 9th of September 2026 10:17:05 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65888 [Wednesday 9th of September 2026 10:17:05 AM] get_mpn() - END - Product ID: 65888 | MPN: [Wednesday 9th of September 2026 10:17:05 AM] check_for_ebms_product() - START - SKU: LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10679%27 [Wednesday 9th of September 2026 10:17:05 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] check_for_ebms_product() - SKU: LUC10679 found in EBMS [Wednesday 9th of September 2026 10:17:05 AM] check_for_ebms_product() - END - SKU: LUC10679 | Found: true [Wednesday 9th of September 2026 10:17:05 AM] SKU LUC10679 found in EBMS - checking prices [Wednesday 9th of September 2026 10:17:05 AM] obtain_current_prices() - START - SKU: LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] check_for_ms_product() - START - SKU: LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] check_for_ms_product() - SKU: LUC10679 found in Motorstate [Wednesday 9th of September 2026 10:17:05 AM] check_for_ms_product() - END - SKU: LUC10679 | Found: true [Wednesday 9th of September 2026 10:17:05 AM] obtain_current_prices() - SKU: LUC10679 found in Motorstate - Fetching prices [Wednesday 9th of September 2026 10:17:05 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10679 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10679 - Base: 43.99 | Cost: 33.66 [Wednesday 9th of September 2026 10:17:05 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10679 - Base: 43.99 | Cost: 33.66 [Wednesday 9th of September 2026 10:17:05 AM] obtain_current_prices() - END - SKU: LUC10679 [Wednesday 9th of September 2026 10:17:05 AM] SKU LUC10679 has existing EBMS prices - syncing BigCommerce price back (cost: 33.66, base: 43.99) [Wednesday 9th of September 2026 10:17:05 AM] update_product_price() - START - Product ID: 65888 | Base: 43.99 | Cost: 33.66 [Wednesday 9th of September 2026 10:17:05 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888 [Wednesday 9th of September 2026 10:17:05 AM] update_product_price() - PUT payload: {"price":43.99000000000000198951966012828052043914794921875,"cost_price":33.659999999999996589394868351519107818603515625} [Wednesday 9th of September 2026 10:17:05 AM] update_product_price() - Attempt 1 of 6 for Product ID: 65888 [Wednesday 9th of September 2026 10:17:06 AM] update_product_price() - Price updated successfully for Product ID: 65888 - Base: 43.99 | Cost: 33.66 [Wednesday 9th of September 2026 10:17:06 AM] update_product_price() - END - Product ID: 65888 | Result: success [Wednesday 9th of September 2026 10:17:06 AM] BigCommerce price updated for Product ID: 65888 [Wednesday 9th of September 2026 10:17:06 AM] get_product_inventory() - START - SKU: LUC10679 [Wednesday 9th of September 2026 10:17:06 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 9th of September 2026 10:17:06 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC10679 [Wednesday 9th of September 2026 10:17:06 AM] get_product_inventory() - Stock found for SKU: LUC10679 - Quantity: 100 | Running Total: 100 [Wednesday 9th of September 2026 10:17:06 AM] get_product_inventory() - END - SKU: LUC10679 | Total: 100 [Wednesday 9th of September 2026 10:17:06 AM] get_cf_id() - START - Product ID: 65888 [Wednesday 9th of September 2026 10:17:06 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888/custom-fields [Wednesday 9th of September 2026 10:17:06 AM] get_cf_id() - BigCommerce API call successful for Product ID: 65888 [Wednesday 9th of September 2026 10:17:06 AM] get_cf_id() - Custom field found for Product ID: 65888 | Field: online_stock_level | CF ID: 65778 [Wednesday 9th of September 2026 10:17:06 AM] get_cf_id() - END - Product ID: 65888 | CF ID: 65778 [Wednesday 9th of September 2026 10:17:06 AM] Updating inventory for SKU LUC10679 - stock: 100, CF ID: 65778 [Wednesday 9th of September 2026 10:17:06 AM] update_product_inventory() - START - Product ID: 65888 | Stock: 100 | CF ID: 65778 [Wednesday 9th of September 2026 10:17:06 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888/custom-fields/65778 [Wednesday 9th of September 2026 10:17:06 AM] update_product_inventory() - Inventory updated successfully for Product ID: 65888 | Stock: 100 [Wednesday 9th of September 2026 10:17:06 AM] update_product_inventory() - END - Product ID: 65888 | Result: success [Wednesday 9th of September 2026 10:17:06 AM] Inventory updated for SKU: LUC10679 [Wednesday 9th of September 2026 10:17:06 AM] All products processed - Order details: [{"ID":"AP559","INVEN":"LUC10679","M_QUAN_VIS":4,"UNIT":"43.99","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 10:17:06 AM] Building payment record - Total: 216.4800 [Wednesday 9th of September 2026 10:17:06 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2249","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","C_ADDRESS1":"24 Wimbledon Dr","C_ADDRESS2":"","C_CITY":"Londonderry","C_COUNTRY":"USA","C_EMAIL":"nildaprovi@gmail.com","C_NAME":"Frank Wynters","C_STATE":"NH","C_ZIP":"03053","ShippingAmount":"40.52","CITY":"Londonderry","EMAIL":"nildaprovi@gmail.com","ID":"AP559","NAME":"Frank Wynters","STATE":"NH","COUNTRY":"USA","ZIP":"03053","MEMO":"","DESCR":"BigCommerce Order - AP2249 - Customer AP559","Details":[{"ID":"AP559","INVEN":"LUC10679","M_QUAN_VIS":4,"UNIT":"43.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"216.48","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 10:17:06 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2249 [Wednesday 9th of September 2026 10:17:06 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2249%27 [Wednesday 9th of September 2026 10:17:07 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2249 [Wednesday 9th of September 2026 10:17:07 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2249 not found in EBMS [Wednesday 9th of September 2026 10:17:07 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2249 | Found: false [Wednesday 9th of September 2026 10:17:07 AM] Invoice AP2249 does not exist in EBMS - creating [Wednesday 9th of September 2026 10:17:07 AM] create_ebms_invoice() - START - Invoice: AP2249 [Wednesday 9th of September 2026 10:17:07 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2249","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","C_ADDRESS1":"24 Wimbledon Dr","C_ADDRESS2":"","C_CITY":"Londonderry","C_COUNTRY":"USA","C_EMAIL":"nildaprovi@gmail.com","C_NAME":"Frank Wynters","C_STATE":"NH","C_ZIP":"03053","ShippingAmount":"40.52","CITY":"Londonderry","EMAIL":"nildaprovi@gmail.com","ID":"AP559","NAME":"Frank Wynters","STATE":"NH","COUNTRY":"USA","ZIP":"03053","MEMO":"","DESCR":"BigCommerce Order - AP2249 - Customer AP559","Details":[{"ID":"AP559","INVEN":"LUC10679","M_QUAN_VIS":4,"UNIT":"43.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"216.48","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 10:17:07 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 9th of September 2026 10:17:14 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2249 [Wednesday 9th of September 2026 10:17:14 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2249 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"37364543-4831-4a50-3854-474f43303030","AUTOID":"CE671HPJ8TGOC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-175.960000000000007958078640513122081756591796875,"BAL_CUST_X":-175.960000000000007958078640513122081756591796875,"BALANCE":-175.960000000000007958078640513122081756591796875,"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":216.479999999999989768184605054557323455810546875,"TOTAL_S_SO":175.960000000000007958078640513122081756591796875,"TOTAL_SO":216.479999999999989768184605054557323455810546875,"TOTAL_W":0,"TTLPROCPMT":216.479999999999989768184605054557323455810546875,"TOTAL":40.52000000000000312638803734444081783294677734375,"FREIGHT":40.52000000000000312638803734444081783294677734375,"HANDLING":0,"SHIPPING":40.52000000000000312638803734444081783294677734375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","C_EMAIL":"nildaprovi@gmail.com","C_PHONE":"(603) 913-4912","CCNTCT_AID":"V1E1N1FUMBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-09T00:00:00Z","CHECK_NO":" APBC","CITY":"Londonderry","CNTCT_AID":"V1E1N1FUMBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-09T00:00:00Z","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"nildaprovi@gmail.com","IADDRESS":"24 Wimbledon Dr , Londonderry, NH 03053","ID":"AP559","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-09T00:00:00Z","INVOICE":"AP2249","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Frank Wynters","PHONE":"","PROCESS":"Default","STATE":"NH","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"03053","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"24 Wimbledon Dr","C_ADDRESS2":"","C_CITY":"Londonderry","C_COUNTRY":"USA","C_ID":"AP559","C_NAME":"Frank Wynters","C_STATE":"NH","C_ZIP":"03053","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2249 - Customer AP559","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-09T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 9th of September 2026 10:17:14 AM] create_ebms_invoice() - END - Invoice: AP2249 [Wednesday 9th of September 2026 10:17:14 AM] Invoice AP2249 created successfully [Wednesday 9th of September 2026 10:17:14 AM] ORDER WEBHOOK COMPLETED - Order ID: 2249 | Invoice: AP2249 [Wednesday 9th of September 2026 10:18:12 AM] ORDER WEBHOOK STARTED - Order ID: 2249 [Wednesday 9th of September 2026 10:18:12 AM] Fetching customer data for Order ID: 2249 [Wednesday 9th of September 2026 10:18:12 AM] get_order_customer_data() - START - Order ID: 2249 [Wednesday 9th of September 2026 10:18:12 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2249 [Wednesday 9th of September 2026 10:18:12 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2249 [Wednesday 9th of September 2026 10:18:12 AM] get_order_customer_data() - Parsing order response for Order ID: 2249 [Wednesday 9th of September 2026 10:18:12 AM] get_order_customer_data() - Customer object built - Customer ID: 559 | Name: Frank Wynters | Email: nildaprovi@gmail.com | Total: 216.4800 | Shipping: 40.52 [Wednesday 9th of September 2026 10:18:12 AM] get_order_customer_data() - END - Order ID: 2249 [Wednesday 9th of September 2026 10:18:12 AM] Customer data received: {"id":559,"email":"nildaprovi@gmail.com","address_1":"24 Wimbledon Dr","address_2":"","city":"Londonderry","state":"NH","country":"USA","zip":"03053","f_name":"Frank","l_name":"Wynters","contact_5":"nildaprovi@gmail.com","contact_1":"6039134912","contact_4":"Frank Wynters"} [Wednesday 9th of September 2026 10:18:12 AM] Fetching shipping info for Order ID: 2249 [Wednesday 9th of September 2026 10:18:12 AM] get_order_shipping_info() - START - Order ID: 2249 [Wednesday 9th of September 2026 10:18:12 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2249/shipping_addresses [Wednesday 9th of September 2026 10:18:13 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2249 [Wednesday 9th of September 2026 10:18:13 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2249 | Name: Frank Wynters | Address: 24 Wimbledon Dr, Londonderry, New Hampshire, 03053 [Wednesday 9th of September 2026 10:18:13 AM] get_order_shipping_info() - END - Order ID: 2249 [Wednesday 9th of September 2026 10:18:13 AM] Shipping info received: {"id":2148,"order_id":2249,"first_name":"Frank","last_name":"Wynters","company":"","street_1":"24 Wimbledon Dr","street_2":"","city":"Londonderry","zip":"03053","country":"United States","country_iso2":"US","state":"New Hampshire","email":"nildaprovi@gmail.com","phone":"6039134912","items_total":4,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"40.5200","cost_ex_tax":"40.5200","cost_inc_tax":"40.5200","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\/2249\/shipping_addresses\/2148\/shipping_quotes","resource":"\/orders\/2249\/shipping_addresses\/2148\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 10:18:13 AM] Resolved Customer ID: AP559 [Wednesday 9th of September 2026 10:18:13 AM] Building order object for Invoice: AP2249 [Wednesday 9th of September 2026 10:18:13 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2249","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","C_ADDRESS1":"24 Wimbledon Dr","C_ADDRESS2":"","C_CITY":"Londonderry","C_COUNTRY":"USA","C_EMAIL":"nildaprovi@gmail.com","C_NAME":"Frank Wynters","C_STATE":"NH","C_ZIP":"03053","ShippingAmount":"40.52","CITY":"Londonderry","EMAIL":"nildaprovi@gmail.com","ID":"AP559","NAME":"Frank Wynters","STATE":"NH","COUNTRY":"USA","ZIP":"03053","MEMO":"","DESCR":"BigCommerce Order - AP2249 - Customer AP559"} [Wednesday 9th of September 2026 10:18:13 AM] Registered customer detected - checking EBMS for Customer ID: AP559 [Wednesday 9th of September 2026 10:18:13 AM] check_for_customer() - START - Customer ID: 559 [Wednesday 9th of September 2026 10:18:13 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP559%27 [Wednesday 9th of September 2026 10:18:14 AM] check_for_customer() - EBMS API call successful for Customer ID: 559 [Wednesday 9th of September 2026 10:18:14 AM] check_for_customer() - Customer ID: 559 found in EBMS [Wednesday 9th of September 2026 10:18:14 AM] check_for_customer() - END - Customer ID: 559 | Found: true [Wednesday 9th of September 2026 10:18:14 AM] Customer AP559 found in EBMS [Wednesday 9th of September 2026 10:18:14 AM] check_for_empty_info() - START - Customer ID: 559 [Wednesday 9th of September 2026 10:18:14 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP559%27 [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 559 [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_info() - Customer record found for Customer ID: 559 - Checking ADDRESS1 field [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 559 - No update needed [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_info() - END - Customer ID: 559 | Empty Info: false [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_pn() - START - Customer ID: AP559 [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP559%27 [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP559 [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_pn() - Customer record found for Customer ID: AP559 - Checking CONTACT_1 field [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP559 - Value: (603) 913-4912 - No update needed [Wednesday 9th of September 2026 10:18:15 AM] check_for_empty_pn() - END - Customer ID: AP559 | Empty PN: false [Wednesday 9th of September 2026 10:18:15 AM] Fetching products from BigCommerce for Order ID: 2249 [Wednesday 9th of September 2026 10:18:15 AM] BigCommerce API call successful for Order ID: 2249 [Wednesday 9th of September 2026 10:18:15 AM] Products received: 1 item(s) [Wednesday 9th of September 2026 10:18:15 AM] Processing product SKU: LUC10679 | Qty: 4 | Price: 43.9900 [Wednesday 9th of September 2026 10:18:15 AM] get_mpn() - START - Product ID: 65888 [Wednesday 9th of September 2026 10:18:15 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888 [Wednesday 9th of September 2026 10:18:16 AM] get_mpn() - BigCommerce API call successful for Product ID: 65888 [Wednesday 9th of September 2026 10:18:16 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65888 [Wednesday 9th of September 2026 10:18:16 AM] get_mpn() - END - Product ID: 65888 | MPN: [Wednesday 9th of September 2026 10:18:16 AM] check_for_ebms_product() - START - SKU: LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10679%27 [Wednesday 9th of September 2026 10:18:16 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] check_for_ebms_product() - SKU: LUC10679 found in EBMS [Wednesday 9th of September 2026 10:18:16 AM] check_for_ebms_product() - END - SKU: LUC10679 | Found: true [Wednesday 9th of September 2026 10:18:16 AM] SKU LUC10679 found in EBMS - checking prices [Wednesday 9th of September 2026 10:18:16 AM] obtain_current_prices() - START - SKU: LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] check_for_ms_product() - START - SKU: LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] check_for_ms_product() - SKU: LUC10679 found in Motorstate [Wednesday 9th of September 2026 10:18:16 AM] check_for_ms_product() - END - SKU: LUC10679 | Found: true [Wednesday 9th of September 2026 10:18:16 AM] obtain_current_prices() - SKU: LUC10679 found in Motorstate - Fetching prices [Wednesday 9th of September 2026 10:18:16 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10679 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10679 - Base: 43.99 | Cost: 33.66 [Wednesday 9th of September 2026 10:18:16 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10679 - Base: 43.99 | Cost: 33.66 [Wednesday 9th of September 2026 10:18:16 AM] obtain_current_prices() - END - SKU: LUC10679 [Wednesday 9th of September 2026 10:18:16 AM] SKU LUC10679 has existing EBMS prices - syncing BigCommerce price back (cost: 33.66, base: 43.99) [Wednesday 9th of September 2026 10:18:16 AM] update_product_price() - START - Product ID: 65888 | Base: 43.99 | Cost: 33.66 [Wednesday 9th of September 2026 10:18:16 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888 [Wednesday 9th of September 2026 10:18:16 AM] update_product_price() - PUT payload: {"price":43.99000000000000198951966012828052043914794921875,"cost_price":33.659999999999996589394868351519107818603515625} [Wednesday 9th of September 2026 10:18:16 AM] update_product_price() - Attempt 1 of 6 for Product ID: 65888 [Wednesday 9th of September 2026 10:18:17 AM] update_product_price() - Price updated successfully for Product ID: 65888 - Base: 43.99 | Cost: 33.66 [Wednesday 9th of September 2026 10:18:17 AM] update_product_price() - END - Product ID: 65888 | Result: success [Wednesday 9th of September 2026 10:18:17 AM] BigCommerce price updated for Product ID: 65888 [Wednesday 9th of September 2026 10:18:17 AM] get_product_inventory() - START - SKU: LUC10679 [Wednesday 9th of September 2026 10:18:17 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 9th of September 2026 10:18:17 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC10679 [Wednesday 9th of September 2026 10:18:17 AM] get_product_inventory() - Stock found for SKU: LUC10679 - Quantity: 100 | Running Total: 100 [Wednesday 9th of September 2026 10:18:17 AM] get_product_inventory() - END - SKU: LUC10679 | Total: 100 [Wednesday 9th of September 2026 10:18:17 AM] get_cf_id() - START - Product ID: 65888 [Wednesday 9th of September 2026 10:18:17 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888/custom-fields [Wednesday 9th of September 2026 10:18:17 AM] get_cf_id() - BigCommerce API call successful for Product ID: 65888 [Wednesday 9th of September 2026 10:18:17 AM] get_cf_id() - Custom field found for Product ID: 65888 | Field: online_stock_level | CF ID: 65778 [Wednesday 9th of September 2026 10:18:17 AM] get_cf_id() - END - Product ID: 65888 | CF ID: 65778 [Wednesday 9th of September 2026 10:18:17 AM] Updating inventory for SKU LUC10679 - stock: 100, CF ID: 65778 [Wednesday 9th of September 2026 10:18:17 AM] update_product_inventory() - START - Product ID: 65888 | Stock: 100 | CF ID: 65778 [Wednesday 9th of September 2026 10:18:17 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888/custom-fields/65778 [Wednesday 9th of September 2026 10:18:17 AM] update_product_inventory() - Inventory updated successfully for Product ID: 65888 | Stock: 100 [Wednesday 9th of September 2026 10:18:17 AM] update_product_inventory() - END - Product ID: 65888 | Result: success [Wednesday 9th of September 2026 10:18:17 AM] Inventory updated for SKU: LUC10679 [Wednesday 9th of September 2026 10:18:17 AM] All products processed - Order details: [{"ID":"AP559","INVEN":"LUC10679","M_QUAN_VIS":4,"UNIT":"43.99","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 10:18:17 AM] Building payment record - Total: 216.4800 [Wednesday 9th of September 2026 10:18:17 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2249","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","C_ADDRESS1":"24 Wimbledon Dr","C_ADDRESS2":"","C_CITY":"Londonderry","C_COUNTRY":"USA","C_EMAIL":"nildaprovi@gmail.com","C_NAME":"Frank Wynters","C_STATE":"NH","C_ZIP":"03053","ShippingAmount":"40.52","CITY":"Londonderry","EMAIL":"nildaprovi@gmail.com","ID":"AP559","NAME":"Frank Wynters","STATE":"NH","COUNTRY":"USA","ZIP":"03053","MEMO":"","DESCR":"BigCommerce Order - AP2249 - Customer AP559","Details":[{"ID":"AP559","INVEN":"LUC10679","M_QUAN_VIS":4,"UNIT":"43.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"216.48","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 10:18:17 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2249 [Wednesday 9th of September 2026 10:18:17 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2249%27 [Wednesday 9th of September 2026 10:18:19 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2249 [Wednesday 9th of September 2026 10:18:19 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2249 found in EBMS [Wednesday 9th of September 2026 10:18:19 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2249 | Found: true [Wednesday 9th of September 2026 10:18:19 AM] Invoice AP2249 already exists in EBMS - patching [Wednesday 9th of September 2026 10:18:19 AM] patch_ebms_invoice() - START - Invoice: AP2249 [Wednesday 9th of September 2026 10:18:19 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2249","ADDRESS1":"24 Wimbledon Dr","ADDRESS2":"","C_ADDRESS1":"24 Wimbledon Dr","C_ADDRESS2":"","C_CITY":"Londonderry","C_COUNTRY":"USA","C_EMAIL":"nildaprovi@gmail.com","C_NAME":"Frank Wynters","C_STATE":"NH","C_ZIP":"03053","ShippingAmount":"40.52","CITY":"Londonderry","EMAIL":"nildaprovi@gmail.com","ID":"AP559","NAME":"Frank Wynters","STATE":"NH","COUNTRY":"USA","ZIP":"03053","MEMO":"","DESCR":"BigCommerce Order - AP2249 - Customer AP559","Details":[{"ID":"AP559","INVEN":"LUC10679","M_QUAN_VIS":4,"UNIT":"43.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"216.48","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 10:18:19 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2249%27 [Wednesday 9th of September 2026 10:18:19 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2249 [Wednesday 9th of September 2026 10:18:19 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2249 [Wednesday 9th of September 2026 10:18:19 AM] patch_ebms_invoice() - END - Invoice: AP2249 [Wednesday 9th of September 2026 10:18:19 AM] Invoice AP2249 patched successfully [Wednesday 9th of September 2026 10:18:19 AM] ORDER WEBHOOK COMPLETED - Order ID: 2249 | Invoice: AP2249 [Wednesday 9th of September 2026 10:56:01 AM] add_customer() - START - Customer ID: 560 | Name: Guy Godwin [Wednesday 9th of September 2026 10:56:01 AM] add_customer() - Customer payload: {"id":560,"email":"guygodwin@ymail.com","address_1":"13951 US Highway 42 E","address_2":"","city":"Verona","state":"KY","country":"USA","zip":"41092","f_name":"Guy","l_name":"Godwin","contact_5":"guygodwin@ymail.com","contact_1":"8593088695","contact_4":"Guy Godwin"} [Wednesday 9th of September 2026 10:56:01 AM] add_customer() - Customer fields parsed - ID: AP560 | Address: 13951 US Highway 42 E, Verona, KY 41092 | Email: guygodwin@ymail.com [Wednesday 9th of September 2026 10:56:01 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 9th of September 2026 10:56:01 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","CITY":"Verona","CONTACT_5":"guygodwin@ymail.com","CONTACT_1":"8593088695","CONTACT_4":"Guy Godwin","COUNTRY":"USA","F_NAME":"Guy","ID":"AP560","L_NAME":"Godwin","STATE":"KY","ZIP":"41092"} [Wednesday 9th of September 2026 10:56:03 AM] add_customer() - EBMS API call successful for Customer ID: AP560 [Wednesday 9th of September 2026 10:56:03 AM] add_customer() - Customer created successfully in EBMS - ID: AP560 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"31425631-3452-4432-3954-474f43303030","AUTOID":"1VB1R42D9TGOC000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Guy Godwin","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Verona","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"guygodwin@ymail.com","EMAIL_LIST":false,"F_NAME":"Guy","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP560","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Godwin","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Guy Godwin)","OUT_CITY":false,"PHONE":"(859) 308-8695","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"KY","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"41092","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(859) 308-8695","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Guy Godwin","CONTACT_5":"guygodwin@ymail.com","EXTERNALID":""} [Wednesday 9th of September 2026 10:56:03 AM] add_customer() - END - Customer ID: AP560 [Wednesday 9th of September 2026 11:17:03 AM] ORDER WEBHOOK STARTED - Order ID: 2250 [Wednesday 9th of September 2026 11:17:03 AM] Fetching customer data for Order ID: 2250 [Wednesday 9th of September 2026 11:17:03 AM] get_order_customer_data() - START - Order ID: 2250 [Wednesday 9th of September 2026 11:17:03 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2250 [Wednesday 9th of September 2026 11:17:03 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2250 [Wednesday 9th of September 2026 11:17:03 AM] get_order_customer_data() - Parsing order response for Order ID: 2250 [Wednesday 9th of September 2026 11:17:03 AM] get_order_customer_data() - Customer object built - Customer ID: 560 | Name: Guy Godwin | Email: guygodwin@ymail.com | Total: 287.0500 | Shipping: 23.81 [Wednesday 9th of September 2026 11:17:03 AM] get_order_customer_data() - END - Order ID: 2250 [Wednesday 9th of September 2026 11:17:03 AM] Customer data received: {"id":560,"email":"guygodwin@ymail.com","address_1":"13951 US Highway 42 E","address_2":"","city":"Verona","state":"KY","country":"USA","zip":"41092","f_name":"Guy","l_name":"Godwin","contact_5":"guygodwin@ymail.com","contact_1":"8593088695","contact_4":"Guy Godwin"} [Wednesday 9th of September 2026 11:17:03 AM] Fetching shipping info for Order ID: 2250 [Wednesday 9th of September 2026 11:17:03 AM] get_order_shipping_info() - START - Order ID: 2250 [Wednesday 9th of September 2026 11:17:03 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2250/shipping_addresses [Wednesday 9th of September 2026 11:17:04 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2250 [Wednesday 9th of September 2026 11:17:04 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2250 | Name: Guy Godwin | Address: 13951 US Highway 42 E, Verona, Kentucky, 41092 [Wednesday 9th of September 2026 11:17:04 AM] get_order_shipping_info() - END - Order ID: 2250 [Wednesday 9th of September 2026 11:17:04 AM] Shipping info received: {"id":2149,"order_id":2250,"first_name":"Guy","last_name":"Godwin","company":"Home","street_1":"13951 US Highway 42 E","street_2":"","city":"Verona","zip":"41092","country":"United States","country_iso2":"US","state":"Kentucky","email":"guygodwin@ymail.com","phone":"8593088695","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.8100","cost_ex_tax":"23.8100","cost_inc_tax":"25.2386","cost_tax":"1.4286","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\/2250\/shipping_addresses\/2149\/shipping_quotes","resource":"\/orders\/2250\/shipping_addresses\/2149\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 11:17:04 AM] Resolved Customer ID: AP560 [Wednesday 9th of September 2026 11:17:04 AM] Building order object for Invoice: AP2250 [Wednesday 9th of September 2026 11:17:04 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2250","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","C_ADDRESS1":"13951 US Highway 42 E","C_ADDRESS2":"","C_CITY":"Verona","C_COUNTRY":"USA","C_EMAIL":"guygodwin@ymail.com","C_NAME":"Guy Godwin","C_STATE":"KY","C_ZIP":"41092","ShippingAmount":"23.81","CITY":"Verona","EMAIL":"guygodwin@ymail.com","ID":"AP560","NAME":"Guy Godwin","STATE":"KY","COUNTRY":"USA","ZIP":"41092","MEMO":"","DESCR":"BigCommerce Order - AP2250 - Customer AP560"} [Wednesday 9th of September 2026 11:17:04 AM] Registered customer detected - checking EBMS for Customer ID: AP560 [Wednesday 9th of September 2026 11:17:04 AM] check_for_customer() - START - Customer ID: 560 [Wednesday 9th of September 2026 11:17:04 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP560%27 [Wednesday 9th of September 2026 11:17:04 AM] check_for_customer() - EBMS API call successful for Customer ID: 560 [Wednesday 9th of September 2026 11:17:04 AM] check_for_customer() - Customer ID: 560 found in EBMS [Wednesday 9th of September 2026 11:17:04 AM] check_for_customer() - END - Customer ID: 560 | Found: true [Wednesday 9th of September 2026 11:17:04 AM] Customer AP560 found in EBMS [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_info() - START - Customer ID: 560 [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP560%27 [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 560 [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_info() - Customer record found for Customer ID: 560 - Checking ADDRESS1 field [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 560 - No update needed [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_info() - END - Customer ID: 560 | Empty Info: false [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_pn() - START - Customer ID: AP560 [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP560%27 [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP560 [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_pn() - Customer record found for Customer ID: AP560 - Checking CONTACT_1 field [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP560 - Value: (859) 308-8695 - No update needed [Wednesday 9th of September 2026 11:17:04 AM] check_for_empty_pn() - END - Customer ID: AP560 | Empty PN: false [Wednesday 9th of September 2026 11:17:04 AM] Fetching products from BigCommerce for Order ID: 2250 [Wednesday 9th of September 2026 11:17:05 AM] BigCommerce API call successful for Order ID: 2250 [Wednesday 9th of September 2026 11:17:05 AM] Products received: 1 item(s) [Wednesday 9th of September 2026 11:17:05 AM] Processing product SKU: PWM9514 | Qty: 1 | Price: 246.9900 [Wednesday 9th of September 2026 11:17:05 AM] get_mpn() - START - Product ID: 61009 [Wednesday 9th of September 2026 11:17:05 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/61009 [Wednesday 9th of September 2026 11:17:05 AM] get_mpn() - BigCommerce API call successful for Product ID: 61009 [Wednesday 9th of September 2026 11:17:05 AM] get_mpn() - WARNING - MPN is empty for Product ID: 61009 [Wednesday 9th of September 2026 11:17:05 AM] get_mpn() - END - Product ID: 61009 | MPN: [Wednesday 9th of September 2026 11:17:05 AM] check_for_ebms_product() - START - SKU: PWM9514 [Wednesday 9th of September 2026 11:17:05 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27PWM9514%27 [Wednesday 9th of September 2026 11:17:05 AM] check_for_ebms_product() - EBMS API call successful for SKU: PWM9514 [Wednesday 9th of September 2026 11:17:05 AM] check_for_ebms_product() - SKU: PWM9514 found in EBMS [Wednesday 9th of September 2026 11:17:05 AM] check_for_ebms_product() - END - SKU: PWM9514 | Found: true [Wednesday 9th of September 2026 11:17:05 AM] SKU PWM9514 found in EBMS - checking prices [Wednesday 9th of September 2026 11:17:05 AM] obtain_current_prices() - START - SKU: PWM9514 [Wednesday 9th of September 2026 11:17:05 AM] obtain_current_prices() - Checking Motorstate for SKU: PWM9514 [Wednesday 9th of September 2026 11:17:05 AM] check_for_ms_product() - START - SKU: PWM9514 [Wednesday 9th of September 2026 11:17:05 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PWM9514 [Wednesday 9th of September 2026 11:17:05 AM] check_for_ms_product() - Motorstate API call successful for SKU: PWM9514 [Wednesday 9th of September 2026 11:17:05 AM] check_for_ms_product() - SKU: PWM9514 found in Motorstate [Wednesday 9th of September 2026 11:17:05 AM] check_for_ms_product() - END - SKU: PWM9514 | Found: true [Wednesday 9th of September 2026 11:17:05 AM] obtain_current_prices() - SKU: PWM9514 found in Motorstate - Fetching prices [Wednesday 9th of September 2026 11:17:05 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: PWM9514 - URL: https://api.motorstate.com/api/Product?partNumbers=PWM9514 [Wednesday 9th of September 2026 11:17:06 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: PWM9514 - Base: 246.99 | Cost: 197.07 [Wednesday 9th of September 2026 11:17:06 AM] obtain_current_prices() - Returning Motorstate prices for SKU: PWM9514 - Base: 246.99 | Cost: 197.07 [Wednesday 9th of September 2026 11:17:06 AM] obtain_current_prices() - END - SKU: PWM9514 [Wednesday 9th of September 2026 11:17:06 AM] SKU PWM9514 has existing EBMS prices - syncing BigCommerce price back (cost: 197.07, base: 246.99) [Wednesday 9th of September 2026 11:17:06 AM] update_product_price() - START - Product ID: 61009 | Base: 246.99 | Cost: 197.07 [Wednesday 9th of September 2026 11:17:06 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/61009 [Wednesday 9th of September 2026 11:17:06 AM] update_product_price() - PUT payload: {"price":246.990000000000009094947017729282379150390625,"cost_price":197.06999999999999317878973670303821563720703125} [Wednesday 9th of September 2026 11:17:06 AM] update_product_price() - Attempt 1 of 6 for Product ID: 61009 [Wednesday 9th of September 2026 11:17:06 AM] update_product_price() - Price updated successfully for Product ID: 61009 - Base: 246.99 | Cost: 197.07 [Wednesday 9th of September 2026 11:17:06 AM] update_product_price() - END - Product ID: 61009 | Result: success [Wednesday 9th of September 2026 11:17:06 AM] BigCommerce price updated for Product ID: 61009 [Wednesday 9th of September 2026 11:17:06 AM] get_product_inventory() - START - SKU: PWM9514 [Wednesday 9th of September 2026 11:17:06 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PWM9514 [Wednesday 9th of September 2026 11:17:06 AM] get_product_inventory() - Motorstate API call successful for SKU: PWM9514 [Wednesday 9th of September 2026 11:17:06 AM] get_product_inventory() - Stock found for SKU: PWM9514 - Quantity: 41 | Running Total: 41 [Wednesday 9th of September 2026 11:17:06 AM] get_product_inventory() - END - SKU: PWM9514 | Total: 41 [Wednesday 9th of September 2026 11:17:06 AM] get_cf_id() - START - Product ID: 61009 [Wednesday 9th of September 2026 11:17:06 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/61009/custom-fields [Wednesday 9th of September 2026 11:17:06 AM] get_cf_id() - BigCommerce API call successful for Product ID: 61009 [Wednesday 9th of September 2026 11:17:06 AM] get_cf_id() - Custom field found for Product ID: 61009 | Field: online_stock_level | CF ID: 60899 [Wednesday 9th of September 2026 11:17:06 AM] get_cf_id() - END - Product ID: 61009 | CF ID: 60899 [Wednesday 9th of September 2026 11:17:06 AM] Updating inventory for SKU PWM9514 - stock: 41, CF ID: 60899 [Wednesday 9th of September 2026 11:17:06 AM] update_product_inventory() - START - Product ID: 61009 | Stock: 41 | CF ID: 60899 [Wednesday 9th of September 2026 11:17:06 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/61009/custom-fields/60899 [Wednesday 9th of September 2026 11:17:06 AM] update_product_inventory() - Inventory updated successfully for Product ID: 61009 | Stock: 41 [Wednesday 9th of September 2026 11:17:06 AM] update_product_inventory() - END - Product ID: 61009 | Result: success [Wednesday 9th of September 2026 11:17:06 AM] Inventory updated for SKU: PWM9514 [Wednesday 9th of September 2026 11:17:06 AM] All products processed - Order details: [{"ID":"AP560","INVEN":"PWM9514","M_QUAN_VIS":1,"UNIT":"246.99","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 11:17:06 AM] Building payment record - Total: 287.0500 [Wednesday 9th of September 2026 11:17:06 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2250","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","C_ADDRESS1":"13951 US Highway 42 E","C_ADDRESS2":"","C_CITY":"Verona","C_COUNTRY":"USA","C_EMAIL":"guygodwin@ymail.com","C_NAME":"Guy Godwin","C_STATE":"KY","C_ZIP":"41092","ShippingAmount":"23.81","CITY":"Verona","EMAIL":"guygodwin@ymail.com","ID":"AP560","NAME":"Guy Godwin","STATE":"KY","COUNTRY":"USA","ZIP":"41092","MEMO":"","DESCR":"BigCommerce Order - AP2250 - Customer AP560","Details":[{"ID":"AP560","INVEN":"PWM9514","M_QUAN_VIS":1,"UNIT":"246.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"287.05","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 11:17:06 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2250 [Wednesday 9th of September 2026 11:17:06 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2250%27 [Wednesday 9th of September 2026 11:17:07 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2250 [Wednesday 9th of September 2026 11:17:07 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2250 not found in EBMS [Wednesday 9th of September 2026 11:17:07 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2250 | Found: false [Wednesday 9th of September 2026 11:17:07 AM] Invoice AP2250 does not exist in EBMS - creating [Wednesday 9th of September 2026 11:17:07 AM] create_ebms_invoice() - START - Invoice: AP2250 [Wednesday 9th of September 2026 11:17:07 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2250","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","C_ADDRESS1":"13951 US Highway 42 E","C_ADDRESS2":"","C_CITY":"Verona","C_COUNTRY":"USA","C_EMAIL":"guygodwin@ymail.com","C_NAME":"Guy Godwin","C_STATE":"KY","C_ZIP":"41092","ShippingAmount":"23.81","CITY":"Verona","EMAIL":"guygodwin@ymail.com","ID":"AP560","NAME":"Guy Godwin","STATE":"KY","COUNTRY":"USA","ZIP":"41092","MEMO":"","DESCR":"BigCommerce Order - AP2250 - Customer AP560","Details":[{"ID":"AP560","INVEN":"PWM9514","M_QUAN_VIS":1,"UNIT":"246.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"287.05","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 11:17:07 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 9th of September 2026 11:17:15 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2250 [Wednesday 9th of September 2026 11:17:15 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2250 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"39434838-4437-514f-3954-474f43303030","AUTOID":"8HC97DOQ9TGOC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-261.81000000000000227373675443232059478759765625,"BAL_CUST_X":-261.81000000000000227373675443232059478759765625,"BALANCE":-261.81000000000000227373675443232059478759765625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":16.25,"TAX":1.4299999999999999378275106209912337362766265869140625,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":287.05000000000001136868377216160297393798828125,"TOTAL_S_SO":246.990000000000009094947017729282379150390625,"TOTAL_SO":287.05000000000001136868377216160297393798828125,"TOTAL_W":0,"TTLPROCPMT":287.05000000000001136868377216160297393798828125,"TOTAL":25.239999999999998436805981327779591083526611328125,"FREIGHT":23.809999999999998721023075631819665431976318359375,"HANDLING":0,"SHIPPING":23.809999999999998721023075631819665431976318359375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","C_EMAIL":"guygodwin@ymail.com","C_PHONE":"(859) 308-8695","CCNTCT_AID":"7870UFPPNBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-09T00:00:00Z","CHECK_NO":" APBC","CITY":"Verona","CNTCT_AID":"7870UFPPNBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-09T00:00:00Z","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"guygodwin@ymail.com","IADDRESS":"13951 US Highway 42 E , Verona, KY 41092","ID":"AP560","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-09T00:00:00Z","INVOICE":"AP2250","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Guy Godwin","PHONE":"","PROCESS":"Default","STATE":"KY","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"41092","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"13951 US Highway 42 E","C_ADDRESS2":"","C_CITY":"Verona","C_COUNTRY":"USA","C_ID":"AP560","C_NAME":"Guy Godwin","C_STATE":"KY","C_ZIP":"41092","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2250 - Customer AP560","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-09T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 9th of September 2026 11:17:15 AM] create_ebms_invoice() - END - Invoice: AP2250 [Wednesday 9th of September 2026 11:17:15 AM] Invoice AP2250 created successfully [Wednesday 9th of September 2026 11:17:15 AM] ORDER WEBHOOK COMPLETED - Order ID: 2250 | Invoice: AP2250 [Wednesday 9th of September 2026 11:18:14 AM] ORDER WEBHOOK STARTED - Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] Fetching customer data for Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] get_order_customer_data() - START - Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2250 [Wednesday 9th of September 2026 11:18:14 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] get_order_customer_data() - Parsing order response for Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] get_order_customer_data() - Customer object built - Customer ID: 560 | Name: Guy Godwin | Email: guygodwin@ymail.com | Total: 287.0500 | Shipping: 23.81 [Wednesday 9th of September 2026 11:18:14 AM] get_order_customer_data() - END - Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] Customer data received: {"id":560,"email":"guygodwin@ymail.com","address_1":"13951 US Highway 42 E","address_2":"","city":"Verona","state":"KY","country":"USA","zip":"41092","f_name":"Guy","l_name":"Godwin","contact_5":"guygodwin@ymail.com","contact_1":"8593088695","contact_4":"Guy Godwin"} [Wednesday 9th of September 2026 11:18:14 AM] Fetching shipping info for Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] get_order_shipping_info() - START - Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2250/shipping_addresses [Wednesday 9th of September 2026 11:18:14 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2250 | Name: Guy Godwin | Address: 13951 US Highway 42 E, Verona, Kentucky, 41092 [Wednesday 9th of September 2026 11:18:14 AM] get_order_shipping_info() - END - Order ID: 2250 [Wednesday 9th of September 2026 11:18:14 AM] Shipping info received: {"id":2149,"order_id":2250,"first_name":"Guy","last_name":"Godwin","company":"Home","street_1":"13951 US Highway 42 E","street_2":"","city":"Verona","zip":"41092","country":"United States","country_iso2":"US","state":"Kentucky","email":"guygodwin@ymail.com","phone":"8593088695","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.8100","cost_ex_tax":"23.8100","cost_inc_tax":"25.2386","cost_tax":"1.4286","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\/2250\/shipping_addresses\/2149\/shipping_quotes","resource":"\/orders\/2250\/shipping_addresses\/2149\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 11:18:14 AM] Resolved Customer ID: AP560 [Wednesday 9th of September 2026 11:18:14 AM] Building order object for Invoice: AP2250 [Wednesday 9th of September 2026 11:18:14 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2250","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","C_ADDRESS1":"13951 US Highway 42 E","C_ADDRESS2":"","C_CITY":"Verona","C_COUNTRY":"USA","C_EMAIL":"guygodwin@ymail.com","C_NAME":"Guy Godwin","C_STATE":"KY","C_ZIP":"41092","ShippingAmount":"23.81","CITY":"Verona","EMAIL":"guygodwin@ymail.com","ID":"AP560","NAME":"Guy Godwin","STATE":"KY","COUNTRY":"USA","ZIP":"41092","MEMO":"","DESCR":"BigCommerce Order - AP2250 - Customer AP560"} [Wednesday 9th of September 2026 11:18:14 AM] Registered customer detected - checking EBMS for Customer ID: AP560 [Wednesday 9th of September 2026 11:18:14 AM] check_for_customer() - START - Customer ID: 560 [Wednesday 9th of September 2026 11:18:14 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP560%27 [Wednesday 9th of September 2026 11:18:15 AM] check_for_customer() - EBMS API call successful for Customer ID: 560 [Wednesday 9th of September 2026 11:18:15 AM] check_for_customer() - Customer ID: 560 found in EBMS [Wednesday 9th of September 2026 11:18:15 AM] check_for_customer() - END - Customer ID: 560 | Found: true [Wednesday 9th of September 2026 11:18:15 AM] Customer AP560 found in EBMS [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_info() - START - Customer ID: 560 [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP560%27 [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 560 [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_info() - Customer record found for Customer ID: 560 - Checking ADDRESS1 field [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 560 - No update needed [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_info() - END - Customer ID: 560 | Empty Info: false [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_pn() - START - Customer ID: AP560 [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP560%27 [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP560 [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_pn() - Customer record found for Customer ID: AP560 - Checking CONTACT_1 field [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP560 - Value: (859) 308-8695 - No update needed [Wednesday 9th of September 2026 11:18:15 AM] check_for_empty_pn() - END - Customer ID: AP560 | Empty PN: false [Wednesday 9th of September 2026 11:18:15 AM] Fetching products from BigCommerce for Order ID: 2250 [Wednesday 9th of September 2026 11:18:15 AM] BigCommerce API call successful for Order ID: 2250 [Wednesday 9th of September 2026 11:18:15 AM] Products received: 1 item(s) [Wednesday 9th of September 2026 11:18:15 AM] Processing product SKU: PWM9514 | Qty: 1 | Price: 246.9900 [Wednesday 9th of September 2026 11:18:15 AM] get_mpn() - START - Product ID: 61009 [Wednesday 9th of September 2026 11:18:15 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/61009 [Wednesday 9th of September 2026 11:18:15 AM] get_mpn() - BigCommerce API call successful for Product ID: 61009 [Wednesday 9th of September 2026 11:18:15 AM] get_mpn() - WARNING - MPN is empty for Product ID: 61009 [Wednesday 9th of September 2026 11:18:15 AM] get_mpn() - END - Product ID: 61009 | MPN: [Wednesday 9th of September 2026 11:18:15 AM] check_for_ebms_product() - START - SKU: PWM9514 [Wednesday 9th of September 2026 11:18:15 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27PWM9514%27 [Wednesday 9th of September 2026 11:18:16 AM] check_for_ebms_product() - EBMS API call successful for SKU: PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] check_for_ebms_product() - SKU: PWM9514 found in EBMS [Wednesday 9th of September 2026 11:18:16 AM] check_for_ebms_product() - END - SKU: PWM9514 | Found: true [Wednesday 9th of September 2026 11:18:16 AM] SKU PWM9514 found in EBMS - checking prices [Wednesday 9th of September 2026 11:18:16 AM] obtain_current_prices() - START - SKU: PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] obtain_current_prices() - Checking Motorstate for SKU: PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] check_for_ms_product() - START - SKU: PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] check_for_ms_product() - Motorstate API call successful for SKU: PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] check_for_ms_product() - SKU: PWM9514 found in Motorstate [Wednesday 9th of September 2026 11:18:16 AM] check_for_ms_product() - END - SKU: PWM9514 | Found: true [Wednesday 9th of September 2026 11:18:16 AM] obtain_current_prices() - SKU: PWM9514 found in Motorstate - Fetching prices [Wednesday 9th of September 2026 11:18:16 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: PWM9514 - URL: https://api.motorstate.com/api/Product?partNumbers=PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: PWM9514 - Base: 246.99 | Cost: 197.07 [Wednesday 9th of September 2026 11:18:16 AM] obtain_current_prices() - Returning Motorstate prices for SKU: PWM9514 - Base: 246.99 | Cost: 197.07 [Wednesday 9th of September 2026 11:18:16 AM] obtain_current_prices() - END - SKU: PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] SKU PWM9514 has existing EBMS prices - syncing BigCommerce price back (cost: 197.07, base: 246.99) [Wednesday 9th of September 2026 11:18:16 AM] update_product_price() - START - Product ID: 61009 | Base: 246.99 | Cost: 197.07 [Wednesday 9th of September 2026 11:18:16 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/61009 [Wednesday 9th of September 2026 11:18:16 AM] update_product_price() - PUT payload: {"price":246.990000000000009094947017729282379150390625,"cost_price":197.06999999999999317878973670303821563720703125} [Wednesday 9th of September 2026 11:18:16 AM] update_product_price() - Attempt 1 of 6 for Product ID: 61009 [Wednesday 9th of September 2026 11:18:16 AM] update_product_price() - Price updated successfully for Product ID: 61009 - Base: 246.99 | Cost: 197.07 [Wednesday 9th of September 2026 11:18:16 AM] update_product_price() - END - Product ID: 61009 | Result: success [Wednesday 9th of September 2026 11:18:16 AM] BigCommerce price updated for Product ID: 61009 [Wednesday 9th of September 2026 11:18:16 AM] get_product_inventory() - START - SKU: PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] get_product_inventory() - Motorstate API call successful for SKU: PWM9514 [Wednesday 9th of September 2026 11:18:16 AM] get_product_inventory() - Stock found for SKU: PWM9514 - Quantity: 41 | Running Total: 41 [Wednesday 9th of September 2026 11:18:16 AM] get_product_inventory() - END - SKU: PWM9514 | Total: 41 [Wednesday 9th of September 2026 11:18:16 AM] get_cf_id() - START - Product ID: 61009 [Wednesday 9th of September 2026 11:18:16 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/61009/custom-fields [Wednesday 9th of September 2026 11:18:17 AM] get_cf_id() - BigCommerce API call successful for Product ID: 61009 [Wednesday 9th of September 2026 11:18:17 AM] get_cf_id() - Custom field found for Product ID: 61009 | Field: online_stock_level | CF ID: 60899 [Wednesday 9th of September 2026 11:18:17 AM] get_cf_id() - END - Product ID: 61009 | CF ID: 60899 [Wednesday 9th of September 2026 11:18:17 AM] Updating inventory for SKU PWM9514 - stock: 41, CF ID: 60899 [Wednesday 9th of September 2026 11:18:17 AM] update_product_inventory() - START - Product ID: 61009 | Stock: 41 | CF ID: 60899 [Wednesday 9th of September 2026 11:18:17 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/61009/custom-fields/60899 [Wednesday 9th of September 2026 11:18:17 AM] update_product_inventory() - Inventory updated successfully for Product ID: 61009 | Stock: 41 [Wednesday 9th of September 2026 11:18:17 AM] update_product_inventory() - END - Product ID: 61009 | Result: success [Wednesday 9th of September 2026 11:18:17 AM] Inventory updated for SKU: PWM9514 [Wednesday 9th of September 2026 11:18:17 AM] All products processed - Order details: [{"ID":"AP560","INVEN":"PWM9514","M_QUAN_VIS":1,"UNIT":"246.99","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 11:18:17 AM] Building payment record - Total: 287.0500 [Wednesday 9th of September 2026 11:18:17 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2250","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","C_ADDRESS1":"13951 US Highway 42 E","C_ADDRESS2":"","C_CITY":"Verona","C_COUNTRY":"USA","C_EMAIL":"guygodwin@ymail.com","C_NAME":"Guy Godwin","C_STATE":"KY","C_ZIP":"41092","ShippingAmount":"23.81","CITY":"Verona","EMAIL":"guygodwin@ymail.com","ID":"AP560","NAME":"Guy Godwin","STATE":"KY","COUNTRY":"USA","ZIP":"41092","MEMO":"","DESCR":"BigCommerce Order - AP2250 - Customer AP560","Details":[{"ID":"AP560","INVEN":"PWM9514","M_QUAN_VIS":1,"UNIT":"246.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"287.05","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 11:18:17 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2250 [Wednesday 9th of September 2026 11:18:17 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2250%27 [Wednesday 9th of September 2026 11:18:18 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2250 [Wednesday 9th of September 2026 11:18:18 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2250 found in EBMS [Wednesday 9th of September 2026 11:18:18 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2250 | Found: true [Wednesday 9th of September 2026 11:18:18 AM] Invoice AP2250 already exists in EBMS - patching [Wednesday 9th of September 2026 11:18:18 AM] patch_ebms_invoice() - START - Invoice: AP2250 [Wednesday 9th of September 2026 11:18:18 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2250","ADDRESS1":"13951 US Highway 42 E","ADDRESS2":"","C_ADDRESS1":"13951 US Highway 42 E","C_ADDRESS2":"","C_CITY":"Verona","C_COUNTRY":"USA","C_EMAIL":"guygodwin@ymail.com","C_NAME":"Guy Godwin","C_STATE":"KY","C_ZIP":"41092","ShippingAmount":"23.81","CITY":"Verona","EMAIL":"guygodwin@ymail.com","ID":"AP560","NAME":"Guy Godwin","STATE":"KY","COUNTRY":"USA","ZIP":"41092","MEMO":"","DESCR":"BigCommerce Order - AP2250 - Customer AP560","Details":[{"ID":"AP560","INVEN":"PWM9514","M_QUAN_VIS":1,"UNIT":"246.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"287.05","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 11:18:18 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2250%27 [Wednesday 9th of September 2026 11:18:18 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2250 [Wednesday 9th of September 2026 11:18:18 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2250 [Wednesday 9th of September 2026 11:18:18 AM] patch_ebms_invoice() - END - Invoice: AP2250 [Wednesday 9th of September 2026 11:18:18 AM] Invoice AP2250 patched successfully [Wednesday 9th of September 2026 11:18:18 AM] ORDER WEBHOOK COMPLETED - Order ID: 2250 | Invoice: AP2250 [Wednesday 9th of September 2026 05:16:23 PM] ORDER WEBHOOK STARTED - Order ID: 2253 [Wednesday 9th of September 2026 05:16:23 PM] Fetching customer data for Order ID: 2253 [Wednesday 9th of September 2026 05:16:23 PM] get_order_customer_data() - START - Order ID: 2253 [Wednesday 9th of September 2026 05:16:23 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2253 [Wednesday 9th of September 2026 05:16:23 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2253 [Wednesday 9th of September 2026 05:16:23 PM] get_order_customer_data() - Parsing order response for Order ID: 2253 [Wednesday 9th of September 2026 05:16:23 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Harvey Carr | Email: harveycarr@gmail.com | Total: 85.1200 | Shipping: 19.15 [Wednesday 9th of September 2026 05:16:23 PM] get_order_customer_data() - END - Order ID: 2253 [Wednesday 9th of September 2026 05:16:23 PM] Customer data received: {"id":0,"email":"harveycarr@gmail.com","address_1":"1 Brookside Ave","address_2":"","city":"Augusta","state":"ME","country":"USA","zip":"04330","f_name":"Harvey","l_name":"Carr","contact_5":"harveycarr@gmail.com","contact_1":"2075221882","contact_4":"Harvey Carr"} [Wednesday 9th of September 2026 05:16:23 PM] Fetching shipping info for Order ID: 2253 [Wednesday 9th of September 2026 05:16:23 PM] get_order_shipping_info() - START - Order ID: 2253 [Wednesday 9th of September 2026 05:16:23 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2253/shipping_addresses [Wednesday 9th of September 2026 05:16:24 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2253 [Wednesday 9th of September 2026 05:16:24 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2253 | Name: Harvey Carr | Address: 1 Brookside Ave, Augusta, Maine, 04330 [Wednesday 9th of September 2026 05:16:24 PM] get_order_shipping_info() - END - Order ID: 2253 [Wednesday 9th of September 2026 05:16:24 PM] Shipping info received: {"id":2152,"order_id":2253,"first_name":"Harvey","last_name":"Carr","company":"","street_1":"1 Brookside Ave","street_2":"","city":"Augusta","zip":"04330","country":"United States","country_iso2":"US","state":"Maine","email":"harveycarr@gmail.com","phone":"2075221882","items_total":3,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"19.1500","cost_ex_tax":"19.1500","cost_inc_tax":"19.1500","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\/2253\/shipping_addresses\/2152\/shipping_quotes","resource":"\/orders\/2253\/shipping_addresses\/2152\/shipping_quotes"},"form_fields":[]} [Wednesday 9th of September 2026 05:16:24 PM] Resolved Customer ID: APONLINE [Wednesday 9th of September 2026 05:16:24 PM] Building order object for Invoice: AP2253 [Wednesday 9th of September 2026 05:16:24 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2253","ADDRESS1":"1 Brookside Ave","ADDRESS2":"","C_ADDRESS1":"1 Brookside Ave","C_ADDRESS2":"","C_CITY":"Augusta","C_COUNTRY":"USA","C_EMAIL":"harveycarr@gmail.com","C_NAME":"Harvey Carr","C_STATE":"ME","C_ZIP":"04330","ShippingAmount":"19.15","CITY":"Augusta","EMAIL":"harveycarr@gmail.com","ID":"APONLINE","NAME":"Harvey Carr","STATE":"ME","COUNTRY":"USA","ZIP":"04330","MEMO":"","DESCR":"BigCommerce Order - AP2253 - Customer APONLINE"} [Wednesday 9th of September 2026 05:16:24 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 9th of September 2026 05:16:24 PM] Fetching products from BigCommerce for Order ID: 2253 [Wednesday 9th of September 2026 05:16:24 PM] BigCommerce API call successful for Order ID: 2253 [Wednesday 9th of September 2026 05:16:24 PM] Products received: 1 item(s) [Wednesday 9th of September 2026 05:16:24 PM] Processing product SKU: ARP200-2405 | Qty: 3 | Price: 21.9900 [Wednesday 9th of September 2026 05:16:24 PM] get_mpn() - START - Product ID: 38226 [Wednesday 9th of September 2026 05:16:24 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38226 [Wednesday 9th of September 2026 05:16:24 PM] get_mpn() - BigCommerce API call successful for Product ID: 38226 [Wednesday 9th of September 2026 05:16:24 PM] get_mpn() - WARNING - MPN is empty for Product ID: 38226 [Wednesday 9th of September 2026 05:16:24 PM] get_mpn() - END - Product ID: 38226 | MPN: [Wednesday 9th of September 2026 05:16:24 PM] check_for_ebms_product() - START - SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:24 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ARP200-2405%27 [Wednesday 9th of September 2026 05:16:25 PM] check_for_ebms_product() - EBMS API call successful for SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:25 PM] check_for_ebms_product() - SKU: ARP200-2405 found in EBMS [Wednesday 9th of September 2026 05:16:25 PM] check_for_ebms_product() - END - SKU: ARP200-2405 | Found: true [Wednesday 9th of September 2026 05:16:25 PM] SKU ARP200-2405 found in EBMS - checking prices [Wednesday 9th of September 2026 05:16:25 PM] obtain_current_prices() - START - SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:25 PM] obtain_current_prices() - Checking Motorstate for SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:25 PM] check_for_ms_product() - START - SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:25 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ARP200-2405 [Wednesday 9th of September 2026 05:16:25 PM] check_for_ms_product() - Motorstate API call successful for SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:25 PM] check_for_ms_product() - SKU: ARP200-2405 found in Motorstate [Wednesday 9th of September 2026 05:16:25 PM] check_for_ms_product() - END - SKU: ARP200-2405 | Found: true [Wednesday 9th of September 2026 05:16:25 PM] obtain_current_prices() - SKU: ARP200-2405 found in Motorstate - Fetching prices [Wednesday 9th of September 2026 05:16:25 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ARP200-2405 - URL: https://api.motorstate.com/api/Product?partNumbers=ARP200-2405 [Wednesday 9th of September 2026 05:16:25 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ARP200-2405 - Base: 21.99 | Cost: 16.24 [Wednesday 9th of September 2026 05:16:25 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ARP200-2405 - Base: 21.99 | Cost: 16.24 [Wednesday 9th of September 2026 05:16:25 PM] obtain_current_prices() - END - SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:25 PM] SKU ARP200-2405 has existing EBMS prices - syncing BigCommerce price back (cost: 16.24, base: 21.99) [Wednesday 9th of September 2026 05:16:25 PM] update_product_price() - START - Product ID: 38226 | Base: 21.99 | Cost: 16.24 [Wednesday 9th of September 2026 05:16:25 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38226 [Wednesday 9th of September 2026 05:16:25 PM] update_product_price() - PUT payload: {"price":21.989999999999998436805981327779591083526611328125,"cost_price":16.239999999999998436805981327779591083526611328125} [Wednesday 9th of September 2026 05:16:25 PM] update_product_price() - Attempt 1 of 6 for Product ID: 38226 [Wednesday 9th of September 2026 05:16:26 PM] update_product_price() - Price updated successfully for Product ID: 38226 - Base: 21.99 | Cost: 16.24 [Wednesday 9th of September 2026 05:16:26 PM] update_product_price() - END - Product ID: 38226 | Result: success [Wednesday 9th of September 2026 05:16:26 PM] BigCommerce price updated for Product ID: 38226 [Wednesday 9th of September 2026 05:16:26 PM] get_product_inventory() - START - SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:26 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ARP200-2405 [Wednesday 9th of September 2026 05:16:26 PM] get_product_inventory() - Motorstate API call successful for SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:26 PM] get_product_inventory() - Stock found for SKU: ARP200-2405 - Quantity: 11 | Running Total: 11 [Wednesday 9th of September 2026 05:16:26 PM] get_product_inventory() - END - SKU: ARP200-2405 | Total: 11 [Wednesday 9th of September 2026 05:16:26 PM] get_cf_id() - START - Product ID: 38226 [Wednesday 9th of September 2026 05:16:26 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38226/custom-fields [Wednesday 9th of September 2026 05:16:26 PM] get_cf_id() - BigCommerce API call successful for Product ID: 38226 [Wednesday 9th of September 2026 05:16:26 PM] get_cf_id() - Custom field found for Product ID: 38226 | Field: online_stock_level | CF ID: 38116 [Wednesday 9th of September 2026 05:16:26 PM] get_cf_id() - END - Product ID: 38226 | CF ID: 38116 [Wednesday 9th of September 2026 05:16:26 PM] Updating inventory for SKU ARP200-2405 - stock: 11, CF ID: 38116 [Wednesday 9th of September 2026 05:16:26 PM] update_product_inventory() - START - Product ID: 38226 | Stock: 11 | CF ID: 38116 [Wednesday 9th of September 2026 05:16:26 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/38226/custom-fields/38116 [Wednesday 9th of September 2026 05:16:26 PM] update_product_inventory() - Inventory updated successfully for Product ID: 38226 | Stock: 11 [Wednesday 9th of September 2026 05:16:26 PM] update_product_inventory() - END - Product ID: 38226 | Result: success [Wednesday 9th of September 2026 05:16:26 PM] Inventory updated for SKU: ARP200-2405 [Wednesday 9th of September 2026 05:16:26 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ARP200-2405","M_QUAN_VIS":3,"UNIT":"21.99","UNIT_MEAS":"EA"}] [Wednesday 9th of September 2026 05:16:26 PM] Building payment record - Total: 85.1200 [Wednesday 9th of September 2026 05:16:26 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2253","ADDRESS1":"1 Brookside Ave","ADDRESS2":"","C_ADDRESS1":"1 Brookside Ave","C_ADDRESS2":"","C_CITY":"Augusta","C_COUNTRY":"USA","C_EMAIL":"harveycarr@gmail.com","C_NAME":"Harvey Carr","C_STATE":"ME","C_ZIP":"04330","ShippingAmount":"19.15","CITY":"Augusta","EMAIL":"harveycarr@gmail.com","ID":"APONLINE","NAME":"Harvey Carr","STATE":"ME","COUNTRY":"USA","ZIP":"04330","MEMO":"","DESCR":"BigCommerce Order - AP2253 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ARP200-2405","M_QUAN_VIS":3,"UNIT":"21.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"85.12","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 05:16:26 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2253 [Wednesday 9th of September 2026 05:16:26 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2253%27 [Wednesday 9th of September 2026 05:16:26 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2253 [Wednesday 9th of September 2026 05:16:26 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2253 not found in EBMS [Wednesday 9th of September 2026 05:16:26 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2253 | Found: false [Wednesday 9th of September 2026 05:16:26 PM] Invoice AP2253 does not exist in EBMS - creating [Wednesday 9th of September 2026 05:16:26 PM] create_ebms_invoice() - START - Invoice: AP2253 [Wednesday 9th of September 2026 05:16:26 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2253","ADDRESS1":"1 Brookside Ave","ADDRESS2":"","C_ADDRESS1":"1 Brookside Ave","C_ADDRESS2":"","C_CITY":"Augusta","C_COUNTRY":"USA","C_EMAIL":"harveycarr@gmail.com","C_NAME":"Harvey Carr","C_STATE":"ME","C_ZIP":"04330","ShippingAmount":"19.15","CITY":"Augusta","EMAIL":"harveycarr@gmail.com","ID":"APONLINE","NAME":"Harvey Carr","STATE":"ME","COUNTRY":"USA","ZIP":"04330","MEMO":"","DESCR":"BigCommerce Order - AP2253 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ARP200-2405","M_QUAN_VIS":3,"UNIT":"21.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"85.12","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 9th of September 2026 05:16:26 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 9th of September 2026 05:16:33 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2253 [Wednesday 9th of September 2026 05:16:33 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2253 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"39423754-4941-3435-4854-474f43303030","AUTOID":"T7B9AI54HTGOC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-65.969999999999998863131622783839702606201171875,"BAL_CUST_X":-65.969999999999998863131622783839702606201171875,"BALANCE":-65.969999999999998863131622783839702606201171875,"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":85.1200000000000045474735088646411895751953125,"TOTAL_S_SO":65.969999999999998863131622783839702606201171875,"TOTAL_SO":85.1200000000000045474735088646411895751953125,"TOTAL_W":0,"TTLPROCPMT":85.1200000000000045474735088646411895751953125,"TOTAL":19.14999999999999857891452847979962825775146484375,"FREIGHT":19.14999999999999857891452847979962825775146484375,"HANDLING":0,"SHIPPING":19.14999999999999857891452847979962825775146484375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"1 Brookside Ave","ADDRESS2":"","C_EMAIL":"harveycarr@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-09T00:00:00Z","CHECK_NO":" APBC","CITY":"Augusta","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-09T00:00:00Z","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"harveycarr@gmail.com","IADDRESS":"1 Brookside Ave , Augusta, ME 04330","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-09T00:00:00Z","INVOICE":"AP2253","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Harvey Carr","PHONE":"","PROCESS":"Default","STATE":"ME","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"04330","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1 Brookside Ave","C_ADDRESS2":"","C_CITY":"Augusta","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Harvey Carr","C_STATE":"ME","C_ZIP":"04330","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2253 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-09T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 9th of September 2026 05:16:33 PM] create_ebms_invoice() - END - Invoice: AP2253 [Wednesday 9th of September 2026 05:16:33 PM] Invoice AP2253 created successfully [Wednesday 9th of September 2026 05:16:33 PM] ORDER WEBHOOK COMPLETED - Order ID: 2253 | Invoice: AP2253 [Wednesday 9th of September 2026 05:17:03 PM] add_customer() - START - Customer ID: 561 | Name: Harvey Carr [Wednesday 9th of September 2026 05:17:03 PM] add_customer() - Customer payload: {"id":561,"email":"harveycarr@gmail.com","address_1":"1 Brookside Ave","address_2":"","city":"Augusta","state":"ME","country":"USA","zip":"04330","f_name":"Harvey","l_name":"Carr","contact_5":"harveycarr@gmail.com","contact_1":"2075221882","contact_4":"Harvey Carr"} [Wednesday 9th of September 2026 05:17:03 PM] add_customer() - Customer fields parsed - ID: AP561 | Address: 1 Brookside Ave, Augusta, ME 04330 | Email: harveycarr@gmail.com [Wednesday 9th of September 2026 05:17:03 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 9th of September 2026 05:17:03 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"1 Brookside Ave","ADDRESS2":"","CITY":"Augusta","CONTACT_5":"harveycarr@gmail.com","CONTACT_1":"2075221882","CONTACT_4":"Harvey Carr","COUNTRY":"USA","F_NAME":"Harvey","ID":"AP561","L_NAME":"Carr","STATE":"ME","ZIP":"04330"} [Wednesday 9th of September 2026 05:17:05 PM] add_customer() - EBMS API call successful for Customer ID: AP561 [Wednesday 9th of September 2026 05:17:05 PM] add_customer() - Customer created successfully in EBMS - ID: AP561 - Response: {"@odata.context":"http:\/\/localhost:61264\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"31454e53-4347-3449-4854-474f43303030","AUTOID":"SNE1GCI4HTGOC000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Harvey Carr","ADDRESS1":"1 Brookside Ave","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Augusta","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"harveycarr@gmail.com","EMAIL_LIST":false,"F_NAME":"Harvey","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP561","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Carr","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Harvey Carr)","OUT_CITY":false,"PHONE":"(207) 522-1882","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"ME","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"04330","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(207) 522-1882","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Harvey Carr","CONTACT_5":"harveycarr@gmail.com","EXTERNALID":""} [Wednesday 9th of September 2026 05:17:05 PM] add_customer() - END - Customer ID: AP561