[Wednesday 14th of October 2026 09:03:20 AM] ORDER WEBHOOK STARTED - Order ID: 2360 [Wednesday 14th of October 2026 09:03:20 AM] Fetching customer data for Order ID: 2360 [Wednesday 14th of October 2026 09:03:20 AM] get_order_customer_data() - START - Order ID: 2360 [Wednesday 14th of October 2026 09:03:20 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2360 [Wednesday 14th of October 2026 09:03:20 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2360 [Wednesday 14th of October 2026 09:03:20 AM] get_order_customer_data() - Parsing order response for Order ID: 2360 [Wednesday 14th of October 2026 09:03:20 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: RON STEMARIE | Email: buzzchewracing@frontiernet.net | Total: 168.6000 | Shipping: 18.70 [Wednesday 14th of October 2026 09:03:20 AM] get_order_customer_data() - END - Order ID: 2360 [Wednesday 14th of October 2026 09:03:20 AM] Customer data received: {"id":0,"email":"buzzchewracing@frontiernet.net","address_1":"61 limekiln lake rd Box 203","address_2":"","city":"inlet, NY","state":"NY","country":"USA","zip":"13360","f_name":"RON","l_name":"STEMARIE","contact_5":"buzzchewracing@frontiernet.net","contact_1":"13152125997","contact_4":"RON STEMARIE"} [Wednesday 14th of October 2026 09:03:20 AM] Fetching shipping info for Order ID: 2360 [Wednesday 14th of October 2026 09:03:20 AM] get_order_shipping_info() - START - Order ID: 2360 [Wednesday 14th of October 2026 09:03:20 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2360/shipping_addresses [Wednesday 14th of October 2026 09:03:21 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2360 [Wednesday 14th of October 2026 09:03:21 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2360 | Name: RON STEMARIE | Address: 61 limekiln lake rd Box 203, inlet, NY, New York, 13360 [Wednesday 14th of October 2026 09:03:21 AM] get_order_shipping_info() - END - Order ID: 2360 [Wednesday 14th of October 2026 09:03:21 AM] Shipping info received: {"id":2259,"order_id":2360,"first_name":"RON","last_name":"STEMARIE","company":"buzz chew racing","street_1":"61 limekiln lake rd Box 203","street_2":"","city":"inlet, NY","zip":"13360","country":"United States","country_iso2":"US","state":"New York","email":"buzzchewracing@frontiernet.net","phone":"13152125997","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"18.7000","cost_ex_tax":"18.7000","cost_inc_tax":"18.7000","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\/2360\/shipping_addresses\/2259\/shipping_quotes","resource":"\/orders\/2360\/shipping_addresses\/2259\/shipping_quotes"},"form_fields":[]} [Wednesday 14th of October 2026 09:03:21 AM] Resolved Customer ID: APONLINE [Wednesday 14th of October 2026 09:03:21 AM] Building order object for Invoice: AP2360 [Wednesday 14th of October 2026 09:03:21 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2360","ADDRESS1":"61 limekiln lake rd Box 203","ADDRESS2":"","C_ADDRESS1":"61 limekiln lake rd Box 203","C_ADDRESS2":"","C_CITY":"inlet, NY","C_COUNTRY":"USA","C_EMAIL":"buzzchewracing@frontiernet.net","C_NAME":"RON STEMARIE","C_STATE":"NY","C_ZIP":"13360","ShippingAmount":"18.70","CITY":"inlet, NY","EMAIL":"buzzchewracing@frontiernet.net","ID":"APONLINE","NAME":"RON STEMARIE","STATE":"NY","COUNTRY":"USA","ZIP":"13360","MEMO":"","DESCR":"BigCommerce Order - AP2360 - Customer APONLINE"} [Wednesday 14th of October 2026 09:03:21 AM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 14th of October 2026 09:03:21 AM] Fetching products from BigCommerce for Order ID: 2360 [Wednesday 14th of October 2026 09:03:21 AM] BigCommerce API call successful for Order ID: 2360 [Wednesday 14th of October 2026 09:03:21 AM] Products received: 1 item(s) [Wednesday 14th of October 2026 09:03:21 AM] Processing product SKU: APPS100-BLADES-6PACK | Qty: 2 | Price: 74.9500 [Wednesday 14th of October 2026 09:03:21 AM] get_mpn() - START - Product ID: 87419 [Wednesday 14th of October 2026 09:03:21 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Wednesday 14th of October 2026 09:03:21 AM] get_mpn() - BigCommerce API call successful for Product ID: 87419 [Wednesday 14th of October 2026 09:03:21 AM] get_mpn() - WARNING - MPN is empty for Product ID: 87419 [Wednesday 14th of October 2026 09:03:21 AM] get_mpn() - END - Product ID: 87419 | MPN: [Wednesday 14th of October 2026 09:03:21 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:21 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Wednesday 14th of October 2026 09:03:22 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:22 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Wednesday 14th of October 2026 09:03:22 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Wednesday 14th of October 2026 09:03:22 AM] SKU APPS100-BLADES-6PACK found in EBMS - checking prices [Wednesday 14th of October 2026 09:03:22 AM] obtain_current_prices() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:22 AM] obtain_current_prices() - Checking Motorstate for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:22 AM] check_for_ms_product() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:22 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:22 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:22 AM] check_for_ms_product() - SKU: APPS100-BLADES-6PACK not found in Motorstate [Wednesday 14th of October 2026 09:03:22 AM] check_for_ms_product() - END - SKU: APPS100-BLADES-6PACK | Found: false [Wednesday 14th of October 2026 09:03:22 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK not found in Motorstate - Skipping to EBMS [Wednesday 14th of October 2026 09:03:22 AM] obtain_current_prices() - Checking EBMS for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:22 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:22 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Wednesday 14th of October 2026 09:03:23 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:23 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Wednesday 14th of October 2026 09:03:23 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Wednesday 14th of October 2026 09:03:23 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK found in EBMS - Fetching prices [Wednesday 14th of October 2026 09:03:23 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPS100-BLADES-6PACK - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Wednesday 14th of October 2026 09:03:24 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPS100-BLADES-6PACK - Base: 74.95 | Cost: 16.00 [Wednesday 14th of October 2026 09:03:24 AM] obtain_current_prices() - END - SKU: APPS100-BLADES-6PACK | Final prices - Base: 74.95 | Cost: 16.00 [Wednesday 14th of October 2026 09:03:24 AM] SKU APPS100-BLADES-6PACK has existing EBMS prices - syncing BigCommerce price back (cost: 16.00, base: 74.95) [Wednesday 14th of October 2026 09:03:24 AM] update_product_price() - START - Product ID: 87419 | Base: 74.95 | Cost: 16 [Wednesday 14th of October 2026 09:03:24 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Wednesday 14th of October 2026 09:03:24 AM] update_product_price() - PUT payload: {"price":74.9500000000000028421709430404007434844970703125,"cost_price":16.0} [Wednesday 14th of October 2026 09:03:24 AM] update_product_price() - Attempt 1 of 6 for Product ID: 87419 [Wednesday 14th of October 2026 09:03:24 AM] update_product_price() - Price updated successfully for Product ID: 87419 - Base: 74.95 | Cost: 16 [Wednesday 14th of October 2026 09:03:24 AM] update_product_price() - END - Product ID: 87419 | Result: success [Wednesday 14th of October 2026 09:03:24 AM] BigCommerce price updated for Product ID: 87419 [Wednesday 14th of October 2026 09:03:24 AM] get_product_inventory() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:24 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:24 AM] get_product_inventory() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:24 AM] get_product_inventory() - SKU: APPS100-BLADES-6PACK not found in Motorstate response item [Wednesday 14th of October 2026 09:03:24 AM] get_product_inventory() - END - SKU: APPS100-BLADES-6PACK | Total: 0 [Wednesday 14th of October 2026 09:03:24 AM] get_cf_id() - START - Product ID: 87419 [Wednesday 14th of October 2026 09:03:24 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields [Wednesday 14th of October 2026 09:03:24 AM] get_cf_id() - BigCommerce API call successful for Product ID: 87419 [Wednesday 14th of October 2026 09:03:24 AM] get_cf_id() - Custom field found for Product ID: 87419 | Field: online_stock_level | CF ID: 87541 [Wednesday 14th of October 2026 09:03:24 AM] get_cf_id() - END - Product ID: 87419 | CF ID: 87541 [Wednesday 14th of October 2026 09:03:24 AM] Updating inventory for SKU APPS100-BLADES-6PACK - stock: 0, CF ID: 87541 [Wednesday 14th of October 2026 09:03:24 AM] update_product_inventory() - START - Product ID: 87419 | Stock: 0 | CF ID: 87541 [Wednesday 14th of October 2026 09:03:24 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields/87541 [Wednesday 14th of October 2026 09:03:25 AM] update_product_inventory() - Inventory updated successfully for Product ID: 87419 | Stock: 0 [Wednesday 14th of October 2026 09:03:25 AM] update_product_inventory() - END - Product ID: 87419 | Result: success [Wednesday 14th of October 2026 09:03:25 AM] Inventory updated for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:03:25 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":2,"UNIT":"74.95","UNIT_MEAS":"EA"}] [Wednesday 14th of October 2026 09:03:25 AM] Building payment record - Total: 168.6000 [Wednesday 14th of October 2026 09:03:25 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2360","ADDRESS1":"61 limekiln lake rd Box 203","ADDRESS2":"","C_ADDRESS1":"61 limekiln lake rd Box 203","C_ADDRESS2":"","C_CITY":"inlet, NY","C_COUNTRY":"USA","C_EMAIL":"buzzchewracing@frontiernet.net","C_NAME":"RON STEMARIE","C_STATE":"NY","C_ZIP":"13360","ShippingAmount":"18.70","CITY":"inlet, NY","EMAIL":"buzzchewracing@frontiernet.net","ID":"APONLINE","NAME":"RON STEMARIE","STATE":"NY","COUNTRY":"USA","ZIP":"13360","MEMO":"","DESCR":"BigCommerce Order - AP2360 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":2,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.60","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 09:03:25 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2360 [Wednesday 14th of October 2026 09:03:25 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2360%27 [Wednesday 14th of October 2026 09:03:26 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2360 [Wednesday 14th of October 2026 09:03:26 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2360 not found in EBMS [Wednesday 14th of October 2026 09:03:26 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2360 | Found: false [Wednesday 14th of October 2026 09:03:26 AM] Invoice AP2360 does not exist in EBMS - creating [Wednesday 14th of October 2026 09:03:26 AM] create_ebms_invoice() - START - Invoice: AP2360 [Wednesday 14th of October 2026 09:03:26 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2360","ADDRESS1":"61 limekiln lake rd Box 203","ADDRESS2":"","C_ADDRESS1":"61 limekiln lake rd Box 203","C_ADDRESS2":"","C_CITY":"inlet, NY","C_COUNTRY":"USA","C_EMAIL":"buzzchewracing@frontiernet.net","C_NAME":"RON STEMARIE","C_STATE":"NY","C_ZIP":"13360","ShippingAmount":"18.70","CITY":"inlet, NY","EMAIL":"buzzchewracing@frontiernet.net","ID":"APONLINE","NAME":"RON STEMARIE","STATE":"NY","COUNTRY":"USA","ZIP":"13360","MEMO":"","DESCR":"BigCommerce Order - AP2360 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":2,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.60","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 09:03:26 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 14th of October 2026 09:03:32 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2360 [Wednesday 14th of October 2026 09:03:32 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2360 - Response: {"@odata.context":"http:\/\/localhost:50290\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"5531494f-4937-4351-4344-545641303030","AUTOID":"OI1U7IQCCDTVA000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-149.900000000000005684341886080801486968994140625,"BAL_CUST_X":-149.900000000000005684341886080801486968994140625,"BALANCE":-149.900000000000005684341886080801486968994140625,"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":168.599999999999994315658113919198513031005859375,"TOTAL_S_SO":149.900000000000005684341886080801486968994140625,"TOTAL_SO":168.599999999999994315658113919198513031005859375,"TOTAL_W":0,"TTLPROCPMT":168.599999999999994315658113919198513031005859375,"TOTAL":18.699999999999999289457264239899814128875732421875,"FREIGHT":18.699999999999999289457264239899814128875732421875,"HANDLING":0,"SHIPPING":18.699999999999999289457264239899814128875732421875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"61 limekiln lake rd Box 203","ADDRESS2":"","C_EMAIL":"buzzchewracing@frontiernet.net","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-14T00:00:00Z","CHECK_NO":" APBC","CITY":"Inlet, NY","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-14T00:00:00Z","E_DATE":"2026-10-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"buzzchewracing@frontiernet.net","IADDRESS":"61 limekiln lake rd Box 203 , Inlet, NY, NY 13360","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-14T00:00:00Z","INVOICE":"AP2360","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"RON STEMARIE","PHONE":"","PROCESS":"Default","STATE":"NY","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"13360","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"61 limekiln lake rd Box 203","C_ADDRESS2":"","C_CITY":"Inlet, NY","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"RON STEMARIE","C_STATE":"NY","C_ZIP":"13360","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2360 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-14T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 14th of October 2026 09:03:32 AM] create_ebms_invoice() - END - Invoice: AP2360 [Wednesday 14th of October 2026 09:03:32 AM] Invoice AP2360 created successfully [Wednesday 14th of October 2026 09:03:33 AM] ORDER WEBHOOK COMPLETED - Order ID: 2360 | Invoice: AP2360 [Wednesday 14th of October 2026 09:04:30 AM] ORDER WEBHOOK STARTED - Order ID: 2360 [Wednesday 14th of October 2026 09:04:30 AM] Fetching customer data for Order ID: 2360 [Wednesday 14th of October 2026 09:04:30 AM] get_order_customer_data() - START - Order ID: 2360 [Wednesday 14th of October 2026 09:04:30 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2360 [Wednesday 14th of October 2026 09:04:30 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2360 [Wednesday 14th of October 2026 09:04:30 AM] get_order_customer_data() - Parsing order response for Order ID: 2360 [Wednesday 14th of October 2026 09:04:30 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: RON STEMARIE | Email: buzzchewracing@frontiernet.net | Total: 168.6000 | Shipping: 18.70 [Wednesday 14th of October 2026 09:04:30 AM] get_order_customer_data() - END - Order ID: 2360 [Wednesday 14th of October 2026 09:04:30 AM] Customer data received: {"id":0,"email":"buzzchewracing@frontiernet.net","address_1":"61 limekiln lake rd Box 203","address_2":"","city":"inlet, NY","state":"NY","country":"USA","zip":"13360","f_name":"RON","l_name":"STEMARIE","contact_5":"buzzchewracing@frontiernet.net","contact_1":"13152125997","contact_4":"RON STEMARIE"} [Wednesday 14th of October 2026 09:04:30 AM] Fetching shipping info for Order ID: 2360 [Wednesday 14th of October 2026 09:04:30 AM] get_order_shipping_info() - START - Order ID: 2360 [Wednesday 14th of October 2026 09:04:30 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2360/shipping_addresses [Wednesday 14th of October 2026 09:04:31 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2360 [Wednesday 14th of October 2026 09:04:31 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2360 | Name: RON STEMARIE | Address: 61 limekiln lake rd Box 203, inlet, NY, New York, 13360 [Wednesday 14th of October 2026 09:04:31 AM] get_order_shipping_info() - END - Order ID: 2360 [Wednesday 14th of October 2026 09:04:31 AM] Shipping info received: {"id":2259,"order_id":2360,"first_name":"RON","last_name":"STEMARIE","company":"buzz chew racing","street_1":"61 limekiln lake rd Box 203","street_2":"","city":"inlet, NY","zip":"13360","country":"United States","country_iso2":"US","state":"New York","email":"buzzchewracing@frontiernet.net","phone":"13152125997","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"18.7000","cost_ex_tax":"18.7000","cost_inc_tax":"18.7000","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\/2360\/shipping_addresses\/2259\/shipping_quotes","resource":"\/orders\/2360\/shipping_addresses\/2259\/shipping_quotes"},"form_fields":[]} [Wednesday 14th of October 2026 09:04:31 AM] Resolved Customer ID: APONLINE [Wednesday 14th of October 2026 09:04:31 AM] Building order object for Invoice: AP2360 [Wednesday 14th of October 2026 09:04:31 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2360","ADDRESS1":"61 limekiln lake rd Box 203","ADDRESS2":"","C_ADDRESS1":"61 limekiln lake rd Box 203","C_ADDRESS2":"","C_CITY":"inlet, NY","C_COUNTRY":"USA","C_EMAIL":"buzzchewracing@frontiernet.net","C_NAME":"RON STEMARIE","C_STATE":"NY","C_ZIP":"13360","ShippingAmount":"18.70","CITY":"inlet, NY","EMAIL":"buzzchewracing@frontiernet.net","ID":"APONLINE","NAME":"RON STEMARIE","STATE":"NY","COUNTRY":"USA","ZIP":"13360","MEMO":"","DESCR":"BigCommerce Order - AP2360 - Customer APONLINE"} [Wednesday 14th of October 2026 09:04:31 AM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 14th of October 2026 09:04:31 AM] Fetching products from BigCommerce for Order ID: 2360 [Wednesday 14th of October 2026 09:04:31 AM] BigCommerce API call successful for Order ID: 2360 [Wednesday 14th of October 2026 09:04:31 AM] Products received: 1 item(s) [Wednesday 14th of October 2026 09:04:31 AM] Processing product SKU: APPS100-BLADES-6PACK | Qty: 2 | Price: 74.9500 [Wednesday 14th of October 2026 09:04:31 AM] get_mpn() - START - Product ID: 87419 [Wednesday 14th of October 2026 09:04:31 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Wednesday 14th of October 2026 09:04:31 AM] get_mpn() - BigCommerce API call successful for Product ID: 87419 [Wednesday 14th of October 2026 09:04:31 AM] get_mpn() - WARNING - MPN is empty for Product ID: 87419 [Wednesday 14th of October 2026 09:04:31 AM] get_mpn() - END - Product ID: 87419 | MPN: [Wednesday 14th of October 2026 09:04:31 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:31 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Wednesday 14th of October 2026 09:04:32 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:32 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Wednesday 14th of October 2026 09:04:32 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Wednesday 14th of October 2026 09:04:32 AM] SKU APPS100-BLADES-6PACK found in EBMS - checking prices [Wednesday 14th of October 2026 09:04:32 AM] obtain_current_prices() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:32 AM] obtain_current_prices() - Checking Motorstate for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:32 AM] check_for_ms_product() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:32 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:32 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:32 AM] check_for_ms_product() - SKU: APPS100-BLADES-6PACK not found in Motorstate [Wednesday 14th of October 2026 09:04:32 AM] check_for_ms_product() - END - SKU: APPS100-BLADES-6PACK | Found: false [Wednesday 14th of October 2026 09:04:32 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK not found in Motorstate - Skipping to EBMS [Wednesday 14th of October 2026 09:04:32 AM] obtain_current_prices() - Checking EBMS for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:32 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:32 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Wednesday 14th of October 2026 09:04:33 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:33 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Wednesday 14th of October 2026 09:04:33 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Wednesday 14th of October 2026 09:04:33 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK found in EBMS - Fetching prices [Wednesday 14th of October 2026 09:04:33 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPS100-BLADES-6PACK - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Wednesday 14th of October 2026 09:04:33 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPS100-BLADES-6PACK - Base: 74.95 | Cost: 16.00 [Wednesday 14th of October 2026 09:04:33 AM] obtain_current_prices() - END - SKU: APPS100-BLADES-6PACK | Final prices - Base: 74.95 | Cost: 16.00 [Wednesday 14th of October 2026 09:04:33 AM] SKU APPS100-BLADES-6PACK has existing EBMS prices - syncing BigCommerce price back (cost: 16.00, base: 74.95) [Wednesday 14th of October 2026 09:04:33 AM] update_product_price() - START - Product ID: 87419 | Base: 74.95 | Cost: 16 [Wednesday 14th of October 2026 09:04:33 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Wednesday 14th of October 2026 09:04:33 AM] update_product_price() - PUT payload: {"price":74.9500000000000028421709430404007434844970703125,"cost_price":16.0} [Wednesday 14th of October 2026 09:04:33 AM] update_product_price() - Attempt 1 of 6 for Product ID: 87419 [Wednesday 14th of October 2026 09:04:33 AM] update_product_price() - Price updated successfully for Product ID: 87419 - Base: 74.95 | Cost: 16 [Wednesday 14th of October 2026 09:04:33 AM] update_product_price() - END - Product ID: 87419 | Result: success [Wednesday 14th of October 2026 09:04:33 AM] BigCommerce price updated for Product ID: 87419 [Wednesday 14th of October 2026 09:04:33 AM] get_product_inventory() - START - SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:33 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:34 AM] get_product_inventory() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:34 AM] get_product_inventory() - SKU: APPS100-BLADES-6PACK not found in Motorstate response item [Wednesday 14th of October 2026 09:04:34 AM] get_product_inventory() - END - SKU: APPS100-BLADES-6PACK | Total: 0 [Wednesday 14th of October 2026 09:04:34 AM] get_cf_id() - START - Product ID: 87419 [Wednesday 14th of October 2026 09:04:34 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields [Wednesday 14th of October 2026 09:04:34 AM] get_cf_id() - BigCommerce API call successful for Product ID: 87419 [Wednesday 14th of October 2026 09:04:34 AM] get_cf_id() - Custom field found for Product ID: 87419 | Field: online_stock_level | CF ID: 87541 [Wednesday 14th of October 2026 09:04:34 AM] get_cf_id() - END - Product ID: 87419 | CF ID: 87541 [Wednesday 14th of October 2026 09:04:34 AM] Updating inventory for SKU APPS100-BLADES-6PACK - stock: 0, CF ID: 87541 [Wednesday 14th of October 2026 09:04:34 AM] update_product_inventory() - START - Product ID: 87419 | Stock: 0 | CF ID: 87541 [Wednesday 14th of October 2026 09:04:34 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields/87541 [Wednesday 14th of October 2026 09:04:34 AM] update_product_inventory() - Inventory updated successfully for Product ID: 87419 | Stock: 0 [Wednesday 14th of October 2026 09:04:34 AM] update_product_inventory() - END - Product ID: 87419 | Result: success [Wednesday 14th of October 2026 09:04:34 AM] Inventory updated for SKU: APPS100-BLADES-6PACK [Wednesday 14th of October 2026 09:04:34 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":2,"UNIT":"74.95","UNIT_MEAS":"EA"}] [Wednesday 14th of October 2026 09:04:34 AM] Building payment record - Total: 168.6000 [Wednesday 14th of October 2026 09:04:34 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2360","ADDRESS1":"61 limekiln lake rd Box 203","ADDRESS2":"","C_ADDRESS1":"61 limekiln lake rd Box 203","C_ADDRESS2":"","C_CITY":"inlet, NY","C_COUNTRY":"USA","C_EMAIL":"buzzchewracing@frontiernet.net","C_NAME":"RON STEMARIE","C_STATE":"NY","C_ZIP":"13360","ShippingAmount":"18.70","CITY":"inlet, NY","EMAIL":"buzzchewracing@frontiernet.net","ID":"APONLINE","NAME":"RON STEMARIE","STATE":"NY","COUNTRY":"USA","ZIP":"13360","MEMO":"","DESCR":"BigCommerce Order - AP2360 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":2,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.60","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 09:04:34 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2360 [Wednesday 14th of October 2026 09:04:34 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2360%27 [Wednesday 14th of October 2026 09:04:35 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2360 [Wednesday 14th of October 2026 09:04:35 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2360 found in EBMS [Wednesday 14th of October 2026 09:04:35 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2360 | Found: true [Wednesday 14th of October 2026 09:04:35 AM] Invoice AP2360 already exists in EBMS - patching [Wednesday 14th of October 2026 09:04:35 AM] patch_ebms_invoice() - START - Invoice: AP2360 [Wednesday 14th of October 2026 09:04:35 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2360","ADDRESS1":"61 limekiln lake rd Box 203","ADDRESS2":"","C_ADDRESS1":"61 limekiln lake rd Box 203","C_ADDRESS2":"","C_CITY":"inlet, NY","C_COUNTRY":"USA","C_EMAIL":"buzzchewracing@frontiernet.net","C_NAME":"RON STEMARIE","C_STATE":"NY","C_ZIP":"13360","ShippingAmount":"18.70","CITY":"inlet, NY","EMAIL":"buzzchewracing@frontiernet.net","ID":"APONLINE","NAME":"RON STEMARIE","STATE":"NY","COUNTRY":"USA","ZIP":"13360","MEMO":"","DESCR":"BigCommerce Order - AP2360 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":2,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.60","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 09:04:35 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2360%27 [Wednesday 14th of October 2026 09:04:36 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2360 [Wednesday 14th of October 2026 09:04:36 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2360 [Wednesday 14th of October 2026 09:04:36 AM] patch_ebms_invoice() - END - Invoice: AP2360 [Wednesday 14th of October 2026 09:04:36 AM] Invoice AP2360 patched successfully [Wednesday 14th of October 2026 09:04:36 AM] ORDER WEBHOOK COMPLETED - Order ID: 2360 | Invoice: AP2360 [Wednesday 14th of October 2026 06:50:56 PM] ORDER WEBHOOK STARTED - Order ID: 2361 [Wednesday 14th of October 2026 06:50:56 PM] Fetching customer data for Order ID: 2361 [Wednesday 14th of October 2026 06:50:56 PM] get_order_customer_data() - START - Order ID: 2361 [Wednesday 14th of October 2026 06:50:56 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2361 [Wednesday 14th of October 2026 06:50:56 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] get_order_customer_data() - Parsing order response for Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Bob Kelly | Email: bktrinity@live.com | Total: 82.8800 | Shipping: 26.89 [Wednesday 14th of October 2026 06:50:57 PM] get_order_customer_data() - END - Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] Customer data received: {"id":0,"email":"bktrinity@live.com","address_1":"965 Chestnut st ","address_2":"","city":"Susanville ","state":"CA","country":"USA","zip":"96130","f_name":"Bob ","l_name":"Kelly ","contact_5":"bktrinity@live.com","contact_1":"5303562705","contact_4":"Bob Kelly "} [Wednesday 14th of October 2026 06:50:57 PM] Fetching shipping info for Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] get_order_shipping_info() - START - Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2361/shipping_addresses [Wednesday 14th of October 2026 06:50:57 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2361 | Name: Bob Kelly | Address: 965 Chestnut st , Susanville , California, 96130 [Wednesday 14th of October 2026 06:50:57 PM] get_order_shipping_info() - END - Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] Shipping info received: {"id":2260,"order_id":2361,"first_name":"Bob ","last_name":"Kelly ","company":"","street_1":"965 Chestnut st ","street_2":"","city":"Susanville ","zip":"96130","country":"United States","country_iso2":"US","state":"California","email":"bktrinity@live.com","phone":"5303562705","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"26.8900","cost_ex_tax":"26.8900","cost_inc_tax":"26.8900","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\/2361\/shipping_addresses\/2260\/shipping_quotes","resource":"\/orders\/2361\/shipping_addresses\/2260\/shipping_quotes"},"form_fields":[]} [Wednesday 14th of October 2026 06:50:57 PM] Resolved Customer ID: APONLINE [Wednesday 14th of October 2026 06:50:57 PM] Building order object for Invoice: AP2361 [Wednesday 14th of October 2026 06:50:57 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2361","ADDRESS1":"965 Chestnut st ","ADDRESS2":"","C_ADDRESS1":"965 Chestnut st ","C_ADDRESS2":"","C_CITY":"Susanville ","C_COUNTRY":"USA","C_EMAIL":"bktrinity@live.com","C_NAME":"Bob Kelly ","C_STATE":"CA","C_ZIP":"96130","ShippingAmount":"26.89","CITY":"Susanville ","EMAIL":"bktrinity@live.com","ID":"APONLINE","NAME":"Bob Kelly ","STATE":"CA","COUNTRY":"USA","ZIP":"96130","MEMO":"","DESCR":"BigCommerce Order - AP2361 - Customer APONLINE"} [Wednesday 14th of October 2026 06:50:57 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 14th of October 2026 06:50:57 PM] Fetching products from BigCommerce for Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] BigCommerce API call successful for Order ID: 2361 [Wednesday 14th of October 2026 06:50:57 PM] Products received: 1 item(s) [Wednesday 14th of October 2026 06:50:57 PM] Processing product SKU: FSHXLT8 | Qty: 1 | Price: 55.9900 [Wednesday 14th of October 2026 06:50:57 PM] get_mpn() - START - Product ID: 13865 [Wednesday 14th of October 2026 06:50:57 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13865 [Wednesday 14th of October 2026 06:50:57 PM] get_mpn() - BigCommerce API call successful for Product ID: 13865 [Wednesday 14th of October 2026 06:50:57 PM] get_mpn() - WARNING - MPN is empty for Product ID: 13865 [Wednesday 14th of October 2026 06:50:57 PM] get_mpn() - END - Product ID: 13865 | MPN: [Wednesday 14th of October 2026 06:50:57 PM] check_for_ebms_product() - START - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:57 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27FSHXLT8%27 [Wednesday 14th of October 2026 06:50:58 PM] check_for_ebms_product() - EBMS API call successful for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] check_for_ebms_product() - SKU: FSHXLT8 found in EBMS [Wednesday 14th of October 2026 06:50:58 PM] check_for_ebms_product() - END - SKU: FSHXLT8 | Found: true [Wednesday 14th of October 2026 06:50:58 PM] SKU FSHXLT8 found in EBMS - checking prices [Wednesday 14th of October 2026 06:50:58 PM] obtain_current_prices() - START - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] obtain_current_prices() - Checking Motorstate for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] check_for_ms_product() - START - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] check_for_ms_product() - Motorstate API call successful for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] check_for_ms_product() - SKU: FSHXLT8 found in Motorstate [Wednesday 14th of October 2026 06:50:58 PM] check_for_ms_product() - END - SKU: FSHXLT8 | Found: true [Wednesday 14th of October 2026 06:50:58 PM] obtain_current_prices() - SKU: FSHXLT8 found in Motorstate - Fetching prices [Wednesday 14th of October 2026 06:50:58 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: FSHXLT8 - URL: https://api.motorstate.com/api/Product?partNumbers=FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: FSHXLT8 - Base: 55.99 | Cost: 50.10 [Wednesday 14th of October 2026 06:50:58 PM] obtain_current_prices() - Returning Motorstate prices for SKU: FSHXLT8 - Base: 55.99 | Cost: 50.10 [Wednesday 14th of October 2026 06:50:58 PM] obtain_current_prices() - END - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] SKU FSHXLT8 has existing EBMS prices - syncing BigCommerce price back (cost: 50.10, base: 55.99) [Wednesday 14th of October 2026 06:50:58 PM] update_product_price() - START - Product ID: 13865 | Base: 55.99 | Cost: 50.1 [Wednesday 14th of October 2026 06:50:58 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13865 [Wednesday 14th of October 2026 06:50:58 PM] update_product_price() - PUT payload: {"price":55.99000000000000198951966012828052043914794921875,"cost_price":50.10000000000000142108547152020037174224853515625} [Wednesday 14th of October 2026 06:50:58 PM] update_product_price() - Attempt 1 of 6 for Product ID: 13865 [Wednesday 14th of October 2026 06:50:58 PM] update_product_price() - Price updated successfully for Product ID: 13865 - Base: 55.99 | Cost: 50.1 [Wednesday 14th of October 2026 06:50:58 PM] update_product_price() - END - Product ID: 13865 | Result: success [Wednesday 14th of October 2026 06:50:58 PM] BigCommerce price updated for Product ID: 13865 [Wednesday 14th of October 2026 06:50:58 PM] get_product_inventory() - START - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:58 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FSHXLT8 [Wednesday 14th of October 2026 06:50:59 PM] get_product_inventory() - Motorstate API call successful for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:59 PM] get_product_inventory() - Stock found for SKU: FSHXLT8 - Quantity: 11 | Running Total: 11 [Wednesday 14th of October 2026 06:50:59 PM] get_product_inventory() - END - SKU: FSHXLT8 | Total: 11 [Wednesday 14th of October 2026 06:50:59 PM] get_cf_id() - START - Product ID: 13865 [Wednesday 14th of October 2026 06:50:59 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13865/custom-fields [Wednesday 14th of October 2026 06:50:59 PM] get_cf_id() - BigCommerce API call successful for Product ID: 13865 [Wednesday 14th of October 2026 06:50:59 PM] get_cf_id() - Custom field found for Product ID: 13865 | Field: online_stock_level | CF ID: 13755 [Wednesday 14th of October 2026 06:50:59 PM] get_cf_id() - END - Product ID: 13865 | CF ID: 13755 [Wednesday 14th of October 2026 06:50:59 PM] Updating inventory for SKU FSHXLT8 - stock: 11, CF ID: 13755 [Wednesday 14th of October 2026 06:50:59 PM] update_product_inventory() - START - Product ID: 13865 | Stock: 11 | CF ID: 13755 [Wednesday 14th of October 2026 06:50:59 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13865/custom-fields/13755 [Wednesday 14th of October 2026 06:50:59 PM] update_product_inventory() - Inventory updated successfully for Product ID: 13865 | Stock: 11 [Wednesday 14th of October 2026 06:50:59 PM] update_product_inventory() - END - Product ID: 13865 | Result: success [Wednesday 14th of October 2026 06:50:59 PM] Inventory updated for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:50:59 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"FSHXLT8","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"}] [Wednesday 14th of October 2026 06:50:59 PM] Building payment record - Total: 82.8800 [Wednesday 14th of October 2026 06:50:59 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2361","ADDRESS1":"965 Chestnut st ","ADDRESS2":"","C_ADDRESS1":"965 Chestnut st ","C_ADDRESS2":"","C_CITY":"Susanville ","C_COUNTRY":"USA","C_EMAIL":"bktrinity@live.com","C_NAME":"Bob Kelly ","C_STATE":"CA","C_ZIP":"96130","ShippingAmount":"26.89","CITY":"Susanville ","EMAIL":"bktrinity@live.com","ID":"APONLINE","NAME":"Bob Kelly ","STATE":"CA","COUNTRY":"USA","ZIP":"96130","MEMO":"","DESCR":"BigCommerce Order - AP2361 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"FSHXLT8","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"82.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 06:50:59 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2361 [Wednesday 14th of October 2026 06:50:59 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2361%27 [Wednesday 14th of October 2026 06:50:59 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2361 [Wednesday 14th of October 2026 06:50:59 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2361 not found in EBMS [Wednesday 14th of October 2026 06:50:59 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2361 | Found: false [Wednesday 14th of October 2026 06:50:59 PM] Invoice AP2361 does not exist in EBMS - creating [Wednesday 14th of October 2026 06:50:59 PM] create_ebms_invoice() - START - Invoice: AP2361 [Wednesday 14th of October 2026 06:50:59 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2361","ADDRESS1":"965 Chestnut st ","ADDRESS2":"","C_ADDRESS1":"965 Chestnut st ","C_ADDRESS2":"","C_CITY":"Susanville ","C_COUNTRY":"USA","C_EMAIL":"bktrinity@live.com","C_NAME":"Bob Kelly ","C_STATE":"CA","C_ZIP":"96130","ShippingAmount":"26.89","CITY":"Susanville ","EMAIL":"bktrinity@live.com","ID":"APONLINE","NAME":"Bob Kelly ","STATE":"CA","COUNTRY":"USA","ZIP":"96130","MEMO":"","DESCR":"BigCommerce Order - AP2361 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"FSHXLT8","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"82.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 06:50:59 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 14th of October 2026 06:51:06 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2361 [Wednesday 14th of October 2026 06:51:06 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2361 - Response: {"@odata.context":"http:\/\/localhost:50290\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"56463954-4344-4147-4f44-545641303030","AUTOID":"T9FVDCGAODTVA000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-55.99000000000000198951966012828052043914794921875,"BAL_CUST_X":-55.99000000000000198951966012828052043914794921875,"BALANCE":-55.99000000000000198951966012828052043914794921875,"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":82.8799999999999954525264911353588104248046875,"TOTAL_S_SO":55.99000000000000198951966012828052043914794921875,"TOTAL_SO":82.8799999999999954525264911353588104248046875,"TOTAL_W":0,"TTLPROCPMT":82.8799999999999954525264911353588104248046875,"TOTAL":26.8900000000000005684341886080801486968994140625,"FREIGHT":26.8900000000000005684341886080801486968994140625,"HANDLING":0,"SHIPPING":26.8900000000000005684341886080801486968994140625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"965 Chestnut st","ADDRESS2":"","C_EMAIL":"bktrinity@live.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-14T00:00:00Z","CHECK_NO":" APBC","CITY":"Susanville","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-14T00:00:00Z","E_DATE":"2026-10-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"bktrinity@live.com","IADDRESS":"965 Chestnut st , Susanville, CA 96130","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-14T00:00:00Z","INVOICE":"AP2361","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Bob Kelly","PHONE":"","PROCESS":"Default","STATE":"CA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"96130","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"965 Chestnut st","C_ADDRESS2":"","C_CITY":"Susanville","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Bob Kelly","C_STATE":"CA","C_ZIP":"96130","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2361 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-14T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 14th of October 2026 06:51:06 PM] create_ebms_invoice() - END - Invoice: AP2361 [Wednesday 14th of October 2026 06:51:06 PM] Invoice AP2361 created successfully [Wednesday 14th of October 2026 06:51:06 PM] ORDER WEBHOOK COMPLETED - Order ID: 2361 | Invoice: AP2361 [Wednesday 14th of October 2026 06:51:32 PM] add_customer() - START - Customer ID: 634 | Name: Bob Kelly [Wednesday 14th of October 2026 06:51:32 PM] add_customer() - Customer payload: {"id":634,"email":"bktrinity@live.com","address_1":"965 Chestnut st ","address_2":"","city":"Susanville ","state":"CA","country":"USA","zip":"96130","f_name":"Bob ","l_name":"Kelly ","contact_5":"bktrinity@live.com","contact_1":"5303562705","contact_4":"Bob Kelly"} [Wednesday 14th of October 2026 06:51:32 PM] add_customer() - Customer fields parsed - ID: AP634 | Address: 965 Chestnut st , Susanville , CA 96130 | Email: bktrinity@live.com [Wednesday 14th of October 2026 06:51:32 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 14th of October 2026 06:51:32 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"965 Chestnut st ","ADDRESS2":"","CITY":"Susanville ","CONTACT_5":"bktrinity@live.com","CONTACT_1":"5303562705","CONTACT_4":"Bob Kelly","COUNTRY":"USA","F_NAME":"Bob ","ID":"AP634","L_NAME":"Kelly ","STATE":"CA","ZIP":"96130"} [Wednesday 14th of October 2026 06:51:34 PM] add_customer() - EBMS API call successful for Customer ID: AP634 [Wednesday 14th of October 2026 06:51:34 PM] add_customer() - Customer created successfully in EBMS - ID: AP634 - Response: {"@odata.context":"http:\/\/localhost:50290\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"31474453-4637-4152-4f44-545641303030","AUTOID":"SDG17FRAODTVA000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Bob Kelly","ADDRESS1":"965 Chestnut st","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Susanville","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"bktrinity@live.com","EMAIL_LIST":false,"F_NAME":"Bob","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP634","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Kelly","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Bob Kelly)","OUT_CITY":false,"PHONE":"(530) 356-2705","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"CA","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"96130","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(530) 356-2705","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Bob Kelly","CONTACT_5":"bktrinity@live.com","EXTERNALID":""} [Wednesday 14th of October 2026 06:51:34 PM] add_customer() - END - Customer ID: AP634 [Wednesday 14th of October 2026 06:52:07 PM] ORDER WEBHOOK STARTED - Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] Fetching customer data for Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] get_order_customer_data() - START - Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2361 [Wednesday 14th of October 2026 06:52:07 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] get_order_customer_data() - Parsing order response for Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] get_order_customer_data() - Customer object built - Customer ID: 634 | Name: Bob Kelly | Email: bktrinity@live.com | Total: 82.8800 | Shipping: 26.89 [Wednesday 14th of October 2026 06:52:07 PM] get_order_customer_data() - END - Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] Customer data received: {"id":634,"email":"bktrinity@live.com","address_1":"965 Chestnut st ","address_2":"","city":"Susanville ","state":"CA","country":"USA","zip":"96130","f_name":"Bob ","l_name":"Kelly ","contact_5":"bktrinity@live.com","contact_1":"5303562705","contact_4":"Bob Kelly "} [Wednesday 14th of October 2026 06:52:07 PM] Fetching shipping info for Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] get_order_shipping_info() - START - Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2361/shipping_addresses [Wednesday 14th of October 2026 06:52:07 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2361 | Name: Bob Kelly | Address: 965 Chestnut st , Susanville , California, 96130 [Wednesday 14th of October 2026 06:52:07 PM] get_order_shipping_info() - END - Order ID: 2361 [Wednesday 14th of October 2026 06:52:07 PM] Shipping info received: {"id":2260,"order_id":2361,"first_name":"Bob ","last_name":"Kelly ","company":"","street_1":"965 Chestnut st ","street_2":"","city":"Susanville ","zip":"96130","country":"United States","country_iso2":"US","state":"California","email":"bktrinity@live.com","phone":"5303562705","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"26.8900","cost_ex_tax":"26.8900","cost_inc_tax":"26.8900","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\/2361\/shipping_addresses\/2260\/shipping_quotes","resource":"\/orders\/2361\/shipping_addresses\/2260\/shipping_quotes"},"form_fields":[]} [Wednesday 14th of October 2026 06:52:07 PM] Resolved Customer ID: AP634 [Wednesday 14th of October 2026 06:52:07 PM] Building order object for Invoice: AP2361 [Wednesday 14th of October 2026 06:52:07 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2361","ADDRESS1":"965 Chestnut st ","ADDRESS2":"","C_ADDRESS1":"965 Chestnut st ","C_ADDRESS2":"","C_CITY":"Susanville ","C_COUNTRY":"USA","C_EMAIL":"bktrinity@live.com","C_NAME":"Bob Kelly ","C_STATE":"CA","C_ZIP":"96130","ShippingAmount":"26.89","CITY":"Susanville ","EMAIL":"bktrinity@live.com","ID":"AP634","NAME":"Bob Kelly ","STATE":"CA","COUNTRY":"USA","ZIP":"96130","MEMO":"","DESCR":"BigCommerce Order - AP2361 - Customer AP634"} [Wednesday 14th of October 2026 06:52:07 PM] Registered customer detected - checking EBMS for Customer ID: AP634 [Wednesday 14th of October 2026 06:52:07 PM] check_for_customer() - START - Customer ID: 634 [Wednesday 14th of October 2026 06:52:07 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP634%27 [Wednesday 14th of October 2026 06:52:07 PM] check_for_customer() - EBMS API call successful for Customer ID: 634 [Wednesday 14th of October 2026 06:52:07 PM] check_for_customer() - Customer ID: 634 found in EBMS [Wednesday 14th of October 2026 06:52:07 PM] check_for_customer() - END - Customer ID: 634 | Found: true [Wednesday 14th of October 2026 06:52:07 PM] Customer AP634 found in EBMS [Wednesday 14th of October 2026 06:52:07 PM] check_for_empty_info() - START - Customer ID: 634 [Wednesday 14th of October 2026 06:52:07 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP634%27 [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 634 [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_info() - Customer record found for Customer ID: 634 - Checking ADDRESS1 field [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 634 - No update needed [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_info() - END - Customer ID: 634 | Empty Info: false [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_pn() - START - Customer ID: AP634 [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP634%27 [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP634 [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_pn() - Customer record found for Customer ID: AP634 - Checking CONTACT_1 field [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP634 - Value: (530) 356-2705 - No update needed [Wednesday 14th of October 2026 06:52:08 PM] check_for_empty_pn() - END - Customer ID: AP634 | Empty PN: false [Wednesday 14th of October 2026 06:52:08 PM] Fetching products from BigCommerce for Order ID: 2361 [Wednesday 14th of October 2026 06:52:08 PM] BigCommerce API call successful for Order ID: 2361 [Wednesday 14th of October 2026 06:52:08 PM] Products received: 1 item(s) [Wednesday 14th of October 2026 06:52:08 PM] Processing product SKU: FSHXLT8 | Qty: 1 | Price: 55.9900 [Wednesday 14th of October 2026 06:52:08 PM] get_mpn() - START - Product ID: 13865 [Wednesday 14th of October 2026 06:52:08 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13865 [Wednesday 14th of October 2026 06:52:08 PM] get_mpn() - BigCommerce API call successful for Product ID: 13865 [Wednesday 14th of October 2026 06:52:08 PM] get_mpn() - WARNING - MPN is empty for Product ID: 13865 [Wednesday 14th of October 2026 06:52:08 PM] get_mpn() - END - Product ID: 13865 | MPN: [Wednesday 14th of October 2026 06:52:08 PM] check_for_ebms_product() - START - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:08 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27FSHXLT8%27 [Wednesday 14th of October 2026 06:52:09 PM] check_for_ebms_product() - EBMS API call successful for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] check_for_ebms_product() - SKU: FSHXLT8 found in EBMS [Wednesday 14th of October 2026 06:52:09 PM] check_for_ebms_product() - END - SKU: FSHXLT8 | Found: true [Wednesday 14th of October 2026 06:52:09 PM] SKU FSHXLT8 found in EBMS - checking prices [Wednesday 14th of October 2026 06:52:09 PM] obtain_current_prices() - START - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] obtain_current_prices() - Checking Motorstate for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] check_for_ms_product() - START - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] check_for_ms_product() - Motorstate API call successful for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] check_for_ms_product() - SKU: FSHXLT8 found in Motorstate [Wednesday 14th of October 2026 06:52:09 PM] check_for_ms_product() - END - SKU: FSHXLT8 | Found: true [Wednesday 14th of October 2026 06:52:09 PM] obtain_current_prices() - SKU: FSHXLT8 found in Motorstate - Fetching prices [Wednesday 14th of October 2026 06:52:09 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: FSHXLT8 - URL: https://api.motorstate.com/api/Product?partNumbers=FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: FSHXLT8 - Base: 55.99 | Cost: 50.10 [Wednesday 14th of October 2026 06:52:09 PM] obtain_current_prices() - Returning Motorstate prices for SKU: FSHXLT8 - Base: 55.99 | Cost: 50.10 [Wednesday 14th of October 2026 06:52:09 PM] obtain_current_prices() - END - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] SKU FSHXLT8 has existing EBMS prices - syncing BigCommerce price back (cost: 50.10, base: 55.99) [Wednesday 14th of October 2026 06:52:09 PM] update_product_price() - START - Product ID: 13865 | Base: 55.99 | Cost: 50.1 [Wednesday 14th of October 2026 06:52:09 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13865 [Wednesday 14th of October 2026 06:52:09 PM] update_product_price() - PUT payload: {"price":55.99000000000000198951966012828052043914794921875,"cost_price":50.10000000000000142108547152020037174224853515625} [Wednesday 14th of October 2026 06:52:09 PM] update_product_price() - Attempt 1 of 6 for Product ID: 13865 [Wednesday 14th of October 2026 06:52:09 PM] update_product_price() - Price updated successfully for Product ID: 13865 - Base: 55.99 | Cost: 50.1 [Wednesday 14th of October 2026 06:52:09 PM] update_product_price() - END - Product ID: 13865 | Result: success [Wednesday 14th of October 2026 06:52:09 PM] BigCommerce price updated for Product ID: 13865 [Wednesday 14th of October 2026 06:52:09 PM] get_product_inventory() - START - SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] get_product_inventory() - Motorstate API call successful for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:09 PM] get_product_inventory() - Stock found for SKU: FSHXLT8 - Quantity: 11 | Running Total: 11 [Wednesday 14th of October 2026 06:52:09 PM] get_product_inventory() - END - SKU: FSHXLT8 | Total: 11 [Wednesday 14th of October 2026 06:52:09 PM] get_cf_id() - START - Product ID: 13865 [Wednesday 14th of October 2026 06:52:09 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13865/custom-fields [Wednesday 14th of October 2026 06:52:09 PM] get_cf_id() - BigCommerce API call successful for Product ID: 13865 [Wednesday 14th of October 2026 06:52:09 PM] get_cf_id() - Custom field found for Product ID: 13865 | Field: online_stock_level | CF ID: 13755 [Wednesday 14th of October 2026 06:52:09 PM] get_cf_id() - END - Product ID: 13865 | CF ID: 13755 [Wednesday 14th of October 2026 06:52:09 PM] Updating inventory for SKU FSHXLT8 - stock: 11, CF ID: 13755 [Wednesday 14th of October 2026 06:52:09 PM] update_product_inventory() - START - Product ID: 13865 | Stock: 11 | CF ID: 13755 [Wednesday 14th of October 2026 06:52:09 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13865/custom-fields/13755 [Wednesday 14th of October 2026 06:52:10 PM] update_product_inventory() - Inventory updated successfully for Product ID: 13865 | Stock: 11 [Wednesday 14th of October 2026 06:52:10 PM] update_product_inventory() - END - Product ID: 13865 | Result: success [Wednesday 14th of October 2026 06:52:10 PM] Inventory updated for SKU: FSHXLT8 [Wednesday 14th of October 2026 06:52:10 PM] All products processed - Order details: [{"ID":"AP634","INVEN":"FSHXLT8","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"}] [Wednesday 14th of October 2026 06:52:10 PM] Building payment record - Total: 82.8800 [Wednesday 14th of October 2026 06:52:10 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2361","ADDRESS1":"965 Chestnut st ","ADDRESS2":"","C_ADDRESS1":"965 Chestnut st ","C_ADDRESS2":"","C_CITY":"Susanville ","C_COUNTRY":"USA","C_EMAIL":"bktrinity@live.com","C_NAME":"Bob Kelly ","C_STATE":"CA","C_ZIP":"96130","ShippingAmount":"26.89","CITY":"Susanville ","EMAIL":"bktrinity@live.com","ID":"AP634","NAME":"Bob Kelly ","STATE":"CA","COUNTRY":"USA","ZIP":"96130","MEMO":"","DESCR":"BigCommerce Order - AP2361 - Customer AP634","Details":[{"ID":"AP634","INVEN":"FSHXLT8","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"82.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 06:52:10 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2361 [Wednesday 14th of October 2026 06:52:10 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2361%27 [Wednesday 14th of October 2026 06:52:11 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2361 [Wednesday 14th of October 2026 06:52:11 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2361 found in EBMS [Wednesday 14th of October 2026 06:52:11 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2361 | Found: true [Wednesday 14th of October 2026 06:52:11 PM] Invoice AP2361 already exists in EBMS - patching [Wednesday 14th of October 2026 06:52:11 PM] patch_ebms_invoice() - START - Invoice: AP2361 [Wednesday 14th of October 2026 06:52:11 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2361","ADDRESS1":"965 Chestnut st ","ADDRESS2":"","C_ADDRESS1":"965 Chestnut st ","C_ADDRESS2":"","C_CITY":"Susanville ","C_COUNTRY":"USA","C_EMAIL":"bktrinity@live.com","C_NAME":"Bob Kelly ","C_STATE":"CA","C_ZIP":"96130","ShippingAmount":"26.89","CITY":"Susanville ","EMAIL":"bktrinity@live.com","ID":"AP634","NAME":"Bob Kelly ","STATE":"CA","COUNTRY":"USA","ZIP":"96130","MEMO":"","DESCR":"BigCommerce Order - AP2361 - Customer AP634","Details":[{"ID":"AP634","INVEN":"FSHXLT8","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"82.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 06:52:11 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2361%27 [Wednesday 14th of October 2026 06:52:11 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2361 [Wednesday 14th of October 2026 06:52:11 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2361 [Wednesday 14th of October 2026 06:52:11 PM] patch_ebms_invoice() - END - Invoice: AP2361 [Wednesday 14th of October 2026 06:52:11 PM] Invoice AP2361 patched successfully [Wednesday 14th of October 2026 06:52:11 PM] ORDER WEBHOOK COMPLETED - Order ID: 2361 | Invoice: AP2361 [Wednesday 14th of October 2026 09:39:06 PM] ORDER WEBHOOK STARTED - Order ID: 2362 [Wednesday 14th of October 2026 09:39:06 PM] Fetching customer data for Order ID: 2362 [Wednesday 14th of October 2026 09:39:06 PM] get_order_customer_data() - START - Order ID: 2362 [Wednesday 14th of October 2026 09:39:06 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2362 [Wednesday 14th of October 2026 09:39:06 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2362 [Wednesday 14th of October 2026 09:39:06 PM] get_order_customer_data() - Parsing order response for Order ID: 2362 [Wednesday 14th of October 2026 09:39:06 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: John Crowell | Email: carloopa@hotmail.com | Total: 106.0400 | Shipping: 18.10 [Wednesday 14th of October 2026 09:39:06 PM] get_order_customer_data() - END - Order ID: 2362 [Wednesday 14th of October 2026 09:39:06 PM] Customer data received: {"id":0,"email":"carloopa@hotmail.com","address_1":"307 E 49th St.","address_2":"","city":"Anderson","state":"IN","country":"USA","zip":"46013","f_name":"John","l_name":"Crowell","contact_5":"carloopa@hotmail.com","contact_1":"19376219241","contact_4":"John Crowell"} [Wednesday 14th of October 2026 09:39:06 PM] Fetching shipping info for Order ID: 2362 [Wednesday 14th of October 2026 09:39:06 PM] get_order_shipping_info() - START - Order ID: 2362 [Wednesday 14th of October 2026 09:39:06 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2362/shipping_addresses [Wednesday 14th of October 2026 09:39:07 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2362 [Wednesday 14th of October 2026 09:39:07 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2362 | Name: John Crowell | Address: 307 E 49th St., Anderson, Indiana, 46013 [Wednesday 14th of October 2026 09:39:07 PM] get_order_shipping_info() - END - Order ID: 2362 [Wednesday 14th of October 2026 09:39:07 PM] Shipping info received: {"id":2261,"order_id":2362,"first_name":"John","last_name":"Crowell","company":"","street_1":"307 E 49th St.","street_2":"","city":"Anderson","zip":"46013","country":"United States","country_iso2":"US","state":"Indiana","email":"carloopa@hotmail.com","phone":"19376219241","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"18.1000","cost_ex_tax":"18.1000","cost_inc_tax":"19.3670","cost_tax":"1.2670","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\/2362\/shipping_addresses\/2261\/shipping_quotes","resource":"\/orders\/2362\/shipping_addresses\/2261\/shipping_quotes"},"form_fields":[]} [Wednesday 14th of October 2026 09:39:07 PM] Resolved Customer ID: APONLINE [Wednesday 14th of October 2026 09:39:07 PM] Building order object for Invoice: AP2362 [Wednesday 14th of October 2026 09:39:07 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2362","ADDRESS1":"307 E 49th St.","ADDRESS2":"","C_ADDRESS1":"307 E 49th St.","C_ADDRESS2":"","C_CITY":"Anderson","C_COUNTRY":"USA","C_EMAIL":"carloopa@hotmail.com","C_NAME":"John Crowell","C_STATE":"IN","C_ZIP":"46013","ShippingAmount":"18.10","CITY":"Anderson","EMAIL":"carloopa@hotmail.com","ID":"APONLINE","NAME":"John Crowell","STATE":"IN","COUNTRY":"USA","ZIP":"46013","MEMO":"","DESCR":"BigCommerce Order - AP2362 - Customer APONLINE"} [Wednesday 14th of October 2026 09:39:07 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 14th of October 2026 09:39:07 PM] Fetching products from BigCommerce for Order ID: 2362 [Wednesday 14th of October 2026 09:39:07 PM] BigCommerce API call successful for Order ID: 2362 [Wednesday 14th of October 2026 09:39:07 PM] Products received: 1 item(s) [Wednesday 14th of October 2026 09:39:07 PM] Processing product SKU: PSGBOSCH17025 | Qty: 1 | Price: 81.0000 [Wednesday 14th of October 2026 09:39:07 PM] get_mpn() - START - Product ID: 5693 [Wednesday 14th of October 2026 09:39:07 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/5693 [Wednesday 14th of October 2026 09:39:07 PM] get_mpn() - BigCommerce API call successful for Product ID: 5693 [Wednesday 14th of October 2026 09:39:07 PM] get_mpn() - WARNING - MPN is empty for Product ID: 5693 [Wednesday 14th of October 2026 09:39:07 PM] get_mpn() - END - Product ID: 5693 | MPN: [Wednesday 14th of October 2026 09:39:07 PM] check_for_ebms_product() - START - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:07 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27PSGBOSCH17025%27 [Wednesday 14th of October 2026 09:39:08 PM] check_for_ebms_product() - EBMS API call successful for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:08 PM] check_for_ebms_product() - SKU: PSGBOSCH17025 not found in EBMS [Wednesday 14th of October 2026 09:39:08 PM] check_for_ebms_product() - END - SKU: PSGBOSCH17025 | Found: false [Wednesday 14th of October 2026 09:39:08 PM] SKU PSGBOSCH17025 not found in EBMS - creating new part [Wednesday 14th of October 2026 09:39:08 PM] get_product_desc() - START - Product ID: 5693 [Wednesday 14th of October 2026 09:39:08 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/5693 [Wednesday 14th of October 2026 09:39:08 PM] get_product_desc() - BigCommerce API call successful for Product ID: 5693 [Wednesday 14th of October 2026 09:39:08 PM] get_product_desc() - Description retrieved for Product ID: 5693 - Description: Oxygen Sensor - Wideband - Bosch LSU 4.9 - 5-Wire - Each [Wednesday 14th of October 2026 09:39:08 PM] get_product_desc() - END - Product ID: 5693 [Wednesday 14th of October 2026 09:39:08 PM] get_ms_product() - START - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:08 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:08 PM] get_ms_product() - Motorstate API call successful for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:08 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: PSGBOSCH17025 - Response: [{"Found":true,"PartNumber":"PSGBOSCH17025","Product":{"PartNumber":"psgbosch17025","VendorPartNumber":"Bosch 17025","Status":1,"IsStocking":true,"ShortDescription":"Bosch Wideband LSU 4.9 5 Wire O2 Sensor","Quantity":54,"CustomerPrice":69.3800,"CustomerPriceNonPromotional":69.3800,"BasePrice":69.38,"ListPrice":81.0,"MapPrice":81.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":1.5,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Wednesday 14th of October 2026 09:39:08 PM] get_ms_product() - END - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:08 PM] MS pricing found for SKU PSGBOSCH17025 - base: 81, cost: 69.38 [Wednesday 14th of October 2026 09:39:08 PM] create_new_part() - START - SKU: PSGBOSCH17025 | Base: 81.00 | Cost: 69.38 | Weight: 0.4000 | MPN: [Wednesday 14th of October 2026 09:39:08 PM] create_new_part() - Description parsed - DESCR_1: Oxygen Sensor - Wideband - Bosch LSU 4.9 - 5-Wire - Each | DESCR_2: [Wednesday 14th of October 2026 09:39:08 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Wednesday 14th of October 2026 09:39:08 PM] create_new_part() - POST payload: {"ID":"PSGBOSCH17025","DESCR_1":"Oxygen Sensor - Wideband - Bosch LSU 4.9 - 5-Wire - Each","DESCR_2":"","DESCR_3":"Oxygen Sensor - Wideband - Bosch LSU 4.9 - 5-Wire - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"69.38","BASE":"81.00","WEIGHT":"0.4000","MFG_PART":"","TREE_ID":"603"} [Wednesday 14th of October 2026 09:39:10 PM] create_new_part() - EBMS API call successful for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:10 PM] create_new_part() - Part created successfully in EBMS - SKU: PSGBOSCH17025 - {"id":"PSGBOSCH17025","cost":"69.38","base":"81.00","description":"Oxygen Sensor - Wideband - Bosch LSU 4.9 - 5-Wire - Each","tree_id":" 603"} [Wednesday 14th of October 2026 09:39:10 PM] create_new_part() - Sending new part notification email for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:11 PM] create_new_part() - Notification email sent successfully for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:11 PM] create_new_part() - END - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:11 PM] New part created in EBMS for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:39:11 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"PSGBOSCH17025","M_QUAN_VIS":1,"UNIT":"81.00","UNIT_MEAS":"EA"}] [Wednesday 14th of October 2026 09:39:11 PM] Building payment record - Total: 106.0400 [Wednesday 14th of October 2026 09:39:11 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2362","ADDRESS1":"307 E 49th St.","ADDRESS2":"","C_ADDRESS1":"307 E 49th St.","C_ADDRESS2":"","C_CITY":"Anderson","C_COUNTRY":"USA","C_EMAIL":"carloopa@hotmail.com","C_NAME":"John Crowell","C_STATE":"IN","C_ZIP":"46013","ShippingAmount":"18.10","CITY":"Anderson","EMAIL":"carloopa@hotmail.com","ID":"APONLINE","NAME":"John Crowell","STATE":"IN","COUNTRY":"USA","ZIP":"46013","MEMO":"","DESCR":"BigCommerce Order - AP2362 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PSGBOSCH17025","M_QUAN_VIS":1,"UNIT":"81.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"106.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 09:39:11 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2362 [Wednesday 14th of October 2026 09:39:11 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2362%27 [Wednesday 14th of October 2026 09:39:12 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2362 [Wednesday 14th of October 2026 09:39:12 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2362 not found in EBMS [Wednesday 14th of October 2026 09:39:12 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2362 | Found: false [Wednesday 14th of October 2026 09:39:12 PM] Invoice AP2362 does not exist in EBMS - creating [Wednesday 14th of October 2026 09:39:12 PM] create_ebms_invoice() - START - Invoice: AP2362 [Wednesday 14th of October 2026 09:39:12 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2362","ADDRESS1":"307 E 49th St.","ADDRESS2":"","C_ADDRESS1":"307 E 49th St.","C_ADDRESS2":"","C_CITY":"Anderson","C_COUNTRY":"USA","C_EMAIL":"carloopa@hotmail.com","C_NAME":"John Crowell","C_STATE":"IN","C_ZIP":"46013","ShippingAmount":"18.10","CITY":"Anderson","EMAIL":"carloopa@hotmail.com","ID":"APONLINE","NAME":"John Crowell","STATE":"IN","COUNTRY":"USA","ZIP":"46013","MEMO":"","DESCR":"BigCommerce Order - AP2362 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PSGBOSCH17025","M_QUAN_VIS":1,"UNIT":"81.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"106.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 09:39:12 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 14th of October 2026 09:39:20 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2362 [Wednesday 14th of October 2026 09:39:20 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2362 - Response: {"@odata.context":"http:\/\/localhost:50290\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"37414634-5031-4e4f-5244-545641303030","AUTOID":"4FA71PONRDTVA000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-86.6700000000000017053025658242404460906982421875,"BAL_CUST_X":-86.6700000000000017053025658242404460906982421875,"BALANCE":-86.6700000000000017053025658242404460906982421875,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":6.94000000000000039079850466805510222911834716796875,"TAX":1.270000000000000017763568394002504646778106689453125,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":106.0400000000000062527760746888816356658935546875,"TOTAL_S_SO":81,"TOTAL_SO":106.0400000000000062527760746888816356658935546875,"TOTAL_W":0,"TTLPROCPMT":106.0400000000000062527760746888816356658935546875,"TOTAL":19.370000000000000994759830064140260219573974609375,"FREIGHT":18.10000000000000142108547152020037174224853515625,"HANDLING":0,"SHIPPING":18.10000000000000142108547152020037174224853515625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"307 E 49th St.","ADDRESS2":"","C_EMAIL":"carloopa@hotmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-14T00:00:00Z","CHECK_NO":" APBC","CITY":"Anderson","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-14T00:00:00Z","E_DATE":"2026-10-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"carloopa@hotmail.com","IADDRESS":"307 E 49th St. , Anderson, IN 46013","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-14T00:00:00Z","INVOICE":"AP2362","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"John Crowell","PHONE":"","PROCESS":"Default","STATE":"IN","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"46013","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"307 E 49th St.","C_ADDRESS2":"","C_CITY":"Anderson","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"John Crowell","C_STATE":"IN","C_ZIP":"46013","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2362 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-14T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 14th of October 2026 09:39:20 PM] create_ebms_invoice() - END - Invoice: AP2362 [Wednesday 14th of October 2026 09:39:20 PM] Invoice AP2362 created successfully [Wednesday 14th of October 2026 09:39:20 PM] ORDER WEBHOOK COMPLETED - Order ID: 2362 | Invoice: AP2362 [Wednesday 14th of October 2026 09:40:16 PM] ORDER WEBHOOK STARTED - Order ID: 2362 [Wednesday 14th of October 2026 09:40:16 PM] Fetching customer data for Order ID: 2362 [Wednesday 14th of October 2026 09:40:16 PM] get_order_customer_data() - START - Order ID: 2362 [Wednesday 14th of October 2026 09:40:16 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2362 [Wednesday 14th of October 2026 09:40:17 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] get_order_customer_data() - Parsing order response for Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: John Crowell | Email: carloopa@hotmail.com | Total: 106.0400 | Shipping: 18.10 [Wednesday 14th of October 2026 09:40:17 PM] get_order_customer_data() - END - Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] Customer data received: {"id":0,"email":"carloopa@hotmail.com","address_1":"307 E 49th St.","address_2":"","city":"Anderson","state":"IN","country":"USA","zip":"46013","f_name":"John","l_name":"Crowell","contact_5":"carloopa@hotmail.com","contact_1":"19376219241","contact_4":"John Crowell"} [Wednesday 14th of October 2026 09:40:17 PM] Fetching shipping info for Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] get_order_shipping_info() - START - Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2362/shipping_addresses [Wednesday 14th of October 2026 09:40:17 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2362 | Name: John Crowell | Address: 307 E 49th St., Anderson, Indiana, 46013 [Wednesday 14th of October 2026 09:40:17 PM] get_order_shipping_info() - END - Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] Shipping info received: {"id":2261,"order_id":2362,"first_name":"John","last_name":"Crowell","company":"","street_1":"307 E 49th St.","street_2":"","city":"Anderson","zip":"46013","country":"United States","country_iso2":"US","state":"Indiana","email":"carloopa@hotmail.com","phone":"19376219241","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"18.1000","cost_ex_tax":"18.1000","cost_inc_tax":"19.3670","cost_tax":"1.2670","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\/2362\/shipping_addresses\/2261\/shipping_quotes","resource":"\/orders\/2362\/shipping_addresses\/2261\/shipping_quotes"},"form_fields":[]} [Wednesday 14th of October 2026 09:40:17 PM] Resolved Customer ID: APONLINE [Wednesday 14th of October 2026 09:40:17 PM] Building order object for Invoice: AP2362 [Wednesday 14th of October 2026 09:40:17 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2362","ADDRESS1":"307 E 49th St.","ADDRESS2":"","C_ADDRESS1":"307 E 49th St.","C_ADDRESS2":"","C_CITY":"Anderson","C_COUNTRY":"USA","C_EMAIL":"carloopa@hotmail.com","C_NAME":"John Crowell","C_STATE":"IN","C_ZIP":"46013","ShippingAmount":"18.10","CITY":"Anderson","EMAIL":"carloopa@hotmail.com","ID":"APONLINE","NAME":"John Crowell","STATE":"IN","COUNTRY":"USA","ZIP":"46013","MEMO":"","DESCR":"BigCommerce Order - AP2362 - Customer APONLINE"} [Wednesday 14th of October 2026 09:40:17 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 14th of October 2026 09:40:17 PM] Fetching products from BigCommerce for Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] BigCommerce API call successful for Order ID: 2362 [Wednesday 14th of October 2026 09:40:17 PM] Products received: 1 item(s) [Wednesday 14th of October 2026 09:40:17 PM] Processing product SKU: PSGBOSCH17025 | Qty: 1 | Price: 81.0000 [Wednesday 14th of October 2026 09:40:17 PM] get_mpn() - START - Product ID: 5693 [Wednesday 14th of October 2026 09:40:17 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/5693 [Wednesday 14th of October 2026 09:40:17 PM] get_mpn() - BigCommerce API call successful for Product ID: 5693 [Wednesday 14th of October 2026 09:40:17 PM] get_mpn() - WARNING - MPN is empty for Product ID: 5693 [Wednesday 14th of October 2026 09:40:17 PM] get_mpn() - END - Product ID: 5693 | MPN: [Wednesday 14th of October 2026 09:40:17 PM] check_for_ebms_product() - START - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:17 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27PSGBOSCH17025%27 [Wednesday 14th of October 2026 09:40:18 PM] check_for_ebms_product() - EBMS API call successful for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:18 PM] check_for_ebms_product() - SKU: PSGBOSCH17025 found in EBMS [Wednesday 14th of October 2026 09:40:18 PM] check_for_ebms_product() - END - SKU: PSGBOSCH17025 | Found: true [Wednesday 14th of October 2026 09:40:18 PM] SKU PSGBOSCH17025 found in EBMS - checking prices [Wednesday 14th of October 2026 09:40:18 PM] obtain_current_prices() - START - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:18 PM] obtain_current_prices() - Checking Motorstate for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:18 PM] check_for_ms_product() - START - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:18 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:18 PM] check_for_ms_product() - Motorstate API call successful for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:18 PM] check_for_ms_product() - SKU: PSGBOSCH17025 found in Motorstate [Wednesday 14th of October 2026 09:40:18 PM] check_for_ms_product() - END - SKU: PSGBOSCH17025 | Found: true [Wednesday 14th of October 2026 09:40:18 PM] obtain_current_prices() - SKU: PSGBOSCH17025 found in Motorstate - Fetching prices [Wednesday 14th of October 2026 09:40:18 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: PSGBOSCH17025 - URL: https://api.motorstate.com/api/Product?partNumbers=PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:18 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: PSGBOSCH17025 - Base: 81.00 | Cost: 69.38 [Wednesday 14th of October 2026 09:40:18 PM] obtain_current_prices() - Returning Motorstate prices for SKU: PSGBOSCH17025 - Base: 81.00 | Cost: 69.38 [Wednesday 14th of October 2026 09:40:18 PM] obtain_current_prices() - END - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:18 PM] SKU PSGBOSCH17025 has existing EBMS prices - syncing BigCommerce price back (cost: 69.38, base: 81.00) [Wednesday 14th of October 2026 09:40:18 PM] update_product_price() - START - Product ID: 5693 | Base: 81 | Cost: 69.38 [Wednesday 14th of October 2026 09:40:18 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/5693 [Wednesday 14th of October 2026 09:40:18 PM] update_product_price() - PUT payload: {"price":81.0,"cost_price":69.3799999999999954525264911353588104248046875} [Wednesday 14th of October 2026 09:40:18 PM] update_product_price() - Attempt 1 of 6 for Product ID: 5693 [Wednesday 14th of October 2026 09:40:19 PM] update_product_price() - Price updated successfully for Product ID: 5693 - Base: 81 | Cost: 69.38 [Wednesday 14th of October 2026 09:40:19 PM] update_product_price() - END - Product ID: 5693 | Result: success [Wednesday 14th of October 2026 09:40:19 PM] BigCommerce price updated for Product ID: 5693 [Wednesday 14th of October 2026 09:40:19 PM] get_product_inventory() - START - SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:19 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:19 PM] get_product_inventory() - Motorstate API call successful for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:19 PM] get_product_inventory() - Stock found for SKU: PSGBOSCH17025 - Quantity: 54 | Running Total: 54 [Wednesday 14th of October 2026 09:40:19 PM] get_product_inventory() - END - SKU: PSGBOSCH17025 | Total: 54 [Wednesday 14th of October 2026 09:40:19 PM] get_cf_id() - START - Product ID: 5693 [Wednesday 14th of October 2026 09:40:19 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/5693/custom-fields [Wednesday 14th of October 2026 09:40:19 PM] get_cf_id() - BigCommerce API call successful for Product ID: 5693 [Wednesday 14th of October 2026 09:40:19 PM] get_cf_id() - Custom field found for Product ID: 5693 | Field: online_stock_level | CF ID: 5583 [Wednesday 14th of October 2026 09:40:19 PM] get_cf_id() - END - Product ID: 5693 | CF ID: 5583 [Wednesday 14th of October 2026 09:40:19 PM] Updating inventory for SKU PSGBOSCH17025 - stock: 54, CF ID: 5583 [Wednesday 14th of October 2026 09:40:19 PM] update_product_inventory() - START - Product ID: 5693 | Stock: 54 | CF ID: 5583 [Wednesday 14th of October 2026 09:40:19 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/5693/custom-fields/5583 [Wednesday 14th of October 2026 09:40:19 PM] update_product_inventory() - Inventory updated successfully for Product ID: 5693 | Stock: 54 [Wednesday 14th of October 2026 09:40:19 PM] update_product_inventory() - END - Product ID: 5693 | Result: success [Wednesday 14th of October 2026 09:40:19 PM] Inventory updated for SKU: PSGBOSCH17025 [Wednesday 14th of October 2026 09:40:19 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"PSGBOSCH17025","M_QUAN_VIS":1,"UNIT":"81.00","UNIT_MEAS":"EA"}] [Wednesday 14th of October 2026 09:40:19 PM] Building payment record - Total: 106.0400 [Wednesday 14th of October 2026 09:40:19 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2362","ADDRESS1":"307 E 49th St.","ADDRESS2":"","C_ADDRESS1":"307 E 49th St.","C_ADDRESS2":"","C_CITY":"Anderson","C_COUNTRY":"USA","C_EMAIL":"carloopa@hotmail.com","C_NAME":"John Crowell","C_STATE":"IN","C_ZIP":"46013","ShippingAmount":"18.10","CITY":"Anderson","EMAIL":"carloopa@hotmail.com","ID":"APONLINE","NAME":"John Crowell","STATE":"IN","COUNTRY":"USA","ZIP":"46013","MEMO":"","DESCR":"BigCommerce Order - AP2362 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PSGBOSCH17025","M_QUAN_VIS":1,"UNIT":"81.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"106.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 09:40:19 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2362 [Wednesday 14th of October 2026 09:40:19 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2362%27 [Wednesday 14th of October 2026 09:40:20 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2362 [Wednesday 14th of October 2026 09:40:20 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2362 found in EBMS [Wednesday 14th of October 2026 09:40:20 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2362 | Found: true [Wednesday 14th of October 2026 09:40:20 PM] Invoice AP2362 already exists in EBMS - patching [Wednesday 14th of October 2026 09:40:20 PM] patch_ebms_invoice() - START - Invoice: AP2362 [Wednesday 14th of October 2026 09:40:20 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2362","ADDRESS1":"307 E 49th St.","ADDRESS2":"","C_ADDRESS1":"307 E 49th St.","C_ADDRESS2":"","C_CITY":"Anderson","C_COUNTRY":"USA","C_EMAIL":"carloopa@hotmail.com","C_NAME":"John Crowell","C_STATE":"IN","C_ZIP":"46013","ShippingAmount":"18.10","CITY":"Anderson","EMAIL":"carloopa@hotmail.com","ID":"APONLINE","NAME":"John Crowell","STATE":"IN","COUNTRY":"USA","ZIP":"46013","MEMO":"","DESCR":"BigCommerce Order - AP2362 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PSGBOSCH17025","M_QUAN_VIS":1,"UNIT":"81.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"106.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 14th of October 2026 09:40:20 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2362%27 [Wednesday 14th of October 2026 09:40:20 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2362 [Wednesday 14th of October 2026 09:40:20 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2362 [Wednesday 14th of October 2026 09:40:20 PM] patch_ebms_invoice() - END - Invoice: AP2362 [Wednesday 14th of October 2026 09:40:20 PM] Invoice AP2362 patched successfully [Wednesday 14th of October 2026 09:40:20 PM] ORDER WEBHOOK COMPLETED - Order ID: 2362 | Invoice: AP2362