[Tuesday 20th of October 2026 02:36:23 AM] add_customer() - START - Customer ID: 640 | Name: Amanda Krause [Tuesday 20th of October 2026 02:36:23 AM] add_customer() - Customer payload: {"id":640,"email":"ca.lcineemilie+2hl8a@gmail.com","address_1":"1132 Kelli Station","address_2":"","city":"Port Maurice","state":"NM","country":"USA","zip":"75178","f_name":"Amanda","l_name":"Krause","contact_5":"ca.lcineemilie+2hl8a@gmail.com","contact_1":"3752116868","contact_4":"Amanda Krause"} [Tuesday 20th of October 2026 02:36:23 AM] add_customer() - Customer fields parsed - ID: AP640 | Address: 1132 Kelli Station, Port Maurice, NM 75178 | Email: ca.lcineemilie+2hl8a@gmail.com [Tuesday 20th of October 2026 02:36:23 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 20th of October 2026 02:36:23 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"1132 Kelli Station","ADDRESS2":"","CITY":"Port Maurice","CONTACT_5":"ca.lcineemilie+2hl8a@gmail.com","CONTACT_1":"3752116868","CONTACT_4":"Amanda Krause","COUNTRY":"USA","F_NAME":"Amanda","ID":"AP640","L_NAME":"Krause","STATE":"NM","ZIP":"75178"} [Tuesday 20th of October 2026 02:36:28 AM] add_customer() - EBMS API call successful for Customer ID: AP640 [Tuesday 20th of October 2026 02:36:28 AM] add_customer() - Customer created successfully in EBMS - ID: AP640 - Response: null [Tuesday 20th of October 2026 02:36:28 AM] add_customer() - END - Customer ID: AP640 [Tuesday 20th of October 2026 02:53:03 AM] add_customer() - START - Customer ID: 641 | Name: Brandy Larson [Tuesday 20th of October 2026 02:53:03 AM] add_customer() - Customer payload: {"id":641,"email":"sophiewael.kens6+lx31@gmail.com","address_1":"860 Barbara Canyon Apt. 403","address_2":"","city":"Mooreport","state":"HI","country":"USA","zip":"96828","f_name":"Brandy","l_name":"Larson","contact_5":"sophiewael.kens6+lx31@gmail.com","contact_1":"5273366758","contact_4":"Brandy Larson"} [Tuesday 20th of October 2026 02:53:03 AM] add_customer() - Customer fields parsed - ID: AP641 | Address: 860 Barbara Canyon Apt. 403, Mooreport, HI 96828 | Email: sophiewael.kens6+lx31@gmail.com [Tuesday 20th of October 2026 02:53:03 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 20th of October 2026 02:53:03 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"860 Barbara Canyon Apt. 403","ADDRESS2":"","CITY":"Mooreport","CONTACT_5":"sophiewael.kens6+lx31@gmail.com","CONTACT_1":"5273366758","CONTACT_4":"Brandy Larson","COUNTRY":"USA","F_NAME":"Brandy","ID":"AP641","L_NAME":"Larson","STATE":"HI","ZIP":"96828"} [Tuesday 20th of October 2026 02:53:08 AM] add_customer() - EBMS API call successful for Customer ID: AP641 [Tuesday 20th of October 2026 02:53:08 AM] add_customer() - Customer created successfully in EBMS - ID: AP641 - Response: null [Tuesday 20th of October 2026 02:53:08 AM] add_customer() - END - Customer ID: AP641 [Tuesday 20th of October 2026 10:08:09 AM] ORDER WEBHOOK STARTED - Order ID: 2365 [Tuesday 20th of October 2026 10:08:09 AM] Fetching customer data for Order ID: 2365 [Tuesday 20th of October 2026 10:08:09 AM] get_order_customer_data() - START - Order ID: 2365 [Tuesday 20th of October 2026 10:08:09 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2365 [Tuesday 20th of October 2026 10:08:10 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] get_order_customer_data() - Parsing order response for Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Jordan Patterson | Email: jordanpatterson87@gmail.com | Total: 44.1900 | Shipping: 23.78 [Tuesday 20th of October 2026 10:08:10 AM] get_order_customer_data() - END - Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] Customer data received: {"id":0,"email":"jordanpatterson87@gmail.com","address_1":"308 marks st","address_2":"","city":"eastpoint","state":"FL","country":"USA","zip":"32328","f_name":"Jordan","l_name":"Patterson","contact_5":"jordanpatterson87@gmail.com","contact_1":"8509333736","contact_4":"Jordan Patterson"} [Tuesday 20th of October 2026 10:08:10 AM] Fetching shipping info for Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] get_order_shipping_info() - START - Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2365/shipping_addresses [Tuesday 20th of October 2026 10:08:10 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2365 | Name: Brandon Peavy | Address: 1005 river plantation rd, crawforville , Florida, 32327 [Tuesday 20th of October 2026 10:08:10 AM] get_order_shipping_info() - END - Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] Shipping info received: {"id":2264,"order_id":2365,"first_name":"Brandon","last_name":"Peavy ","company":"","street_1":"1005 river plantation rd","street_2":"","city":"crawforville ","zip":"32327","country":"United States","country_iso2":"US","state":"Florida","email":"jordanpatterson87@gmail.com","phone":"8509333736","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.7800","cost_ex_tax":"23.7800","cost_inc_tax":"23.7800","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\/2365\/shipping_addresses\/2264\/shipping_quotes","resource":"\/orders\/2365\/shipping_addresses\/2264\/shipping_quotes"},"form_fields":[]} [Tuesday 20th of October 2026 10:08:10 AM] Resolved Customer ID: APONLINE [Tuesday 20th of October 2026 10:08:10 AM] Building order object for Invoice: AP2365 [Tuesday 20th of October 2026 10:08:10 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2365","ADDRESS1":"308 marks st","ADDRESS2":"","C_ADDRESS1":"1005 river plantation rd","C_ADDRESS2":"","C_CITY":"crawforville ","C_COUNTRY":"USA","C_EMAIL":"jordanpatterson87@gmail.com","C_NAME":"Brandon Peavy ","C_STATE":"FL","C_ZIP":"32327","ShippingAmount":"23.78","CITY":"eastpoint","EMAIL":"jordanpatterson87@gmail.com","ID":"APONLINE","NAME":"Jordan Patterson","STATE":"FL","COUNTRY":"USA","ZIP":"32328","MEMO":"","DESCR":"BigCommerce Order - AP2365 - Customer APONLINE"} [Tuesday 20th of October 2026 10:08:10 AM] Guest checkout detected (APONLINE) - skipping customer sync [Tuesday 20th of October 2026 10:08:10 AM] Fetching products from BigCommerce for Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] BigCommerce API call successful for Order ID: 2365 [Tuesday 20th of October 2026 10:08:10 AM] Products received: 1 item(s) [Tuesday 20th of October 2026 10:08:10 AM] Processing product SKU: ALL49588 | Qty: 1 | Price: 18.9900 [Tuesday 20th of October 2026 10:08:10 AM] get_mpn() - START - Product ID: 41893 [Tuesday 20th of October 2026 10:08:10 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/41893 [Tuesday 20th of October 2026 10:08:11 AM] get_mpn() - BigCommerce API call successful for Product ID: 41893 [Tuesday 20th of October 2026 10:08:11 AM] get_mpn() - WARNING - MPN is empty for Product ID: 41893 [Tuesday 20th of October 2026 10:08:11 AM] get_mpn() - END - Product ID: 41893 | MPN: [Tuesday 20th of October 2026 10:08:11 AM] check_for_ebms_product() - START - SKU: ALL49588 [Tuesday 20th of October 2026 10:08:11 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL49588%27 [Tuesday 20th of October 2026 10:08:14 AM] check_for_ebms_product() - EBMS API call successful for SKU: ALL49588 [Tuesday 20th of October 2026 10:08:14 AM] check_for_ebms_product() - SKU: ALL49588 not found in EBMS [Tuesday 20th of October 2026 10:08:14 AM] check_for_ebms_product() - END - SKU: ALL49588 | Found: false [Tuesday 20th of October 2026 10:08:14 AM] SKU ALL49588 not found in EBMS - creating new part [Tuesday 20th of October 2026 10:08:14 AM] get_product_desc() - START - Product ID: 41893 [Tuesday 20th of October 2026 10:08:14 AM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/41893 [Tuesday 20th of October 2026 10:08:14 AM] get_product_desc() - BigCommerce API call successful for Product ID: 41893 [Tuesday 20th of October 2026 10:08:14 AM] get_product_desc() - Description retrieved for Product ID: 41893 - Description: Fitting - Adapter - 90 Degree - 6 AN Male to 1/4 in NPT Male Swivel - Aluminum - Black Anodized - Each [Tuesday 20th of October 2026 10:08:14 AM] get_product_desc() - END - Product ID: 41893 [Tuesday 20th of October 2026 10:08:14 AM] get_ms_product() - START - SKU: ALL49588 [Tuesday 20th of October 2026 10:08:14 AM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL49588 [Tuesday 20th of October 2026 10:08:14 AM] get_ms_product() - Motorstate API call successful for SKU: ALL49588 [Tuesday 20th of October 2026 10:08:14 AM] get_ms_product() - Product data retrieved from Motorstate for SKU: ALL49588 - Response: [{"Found":true,"PartNumber":"ALL49588","Product":{"PartNumber":"all49588","VendorPartNumber":"49588","Status":1,"IsStocking":true,"ShortDescription":"AN To NPT Swivel 90 Deg -6 x 1/4in","Quantity":38,"CustomerPrice":10.52000,"CustomerPriceNonPromotional":10.52000,"BasePrice":13.16,"ListPrice":18.99,"MapPrice":18.99,"IsMapRestricted":false,"CanSpecialOrder":false,"CanDropShip":false,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Tuesday 20th of October 2026 10:08:14 AM] get_ms_product() - END - SKU: ALL49588 [Tuesday 20th of October 2026 10:08:14 AM] MS pricing found for SKU ALL49588 - base: 18.99, cost: 10.52 [Tuesday 20th of October 2026 10:08:14 AM] create_new_part() - START - SKU: ALL49588 | Base: 18.99 | Cost: 10.52 | Weight: 0.0700 | MPN: [Tuesday 20th of October 2026 10:08:14 AM] create_new_part() - Description parsed - DESCR_1: Fitting - Adapter - 90 Degree - 6 AN Male to 1/4 in NPT Male Swivel - Aluminum - | DESCR_2: Black Anodized - Each [Tuesday 20th of October 2026 10:08:14 AM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Tuesday 20th of October 2026 10:08:14 AM] create_new_part() - POST payload: {"ID":"ALL49588","DESCR_1":"Fitting - Adapter - 90 Degree - 6 AN Male to 1\/4 in NPT Male Swivel - Aluminum -","DESCR_2":" Black Anodized - Each","DESCR_3":"Fitting - Adapter - 90 Degree - 6 AN Male to 1\/4 in NPT Male Swivel - Aluminum - Black Anodized - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"10.52","BASE":"18.99","WEIGHT":"0.0700","MFG_PART":"","TREE_ID":"603"} [Tuesday 20th of October 2026 10:08:17 AM] create_new_part() - EBMS API call successful for SKU: ALL49588 [Tuesday 20th of October 2026 10:08:17 AM] create_new_part() - Part created successfully in EBMS - SKU: ALL49588 - {"id":"ALL49588","cost":"10.52","base":"18.99","description":"Fitting - Adapter - 90 Degree - 6 AN Male to 1\/4 in NPT Male Swivel - Aluminum - Black Anodized - Each","tree_id":" 603"} [Tuesday 20th of October 2026 10:08:17 AM] create_new_part() - Sending new part notification email for SKU: ALL49588 [Tuesday 20th of October 2026 10:08:18 AM] create_new_part() - Notification email sent successfully for SKU: ALL49588 [Tuesday 20th of October 2026 10:08:18 AM] create_new_part() - END - SKU: ALL49588 [Tuesday 20th of October 2026 10:08:18 AM] New part created in EBMS for SKU: ALL49588 [Tuesday 20th of October 2026 10:08:18 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ALL49588","M_QUAN_VIS":1,"UNIT":"18.99","UNIT_MEAS":"EA"}] [Tuesday 20th of October 2026 10:08:18 AM] Building payment record - Total: 44.1900 [Tuesday 20th of October 2026 10:08:18 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2365","ADDRESS1":"308 marks st","ADDRESS2":"","C_ADDRESS1":"1005 river plantation rd","C_ADDRESS2":"","C_CITY":"crawforville ","C_COUNTRY":"USA","C_EMAIL":"jordanpatterson87@gmail.com","C_NAME":"Brandon Peavy ","C_STATE":"FL","C_ZIP":"32327","ShippingAmount":"23.78","CITY":"eastpoint","EMAIL":"jordanpatterson87@gmail.com","ID":"APONLINE","NAME":"Jordan Patterson","STATE":"FL","COUNTRY":"USA","ZIP":"32328","MEMO":"","DESCR":"BigCommerce Order - AP2365 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL49588","M_QUAN_VIS":1,"UNIT":"18.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"44.19","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 20th of October 2026 10:08:18 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2365 [Tuesday 20th of October 2026 10:08:18 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2365%27 [Tuesday 20th of October 2026 10:08:19 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2365 [Tuesday 20th of October 2026 10:08:19 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2365 not found in EBMS [Tuesday 20th of October 2026 10:08:19 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2365 | Found: false [Tuesday 20th of October 2026 10:08:19 AM] Invoice AP2365 does not exist in EBMS - creating [Tuesday 20th of October 2026 10:08:19 AM] create_ebms_invoice() - START - Invoice: AP2365 [Tuesday 20th of October 2026 10:08:19 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2365","ADDRESS1":"308 marks st","ADDRESS2":"","C_ADDRESS1":"1005 river plantation rd","C_ADDRESS2":"","C_CITY":"crawforville ","C_COUNTRY":"USA","C_EMAIL":"jordanpatterson87@gmail.com","C_NAME":"Brandon Peavy ","C_STATE":"FL","C_ZIP":"32327","ShippingAmount":"23.78","CITY":"eastpoint","EMAIL":"jordanpatterson87@gmail.com","ID":"APONLINE","NAME":"Jordan Patterson","STATE":"FL","COUNTRY":"USA","ZIP":"32328","MEMO":"","DESCR":"BigCommerce Order - AP2365 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL49588","M_QUAN_VIS":1,"UNIT":"18.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"44.19","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 20th of October 2026 10:08:19 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 20th of October 2026 10:08:30 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2365 [Tuesday 20th of October 2026 10:08:30 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2365 - Response: {"@odata.context":"http:\/\/localhost:55935\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"43363655-4f35-434b-3637-4e5342303030","AUTOID":"U66C5OKC67NSB000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-20.410000000000000142108547152020037174224853515625,"BAL_CUST_X":-20.410000000000000142108547152020037174224853515625,"BALANCE":-20.410000000000000142108547152020037174224853515625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":1.4199999999999999289457264239899814128875732421875,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":44.18999999999999772626324556767940521240234375,"TOTAL_S_SO":18.989999999999998436805981327779591083526611328125,"TOTAL_SO":44.18999999999999772626324556767940521240234375,"TOTAL_W":0,"TTLPROCPMT":44.18999999999999772626324556767940521240234375,"TOTAL":23.780000000000001136868377216160297393798828125,"FREIGHT":23.780000000000001136868377216160297393798828125,"HANDLING":0,"SHIPPING":23.780000000000001136868377216160297393798828125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"308 marks st","ADDRESS2":"","C_EMAIL":"jordanpatterson87@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-20T00:00:00Z","CHECK_NO":" APBC","CITY":"Eastpoint","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-20T00:00:00Z","E_DATE":"2026-10-20T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jordanpatterson87@gmail.com","IADDRESS":"1005 river plantation rd , Crawforville, FL 32327","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-20T00:00:00Z","INVOICE":"AP2365","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Jordan Patterson","PHONE":"","PROCESS":"Default","STATE":"FL","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"32328","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1005 river plantation rd","C_ADDRESS2":"","C_CITY":"Crawforville","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Brandon Peavy","C_STATE":"FL","C_ZIP":"32327","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2365 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-20T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 20th of October 2026 10:08:30 AM] create_ebms_invoice() - END - Invoice: AP2365 [Tuesday 20th of October 2026 10:08:30 AM] Invoice AP2365 created successfully [Tuesday 20th of October 2026 10:08:30 AM] ORDER WEBHOOK COMPLETED - Order ID: 2365 | Invoice: AP2365 [Tuesday 20th of October 2026 10:09:20 AM] ORDER WEBHOOK STARTED - Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] Fetching customer data for Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] get_order_customer_data() - START - Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2365 [Tuesday 20th of October 2026 10:09:20 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] get_order_customer_data() - Parsing order response for Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Jordan Patterson | Email: jordanpatterson87@gmail.com | Total: 44.1900 | Shipping: 23.78 [Tuesday 20th of October 2026 10:09:20 AM] get_order_customer_data() - END - Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] Customer data received: {"id":0,"email":"jordanpatterson87@gmail.com","address_1":"308 marks st","address_2":"","city":"eastpoint","state":"FL","country":"USA","zip":"32328","f_name":"Jordan","l_name":"Patterson","contact_5":"jordanpatterson87@gmail.com","contact_1":"8509333736","contact_4":"Jordan Patterson"} [Tuesday 20th of October 2026 10:09:20 AM] Fetching shipping info for Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] get_order_shipping_info() - START - Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2365/shipping_addresses [Tuesday 20th of October 2026 10:09:20 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2365 | Name: Brandon Peavy | Address: 1005 river plantation rd, crawforville , Florida, 32327 [Tuesday 20th of October 2026 10:09:20 AM] get_order_shipping_info() - END - Order ID: 2365 [Tuesday 20th of October 2026 10:09:20 AM] Shipping info received: {"id":2264,"order_id":2365,"first_name":"Brandon","last_name":"Peavy ","company":"","street_1":"1005 river plantation rd","street_2":"","city":"crawforville ","zip":"32327","country":"United States","country_iso2":"US","state":"Florida","email":"jordanpatterson87@gmail.com","phone":"8509333736","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.7800","cost_ex_tax":"23.7800","cost_inc_tax":"23.7800","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\/2365\/shipping_addresses\/2264\/shipping_quotes","resource":"\/orders\/2365\/shipping_addresses\/2264\/shipping_quotes"},"form_fields":[]} [Tuesday 20th of October 2026 10:09:20 AM] Resolved Customer ID: APONLINE [Tuesday 20th of October 2026 10:09:20 AM] Building order object for Invoice: AP2365 [Tuesday 20th of October 2026 10:09:20 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2365","ADDRESS1":"308 marks st","ADDRESS2":"","C_ADDRESS1":"1005 river plantation rd","C_ADDRESS2":"","C_CITY":"crawforville ","C_COUNTRY":"USA","C_EMAIL":"jordanpatterson87@gmail.com","C_NAME":"Brandon Peavy ","C_STATE":"FL","C_ZIP":"32327","ShippingAmount":"23.78","CITY":"eastpoint","EMAIL":"jordanpatterson87@gmail.com","ID":"APONLINE","NAME":"Jordan Patterson","STATE":"FL","COUNTRY":"USA","ZIP":"32328","MEMO":"","DESCR":"BigCommerce Order - AP2365 - Customer APONLINE"} [Tuesday 20th of October 2026 10:09:20 AM] Guest checkout detected (APONLINE) - skipping customer sync [Tuesday 20th of October 2026 10:09:20 AM] Fetching products from BigCommerce for Order ID: 2365 [Tuesday 20th of October 2026 10:09:21 AM] BigCommerce API call successful for Order ID: 2365 [Tuesday 20th of October 2026 10:09:21 AM] Products received: 1 item(s) [Tuesday 20th of October 2026 10:09:21 AM] Processing product SKU: ALL49588 | Qty: 1 | Price: 18.9900 [Tuesday 20th of October 2026 10:09:21 AM] get_mpn() - START - Product ID: 41893 [Tuesday 20th of October 2026 10:09:21 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/41893 [Tuesday 20th of October 2026 10:09:21 AM] get_mpn() - BigCommerce API call successful for Product ID: 41893 [Tuesday 20th of October 2026 10:09:21 AM] get_mpn() - WARNING - MPN is empty for Product ID: 41893 [Tuesday 20th of October 2026 10:09:21 AM] get_mpn() - END - Product ID: 41893 | MPN: [Tuesday 20th of October 2026 10:09:21 AM] check_for_ebms_product() - START - SKU: ALL49588 [Tuesday 20th of October 2026 10:09:21 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL49588%27 [Tuesday 20th of October 2026 10:09:22 AM] check_for_ebms_product() - EBMS API call successful for SKU: ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] check_for_ebms_product() - SKU: ALL49588 found in EBMS [Tuesday 20th of October 2026 10:09:22 AM] check_for_ebms_product() - END - SKU: ALL49588 | Found: true [Tuesday 20th of October 2026 10:09:22 AM] SKU ALL49588 found in EBMS - checking prices [Tuesday 20th of October 2026 10:09:22 AM] obtain_current_prices() - START - SKU: ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] obtain_current_prices() - Checking Motorstate for SKU: ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] check_for_ms_product() - START - SKU: ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] check_for_ms_product() - Motorstate API call successful for SKU: ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] check_for_ms_product() - SKU: ALL49588 found in Motorstate [Tuesday 20th of October 2026 10:09:22 AM] check_for_ms_product() - END - SKU: ALL49588 | Found: true [Tuesday 20th of October 2026 10:09:22 AM] obtain_current_prices() - SKU: ALL49588 found in Motorstate - Fetching prices [Tuesday 20th of October 2026 10:09:22 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL49588 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL49588 - Base: 18.99 | Cost: 10.52 [Tuesday 20th of October 2026 10:09:22 AM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL49588 - Base: 18.99 | Cost: 10.52 [Tuesday 20th of October 2026 10:09:22 AM] obtain_current_prices() - END - SKU: ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] SKU ALL49588 has existing EBMS prices - syncing BigCommerce price back (cost: 10.52, base: 18.99) [Tuesday 20th of October 2026 10:09:22 AM] update_product_price() - START - Product ID: 41893 | Base: 18.99 | Cost: 10.52 [Tuesday 20th of October 2026 10:09:22 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/41893 [Tuesday 20th of October 2026 10:09:22 AM] update_product_price() - PUT payload: {"price":18.989999999999998436805981327779591083526611328125,"cost_price":10.519999999999999573674358543939888477325439453125} [Tuesday 20th of October 2026 10:09:22 AM] update_product_price() - Attempt 1 of 6 for Product ID: 41893 [Tuesday 20th of October 2026 10:09:22 AM] update_product_price() - Price updated successfully for Product ID: 41893 - Base: 18.99 | Cost: 10.52 [Tuesday 20th of October 2026 10:09:22 AM] update_product_price() - END - Product ID: 41893 | Result: success [Tuesday 20th of October 2026 10:09:22 AM] BigCommerce price updated for Product ID: 41893 [Tuesday 20th of October 2026 10:09:22 AM] get_product_inventory() - START - SKU: ALL49588 [Tuesday 20th of October 2026 10:09:22 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL49588 [Tuesday 20th of October 2026 10:09:23 AM] get_product_inventory() - Motorstate API call successful for SKU: ALL49588 [Tuesday 20th of October 2026 10:09:23 AM] get_product_inventory() - Stock found for SKU: ALL49588 - Quantity: 38 | Running Total: 38 [Tuesday 20th of October 2026 10:09:23 AM] get_product_inventory() - END - SKU: ALL49588 | Total: 38 [Tuesday 20th of October 2026 10:09:23 AM] get_cf_id() - START - Product ID: 41893 [Tuesday 20th of October 2026 10:09:23 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/41893/custom-fields [Tuesday 20th of October 2026 10:09:23 AM] get_cf_id() - BigCommerce API call successful for Product ID: 41893 [Tuesday 20th of October 2026 10:09:23 AM] get_cf_id() - Custom field found for Product ID: 41893 | Field: online_stock_level | CF ID: 41783 [Tuesday 20th of October 2026 10:09:23 AM] get_cf_id() - END - Product ID: 41893 | CF ID: 41783 [Tuesday 20th of October 2026 10:09:23 AM] Updating inventory for SKU ALL49588 - stock: 38, CF ID: 41783 [Tuesday 20th of October 2026 10:09:23 AM] update_product_inventory() - START - Product ID: 41893 | Stock: 38 | CF ID: 41783 [Tuesday 20th of October 2026 10:09:23 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/41893/custom-fields/41783 [Tuesday 20th of October 2026 10:09:23 AM] update_product_inventory() - Inventory updated successfully for Product ID: 41893 | Stock: 38 [Tuesday 20th of October 2026 10:09:23 AM] update_product_inventory() - END - Product ID: 41893 | Result: success [Tuesday 20th of October 2026 10:09:23 AM] Inventory updated for SKU: ALL49588 [Tuesday 20th of October 2026 10:09:23 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ALL49588","M_QUAN_VIS":1,"UNIT":"18.99","UNIT_MEAS":"EA"}] [Tuesday 20th of October 2026 10:09:23 AM] Building payment record - Total: 44.1900 [Tuesday 20th of October 2026 10:09:23 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2365","ADDRESS1":"308 marks st","ADDRESS2":"","C_ADDRESS1":"1005 river plantation rd","C_ADDRESS2":"","C_CITY":"crawforville ","C_COUNTRY":"USA","C_EMAIL":"jordanpatterson87@gmail.com","C_NAME":"Brandon Peavy ","C_STATE":"FL","C_ZIP":"32327","ShippingAmount":"23.78","CITY":"eastpoint","EMAIL":"jordanpatterson87@gmail.com","ID":"APONLINE","NAME":"Jordan Patterson","STATE":"FL","COUNTRY":"USA","ZIP":"32328","MEMO":"","DESCR":"BigCommerce Order - AP2365 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL49588","M_QUAN_VIS":1,"UNIT":"18.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"44.19","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 20th of October 2026 10:09:23 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2365 [Tuesday 20th of October 2026 10:09:23 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2365%27 [Tuesday 20th of October 2026 10:09:25 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2365 [Tuesday 20th of October 2026 10:09:25 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2365 found in EBMS [Tuesday 20th of October 2026 10:09:25 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2365 | Found: true [Tuesday 20th of October 2026 10:09:25 AM] Invoice AP2365 already exists in EBMS - patching [Tuesday 20th of October 2026 10:09:25 AM] patch_ebms_invoice() - START - Invoice: AP2365 [Tuesday 20th of October 2026 10:09:25 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2365","ADDRESS1":"308 marks st","ADDRESS2":"","C_ADDRESS1":"1005 river plantation rd","C_ADDRESS2":"","C_CITY":"crawforville ","C_COUNTRY":"USA","C_EMAIL":"jordanpatterson87@gmail.com","C_NAME":"Brandon Peavy ","C_STATE":"FL","C_ZIP":"32327","ShippingAmount":"23.78","CITY":"eastpoint","EMAIL":"jordanpatterson87@gmail.com","ID":"APONLINE","NAME":"Jordan Patterson","STATE":"FL","COUNTRY":"USA","ZIP":"32328","MEMO":"","DESCR":"BigCommerce Order - AP2365 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL49588","M_QUAN_VIS":1,"UNIT":"18.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"44.19","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 20th of October 2026 10:09:25 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2365%27 [Tuesday 20th of October 2026 10:09:25 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2365 [Tuesday 20th of October 2026 10:09:25 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2365 [Tuesday 20th of October 2026 10:09:25 AM] patch_ebms_invoice() - END - Invoice: AP2365 [Tuesday 20th of October 2026 10:09:25 AM] Invoice AP2365 patched successfully [Tuesday 20th of October 2026 10:09:25 AM] ORDER WEBHOOK COMPLETED - Order ID: 2365 | Invoice: AP2365 [Tuesday 20th of October 2026 01:00:27 PM] add_customer() - START - Customer ID: 642 | Name: Stephen Parker [Tuesday 20th of October 2026 01:00:27 PM] add_customer() - Customer payload: {"id":642,"email":"talbihabib.9+k0y@gmail.com","address_1":"97348 Curry Parkways","address_2":"","city":"West Chelseahaven","state":"OK","country":"USA","zip":"41362","f_name":"Stephen","l_name":"Parker","contact_5":"talbihabib.9+k0y@gmail.com","contact_1":"6753748524","contact_4":"Stephen Parker"} [Tuesday 20th of October 2026 01:00:27 PM] add_customer() - Customer fields parsed - ID: AP642 | Address: 97348 Curry Parkways, West Chelseahaven, OK 41362 | Email: talbihabib.9+k0y@gmail.com [Tuesday 20th of October 2026 01:00:27 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 20th of October 2026 01:00:27 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"97348 Curry Parkways","ADDRESS2":"","CITY":"West Chelseahaven","CONTACT_5":"talbihabib.9+k0y@gmail.com","CONTACT_1":"6753748524","CONTACT_4":"Stephen Parker","COUNTRY":"USA","F_NAME":"Stephen","ID":"AP642","L_NAME":"Parker","STATE":"OK","ZIP":"41362"} [Tuesday 20th of October 2026 01:00:30 PM] add_customer() - EBMS API call successful for Customer ID: AP642 [Tuesday 20th of October 2026 01:00:30 PM] add_customer() - Customer created successfully in EBMS - ID: AP642 - Response: {"@odata.context":"http:\/\/localhost:55935\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4d413133-5435-5345-3937-4e5342303030","AUTOID":"31AM5TES97NSB000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Stephen Parker","ADDRESS1":"97348 Curry Parkways","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"West Chelseahaven","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-20T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"talbihabib.9+k0y@gmail.com","EMAIL_LIST":false,"F_NAME":"Stephen","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP642","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Parker","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Stephen Parker)","OUT_CITY":false,"PHONE":"(675) 374-8524","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"OK","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"41362","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(675) 374-8524","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Stephen Parker","CONTACT_5":"talbihabib.9+k0y@gmail.com","EXTERNALID":""} [Tuesday 20th of October 2026 01:00:30 PM] add_customer() - END - Customer ID: AP642 [Tuesday 20th of October 2026 01:50:44 PM] add_customer() - START - Customer ID: 643 | Name: Ronanld weales [Tuesday 20th of October 2026 01:50:44 PM] add_customer() - Customer payload: {"id":643,"email":"injaenaut@yahoo.com","address_1":"","address_2":"","city":"","state":"","country":"","zip":"","f_name":"Ronanld","l_name":"weales","contact_5":"injaenaut@yahoo.com","contact_1":"","contact_4":"Ronanld weales"} [Tuesday 20th of October 2026 01:50:44 PM] add_customer() - Customer fields parsed - ID: AP643 | Address: , , | Email: injaenaut@yahoo.com [Tuesday 20th of October 2026 01:50:44 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 20th of October 2026 01:50:44 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"","ADDRESS2":"","CITY":"","CONTACT_5":"injaenaut@yahoo.com","CONTACT_1":"","CONTACT_4":"Ronanld weales","COUNTRY":"","F_NAME":"Ronanld","ID":"AP643","L_NAME":"weales","STATE":"","ZIP":""} [Tuesday 20th of October 2026 01:50:45 PM] add_customer() - EBMS API call successful for Customer ID: AP643 [Tuesday 20th of October 2026 01:50:45 PM] add_customer() - Customer created successfully in EBMS - ID: AP643 - Response: {"@odata.context":"http:\/\/localhost:55935\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"32485641-3531-5434-4137-4e5342303030","AUTOID":"AVH2154TA7NSB000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Ronanld weales","ADDRESS1":"","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"","COUNTRY":"","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-20T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"injaenaut@yahoo.com","EMAIL_LIST":false,"F_NAME":"Ronanld","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP643","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"weales","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Ronanld weales)","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Ronanld weales","CONTACT_5":"injaenaut@yahoo.com","EXTERNALID":""} [Tuesday 20th of October 2026 01:50:45 PM] add_customer() - END - Customer ID: AP643 [Tuesday 20th of October 2026 01:53:18 PM] ORDER WEBHOOK STARTED - Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] Fetching customer data for Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] get_order_customer_data() - START - Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2366 [Tuesday 20th of October 2026 01:53:18 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] get_order_customer_data() - Parsing order response for Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] get_order_customer_data() - Customer object built - Customer ID: 643 | Name: Ronand weales | Email: injaenaut@yahoo.com | Total: 161.7000 | Shipping: 30.30 [Tuesday 20th of October 2026 01:53:18 PM] get_order_customer_data() - END - Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] Customer data received: {"id":643,"email":"injaenaut@yahoo.com","address_1":"57341 stoldt rd","address_2":"","city":"three rivers","state":"MI","country":"USA","zip":"49093","f_name":"Ronand","l_name":"weales","contact_5":"injaenaut@yahoo.com","contact_1":"2697168532","contact_4":"Ronand weales"} [Tuesday 20th of October 2026 01:53:18 PM] Fetching shipping info for Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] get_order_shipping_info() - START - Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2366/shipping_addresses [Tuesday 20th of October 2026 01:53:18 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2366 | Name: Ronand weales | Address: 57341 stoldt rd, three rivers, Michigan, 49093 [Tuesday 20th of October 2026 01:53:18 PM] get_order_shipping_info() - END - Order ID: 2366 [Tuesday 20th of October 2026 01:53:18 PM] Shipping info received: {"id":2265,"order_id":2366,"first_name":"Ronand","last_name":"weales","company":"","street_1":"57341 stoldt rd","street_2":"","city":"three rivers","zip":"49093","country":"United States","country_iso2":"US","state":"Michigan","email":"injaenaut@yahoo.com","phone":"2697168532","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"30.3000","cost_ex_tax":"30.3000","cost_inc_tax":"30.3000","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2366\/shipping_addresses\/2265\/shipping_quotes","resource":"\/orders\/2366\/shipping_addresses\/2265\/shipping_quotes"},"form_fields":[]} [Tuesday 20th of October 2026 01:53:18 PM] Resolved Customer ID: AP643 [Tuesday 20th of October 2026 01:53:18 PM] Building order object for Invoice: AP2366 [Tuesday 20th of October 2026 01:53:18 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2366","ADDRESS1":"57341 stoldt rd","ADDRESS2":"","C_ADDRESS1":"57341 stoldt rd","C_ADDRESS2":"","C_CITY":"three rivers","C_COUNTRY":"USA","C_EMAIL":"injaenaut@yahoo.com","C_NAME":"Ronand weales","C_STATE":"MI","C_ZIP":"49093","ShippingAmount":"30.30","CITY":"three rivers","EMAIL":"injaenaut@yahoo.com","ID":"AP643","NAME":"Ronand weales","STATE":"MI","COUNTRY":"USA","ZIP":"49093","MEMO":"","DESCR":"BigCommerce Order - AP2366 - Customer AP643"} [Tuesday 20th of October 2026 01:53:18 PM] Registered customer detected - checking EBMS for Customer ID: AP643 [Tuesday 20th of October 2026 01:53:18 PM] check_for_customer() - START - Customer ID: 643 [Tuesday 20th of October 2026 01:53:18 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP643%27 [Tuesday 20th of October 2026 01:53:19 PM] check_for_customer() - EBMS API call successful for Customer ID: 643 [Tuesday 20th of October 2026 01:53:19 PM] check_for_customer() - Customer ID: 643 found in EBMS [Tuesday 20th of October 2026 01:53:19 PM] check_for_customer() - END - Customer ID: 643 | Found: true [Tuesday 20th of October 2026 01:53:19 PM] Customer AP643 found in EBMS [Tuesday 20th of October 2026 01:53:19 PM] check_for_empty_info() - START - Customer ID: 643 [Tuesday 20th of October 2026 01:53:19 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP643%27 [Tuesday 20th of October 2026 01:53:19 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 643 [Tuesday 20th of October 2026 01:53:19 PM] check_for_empty_info() - Customer record found for Customer ID: 643 - Checking ADDRESS1 field [Tuesday 20th of October 2026 01:53:19 PM] check_for_empty_info() - ADDRESS1 is empty for Customer ID: 643 - Update needed [Tuesday 20th of October 2026 01:53:19 PM] check_for_empty_info() - END - Customer ID: 643 | Empty Info: true [Tuesday 20th of October 2026 01:53:19 PM] Empty info detected - updating customer record for AP643 [Tuesday 20th of October 2026 01:53:19 PM] update_customer() - START - Customer ID: 643 | Name: Ronand weales [Tuesday 20th of October 2026 01:53:19 PM] update_customer() - Customer payload: {"id":643,"email":"injaenaut@yahoo.com","address_1":"57341 stoldt rd","address_2":"","city":"three rivers","state":"MI","country":"USA","zip":"49093","f_name":"Ronand","l_name":"weales","contact_5":"injaenaut@yahoo.com","contact_1":"2697168532","contact_4":"Ronand weales"} [Tuesday 20th of October 2026 01:53:19 PM] update_customer() - Fetching EBMS autoid for Customer ID: 643 [Tuesday 20th of October 2026 01:53:19 PM] get_customer_autoid() - START - Customer ID: AP643 [Tuesday 20th of October 2026 01:53:19 PM] get_customer_autoid() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP643%27 [Tuesday 20th of October 2026 01:53:19 PM] get_customer_autoid() - EBMS API call successful for Customer ID: AP643 [Tuesday 20th of October 2026 01:53:19 PM] get_customer_autoid() - AUTOID retrieved for Customer ID: AP643 - AUTOID: AVH2154TA7NSB000 [Tuesday 20th of October 2026 01:53:19 PM] get_customer_autoid() - END - Customer ID: AP643 | AUTOID: AVH2154TA7NSB000 [Tuesday 20th of October 2026 01:53:19 PM] update_customer() - EBMS autoid retrieved: AVH2154TA7NSB000 for Customer ID: 643 [Tuesday 20th of October 2026 01:53:19 PM] update_customer() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST('AVH2154TA7NSB000') [Tuesday 20th of October 2026 01:53:19 PM] update_customer() - PATCH payload: {"ADDRESS1":"57341 stoldt rd","ADDRESS2":"","CITY":"three rivers","CONTACT_5":"injaenaut@yahoo.com","CONTACT_1":"2697168532","CONTACT_4":"Ronand weales","COUNTRY":"USA","F_NAME":"Ronand","L_NAME":"weales","STATE":"MI","ZIP":"49093"} [Tuesday 20th of October 2026 01:53:21 PM] update_customer() - EBMS API call successful for Customer ID: 643 [Tuesday 20th of October 2026 01:53:21 PM] update_customer() - Customer updated successfully in EBMS - Response: {"@odata.context":"http:\/\/localhost:55935\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"32485641-3531-5434-4137-4e5342303030","AUTOID":"AVH2154TA7NSB000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Ronand weales","ADDRESS1":"57341 stoldt rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Three rivers","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-20T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"injaenaut@yahoo.com","EMAIL_LIST":false,"F_NAME":"Ronand","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP643","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"weales","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Ronand weales)","OUT_CITY":false,"PHONE":"(269) 716-8532","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"MI","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"49093","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(269) 716-8532","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Ronand weales","CONTACT_5":"injaenaut@yahoo.com","EXTERNALID":""} [Tuesday 20th of October 2026 01:53:21 PM] update_customer() - END - Customer ID: 643 [Tuesday 20th of October 2026 01:53:21 PM] Customer record updated for AP643 [Tuesday 20th of October 2026 01:53:21 PM] check_for_empty_pn() - START - Customer ID: AP643 [Tuesday 20th of October 2026 01:53:21 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP643%27 [Tuesday 20th of October 2026 01:53:22 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP643 [Tuesday 20th of October 2026 01:53:22 PM] check_for_empty_pn() - Customer record found for Customer ID: AP643 - Checking CONTACT_1 field [Tuesday 20th of October 2026 01:53:22 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP643 - Value: (269) 716-8532 - No update needed [Tuesday 20th of October 2026 01:53:22 PM] check_for_empty_pn() - END - Customer ID: AP643 | Empty PN: false [Tuesday 20th of October 2026 01:53:22 PM] Fetching products from BigCommerce for Order ID: 2366 [Tuesday 20th of October 2026 01:53:22 PM] BigCommerce API call successful for Order ID: 2366 [Tuesday 20th of October 2026 01:53:22 PM] Products received: 1 item(s) [Tuesday 20th of October 2026 01:53:22 PM] Processing product SKU: LUC10013-4 | Qty: 1 | Price: 123.9600 [Tuesday 20th of October 2026 01:53:22 PM] get_mpn() - START - Product ID: 64832 [Tuesday 20th of October 2026 01:53:22 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832 [Tuesday 20th of October 2026 01:53:22 PM] get_mpn() - BigCommerce API call successful for Product ID: 64832 [Tuesday 20th of October 2026 01:53:22 PM] get_mpn() - WARNING - MPN is empty for Product ID: 64832 [Tuesday 20th of October 2026 01:53:22 PM] get_mpn() - END - Product ID: 64832 | MPN: [Tuesday 20th of October 2026 01:53:22 PM] check_for_ebms_product() - START - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:22 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10013-4%27 [Tuesday 20th of October 2026 01:53:23 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] check_for_ebms_product() - SKU: LUC10013-4 found in EBMS [Tuesday 20th of October 2026 01:53:23 PM] check_for_ebms_product() - END - SKU: LUC10013-4 | Found: true [Tuesday 20th of October 2026 01:53:23 PM] SKU LUC10013-4 found in EBMS - checking prices [Tuesday 20th of October 2026 01:53:23 PM] obtain_current_prices() - START - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] obtain_current_prices() - Checking Motorstate for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] check_for_ms_product() - START - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] check_for_ms_product() - SKU: LUC10013-4 found in Motorstate [Tuesday 20th of October 2026 01:53:23 PM] check_for_ms_product() - END - SKU: LUC10013-4 | Found: true [Tuesday 20th of October 2026 01:53:23 PM] obtain_current_prices() - SKU: LUC10013-4 found in Motorstate - Fetching prices [Tuesday 20th of October 2026 01:53:23 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10013-4 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10013-4 - Base: 123.96 | Cost: 96.74 [Tuesday 20th of October 2026 01:53:23 PM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10013-4 - Base: 123.96 | Cost: 96.74 [Tuesday 20th of October 2026 01:53:23 PM] obtain_current_prices() - END - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] SKU LUC10013-4 has existing EBMS prices - syncing BigCommerce price back (cost: 96.74, base: 123.96) [Tuesday 20th of October 2026 01:53:23 PM] update_product_price() - START - Product ID: 64832 | Base: 123.96 | Cost: 96.74 [Tuesday 20th of October 2026 01:53:23 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832 [Tuesday 20th of October 2026 01:53:23 PM] update_product_price() - PUT payload: {"price":123.9599999999999937472239253111183643341064453125,"cost_price":96.7399999999999948840923025272786617279052734375} [Tuesday 20th of October 2026 01:53:23 PM] update_product_price() - Attempt 1 of 6 for Product ID: 64832 [Tuesday 20th of October 2026 01:53:23 PM] update_product_price() - Price updated successfully for Product ID: 64832 - Base: 123.96 | Cost: 96.74 [Tuesday 20th of October 2026 01:53:23 PM] update_product_price() - END - Product ID: 64832 | Result: success [Tuesday 20th of October 2026 01:53:23 PM] BigCommerce price updated for Product ID: 64832 [Tuesday 20th of October 2026 01:53:23 PM] get_product_inventory() - START - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] get_product_inventory() - Motorstate API call successful for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:23 PM] get_product_inventory() - Stock found for SKU: LUC10013-4 - Quantity: 18 | Running Total: 18 [Tuesday 20th of October 2026 01:53:23 PM] get_product_inventory() - END - SKU: LUC10013-4 | Total: 18 [Tuesday 20th of October 2026 01:53:23 PM] get_cf_id() - START - Product ID: 64832 [Tuesday 20th of October 2026 01:53:23 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832/custom-fields [Tuesday 20th of October 2026 01:53:23 PM] get_cf_id() - BigCommerce API call successful for Product ID: 64832 [Tuesday 20th of October 2026 01:53:23 PM] get_cf_id() - Custom field found for Product ID: 64832 | Field: online_stock_level | CF ID: 64722 [Tuesday 20th of October 2026 01:53:23 PM] get_cf_id() - END - Product ID: 64832 | CF ID: 64722 [Tuesday 20th of October 2026 01:53:23 PM] Updating inventory for SKU LUC10013-4 - stock: 18, CF ID: 64722 [Tuesday 20th of October 2026 01:53:23 PM] update_product_inventory() - START - Product ID: 64832 | Stock: 18 | CF ID: 64722 [Tuesday 20th of October 2026 01:53:23 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832/custom-fields/64722 [Tuesday 20th of October 2026 01:53:24 PM] update_product_inventory() - Inventory updated successfully for Product ID: 64832 | Stock: 18 [Tuesday 20th of October 2026 01:53:24 PM] update_product_inventory() - END - Product ID: 64832 | Result: success [Tuesday 20th of October 2026 01:53:24 PM] Inventory updated for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:53:24 PM] All products processed - Order details: [{"ID":"AP643","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}] [Tuesday 20th of October 2026 01:53:24 PM] Building payment record - Total: 161.7000 [Tuesday 20th of October 2026 01:53:24 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2366","ADDRESS1":"57341 stoldt rd","ADDRESS2":"","C_ADDRESS1":"57341 stoldt rd","C_ADDRESS2":"","C_CITY":"three rivers","C_COUNTRY":"USA","C_EMAIL":"injaenaut@yahoo.com","C_NAME":"Ronand weales","C_STATE":"MI","C_ZIP":"49093","ShippingAmount":"30.30","CITY":"three rivers","EMAIL":"injaenaut@yahoo.com","ID":"AP643","NAME":"Ronand weales","STATE":"MI","COUNTRY":"USA","ZIP":"49093","MEMO":"","DESCR":"BigCommerce Order - AP2366 - Customer AP643","Details":[{"ID":"AP643","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"161.70","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 20th of October 2026 01:53:24 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2366 [Tuesday 20th of October 2026 01:53:24 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2366%27 [Tuesday 20th of October 2026 01:53:24 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2366 [Tuesday 20th of October 2026 01:53:24 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2366 not found in EBMS [Tuesday 20th of October 2026 01:53:24 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2366 | Found: false [Tuesday 20th of October 2026 01:53:24 PM] Invoice AP2366 does not exist in EBMS - creating [Tuesday 20th of October 2026 01:53:24 PM] create_ebms_invoice() - START - Invoice: AP2366 [Tuesday 20th of October 2026 01:53:24 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2366","ADDRESS1":"57341 stoldt rd","ADDRESS2":"","C_ADDRESS1":"57341 stoldt rd","C_ADDRESS2":"","C_CITY":"three rivers","C_COUNTRY":"USA","C_EMAIL":"injaenaut@yahoo.com","C_NAME":"Ronand weales","C_STATE":"MI","C_ZIP":"49093","ShippingAmount":"30.30","CITY":"three rivers","EMAIL":"injaenaut@yahoo.com","ID":"AP643","NAME":"Ronand weales","STATE":"MI","COUNTRY":"USA","ZIP":"49093","MEMO":"","DESCR":"BigCommerce Order - AP2366 - Customer AP643","Details":[{"ID":"AP643","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"161.70","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 20th of October 2026 01:53:24 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 20th of October 2026 01:53:31 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2366 [Tuesday 20th of October 2026 01:53:31 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2366 - Response: {"@odata.context":"http:\/\/localhost:55935\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4f505642-4952-5552-4137-4e5342303030","AUTOID":"BVPORIRUA7NSB000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-131.400000000000005684341886080801486968994140625,"BAL_CUST_X":-131.400000000000005684341886080801486968994140625,"BALANCE":-131.400000000000005684341886080801486968994140625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":7.44000000000000039079850466805510222911834716796875,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":161.69999999999998863131622783839702606201171875,"TOTAL_S_SO":123.9599999999999937472239253111183643341064453125,"TOTAL_SO":161.69999999999998863131622783839702606201171875,"TOTAL_W":0,"TTLPROCPMT":161.69999999999998863131622783839702606201171875,"TOTAL":30.300000000000000710542735760100185871124267578125,"FREIGHT":30.300000000000000710542735760100185871124267578125,"HANDLING":0,"SHIPPING":30.300000000000000710542735760100185871124267578125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"57341 stoldt rd","ADDRESS2":"","C_EMAIL":"injaenaut@yahoo.com","C_PHONE":"(269) 716-8532","CCNTCT_AID":"6UQLG19BRBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-20T00:00:00Z","CHECK_NO":" APBC","CITY":"Three rivers","CNTCT_AID":"6UQLG19BRBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-20T00:00:00Z","E_DATE":"2026-10-20T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"injaenaut@yahoo.com","IADDRESS":"57341 stoldt rd , Three rivers, MI 49093","ID":"AP643","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-20T00:00:00Z","INVOICE":"AP2366","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Ronand weales","PHONE":"","PROCESS":"Default","STATE":"MI","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"49093","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"57341 stoldt rd","C_ADDRESS2":"","C_CITY":"Three rivers","C_COUNTRY":"USA","C_ID":"AP643","C_NAME":"Ronand weales","C_STATE":"MI","C_ZIP":"49093","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2366 - Customer AP643","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-20T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 20th of October 2026 01:53:31 PM] create_ebms_invoice() - END - Invoice: AP2366 [Tuesday 20th of October 2026 01:53:31 PM] Invoice AP2366 created successfully [Tuesday 20th of October 2026 01:53:31 PM] ORDER WEBHOOK COMPLETED - Order ID: 2366 | Invoice: AP2366 [Tuesday 20th of October 2026 01:54:28 PM] ORDER WEBHOOK STARTED - Order ID: 2366 [Tuesday 20th of October 2026 01:54:28 PM] Fetching customer data for Order ID: 2366 [Tuesday 20th of October 2026 01:54:28 PM] get_order_customer_data() - START - Order ID: 2366 [Tuesday 20th of October 2026 01:54:28 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2366 [Tuesday 20th of October 2026 01:54:28 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2366 [Tuesday 20th of October 2026 01:54:28 PM] get_order_customer_data() - Parsing order response for Order ID: 2366 [Tuesday 20th of October 2026 01:54:28 PM] get_order_customer_data() - Customer object built - Customer ID: 643 | Name: Ronand weales | Email: injaenaut@yahoo.com | Total: 161.7000 | Shipping: 30.30 [Tuesday 20th of October 2026 01:54:28 PM] get_order_customer_data() - END - Order ID: 2366 [Tuesday 20th of October 2026 01:54:28 PM] Customer data received: {"id":643,"email":"injaenaut@yahoo.com","address_1":"57341 stoldt rd","address_2":"","city":"three rivers","state":"MI","country":"USA","zip":"49093","f_name":"Ronand","l_name":"weales","contact_5":"injaenaut@yahoo.com","contact_1":"2697168532","contact_4":"Ronand weales"} [Tuesday 20th of October 2026 01:54:28 PM] Fetching shipping info for Order ID: 2366 [Tuesday 20th of October 2026 01:54:28 PM] get_order_shipping_info() - START - Order ID: 2366 [Tuesday 20th of October 2026 01:54:28 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2366/shipping_addresses [Tuesday 20th of October 2026 01:54:29 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2366 [Tuesday 20th of October 2026 01:54:29 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2366 | Name: Ronand weales | Address: 57341 stoldt rd, three rivers, Michigan, 49093 [Tuesday 20th of October 2026 01:54:29 PM] get_order_shipping_info() - END - Order ID: 2366 [Tuesday 20th of October 2026 01:54:29 PM] Shipping info received: {"id":2265,"order_id":2366,"first_name":"Ronand","last_name":"weales","company":"","street_1":"57341 stoldt rd","street_2":"","city":"three rivers","zip":"49093","country":"United States","country_iso2":"US","state":"Michigan","email":"injaenaut@yahoo.com","phone":"2697168532","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"30.3000","cost_ex_tax":"30.3000","cost_inc_tax":"30.3000","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2366\/shipping_addresses\/2265\/shipping_quotes","resource":"\/orders\/2366\/shipping_addresses\/2265\/shipping_quotes"},"form_fields":[]} [Tuesday 20th of October 2026 01:54:29 PM] Resolved Customer ID: AP643 [Tuesday 20th of October 2026 01:54:29 PM] Building order object for Invoice: AP2366 [Tuesday 20th of October 2026 01:54:29 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2366","ADDRESS1":"57341 stoldt rd","ADDRESS2":"","C_ADDRESS1":"57341 stoldt rd","C_ADDRESS2":"","C_CITY":"three rivers","C_COUNTRY":"USA","C_EMAIL":"injaenaut@yahoo.com","C_NAME":"Ronand weales","C_STATE":"MI","C_ZIP":"49093","ShippingAmount":"30.30","CITY":"three rivers","EMAIL":"injaenaut@yahoo.com","ID":"AP643","NAME":"Ronand weales","STATE":"MI","COUNTRY":"USA","ZIP":"49093","MEMO":"","DESCR":"BigCommerce Order - AP2366 - Customer AP643"} [Tuesday 20th of October 2026 01:54:29 PM] Registered customer detected - checking EBMS for Customer ID: AP643 [Tuesday 20th of October 2026 01:54:29 PM] check_for_customer() - START - Customer ID: 643 [Tuesday 20th of October 2026 01:54:29 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP643%27 [Tuesday 20th of October 2026 01:54:29 PM] check_for_customer() - EBMS API call successful for Customer ID: 643 [Tuesday 20th of October 2026 01:54:29 PM] check_for_customer() - Customer ID: 643 found in EBMS [Tuesday 20th of October 2026 01:54:29 PM] check_for_customer() - END - Customer ID: 643 | Found: true [Tuesday 20th of October 2026 01:54:29 PM] Customer AP643 found in EBMS [Tuesday 20th of October 2026 01:54:29 PM] check_for_empty_info() - START - Customer ID: 643 [Tuesday 20th of October 2026 01:54:29 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP643%27 [Tuesday 20th of October 2026 01:54:29 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 643 [Tuesday 20th of October 2026 01:54:29 PM] check_for_empty_info() - Customer record found for Customer ID: 643 - Checking ADDRESS1 field [Tuesday 20th of October 2026 01:54:29 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 643 - No update needed [Tuesday 20th of October 2026 01:54:29 PM] check_for_empty_info() - END - Customer ID: 643 | Empty Info: false [Tuesday 20th of October 2026 01:54:29 PM] check_for_empty_pn() - START - Customer ID: AP643 [Tuesday 20th of October 2026 01:54:29 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP643%27 [Tuesday 20th of October 2026 01:54:30 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP643 [Tuesday 20th of October 2026 01:54:30 PM] check_for_empty_pn() - Customer record found for Customer ID: AP643 - Checking CONTACT_1 field [Tuesday 20th of October 2026 01:54:30 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP643 - Value: (269) 716-8532 - No update needed [Tuesday 20th of October 2026 01:54:30 PM] check_for_empty_pn() - END - Customer ID: AP643 | Empty PN: false [Tuesday 20th of October 2026 01:54:30 PM] Fetching products from BigCommerce for Order ID: 2366 [Tuesday 20th of October 2026 01:54:30 PM] BigCommerce API call successful for Order ID: 2366 [Tuesday 20th of October 2026 01:54:30 PM] Products received: 1 item(s) [Tuesday 20th of October 2026 01:54:30 PM] Processing product SKU: LUC10013-4 | Qty: 1 | Price: 123.9600 [Tuesday 20th of October 2026 01:54:30 PM] get_mpn() - START - Product ID: 64832 [Tuesday 20th of October 2026 01:54:30 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832 [Tuesday 20th of October 2026 01:54:30 PM] get_mpn() - BigCommerce API call successful for Product ID: 64832 [Tuesday 20th of October 2026 01:54:30 PM] get_mpn() - WARNING - MPN is empty for Product ID: 64832 [Tuesday 20th of October 2026 01:54:30 PM] get_mpn() - END - Product ID: 64832 | MPN: [Tuesday 20th of October 2026 01:54:30 PM] check_for_ebms_product() - START - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:30 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10013-4%27 [Tuesday 20th of October 2026 01:54:30 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:30 PM] check_for_ebms_product() - SKU: LUC10013-4 found in EBMS [Tuesday 20th of October 2026 01:54:30 PM] check_for_ebms_product() - END - SKU: LUC10013-4 | Found: true [Tuesday 20th of October 2026 01:54:30 PM] SKU LUC10013-4 found in EBMS - checking prices [Tuesday 20th of October 2026 01:54:30 PM] obtain_current_prices() - START - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:30 PM] obtain_current_prices() - Checking Motorstate for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:30 PM] check_for_ms_product() - START - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:30 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10013-4 [Tuesday 20th of October 2026 01:54:31 PM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:31 PM] check_for_ms_product() - SKU: LUC10013-4 found in Motorstate [Tuesday 20th of October 2026 01:54:31 PM] check_for_ms_product() - END - SKU: LUC10013-4 | Found: true [Tuesday 20th of October 2026 01:54:31 PM] obtain_current_prices() - SKU: LUC10013-4 found in Motorstate - Fetching prices [Tuesday 20th of October 2026 01:54:31 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10013-4 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10013-4 [Tuesday 20th of October 2026 01:54:31 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10013-4 - Base: 123.96 | Cost: 96.74 [Tuesday 20th of October 2026 01:54:31 PM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10013-4 - Base: 123.96 | Cost: 96.74 [Tuesday 20th of October 2026 01:54:31 PM] obtain_current_prices() - END - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:31 PM] SKU LUC10013-4 has existing EBMS prices - syncing BigCommerce price back (cost: 96.74, base: 123.96) [Tuesday 20th of October 2026 01:54:31 PM] update_product_price() - START - Product ID: 64832 | Base: 123.96 | Cost: 96.74 [Tuesday 20th of October 2026 01:54:31 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832 [Tuesday 20th of October 2026 01:54:31 PM] update_product_price() - PUT payload: {"price":123.9599999999999937472239253111183643341064453125,"cost_price":96.7399999999999948840923025272786617279052734375} [Tuesday 20th of October 2026 01:54:31 PM] update_product_price() - Attempt 1 of 6 for Product ID: 64832 [Tuesday 20th of October 2026 01:54:31 PM] update_product_price() - Price updated successfully for Product ID: 64832 - Base: 123.96 | Cost: 96.74 [Tuesday 20th of October 2026 01:54:31 PM] update_product_price() - END - Product ID: 64832 | Result: success [Tuesday 20th of October 2026 01:54:31 PM] BigCommerce price updated for Product ID: 64832 [Tuesday 20th of October 2026 01:54:31 PM] get_product_inventory() - START - SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:31 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10013-4 [Tuesday 20th of October 2026 01:54:31 PM] get_product_inventory() - Motorstate API call successful for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:31 PM] get_product_inventory() - Stock found for SKU: LUC10013-4 - Quantity: 18 | Running Total: 18 [Tuesday 20th of October 2026 01:54:31 PM] get_product_inventory() - END - SKU: LUC10013-4 | Total: 18 [Tuesday 20th of October 2026 01:54:31 PM] get_cf_id() - START - Product ID: 64832 [Tuesday 20th of October 2026 01:54:31 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832/custom-fields [Tuesday 20th of October 2026 01:54:31 PM] get_cf_id() - BigCommerce API call successful for Product ID: 64832 [Tuesday 20th of October 2026 01:54:31 PM] get_cf_id() - Custom field found for Product ID: 64832 | Field: online_stock_level | CF ID: 64722 [Tuesday 20th of October 2026 01:54:31 PM] get_cf_id() - END - Product ID: 64832 | CF ID: 64722 [Tuesday 20th of October 2026 01:54:31 PM] Updating inventory for SKU LUC10013-4 - stock: 18, CF ID: 64722 [Tuesday 20th of October 2026 01:54:31 PM] update_product_inventory() - START - Product ID: 64832 | Stock: 18 | CF ID: 64722 [Tuesday 20th of October 2026 01:54:31 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832/custom-fields/64722 [Tuesday 20th of October 2026 01:54:32 PM] update_product_inventory() - Inventory updated successfully for Product ID: 64832 | Stock: 18 [Tuesday 20th of October 2026 01:54:32 PM] update_product_inventory() - END - Product ID: 64832 | Result: success [Tuesday 20th of October 2026 01:54:32 PM] Inventory updated for SKU: LUC10013-4 [Tuesday 20th of October 2026 01:54:32 PM] All products processed - Order details: [{"ID":"AP643","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}] [Tuesday 20th of October 2026 01:54:32 PM] Building payment record - Total: 161.7000 [Tuesday 20th of October 2026 01:54:32 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2366","ADDRESS1":"57341 stoldt rd","ADDRESS2":"","C_ADDRESS1":"57341 stoldt rd","C_ADDRESS2":"","C_CITY":"three rivers","C_COUNTRY":"USA","C_EMAIL":"injaenaut@yahoo.com","C_NAME":"Ronand weales","C_STATE":"MI","C_ZIP":"49093","ShippingAmount":"30.30","CITY":"three rivers","EMAIL":"injaenaut@yahoo.com","ID":"AP643","NAME":"Ronand weales","STATE":"MI","COUNTRY":"USA","ZIP":"49093","MEMO":"","DESCR":"BigCommerce Order - AP2366 - Customer AP643","Details":[{"ID":"AP643","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"161.70","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 20th of October 2026 01:54:32 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2366 [Tuesday 20th of October 2026 01:54:32 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2366%27 [Tuesday 20th of October 2026 01:54:32 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2366 [Tuesday 20th of October 2026 01:54:32 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2366 found in EBMS [Tuesday 20th of October 2026 01:54:32 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2366 | Found: true [Tuesday 20th of October 2026 01:54:32 PM] Invoice AP2366 already exists in EBMS - patching [Tuesday 20th of October 2026 01:54:32 PM] patch_ebms_invoice() - START - Invoice: AP2366 [Tuesday 20th of October 2026 01:54:32 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2366","ADDRESS1":"57341 stoldt rd","ADDRESS2":"","C_ADDRESS1":"57341 stoldt rd","C_ADDRESS2":"","C_CITY":"three rivers","C_COUNTRY":"USA","C_EMAIL":"injaenaut@yahoo.com","C_NAME":"Ronand weales","C_STATE":"MI","C_ZIP":"49093","ShippingAmount":"30.30","CITY":"three rivers","EMAIL":"injaenaut@yahoo.com","ID":"AP643","NAME":"Ronand weales","STATE":"MI","COUNTRY":"USA","ZIP":"49093","MEMO":"","DESCR":"BigCommerce Order - AP2366 - Customer AP643","Details":[{"ID":"AP643","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"161.70","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 20th of October 2026 01:54:32 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2366%27 [Tuesday 20th of October 2026 01:54:33 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2366 [Tuesday 20th of October 2026 01:54:33 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2366 [Tuesday 20th of October 2026 01:54:33 PM] patch_ebms_invoice() - END - Invoice: AP2366 [Tuesday 20th of October 2026 01:54:33 PM] Invoice AP2366 patched successfully [Tuesday 20th of October 2026 01:54:33 PM] ORDER WEBHOOK COMPLETED - Order ID: 2366 | Invoice: AP2366