[Wednesday 24th of June 2026 11:38:40 AM] ORDER WEBHOOK STARTED - Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] Fetching customer data for Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] get_order_customer_data() - START - Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1946 [Wednesday 24th of June 2026 11:38:40 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] get_order_customer_data() - Parsing order response for Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Timothy Graham | Email: Tgraham1987@icloud.com | Total: 59.4100 | Shipping: 24.07 [Wednesday 24th of June 2026 11:38:40 AM] get_order_customer_data() - END - Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] Customer data received: {"id":0,"email":"Tgraham1987@icloud.com","address_1":"2899 Wood Hill Lane ","address_2":"","city":"Bunker Hill ","state":"IL","country":"USA","zip":"62014","f_name":"Timothy ","l_name":"Graham","contact_5":"Tgraham1987@icloud.com","contact_1":"+16185709251","contact_4":"Timothy Graham"} [Wednesday 24th of June 2026 11:38:40 AM] Fetching shipping info for Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] get_order_shipping_info() - START - Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1946/shipping_addresses [Wednesday 24th of June 2026 11:38:40 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1946 | Name: Timothy Graham | Address: 2899 Wood Hill Lane , Bunker Hill , Illinois, 62014 [Wednesday 24th of June 2026 11:38:40 AM] get_order_shipping_info() - END - Order ID: 1946 [Wednesday 24th of June 2026 11:38:40 AM] Shipping info received: {"id":1845,"order_id":1946,"first_name":"Timothy ","last_name":"Graham","company":"","street_1":"2899 Wood Hill Lane ","street_2":"","city":"Bunker Hill ","zip":"62014","country":"United States","country_iso2":"US","state":"Illinois","email":"Tgraham1987@icloud.com","phone":"+16185709251","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"24.0700","cost_ex_tax":"24.0700","cost_inc_tax":"24.0700","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1946\/shipping_addresses\/1845\/shipping_quotes","resource":"\/orders\/1946\/shipping_addresses\/1845\/shipping_quotes"},"form_fields":[]} [Wednesday 24th of June 2026 11:38:40 AM] Resolved Customer ID: APONLINE [Wednesday 24th of June 2026 11:38:40 AM] Building order object for Invoice: AP1946 [Wednesday 24th of June 2026 11:38:40 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1946","ADDRESS1":"2899 Wood Hill Lane ","ADDRESS2":"","C_ADDRESS1":"2899 Wood Hill Lane ","C_ADDRESS2":"","C_CITY":"Bunker Hill ","C_COUNTRY":"USA","C_EMAIL":"Tgraham1987@icloud.com","C_NAME":"Timothy Graham","C_STATE":"IL","C_ZIP":"62014","ShippingAmount":"24.07","CITY":"Bunker Hill ","EMAIL":"Tgraham1987@icloud.com","ID":"APONLINE","NAME":"Timothy Graham","STATE":"IL","COUNTRY":"USA","ZIP":"62014","MEMO":"","DESCR":"BigCommerce Order - AP1946 - Customer APONLINE"} [Wednesday 24th of June 2026 11:38:40 AM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 24th of June 2026 11:38:40 AM] Fetching products from BigCommerce for Order ID: 1946 [Wednesday 24th of June 2026 11:38:41 AM] BigCommerce API call successful for Order ID: 1946 [Wednesday 24th of June 2026 11:38:41 AM] Products received: 1 item(s) [Wednesday 24th of June 2026 11:38:41 AM] Processing product SKU: JOE25642 | Qty: 1 | Price: 32.9500 [Wednesday 24th of June 2026 11:38:41 AM] get_mpn() - START - Product ID: 72936 [Wednesday 24th of June 2026 11:38:41 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/72936 [Wednesday 24th of June 2026 11:38:41 AM] get_mpn() - BigCommerce API call successful for Product ID: 72936 [Wednesday 24th of June 2026 11:38:41 AM] get_mpn() - WARNING - MPN is empty for Product ID: 72936 [Wednesday 24th of June 2026 11:38:41 AM] get_mpn() - END - Product ID: 72936 | MPN: [Wednesday 24th of June 2026 11:38:41 AM] check_for_ebms_product() - START - SKU: JOE25642 [Wednesday 24th of June 2026 11:38:41 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27JOE25642%27 [Wednesday 24th of June 2026 11:38:41 AM] check_for_ebms_product() - EBMS API call successful for SKU: JOE25642 [Wednesday 24th of June 2026 11:38:41 AM] check_for_ebms_product() - SKU: JOE25642 found in EBMS [Wednesday 24th of June 2026 11:38:41 AM] check_for_ebms_product() - END - SKU: JOE25642 | Found: true [Wednesday 24th of June 2026 11:38:41 AM] SKU JOE25642 found in EBMS - checking prices [Wednesday 24th of June 2026 11:38:41 AM] obtain_current_prices() - START - SKU: JOE25642 [Wednesday 24th of June 2026 11:38:41 AM] obtain_current_prices() - Checking Motorstate for SKU: JOE25642 [Wednesday 24th of June 2026 11:38:41 AM] check_for_ms_product() - START - SKU: JOE25642 [Wednesday 24th of June 2026 11:38:41 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=JOE25642 [Wednesday 24th of June 2026 11:38:41 AM] check_for_ms_product() - Motorstate API call successful for SKU: JOE25642 [Wednesday 24th of June 2026 11:38:41 AM] check_for_ms_product() - SKU: JOE25642 found in Motorstate [Wednesday 24th of June 2026 11:38:41 AM] check_for_ms_product() - END - SKU: JOE25642 | Found: true [Wednesday 24th of June 2026 11:38:41 AM] obtain_current_prices() - SKU: JOE25642 found in Motorstate - Fetching prices [Wednesday 24th of June 2026 11:38:41 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: JOE25642 - URL: https://api.motorstate.com/api/Product?partNumbers=JOE25642 [Wednesday 24th of June 2026 11:38:42 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: JOE25642 - Base: 32.95 | Cost: 26.44 [Wednesday 24th of June 2026 11:38:42 AM] obtain_current_prices() - Returning Motorstate prices for SKU: JOE25642 - Base: 32.95 | Cost: 26.44 [Wednesday 24th of June 2026 11:38:42 AM] obtain_current_prices() - END - SKU: JOE25642 [Wednesday 24th of June 2026 11:38:42 AM] SKU JOE25642 has existing EBMS prices - syncing BigCommerce price back (cost: 26.44, base: 32.95) [Wednesday 24th of June 2026 11:38:42 AM] update_product_price() - START - Product ID: 72936 | Base: 32.95 | Cost: 26.44 [Wednesday 24th of June 2026 11:38:42 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/72936 [Wednesday 24th of June 2026 11:38:42 AM] update_product_price() - PUT payload: {"price":32.9500000000000028421709430404007434844970703125,"cost_price":26.440000000000001278976924368180334568023681640625} [Wednesday 24th of June 2026 11:38:42 AM] update_product_price() - Attempt 1 of 6 for Product ID: 72936 [Wednesday 24th of June 2026 11:38:42 AM] update_product_price() - Price updated successfully for Product ID: 72936 - Base: 32.95 | Cost: 26.44 [Wednesday 24th of June 2026 11:38:42 AM] update_product_price() - END - Product ID: 72936 | Result: success [Wednesday 24th of June 2026 11:38:42 AM] BigCommerce price updated for Product ID: 72936 [Wednesday 24th of June 2026 11:38:42 AM] get_product_inventory() - START - SKU: JOE25642 [Wednesday 24th of June 2026 11:38:42 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=JOE25642 [Wednesday 24th of June 2026 11:38:42 AM] get_product_inventory() - Motorstate API call successful for SKU: JOE25642 [Wednesday 24th of June 2026 11:38:42 AM] get_product_inventory() - Stock found for SKU: JOE25642 - Quantity: 7 | Running Total: 7 [Wednesday 24th of June 2026 11:38:42 AM] get_product_inventory() - END - SKU: JOE25642 | Total: 7 [Wednesday 24th of June 2026 11:38:42 AM] get_cf_id() - START - Product ID: 72936 [Wednesday 24th of June 2026 11:38:42 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/72936/custom-fields [Wednesday 24th of June 2026 11:38:42 AM] get_cf_id() - BigCommerce API call successful for Product ID: 72936 [Wednesday 24th of June 2026 11:38:42 AM] get_cf_id() - Custom field found for Product ID: 72936 | Field: online_stock_level | CF ID: 72826 [Wednesday 24th of June 2026 11:38:42 AM] get_cf_id() - END - Product ID: 72936 | CF ID: 72826 [Wednesday 24th of June 2026 11:38:42 AM] Updating inventory for SKU JOE25642 - stock: 7, CF ID: 72826 [Wednesday 24th of June 2026 11:38:42 AM] update_product_inventory() - START - Product ID: 72936 | Stock: 7 | CF ID: 72826 [Wednesday 24th of June 2026 11:38:42 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/72936/custom-fields/72826 [Wednesday 24th of June 2026 11:38:42 AM] update_product_inventory() - Inventory updated successfully for Product ID: 72936 | Stock: 7 [Wednesday 24th of June 2026 11:38:42 AM] update_product_inventory() - END - Product ID: 72936 | Result: success [Wednesday 24th of June 2026 11:38:42 AM] Inventory updated for SKU: JOE25642 [Wednesday 24th of June 2026 11:38:42 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"JOE25642","M_QUAN_VIS":1,"UNIT":"32.95","UNIT_MEAS":"EA"}] [Wednesday 24th of June 2026 11:38:42 AM] Building payment record - Total: 59.4100 [Wednesday 24th of June 2026 11:38:42 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1946","ADDRESS1":"2899 Wood Hill Lane ","ADDRESS2":"","C_ADDRESS1":"2899 Wood Hill Lane ","C_ADDRESS2":"","C_CITY":"Bunker Hill ","C_COUNTRY":"USA","C_EMAIL":"Tgraham1987@icloud.com","C_NAME":"Timothy Graham","C_STATE":"IL","C_ZIP":"62014","ShippingAmount":"24.07","CITY":"Bunker Hill ","EMAIL":"Tgraham1987@icloud.com","ID":"APONLINE","NAME":"Timothy Graham","STATE":"IL","COUNTRY":"USA","ZIP":"62014","MEMO":"","DESCR":"BigCommerce Order - AP1946 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"JOE25642","M_QUAN_VIS":1,"UNIT":"32.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"59.41","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 24th of June 2026 11:38:42 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1946 [Wednesday 24th of June 2026 11:38:42 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1946%27 [Wednesday 24th of June 2026 11:38:43 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1946 [Wednesday 24th of June 2026 11:38:43 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1946 not found in EBMS [Wednesday 24th of June 2026 11:38:43 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1946 | Found: false [Wednesday 24th of June 2026 11:38:43 AM] Invoice AP1946 does not exist in EBMS - creating [Wednesday 24th of June 2026 11:38:43 AM] create_ebms_invoice() - START - Invoice: AP1946 [Wednesday 24th of June 2026 11:38:43 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1946","ADDRESS1":"2899 Wood Hill Lane ","ADDRESS2":"","C_ADDRESS1":"2899 Wood Hill Lane ","C_ADDRESS2":"","C_CITY":"Bunker Hill ","C_COUNTRY":"USA","C_EMAIL":"Tgraham1987@icloud.com","C_NAME":"Timothy Graham","C_STATE":"IL","C_ZIP":"62014","ShippingAmount":"24.07","CITY":"Bunker Hill ","EMAIL":"Tgraham1987@icloud.com","ID":"APONLINE","NAME":"Timothy Graham","STATE":"IL","COUNTRY":"USA","ZIP":"62014","MEMO":"","DESCR":"BigCommerce Order - AP1946 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"JOE25642","M_QUAN_VIS":1,"UNIT":"32.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"59.41","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 24th of June 2026 11:38:43 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 24th of June 2026 11:38:52 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1946 [Wednesday 24th of June 2026 11:38:52 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1946 - Response: {"@odata.context":"http:\/\/localhost:62324\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"3748534c-4e32-4151-3541-473241303030","AUTOID":"LSH72NQA5AG2A000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-35.340000000000003410605131648480892181396484375,"BAL_CUST_X":-35.340000000000003410605131648480892181396484375,"BALANCE":-35.340000000000003410605131648480892181396484375,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":2.390000000000000124344978758017532527446746826171875,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":59.409999999999996589394868351519107818603515625,"TOTAL_S_SO":32.9500000000000028421709430404007434844970703125,"TOTAL_SO":59.409999999999996589394868351519107818603515625,"TOTAL_W":0,"TTLPROCPMT":59.409999999999996589394868351519107818603515625,"TOTAL":24.07000000000000028421709430404007434844970703125,"FREIGHT":24.07000000000000028421709430404007434844970703125,"HANDLING":0,"SHIPPING":24.07000000000000028421709430404007434844970703125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"2899 Wood Hill Lane","ADDRESS2":"","C_EMAIL":"Tgraham1987@icloud.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-24T00:00:00Z","CHECK_NO":" APBC","CITY":"Bunker Hill","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-24T00:00:00Z","E_DATE":"2026-06-24T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"Tgraham1987@icloud.com","IADDRESS":"2899 Wood Hill Lane , Bunker Hill, IL 62014","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-24T00:00:00Z","INVOICE":"AP1946","MAN_TAX":true,"NAME":"Timothy Graham","PHONE":"","PROCESS":"Default","STATE":"IL","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"62014","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"2899 Wood Hill Lane","C_ADDRESS2":"","C_CITY":"Bunker Hill","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Timothy Graham","C_STATE":"IL","C_ZIP":"62014","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1946 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-24T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 24th of June 2026 11:38:52 AM] create_ebms_invoice() - END - Invoice: AP1946 [Wednesday 24th of June 2026 11:38:52 AM] Invoice AP1946 created successfully [Wednesday 24th of June 2026 11:38:52 AM] ORDER WEBHOOK COMPLETED - Order ID: 1946 | Invoice: AP1946 [Wednesday 24th of June 2026 11:39:50 AM] ORDER WEBHOOK STARTED - Order ID: 1946 [Wednesday 24th of June 2026 11:39:50 AM] Fetching customer data for Order ID: 1946 [Wednesday 24th of June 2026 11:39:50 AM] get_order_customer_data() - START - Order ID: 1946 [Wednesday 24th of June 2026 11:39:50 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1946 [Wednesday 24th of June 2026 11:39:51 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] get_order_customer_data() - Parsing order response for Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Timothy Graham | Email: Tgraham1987@icloud.com | Total: 59.4100 | Shipping: 24.07 [Wednesday 24th of June 2026 11:39:51 AM] get_order_customer_data() - END - Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] Customer data received: {"id":0,"email":"Tgraham1987@icloud.com","address_1":"2899 Wood Hill Lane ","address_2":"","city":"Bunker Hill ","state":"IL","country":"USA","zip":"62014","f_name":"Timothy ","l_name":"Graham","contact_5":"Tgraham1987@icloud.com","contact_1":"+16185709251","contact_4":"Timothy Graham"} [Wednesday 24th of June 2026 11:39:51 AM] Fetching shipping info for Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] get_order_shipping_info() - START - Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1946/shipping_addresses [Wednesday 24th of June 2026 11:39:51 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1946 | Name: Timothy Graham | Address: 2899 Wood Hill Lane , Bunker Hill , Illinois, 62014 [Wednesday 24th of June 2026 11:39:51 AM] get_order_shipping_info() - END - Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] Shipping info received: {"id":1845,"order_id":1946,"first_name":"Timothy ","last_name":"Graham","company":"","street_1":"2899 Wood Hill Lane ","street_2":"","city":"Bunker Hill ","zip":"62014","country":"United States","country_iso2":"US","state":"Illinois","email":"Tgraham1987@icloud.com","phone":"+16185709251","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"24.0700","cost_ex_tax":"24.0700","cost_inc_tax":"24.0700","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1946\/shipping_addresses\/1845\/shipping_quotes","resource":"\/orders\/1946\/shipping_addresses\/1845\/shipping_quotes"},"form_fields":[]} [Wednesday 24th of June 2026 11:39:51 AM] Resolved Customer ID: APONLINE [Wednesday 24th of June 2026 11:39:51 AM] Building order object for Invoice: AP1946 [Wednesday 24th of June 2026 11:39:51 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1946","ADDRESS1":"2899 Wood Hill Lane ","ADDRESS2":"","C_ADDRESS1":"2899 Wood Hill Lane ","C_ADDRESS2":"","C_CITY":"Bunker Hill ","C_COUNTRY":"USA","C_EMAIL":"Tgraham1987@icloud.com","C_NAME":"Timothy Graham","C_STATE":"IL","C_ZIP":"62014","ShippingAmount":"24.07","CITY":"Bunker Hill ","EMAIL":"Tgraham1987@icloud.com","ID":"APONLINE","NAME":"Timothy Graham","STATE":"IL","COUNTRY":"USA","ZIP":"62014","MEMO":"","DESCR":"BigCommerce Order - AP1946 - Customer APONLINE"} [Wednesday 24th of June 2026 11:39:51 AM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 24th of June 2026 11:39:51 AM] Fetching products from BigCommerce for Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] BigCommerce API call successful for Order ID: 1946 [Wednesday 24th of June 2026 11:39:51 AM] Products received: 1 item(s) [Wednesday 24th of June 2026 11:39:51 AM] Processing product SKU: JOE25642 | Qty: 1 | Price: 32.9500 [Wednesday 24th of June 2026 11:39:51 AM] get_mpn() - START - Product ID: 72936 [Wednesday 24th of June 2026 11:39:51 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/72936 [Wednesday 24th of June 2026 11:39:51 AM] get_mpn() - BigCommerce API call successful for Product ID: 72936 [Wednesday 24th of June 2026 11:39:51 AM] get_mpn() - WARNING - MPN is empty for Product ID: 72936 [Wednesday 24th of June 2026 11:39:51 AM] get_mpn() - END - Product ID: 72936 | MPN: [Wednesday 24th of June 2026 11:39:51 AM] check_for_ebms_product() - START - SKU: JOE25642 [Wednesday 24th of June 2026 11:39:51 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27JOE25642%27 [Wednesday 24th of June 2026 11:39:52 AM] check_for_ebms_product() - EBMS API call successful for SKU: JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] check_for_ebms_product() - SKU: JOE25642 found in EBMS [Wednesday 24th of June 2026 11:39:52 AM] check_for_ebms_product() - END - SKU: JOE25642 | Found: true [Wednesday 24th of June 2026 11:39:52 AM] SKU JOE25642 found in EBMS - checking prices [Wednesday 24th of June 2026 11:39:52 AM] obtain_current_prices() - START - SKU: JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] obtain_current_prices() - Checking Motorstate for SKU: JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] check_for_ms_product() - START - SKU: JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] check_for_ms_product() - Motorstate API call successful for SKU: JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] check_for_ms_product() - SKU: JOE25642 found in Motorstate [Wednesday 24th of June 2026 11:39:52 AM] check_for_ms_product() - END - SKU: JOE25642 | Found: true [Wednesday 24th of June 2026 11:39:52 AM] obtain_current_prices() - SKU: JOE25642 found in Motorstate - Fetching prices [Wednesday 24th of June 2026 11:39:52 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: JOE25642 - URL: https://api.motorstate.com/api/Product?partNumbers=JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: JOE25642 - Base: 32.95 | Cost: 26.44 [Wednesday 24th of June 2026 11:39:52 AM] obtain_current_prices() - Returning Motorstate prices for SKU: JOE25642 - Base: 32.95 | Cost: 26.44 [Wednesday 24th of June 2026 11:39:52 AM] obtain_current_prices() - END - SKU: JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] SKU JOE25642 has existing EBMS prices - syncing BigCommerce price back (cost: 26.44, base: 32.95) [Wednesday 24th of June 2026 11:39:52 AM] update_product_price() - START - Product ID: 72936 | Base: 32.95 | Cost: 26.44 [Wednesday 24th of June 2026 11:39:52 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/72936 [Wednesday 24th of June 2026 11:39:52 AM] update_product_price() - PUT payload: {"price":32.9500000000000028421709430404007434844970703125,"cost_price":26.440000000000001278976924368180334568023681640625} [Wednesday 24th of June 2026 11:39:52 AM] update_product_price() - Attempt 1 of 6 for Product ID: 72936 [Wednesday 24th of June 2026 11:39:52 AM] update_product_price() - Price updated successfully for Product ID: 72936 - Base: 32.95 | Cost: 26.44 [Wednesday 24th of June 2026 11:39:52 AM] update_product_price() - END - Product ID: 72936 | Result: success [Wednesday 24th of June 2026 11:39:52 AM] BigCommerce price updated for Product ID: 72936 [Wednesday 24th of June 2026 11:39:52 AM] get_product_inventory() - START - SKU: JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] get_product_inventory() - Motorstate API call successful for SKU: JOE25642 [Wednesday 24th of June 2026 11:39:52 AM] get_product_inventory() - Stock found for SKU: JOE25642 - Quantity: 7 | Running Total: 7 [Wednesday 24th of June 2026 11:39:52 AM] get_product_inventory() - END - SKU: JOE25642 | Total: 7 [Wednesday 24th of June 2026 11:39:52 AM] get_cf_id() - START - Product ID: 72936 [Wednesday 24th of June 2026 11:39:52 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/72936/custom-fields [Wednesday 24th of June 2026 11:39:52 AM] get_cf_id() - BigCommerce API call successful for Product ID: 72936 [Wednesday 24th of June 2026 11:39:52 AM] get_cf_id() - Custom field found for Product ID: 72936 | Field: online_stock_level | CF ID: 72826 [Wednesday 24th of June 2026 11:39:52 AM] get_cf_id() - END - Product ID: 72936 | CF ID: 72826 [Wednesday 24th of June 2026 11:39:52 AM] Updating inventory for SKU JOE25642 - stock: 7, CF ID: 72826 [Wednesday 24th of June 2026 11:39:52 AM] update_product_inventory() - START - Product ID: 72936 | Stock: 7 | CF ID: 72826 [Wednesday 24th of June 2026 11:39:52 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/72936/custom-fields/72826 [Wednesday 24th of June 2026 11:39:53 AM] update_product_inventory() - Inventory updated successfully for Product ID: 72936 | Stock: 7 [Wednesday 24th of June 2026 11:39:53 AM] update_product_inventory() - END - Product ID: 72936 | Result: success [Wednesday 24th of June 2026 11:39:53 AM] Inventory updated for SKU: JOE25642 [Wednesday 24th of June 2026 11:39:53 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"JOE25642","M_QUAN_VIS":1,"UNIT":"32.95","UNIT_MEAS":"EA"}] [Wednesday 24th of June 2026 11:39:53 AM] Building payment record - Total: 59.4100 [Wednesday 24th of June 2026 11:39:53 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1946","ADDRESS1":"2899 Wood Hill Lane ","ADDRESS2":"","C_ADDRESS1":"2899 Wood Hill Lane ","C_ADDRESS2":"","C_CITY":"Bunker Hill ","C_COUNTRY":"USA","C_EMAIL":"Tgraham1987@icloud.com","C_NAME":"Timothy Graham","C_STATE":"IL","C_ZIP":"62014","ShippingAmount":"24.07","CITY":"Bunker Hill ","EMAIL":"Tgraham1987@icloud.com","ID":"APONLINE","NAME":"Timothy Graham","STATE":"IL","COUNTRY":"USA","ZIP":"62014","MEMO":"","DESCR":"BigCommerce Order - AP1946 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"JOE25642","M_QUAN_VIS":1,"UNIT":"32.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"59.41","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 24th of June 2026 11:39:53 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1946 [Wednesday 24th of June 2026 11:39:53 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1946%27 [Wednesday 24th of June 2026 11:39:54 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1946 [Wednesday 24th of June 2026 11:39:54 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1946 found in EBMS [Wednesday 24th of June 2026 11:39:54 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1946 | Found: true [Wednesday 24th of June 2026 11:39:54 AM] Invoice AP1946 already exists in EBMS - patching [Wednesday 24th of June 2026 11:39:54 AM] patch_ebms_invoice() - START - Invoice: AP1946 [Wednesday 24th of June 2026 11:39:54 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1946","ADDRESS1":"2899 Wood Hill Lane ","ADDRESS2":"","C_ADDRESS1":"2899 Wood Hill Lane ","C_ADDRESS2":"","C_CITY":"Bunker Hill ","C_COUNTRY":"USA","C_EMAIL":"Tgraham1987@icloud.com","C_NAME":"Timothy Graham","C_STATE":"IL","C_ZIP":"62014","ShippingAmount":"24.07","CITY":"Bunker Hill ","EMAIL":"Tgraham1987@icloud.com","ID":"APONLINE","NAME":"Timothy Graham","STATE":"IL","COUNTRY":"USA","ZIP":"62014","MEMO":"","DESCR":"BigCommerce Order - AP1946 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"JOE25642","M_QUAN_VIS":1,"UNIT":"32.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"59.41","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 24th of June 2026 11:39:54 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1946%27 [Wednesday 24th of June 2026 11:39:54 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1946 [Wednesday 24th of June 2026 11:39:54 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1946 [Wednesday 24th of June 2026 11:39:54 AM] patch_ebms_invoice() - END - Invoice: AP1946 [Wednesday 24th of June 2026 11:39:54 AM] Invoice AP1946 patched successfully [Wednesday 24th of June 2026 11:39:54 AM] ORDER WEBHOOK COMPLETED - Order ID: 1946 | Invoice: AP1946 [Wednesday 24th of June 2026 04:55:26 PM] ORDER WEBHOOK STARTED - Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] Fetching customer data for Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] get_order_customer_data() - START - Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1947 [Wednesday 24th of June 2026 04:55:26 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] get_order_customer_data() - Parsing order response for Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: kyle fox | Email: kyle.fox@j3co.com | Total: 201.7100 | Shipping: 72.71 [Wednesday 24th of June 2026 04:55:26 PM] get_order_customer_data() - END - Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] Customer data received: {"id":0,"email":"kyle.fox@j3co.com","address_1":"6600 State Highway 27","address_2":"","city":"comfort tx","state":"TX","country":"USA","zip":"78013","f_name":"kyle","l_name":"fox","contact_5":"kyle.fox@j3co.com","contact_1":"8308903145","contact_4":"kyle fox"} [Wednesday 24th of June 2026 04:55:26 PM] Fetching shipping info for Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] get_order_shipping_info() - START - Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1947/shipping_addresses [Wednesday 24th of June 2026 04:55:26 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1947 | Name: kyle fox | Address: 6600 State Highway 27, comfort tx, Texas, 78013 [Wednesday 24th of June 2026 04:55:26 PM] get_order_shipping_info() - END - Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] Shipping info received: {"id":1846,"order_id":1947,"first_name":"kyle","last_name":"fox","company":"j3","street_1":"6600 State Highway 27","street_2":"","city":"comfort tx","zip":"78013","country":"United States","country_iso2":"US","state":"Texas","email":"kyle.fox@j3co.com","phone":"8308903145","items_total":1,"items_shipped":0,"shipping_method":"FedEx 1 Day","base_cost":"72.7100","cost_ex_tax":"72.7100","cost_inc_tax":"72.7100","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1947\/shipping_addresses\/1846\/shipping_quotes","resource":"\/orders\/1947\/shipping_addresses\/1846\/shipping_quotes"},"form_fields":[]} [Wednesday 24th of June 2026 04:55:26 PM] Resolved Customer ID: APONLINE [Wednesday 24th of June 2026 04:55:26 PM] Building order object for Invoice: AP1947 [Wednesday 24th of June 2026 04:55:26 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1947","ADDRESS1":"6600 State Highway 27","ADDRESS2":"","C_ADDRESS1":"6600 State Highway 27","C_ADDRESS2":"","C_CITY":"comfort tx","C_COUNTRY":"USA","C_EMAIL":"kyle.fox@j3co.com","C_NAME":"kyle fox","C_STATE":"TX","C_ZIP":"78013","ShippingAmount":"72.71","CITY":"comfort tx","EMAIL":"kyle.fox@j3co.com","ID":"APONLINE","NAME":"kyle fox","STATE":"TX","COUNTRY":"USA","ZIP":"78013","MEMO":"","DESCR":"BigCommerce Order - AP1947 - Customer APONLINE"} [Wednesday 24th of June 2026 04:55:26 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 24th of June 2026 04:55:26 PM] Fetching products from BigCommerce for Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] BigCommerce API call successful for Order ID: 1947 [Wednesday 24th of June 2026 04:55:26 PM] Products received: 1 item(s) [Wednesday 24th of June 2026 04:55:26 PM] Processing product SKU: ART90002897 | Qty: 1 | Price: 129.0000 [Wednesday 24th of June 2026 04:55:26 PM] get_mpn() - START - Product ID: 40405 [Wednesday 24th of June 2026 04:55:26 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/40405 [Wednesday 24th of June 2026 04:55:27 PM] get_mpn() - BigCommerce API call successful for Product ID: 40405 [Wednesday 24th of June 2026 04:55:27 PM] get_mpn() - WARNING - MPN is empty for Product ID: 40405 [Wednesday 24th of June 2026 04:55:27 PM] get_mpn() - END - Product ID: 40405 | MPN: [Wednesday 24th of June 2026 04:55:27 PM] check_for_ebms_product() - START - SKU: ART90002897 [Wednesday 24th of June 2026 04:55:27 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ART90002897%27 [Wednesday 24th of June 2026 04:55:29 PM] check_for_ebms_product() - EBMS API call successful for SKU: ART90002897 [Wednesday 24th of June 2026 04:55:29 PM] check_for_ebms_product() - SKU: ART90002897 not found in EBMS [Wednesday 24th of June 2026 04:55:29 PM] check_for_ebms_product() - END - SKU: ART90002897 | Found: false [Wednesday 24th of June 2026 04:55:29 PM] SKU ART90002897 not found in EBMS - creating new part [Wednesday 24th of June 2026 04:55:29 PM] get_product_desc() - START - Product ID: 40405 [Wednesday 24th of June 2026 04:55:29 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/40405 [Wednesday 24th of June 2026 04:55:29 PM] get_product_desc() - BigCommerce API call successful for Product ID: 40405 [Wednesday 24th of June 2026 04:55:29 PM] get_product_desc() - Description retrieved for Product ID: 40405 - Description: Rod End - Spherical - R-Joint XL - 9/16 in Bore - 1-1/4-12 in Left Hand Male Thread - Stainless - Natural - Each [Wednesday 24th of June 2026 04:55:29 PM] get_product_desc() - END - Product ID: 40405 [Wednesday 24th of June 2026 04:55:29 PM] get_ms_product() - START - SKU: ART90002897 [Wednesday 24th of June 2026 04:55:29 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ART90002897 [Wednesday 24th of June 2026 04:55:29 PM] get_ms_product() - Motorstate API call successful for SKU: ART90002897 [Wednesday 24th of June 2026 04:55:29 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: ART90002897 - Response: [{"Found":true,"PartNumber":"ART90002897","Product":{"PartNumber":"art90002897","VendorPartNumber":"90002897","Status":1,"ShortDescription":"R-Joint 1-1/4in-12 LH 2-5/8in Wide","Quantity":0,"CustomerPrice":109.65,"CustomerPriceNonPromotional":109.65,"BasePrice":129.0,"ListPrice":129.0,"MapPrice":129.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":15.0,"SpecialOrderDetails":"","MotorStateNotes":"Through Bolt Size: 0.562” – 9/16”","CanRegularBackOrder":true}}] [Wednesday 24th of June 2026 04:55:29 PM] get_ms_product() - END - SKU: ART90002897 [Wednesday 24th of June 2026 04:55:29 PM] MS pricing found for SKU ART90002897 - base: 129, cost: 109.65 [Wednesday 24th of June 2026 04:55:29 PM] create_new_part() - START - SKU: ART90002897 | Base: 129.00 | Cost: 109.65 | Weight: 3.2000 | MPN: [Wednesday 24th of June 2026 04:55:29 PM] create_new_part() - Description parsed - DESCR_1: Rod End - Spherical - R-Joint XL - 9/16 in Bore - 1-1/4-12 in Left Hand Male Thr | DESCR_2: ead - Stainless - Natural - Each [Wednesday 24th of June 2026 04:55:29 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Wednesday 24th of June 2026 04:55:29 PM] create_new_part() - POST payload: {"ID":"ART90002897","DESCR_1":"Rod End - Spherical - R-Joint XL - 9\/16 in Bore - 1-1\/4-12 in Left Hand Male Thr","DESCR_2":"ead - Stainless - Natural - Each","DESCR_3":"Rod End - Spherical - R-Joint XL - 9\/16 in Bore - 1-1\/4-12 in Left Hand Male Thread - Stainless - Natural - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"109.65","BASE":"129.00","WEIGHT":"3.2000","MFG_PART":"","TREE_ID":"603"} [Wednesday 24th of June 2026 04:55:32 PM] create_new_part() - EBMS API call successful for SKU: ART90002897 [Wednesday 24th of June 2026 04:55:32 PM] create_new_part() - Part created successfully in EBMS - SKU: ART90002897 - {"id":"ART90002897","cost":"109.65","base":"129.00","description":"Rod End - Spherical - R-Joint XL - 9\/16 in Bore - 1-1\/4-12 in Left Hand Male Thread - Stainless - Natural - Each","tree_id":" 603"} [Wednesday 24th of June 2026 04:55:32 PM] create_new_part() - Sending new part notification email for SKU: ART90002897 [Wednesday 24th of June 2026 04:55:32 PM] create_new_part() - Notification email sent successfully for SKU: ART90002897 [Wednesday 24th of June 2026 04:55:32 PM] create_new_part() - END - SKU: ART90002897 [Wednesday 24th of June 2026 04:55:32 PM] New part created in EBMS for SKU: ART90002897 [Wednesday 24th of June 2026 04:55:32 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ART90002897","M_QUAN_VIS":1,"UNIT":"129.00","UNIT_MEAS":"EA"}] [Wednesday 24th of June 2026 04:55:32 PM] Building payment record - Total: 201.7100 [Wednesday 24th of June 2026 04:55:32 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1947","ADDRESS1":"6600 State Highway 27","ADDRESS2":"","C_ADDRESS1":"6600 State Highway 27","C_ADDRESS2":"","C_CITY":"comfort tx","C_COUNTRY":"USA","C_EMAIL":"kyle.fox@j3co.com","C_NAME":"kyle fox","C_STATE":"TX","C_ZIP":"78013","ShippingAmount":"72.71","CITY":"comfort tx","EMAIL":"kyle.fox@j3co.com","ID":"APONLINE","NAME":"kyle fox","STATE":"TX","COUNTRY":"USA","ZIP":"78013","MEMO":"","DESCR":"BigCommerce Order - AP1947 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ART90002897","M_QUAN_VIS":1,"UNIT":"129.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"201.71","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 24th of June 2026 04:55:32 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1947 [Wednesday 24th of June 2026 04:55:32 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1947%27 [Wednesday 24th of June 2026 04:55:32 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1947 [Wednesday 24th of June 2026 04:55:32 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1947 not found in EBMS [Wednesday 24th of June 2026 04:55:32 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1947 | Found: false [Wednesday 24th of June 2026 04:55:32 PM] Invoice AP1947 does not exist in EBMS - creating [Wednesday 24th of June 2026 04:55:32 PM] create_ebms_invoice() - START - Invoice: AP1947 [Wednesday 24th of June 2026 04:55:32 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1947","ADDRESS1":"6600 State Highway 27","ADDRESS2":"","C_ADDRESS1":"6600 State Highway 27","C_ADDRESS2":"","C_CITY":"comfort tx","C_COUNTRY":"USA","C_EMAIL":"kyle.fox@j3co.com","C_NAME":"kyle fox","C_STATE":"TX","C_ZIP":"78013","ShippingAmount":"72.71","CITY":"comfort tx","EMAIL":"kyle.fox@j3co.com","ID":"APONLINE","NAME":"kyle fox","STATE":"TX","COUNTRY":"USA","ZIP":"78013","MEMO":"","DESCR":"BigCommerce Order - AP1947 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ART90002897","M_QUAN_VIS":1,"UNIT":"129.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"201.71","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 24th of June 2026 04:55:32 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 24th of June 2026 04:55:39 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1947 [Wednesday 24th of June 2026 04:55:39 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1947 - Response: {"@odata.context":"http:\/\/localhost:54577\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"5030364f-3449-3856-5052-413030303030","AUTOID":"O60PI4V8PRA00000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-129,"BAL_CUST_X":-129,"BALANCE":-129,"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":201.710000000000007958078640513122081756591796875,"TOTAL_S_SO":129,"TOTAL_SO":201.710000000000007958078640513122081756591796875,"TOTAL_W":0,"TTLPROCPMT":201.710000000000007958078640513122081756591796875,"TOTAL":72.7099999999999937472239253111183643341064453125,"FREIGHT":72.7099999999999937472239253111183643341064453125,"HANDLING":0,"SHIPPING":72.7099999999999937472239253111183643341064453125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"6600 State Highway 27","ADDRESS2":"","C_EMAIL":"kyle.fox@j3co.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-24T00:00:00Z","CHECK_NO":" APBC","CITY":"Comfort tx","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-24T00:00:00Z","E_DATE":"2026-06-24T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"kyle.fox@j3co.com","IADDRESS":"6600 State Highway 27 , Comfort tx, TX 78013","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-24T00:00:00Z","INVOICE":"AP1947","MAN_TAX":false,"NAME":"kyle fox","PHONE":"","PROCESS":"Default","STATE":"TX","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"78013","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"6600 State Highway 27","C_ADDRESS2":"","C_CITY":"Comfort tx","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"kyle fox","C_STATE":"TX","C_ZIP":"78013","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1947 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-24T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 24th of June 2026 04:55:39 PM] create_ebms_invoice() - END - Invoice: AP1947 [Wednesday 24th of June 2026 04:55:39 PM] Invoice AP1947 created successfully [Wednesday 24th of June 2026 04:55:39 PM] ORDER WEBHOOK COMPLETED - Order ID: 1947 | Invoice: AP1947 [Wednesday 24th of June 2026 04:56:36 PM] ORDER WEBHOOK STARTED - Order ID: 1947 [Wednesday 24th of June 2026 04:56:36 PM] Fetching customer data for Order ID: 1947 [Wednesday 24th of June 2026 04:56:36 PM] get_order_customer_data() - START - Order ID: 1947 [Wednesday 24th of June 2026 04:56:36 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1947 [Wednesday 24th of June 2026 04:56:36 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1947 [Wednesday 24th of June 2026 04:56:36 PM] get_order_customer_data() - Parsing order response for Order ID: 1947 [Wednesday 24th of June 2026 04:56:36 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: kyle fox | Email: kyle.fox@j3co.com | Total: 201.7100 | Shipping: 72.71 [Wednesday 24th of June 2026 04:56:36 PM] get_order_customer_data() - END - Order ID: 1947 [Wednesday 24th of June 2026 04:56:36 PM] Customer data received: {"id":0,"email":"kyle.fox@j3co.com","address_1":"6600 State Highway 27","address_2":"","city":"comfort tx","state":"TX","country":"USA","zip":"78013","f_name":"kyle","l_name":"fox","contact_5":"kyle.fox@j3co.com","contact_1":"8308903145","contact_4":"kyle fox"} [Wednesday 24th of June 2026 04:56:36 PM] Fetching shipping info for Order ID: 1947 [Wednesday 24th of June 2026 04:56:36 PM] get_order_shipping_info() - START - Order ID: 1947 [Wednesday 24th of June 2026 04:56:36 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1947/shipping_addresses [Wednesday 24th of June 2026 04:56:37 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1947 [Wednesday 24th of June 2026 04:56:37 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1947 | Name: kyle fox | Address: 6600 State Highway 27, comfort tx, Texas, 78013 [Wednesday 24th of June 2026 04:56:37 PM] get_order_shipping_info() - END - Order ID: 1947 [Wednesday 24th of June 2026 04:56:37 PM] Shipping info received: {"id":1846,"order_id":1947,"first_name":"kyle","last_name":"fox","company":"j3","street_1":"6600 State Highway 27","street_2":"","city":"comfort tx","zip":"78013","country":"United States","country_iso2":"US","state":"Texas","email":"kyle.fox@j3co.com","phone":"8308903145","items_total":1,"items_shipped":0,"shipping_method":"FedEx 1 Day","base_cost":"72.7100","cost_ex_tax":"72.7100","cost_inc_tax":"72.7100","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1947\/shipping_addresses\/1846\/shipping_quotes","resource":"\/orders\/1947\/shipping_addresses\/1846\/shipping_quotes"},"form_fields":[]} [Wednesday 24th of June 2026 04:56:37 PM] Resolved Customer ID: APONLINE [Wednesday 24th of June 2026 04:56:37 PM] Building order object for Invoice: AP1947 [Wednesday 24th of June 2026 04:56:37 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1947","ADDRESS1":"6600 State Highway 27","ADDRESS2":"","C_ADDRESS1":"6600 State Highway 27","C_ADDRESS2":"","C_CITY":"comfort tx","C_COUNTRY":"USA","C_EMAIL":"kyle.fox@j3co.com","C_NAME":"kyle fox","C_STATE":"TX","C_ZIP":"78013","ShippingAmount":"72.71","CITY":"comfort tx","EMAIL":"kyle.fox@j3co.com","ID":"APONLINE","NAME":"kyle fox","STATE":"TX","COUNTRY":"USA","ZIP":"78013","MEMO":"","DESCR":"BigCommerce Order - AP1947 - Customer APONLINE"} [Wednesday 24th of June 2026 04:56:37 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 24th of June 2026 04:56:37 PM] Fetching products from BigCommerce for Order ID: 1947 [Wednesday 24th of June 2026 04:56:37 PM] BigCommerce API call successful for Order ID: 1947 [Wednesday 24th of June 2026 04:56:37 PM] Products received: 1 item(s) [Wednesday 24th of June 2026 04:56:37 PM] Processing product SKU: ART90002897 | Qty: 1 | Price: 129.0000 [Wednesday 24th of June 2026 04:56:37 PM] get_mpn() - START - Product ID: 40405 [Wednesday 24th of June 2026 04:56:37 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/40405 [Wednesday 24th of June 2026 04:56:37 PM] get_mpn() - BigCommerce API call successful for Product ID: 40405 [Wednesday 24th of June 2026 04:56:37 PM] get_mpn() - WARNING - MPN is empty for Product ID: 40405 [Wednesday 24th of June 2026 04:56:37 PM] get_mpn() - END - Product ID: 40405 | MPN: [Wednesday 24th of June 2026 04:56:37 PM] check_for_ebms_product() - START - SKU: ART90002897 [Wednesday 24th of June 2026 04:56:37 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ART90002897%27 [Wednesday 24th of June 2026 04:56:37 PM] check_for_ebms_product() - EBMS API call successful for SKU: ART90002897 [Wednesday 24th of June 2026 04:56:37 PM] check_for_ebms_product() - SKU: ART90002897 found in EBMS [Wednesday 24th of June 2026 04:56:37 PM] check_for_ebms_product() - END - SKU: ART90002897 | Found: true [Wednesday 24th of June 2026 04:56:37 PM] SKU ART90002897 found in EBMS - checking prices [Wednesday 24th of June 2026 04:56:37 PM] obtain_current_prices() - START - SKU: ART90002897 [Wednesday 24th of June 2026 04:56:37 PM] obtain_current_prices() - Checking Motorstate for SKU: ART90002897 [Wednesday 24th of June 2026 04:56:37 PM] check_for_ms_product() - START - SKU: ART90002897 [Wednesday 24th of June 2026 04:56:37 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ART90002897 [Wednesday 24th of June 2026 04:56:37 PM] check_for_ms_product() - Motorstate API call successful for SKU: ART90002897 [Wednesday 24th of June 2026 04:56:37 PM] check_for_ms_product() - SKU: ART90002897 found in Motorstate [Wednesday 24th of June 2026 04:56:37 PM] check_for_ms_product() - END - SKU: ART90002897 | Found: true [Wednesday 24th of June 2026 04:56:37 PM] obtain_current_prices() - SKU: ART90002897 found in Motorstate - Fetching prices [Wednesday 24th of June 2026 04:56:37 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ART90002897 - URL: https://api.motorstate.com/api/Product?partNumbers=ART90002897 [Wednesday 24th of June 2026 04:56:38 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ART90002897 - Base: 129.00 | Cost: 109.65 [Wednesday 24th of June 2026 04:56:38 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ART90002897 - Base: 129.00 | Cost: 109.65 [Wednesday 24th of June 2026 04:56:38 PM] obtain_current_prices() - END - SKU: ART90002897 [Wednesday 24th of June 2026 04:56:38 PM] SKU ART90002897 has existing EBMS prices - syncing BigCommerce price back (cost: 109.65, base: 129.00) [Wednesday 24th of June 2026 04:56:38 PM] update_product_price() - START - Product ID: 40405 | Base: 129 | Cost: 109.65 [Wednesday 24th of June 2026 04:56:38 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/40405 [Wednesday 24th of June 2026 04:56:38 PM] update_product_price() - PUT payload: {"price":129.0,"cost_price":109.650000000000005684341886080801486968994140625} [Wednesday 24th of June 2026 04:56:38 PM] update_product_price() - Attempt 1 of 6 for Product ID: 40405 [Wednesday 24th of June 2026 04:56:38 PM] update_product_price() - Price updated successfully for Product ID: 40405 - Base: 129 | Cost: 109.65 [Wednesday 24th of June 2026 04:56:38 PM] update_product_price() - END - Product ID: 40405 | Result: success [Wednesday 24th of June 2026 04:56:38 PM] BigCommerce price updated for Product ID: 40405 [Wednesday 24th of June 2026 04:56:38 PM] get_product_inventory() - START - SKU: ART90002897 [Wednesday 24th of June 2026 04:56:38 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ART90002897 [Wednesday 24th of June 2026 04:56:38 PM] get_product_inventory() - Motorstate API call successful for SKU: ART90002897 [Wednesday 24th of June 2026 04:56:38 PM] get_product_inventory() - Stock found for SKU: ART90002897 - Quantity: 0 | Running Total: 0 [Wednesday 24th of June 2026 04:56:38 PM] get_product_inventory() - END - SKU: ART90002897 | Total: 0 [Wednesday 24th of June 2026 04:56:38 PM] get_cf_id() - START - Product ID: 40405 [Wednesday 24th of June 2026 04:56:38 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/40405/custom-fields [Wednesday 24th of June 2026 04:56:38 PM] get_cf_id() - BigCommerce API call successful for Product ID: 40405 [Wednesday 24th of June 2026 04:56:38 PM] get_cf_id() - Custom field found for Product ID: 40405 | Field: online_stock_level | CF ID: 40295 [Wednesday 24th of June 2026 04:56:38 PM] get_cf_id() - END - Product ID: 40405 | CF ID: 40295 [Wednesday 24th of June 2026 04:56:38 PM] Updating inventory for SKU ART90002897 - stock: 0, CF ID: 40295 [Wednesday 24th of June 2026 04:56:38 PM] update_product_inventory() - START - Product ID: 40405 | Stock: 0 | CF ID: 40295 [Wednesday 24th of June 2026 04:56:38 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/40405/custom-fields/40295 [Wednesday 24th of June 2026 04:56:38 PM] update_product_inventory() - Inventory updated successfully for Product ID: 40405 | Stock: 0 [Wednesday 24th of June 2026 04:56:38 PM] update_product_inventory() - END - Product ID: 40405 | Result: success [Wednesday 24th of June 2026 04:56:38 PM] Inventory updated for SKU: ART90002897 [Wednesday 24th of June 2026 04:56:38 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ART90002897","M_QUAN_VIS":1,"UNIT":"129.00","UNIT_MEAS":"EA"}] [Wednesday 24th of June 2026 04:56:38 PM] Building payment record - Total: 201.7100 [Wednesday 24th of June 2026 04:56:38 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1947","ADDRESS1":"6600 State Highway 27","ADDRESS2":"","C_ADDRESS1":"6600 State Highway 27","C_ADDRESS2":"","C_CITY":"comfort tx","C_COUNTRY":"USA","C_EMAIL":"kyle.fox@j3co.com","C_NAME":"kyle fox","C_STATE":"TX","C_ZIP":"78013","ShippingAmount":"72.71","CITY":"comfort tx","EMAIL":"kyle.fox@j3co.com","ID":"APONLINE","NAME":"kyle fox","STATE":"TX","COUNTRY":"USA","ZIP":"78013","MEMO":"","DESCR":"BigCommerce Order - AP1947 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ART90002897","M_QUAN_VIS":1,"UNIT":"129.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"201.71","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 24th of June 2026 04:56:38 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1947 [Wednesday 24th of June 2026 04:56:38 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1947%27 [Wednesday 24th of June 2026 04:56:39 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1947 [Wednesday 24th of June 2026 04:56:39 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1947 found in EBMS [Wednesday 24th of June 2026 04:56:39 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1947 | Found: true [Wednesday 24th of June 2026 04:56:39 PM] Invoice AP1947 already exists in EBMS - patching [Wednesday 24th of June 2026 04:56:39 PM] patch_ebms_invoice() - START - Invoice: AP1947 [Wednesday 24th of June 2026 04:56:39 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1947","ADDRESS1":"6600 State Highway 27","ADDRESS2":"","C_ADDRESS1":"6600 State Highway 27","C_ADDRESS2":"","C_CITY":"comfort tx","C_COUNTRY":"USA","C_EMAIL":"kyle.fox@j3co.com","C_NAME":"kyle fox","C_STATE":"TX","C_ZIP":"78013","ShippingAmount":"72.71","CITY":"comfort tx","EMAIL":"kyle.fox@j3co.com","ID":"APONLINE","NAME":"kyle fox","STATE":"TX","COUNTRY":"USA","ZIP":"78013","MEMO":"","DESCR":"BigCommerce Order - AP1947 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ART90002897","M_QUAN_VIS":1,"UNIT":"129.00","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"201.71","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 24th of June 2026 04:56:39 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1947%27 [Wednesday 24th of June 2026 04:56:39 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1947 [Wednesday 24th of June 2026 04:56:39 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1947 [Wednesday 24th of June 2026 04:56:39 PM] patch_ebms_invoice() - END - Invoice: AP1947 [Wednesday 24th of June 2026 04:56:39 PM] Invoice AP1947 patched successfully [Wednesday 24th of June 2026 04:56:39 PM] ORDER WEBHOOK COMPLETED - Order ID: 1947 | Invoice: AP1947