[Tuesday 9th of June 2026 05:21:40 PM] ORDER WEBHOOK STARTED - Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] Fetching customer data for Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] get_order_customer_data() - START - Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1917 [Tuesday 9th of June 2026 05:21:40 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] get_order_customer_data() - Parsing order response for Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Joe Schmit | Email: jbsauto@commnet.net | Total: 77.6700 | Shipping: 24.18 [Tuesday 9th of June 2026 05:21:40 PM] get_order_customer_data() - END - Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] Customer data received: {"id":0,"email":"jbsauto@commnet.net","address_1":"603 E Lake St","address_2":"","city":"Ventura","state":"IA","country":"USA","zip":"50482","f_name":"Joe","l_name":"Schmit","contact_5":"jbsauto@commnet.net","contact_1":"6414258733","contact_4":"Joe Schmit"} [Tuesday 9th of June 2026 05:21:40 PM] Fetching shipping info for Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] get_order_shipping_info() - START - Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1917/shipping_addresses [Tuesday 9th of June 2026 05:21:40 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1917 | Name: Joe Schmit | Address: 603 E Lake St, Ventura, Iowa, 50482 [Tuesday 9th of June 2026 05:21:40 PM] get_order_shipping_info() - END - Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] Shipping info received: {"id":1816,"order_id":1917,"first_name":"Joe","last_name":"Schmit","company":"Jbs auto","street_1":"603 E Lake St","street_2":"","city":"Ventura","zip":"50482","country":"United States","country_iso2":"US","state":"Iowa","email":"jbsauto@commnet.net","phone":"6414258733","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"24.1800","cost_ex_tax":"24.1800","cost_inc_tax":"24.1800","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\/1917\/shipping_addresses\/1816\/shipping_quotes","resource":"\/orders\/1917\/shipping_addresses\/1816\/shipping_quotes"},"form_fields":[]} [Tuesday 9th of June 2026 05:21:40 PM] Resolved Customer ID: APONLINE [Tuesday 9th of June 2026 05:21:40 PM] Building order object for Invoice: AP1917 [Tuesday 9th of June 2026 05:21:40 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1917","ADDRESS1":"603 E Lake St","ADDRESS2":"","C_ADDRESS1":"603 E Lake St","C_ADDRESS2":"","C_CITY":"Ventura","C_COUNTRY":"USA","C_EMAIL":"jbsauto@commnet.net","C_NAME":"Joe Schmit","C_STATE":"IA","C_ZIP":"50482","ShippingAmount":"24.18","CITY":"Ventura","EMAIL":"jbsauto@commnet.net","ID":"APONLINE","NAME":"Joe Schmit","STATE":"IA","COUNTRY":"USA","ZIP":"50482","MEMO":"","DESCR":"BigCommerce Order - AP1917 - Customer APONLINE"} [Tuesday 9th of June 2026 05:21:40 PM] Guest checkout detected (APONLINE) - skipping customer sync [Tuesday 9th of June 2026 05:21:40 PM] Fetching products from BigCommerce for Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] BigCommerce API call successful for Order ID: 1917 [Tuesday 9th of June 2026 05:21:40 PM] Products received: 1 item(s) [Tuesday 9th of June 2026 05:21:40 PM] Processing product SKU: OBE6010 | Qty: 1 | Price: 49.9900 [Tuesday 9th of June 2026 05:21:40 PM] get_mpn() - START - Product ID: 24837 [Tuesday 9th of June 2026 05:21:40 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/24837 [Tuesday 9th of June 2026 05:21:40 PM] get_mpn() - BigCommerce API call successful for Product ID: 24837 [Tuesday 9th of June 2026 05:21:40 PM] get_mpn() - WARNING - MPN is empty for Product ID: 24837 [Tuesday 9th of June 2026 05:21:40 PM] get_mpn() - END - Product ID: 24837 | MPN: [Tuesday 9th of June 2026 05:21:40 PM] check_for_ebms_product() - START - SKU: OBE6010 [Tuesday 9th of June 2026 05:21:40 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27OBE6010%27 [Tuesday 9th of June 2026 05:21:41 PM] check_for_ebms_product() - EBMS API call successful for SKU: OBE6010 [Tuesday 9th of June 2026 05:21:41 PM] check_for_ebms_product() - SKU: OBE6010 not found in EBMS [Tuesday 9th of June 2026 05:21:41 PM] check_for_ebms_product() - END - SKU: OBE6010 | Found: false [Tuesday 9th of June 2026 05:21:41 PM] SKU OBE6010 not found in EBMS - creating new part [Tuesday 9th of June 2026 05:21:41 PM] get_product_desc() - START - Product ID: 24837 [Tuesday 9th of June 2026 05:21:41 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/24837 [Tuesday 9th of June 2026 05:21:41 PM] get_product_desc() - BigCommerce API call successful for Product ID: 24837 [Tuesday 9th of June 2026 05:21:41 PM] get_product_desc() - Description retrieved for Product ID: 24837 - Description: Filter Element - Oberg Style - 60 Micron Stainless - Oberg 600 Series - Each [Tuesday 9th of June 2026 05:21:41 PM] get_product_desc() - END - Product ID: 24837 [Tuesday 9th of June 2026 05:21:41 PM] get_ms_product() - START - SKU: OBE6010 [Tuesday 9th of June 2026 05:21:41 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=OBE6010 [Tuesday 9th of June 2026 05:21:41 PM] get_ms_product() - Motorstate API call successful for SKU: OBE6010 [Tuesday 9th of June 2026 05:21:41 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: OBE6010 - Response: [{"Found":false,"PartNumber":"OBE6010"}] [Tuesday 9th of June 2026 05:21:41 PM] get_ms_product() - END - SKU: OBE6010 [Tuesday 9th of June 2026 05:21:41 PM] MS pricing found for SKU OBE6010 - base: , cost: [Tuesday 9th of June 2026 05:21:41 PM] create_new_part() - START - SKU: OBE6010 | Base: 49.99 | Cost: 40.28 | Weight: 0.0900 | MPN: [Tuesday 9th of June 2026 05:21:41 PM] create_new_part() - Description parsed - DESCR_1: Filter Element - Oberg Style - 60 Micron Stainless - Oberg 600 Series - Each | DESCR_2: [Tuesday 9th of June 2026 05:21:41 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Tuesday 9th of June 2026 05:21:41 PM] create_new_part() - POST payload: {"ID":"OBE6010","DESCR_1":"Filter Element - Oberg Style - 60 Micron Stainless - Oberg 600 Series - Each","DESCR_2":"","DESCR_3":"Filter Element - Oberg Style - 60 Micron Stainless - Oberg 600 Series - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"40.28","BASE":"49.99","WEIGHT":"0.0900","MFG_PART":"","TREE_ID":"603"} [Tuesday 9th of June 2026 05:21:43 PM] create_new_part() - EBMS API call successful for SKU: OBE6010 [Tuesday 9th of June 2026 05:21:43 PM] create_new_part() - Part created successfully in EBMS - SKU: OBE6010 - {"id":"OBE6010","cost":"40.28","base":"49.99","description":"Filter Element - Oberg Style - 60 Micron Stainless - Oberg 600 Series - Each","tree_id":" 603"} [Tuesday 9th of June 2026 05:21:43 PM] create_new_part() - Sending new part notification email for SKU: OBE6010 [Tuesday 9th of June 2026 05:21:44 PM] create_new_part() - Notification email sent successfully for SKU: OBE6010 [Tuesday 9th of June 2026 05:21:44 PM] create_new_part() - END - SKU: OBE6010 [Tuesday 9th of June 2026 05:21:44 PM] New part created in EBMS for SKU: OBE6010 [Tuesday 9th of June 2026 05:21:44 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"OBE6010","M_QUAN_VIS":1,"UNIT":"49.99","UNIT_MEAS":"EA"}] [Tuesday 9th of June 2026 05:21:44 PM] Building payment record - Total: 77.6700 [Tuesday 9th of June 2026 05:21:44 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1917","ADDRESS1":"603 E Lake St","ADDRESS2":"","C_ADDRESS1":"603 E Lake St","C_ADDRESS2":"","C_CITY":"Ventura","C_COUNTRY":"USA","C_EMAIL":"jbsauto@commnet.net","C_NAME":"Joe Schmit","C_STATE":"IA","C_ZIP":"50482","ShippingAmount":"24.18","CITY":"Ventura","EMAIL":"jbsauto@commnet.net","ID":"APONLINE","NAME":"Joe Schmit","STATE":"IA","COUNTRY":"USA","ZIP":"50482","MEMO":"","DESCR":"BigCommerce Order - AP1917 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"OBE6010","M_QUAN_VIS":1,"UNIT":"49.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.67","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 9th of June 2026 05:21:44 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1917 [Tuesday 9th of June 2026 05:21:44 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1917%27 [Tuesday 9th of June 2026 05:21:44 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1917 [Tuesday 9th of June 2026 05:21:44 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1917 not found in EBMS [Tuesday 9th of June 2026 05:21:44 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1917 | Found: false [Tuesday 9th of June 2026 05:21:44 PM] Invoice AP1917 does not exist in EBMS - creating [Tuesday 9th of June 2026 05:21:44 PM] create_ebms_invoice() - START - Invoice: AP1917 [Tuesday 9th of June 2026 05:21:44 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1917","ADDRESS1":"603 E Lake St","ADDRESS2":"","C_ADDRESS1":"603 E Lake St","C_ADDRESS2":"","C_CITY":"Ventura","C_COUNTRY":"USA","C_EMAIL":"jbsauto@commnet.net","C_NAME":"Joe Schmit","C_STATE":"IA","C_ZIP":"50482","ShippingAmount":"24.18","CITY":"Ventura","EMAIL":"jbsauto@commnet.net","ID":"APONLINE","NAME":"Joe Schmit","STATE":"IA","COUNTRY":"USA","ZIP":"50482","MEMO":"","DESCR":"BigCommerce Order - AP1917 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"OBE6010","M_QUAN_VIS":1,"UNIT":"49.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.67","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 9th of June 2026 05:21:44 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 9th of June 2026 05:21:53 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1917 [Tuesday 9th of June 2026 05:21:53 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1917 - Response: {"@odata.context":"http:\/\/localhost:62836\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4d4a4a44-4f50-554a-4636-4e4242303030","AUTOID":"DJJMPOJUF6NBB000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-53.49000000000000198951966012828052043914794921875,"BAL_CUST_X":-53.49000000000000198951966012828052043914794921875,"BALANCE":-53.49000000000000198951966012828052043914794921875,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":3.5,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":77.6700000000000017053025658242404460906982421875,"TOTAL_S_SO":49.99000000000000198951966012828052043914794921875,"TOTAL_SO":77.6700000000000017053025658242404460906982421875,"TOTAL_W":0,"TTLPROCPMT":77.6700000000000017053025658242404460906982421875,"TOTAL":24.17999999999999971578290569595992565155029296875,"FREIGHT":24.17999999999999971578290569595992565155029296875,"HANDLING":0,"SHIPPING":24.17999999999999971578290569595992565155029296875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"603 E Lake St","ADDRESS2":"","C_EMAIL":"jbsauto@commnet.net","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-09T00:00:00Z","CHECK_NO":" APBC","CITY":"Ventura","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-09T00:00:00Z","E_DATE":"2026-06-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jbsauto@commnet.net","IADDRESS":"603 E Lake St , Ventura, IA 50482","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-09T00:00:00Z","INVOICE":"AP1917","MAN_TAX":true,"NAME":"Joe Schmit","PHONE":"","PROCESS":"Default","STATE":"IA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"50482","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"603 E Lake St","C_ADDRESS2":"","C_CITY":"Ventura","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Joe Schmit","C_STATE":"IA","C_ZIP":"50482","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1917 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-09T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 9th of June 2026 05:21:53 PM] create_ebms_invoice() - END - Invoice: AP1917 [Tuesday 9th of June 2026 05:21:53 PM] Invoice AP1917 created successfully [Tuesday 9th of June 2026 05:21:53 PM] ORDER WEBHOOK COMPLETED - Order ID: 1917 | Invoice: AP1917 [Tuesday 9th of June 2026 05:22:50 PM] ORDER WEBHOOK STARTED - Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] Fetching customer data for Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] get_order_customer_data() - START - Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1917 [Tuesday 9th of June 2026 05:22:50 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] get_order_customer_data() - Parsing order response for Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Joe Schmit | Email: jbsauto@commnet.net | Total: 77.6700 | Shipping: 24.18 [Tuesday 9th of June 2026 05:22:50 PM] get_order_customer_data() - END - Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] Customer data received: {"id":0,"email":"jbsauto@commnet.net","address_1":"603 E Lake St","address_2":"","city":"Ventura","state":"IA","country":"USA","zip":"50482","f_name":"Joe","l_name":"Schmit","contact_5":"jbsauto@commnet.net","contact_1":"6414258733","contact_4":"Joe Schmit"} [Tuesday 9th of June 2026 05:22:50 PM] Fetching shipping info for Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] get_order_shipping_info() - START - Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1917/shipping_addresses [Tuesday 9th of June 2026 05:22:50 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1917 | Name: Joe Schmit | Address: 603 E Lake St, Ventura, Iowa, 50482 [Tuesday 9th of June 2026 05:22:50 PM] get_order_shipping_info() - END - Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] Shipping info received: {"id":1816,"order_id":1917,"first_name":"Joe","last_name":"Schmit","company":"Jbs auto","street_1":"603 E Lake St","street_2":"","city":"Ventura","zip":"50482","country":"United States","country_iso2":"US","state":"Iowa","email":"jbsauto@commnet.net","phone":"6414258733","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"24.1800","cost_ex_tax":"24.1800","cost_inc_tax":"24.1800","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\/1917\/shipping_addresses\/1816\/shipping_quotes","resource":"\/orders\/1917\/shipping_addresses\/1816\/shipping_quotes"},"form_fields":[]} [Tuesday 9th of June 2026 05:22:50 PM] Resolved Customer ID: APONLINE [Tuesday 9th of June 2026 05:22:50 PM] Building order object for Invoice: AP1917 [Tuesday 9th of June 2026 05:22:50 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1917","ADDRESS1":"603 E Lake St","ADDRESS2":"","C_ADDRESS1":"603 E Lake St","C_ADDRESS2":"","C_CITY":"Ventura","C_COUNTRY":"USA","C_EMAIL":"jbsauto@commnet.net","C_NAME":"Joe Schmit","C_STATE":"IA","C_ZIP":"50482","ShippingAmount":"24.18","CITY":"Ventura","EMAIL":"jbsauto@commnet.net","ID":"APONLINE","NAME":"Joe Schmit","STATE":"IA","COUNTRY":"USA","ZIP":"50482","MEMO":"","DESCR":"BigCommerce Order - AP1917 - Customer APONLINE"} [Tuesday 9th of June 2026 05:22:50 PM] Guest checkout detected (APONLINE) - skipping customer sync [Tuesday 9th of June 2026 05:22:50 PM] Fetching products from BigCommerce for Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] BigCommerce API call successful for Order ID: 1917 [Tuesday 9th of June 2026 05:22:50 PM] Products received: 1 item(s) [Tuesday 9th of June 2026 05:22:50 PM] Processing product SKU: OBE6010 | Qty: 1 | Price: 49.9900 [Tuesday 9th of June 2026 05:22:50 PM] get_mpn() - START - Product ID: 24837 [Tuesday 9th of June 2026 05:22:50 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/24837 [Tuesday 9th of June 2026 05:22:51 PM] get_mpn() - BigCommerce API call successful for Product ID: 24837 [Tuesday 9th of June 2026 05:22:51 PM] get_mpn() - WARNING - MPN is empty for Product ID: 24837 [Tuesday 9th of June 2026 05:22:51 PM] get_mpn() - END - Product ID: 24837 | MPN: [Tuesday 9th of June 2026 05:22:51 PM] check_for_ebms_product() - START - SKU: OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27OBE6010%27 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ebms_product() - EBMS API call successful for SKU: OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ebms_product() - SKU: OBE6010 found in EBMS [Tuesday 9th of June 2026 05:22:51 PM] check_for_ebms_product() - END - SKU: OBE6010 | Found: true [Tuesday 9th of June 2026 05:22:51 PM] SKU OBE6010 found in EBMS - checking prices [Tuesday 9th of June 2026 05:22:51 PM] obtain_current_prices() - START - SKU: OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] obtain_current_prices() - Checking Motorstate for SKU: OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ms_product() - START - SKU: OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ms_product() - Motorstate API call successful for SKU: OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ms_product() - SKU: OBE6010 not found in Motorstate [Tuesday 9th of June 2026 05:22:51 PM] check_for_ms_product() - END - SKU: OBE6010 | Found: false [Tuesday 9th of June 2026 05:22:51 PM] obtain_current_prices() - SKU: OBE6010 not found in Motorstate - Skipping to EBMS [Tuesday 9th of June 2026 05:22:51 PM] obtain_current_prices() - Checking EBMS for SKU: OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ebms_product() - START - SKU: OBE6010 [Tuesday 9th of June 2026 05:22:51 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27OBE6010%27 [Tuesday 9th of June 2026 05:22:52 PM] check_for_ebms_product() - EBMS API call successful for SKU: OBE6010 [Tuesday 9th of June 2026 05:22:52 PM] check_for_ebms_product() - SKU: OBE6010 found in EBMS [Tuesday 9th of June 2026 05:22:52 PM] check_for_ebms_product() - END - SKU: OBE6010 | Found: true [Tuesday 9th of June 2026 05:22:52 PM] obtain_current_prices() - SKU: OBE6010 found in EBMS - Fetching prices [Tuesday 9th of June 2026 05:22:52 PM] obtain_current_prices() - EBMS API call attempt 1 for SKU: OBE6010 - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27OBE6010%27 [Tuesday 9th of June 2026 05:22:52 PM] obtain_current_prices() - EBMS prices retrieved for SKU: OBE6010 - Base: 49.99 | Cost: 40.28 [Tuesday 9th of June 2026 05:22:52 PM] obtain_current_prices() - END - SKU: OBE6010 | Final prices - Base: 49.99 | Cost: 40.28 [Tuesday 9th of June 2026 05:22:52 PM] SKU OBE6010 has existing EBMS prices - syncing BigCommerce price back (cost: 40.28, base: 49.99) [Tuesday 9th of June 2026 05:22:52 PM] update_product_price() - START - Product ID: 24837 | Base: 49.99 | Cost: 40.28 [Tuesday 9th of June 2026 05:22:52 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/24837 [Tuesday 9th of June 2026 05:22:52 PM] update_product_price() - PUT payload: {"price":49.99000000000000198951966012828052043914794921875,"cost_price":40.280000000000001136868377216160297393798828125} [Tuesday 9th of June 2026 05:22:52 PM] update_product_price() - Attempt 1 of 6 for Product ID: 24837 [Tuesday 9th of June 2026 05:22:52 PM] update_product_price() - Price updated successfully for Product ID: 24837 - Base: 49.99 | Cost: 40.28 [Tuesday 9th of June 2026 05:22:52 PM] update_product_price() - END - Product ID: 24837 | Result: success [Tuesday 9th of June 2026 05:22:52 PM] BigCommerce price updated for Product ID: 24837 [Tuesday 9th of June 2026 05:22:52 PM] get_product_inventory() - START - SKU: OBE6010 [Tuesday 9th of June 2026 05:22:52 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=OBE6010 [Tuesday 9th of June 2026 05:22:52 PM] get_product_inventory() - Motorstate API call successful for SKU: OBE6010 [Tuesday 9th of June 2026 05:22:52 PM] get_product_inventory() - SKU: OBE6010 not found in Motorstate response item [Tuesday 9th of June 2026 05:22:52 PM] get_product_inventory() - END - SKU: OBE6010 | Total: 0 [Tuesday 9th of June 2026 05:22:52 PM] get_cf_id() - START - Product ID: 24837 [Tuesday 9th of June 2026 05:22:52 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/24837/custom-fields [Tuesday 9th of June 2026 05:22:53 PM] get_cf_id() - BigCommerce API call successful for Product ID: 24837 [Tuesday 9th of June 2026 05:22:53 PM] get_cf_id() - Custom field found for Product ID: 24837 | Field: online_stock_level | CF ID: 24727 [Tuesday 9th of June 2026 05:22:53 PM] get_cf_id() - END - Product ID: 24837 | CF ID: 24727 [Tuesday 9th of June 2026 05:22:53 PM] Updating inventory for SKU OBE6010 - stock: 0, CF ID: 24727 [Tuesday 9th of June 2026 05:22:53 PM] update_product_inventory() - START - Product ID: 24837 | Stock: 0 | CF ID: 24727 [Tuesday 9th of June 2026 05:22:53 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/24837/custom-fields/24727 [Tuesday 9th of June 2026 05:22:53 PM] update_product_inventory() - Inventory updated successfully for Product ID: 24837 | Stock: 0 [Tuesday 9th of June 2026 05:22:53 PM] update_product_inventory() - END - Product ID: 24837 | Result: success [Tuesday 9th of June 2026 05:22:53 PM] Inventory updated for SKU: OBE6010 [Tuesday 9th of June 2026 05:22:53 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"OBE6010","M_QUAN_VIS":1,"UNIT":"49.99","UNIT_MEAS":"EA"}] [Tuesday 9th of June 2026 05:22:53 PM] Building payment record - Total: 77.6700 [Tuesday 9th of June 2026 05:22:53 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1917","ADDRESS1":"603 E Lake St","ADDRESS2":"","C_ADDRESS1":"603 E Lake St","C_ADDRESS2":"","C_CITY":"Ventura","C_COUNTRY":"USA","C_EMAIL":"jbsauto@commnet.net","C_NAME":"Joe Schmit","C_STATE":"IA","C_ZIP":"50482","ShippingAmount":"24.18","CITY":"Ventura","EMAIL":"jbsauto@commnet.net","ID":"APONLINE","NAME":"Joe Schmit","STATE":"IA","COUNTRY":"USA","ZIP":"50482","MEMO":"","DESCR":"BigCommerce Order - AP1917 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"OBE6010","M_QUAN_VIS":1,"UNIT":"49.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.67","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 9th of June 2026 05:22:53 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1917 [Tuesday 9th of June 2026 05:22:53 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1917%27 [Tuesday 9th of June 2026 05:22:54 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1917 [Tuesday 9th of June 2026 05:22:54 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1917 found in EBMS [Tuesday 9th of June 2026 05:22:54 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1917 | Found: true [Tuesday 9th of June 2026 05:22:54 PM] Invoice AP1917 already exists in EBMS - patching [Tuesday 9th of June 2026 05:22:54 PM] patch_ebms_invoice() - START - Invoice: AP1917 [Tuesday 9th of June 2026 05:22:54 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1917","ADDRESS1":"603 E Lake St","ADDRESS2":"","C_ADDRESS1":"603 E Lake St","C_ADDRESS2":"","C_CITY":"Ventura","C_COUNTRY":"USA","C_EMAIL":"jbsauto@commnet.net","C_NAME":"Joe Schmit","C_STATE":"IA","C_ZIP":"50482","ShippingAmount":"24.18","CITY":"Ventura","EMAIL":"jbsauto@commnet.net","ID":"APONLINE","NAME":"Joe Schmit","STATE":"IA","COUNTRY":"USA","ZIP":"50482","MEMO":"","DESCR":"BigCommerce Order - AP1917 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"OBE6010","M_QUAN_VIS":1,"UNIT":"49.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.67","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 9th of June 2026 05:22:54 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1917%27 [Tuesday 9th of June 2026 05:22:54 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1917 [Tuesday 9th of June 2026 05:22:54 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1917 [Tuesday 9th of June 2026 05:22:54 PM] patch_ebms_invoice() - END - Invoice: AP1917 [Tuesday 9th of June 2026 05:22:54 PM] Invoice AP1917 patched successfully [Tuesday 9th of June 2026 05:22:54 PM] ORDER WEBHOOK COMPLETED - Order ID: 1917 | Invoice: AP1917