[Sunday 1st of November 2026 08:09:00 AM] ORDER WEBHOOK STARTED - Order ID: 2439 [Sunday 1st of November 2026 08:09:00 AM] Fetching customer data for Order ID: 2439 [Sunday 1st of November 2026 08:09:00 AM] get_order_customer_data() - START - Order ID: 2439 [Sunday 1st of November 2026 08:09:00 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2439 [Sunday 1st of November 2026 08:09:01 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] get_order_customer_data() - Parsing order response for Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Marc Lansink | Email: mlansink@live.com | Total: 141.5500 | Shipping: 28.15 [Sunday 1st of November 2026 08:09:01 AM] get_order_customer_data() - END - Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] Customer data received: {"id":0,"email":"mlansink@live.com","address_1":"1083 160th Street","address_2":"","city":"BATTLE CREEK","state":"IA","country":"USA","zip":"51006-8525","f_name":"Marc","l_name":"Lansink","contact_5":"mlansink@live.com","contact_1":"7123691595","contact_4":"Marc Lansink"} [Sunday 1st of November 2026 08:09:01 AM] Fetching shipping info for Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] get_order_shipping_info() - START - Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2439/shipping_addresses [Sunday 1st of November 2026 08:09:01 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2439 | Name: Marc Lansink | Address: 1083 160th Street, BATTLE CREEK, Iowa, 51006-8525 [Sunday 1st of November 2026 08:09:01 AM] get_order_shipping_info() - END - Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] Shipping info received: {"id":2338,"order_id":2439,"first_name":"Marc","last_name":"Lansink","company":"","street_1":"1083 160th Street","street_2":"","city":"BATTLE CREEK","zip":"51006-8525","country":"United States","country_iso2":"US","state":"Iowa","email":"mlansink@live.com","phone":"7123691595","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"28.1500","cost_ex_tax":"28.1500","cost_inc_tax":"28.1500","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2439\/shipping_addresses\/2338\/shipping_quotes","resource":"\/orders\/2439\/shipping_addresses\/2338\/shipping_quotes"},"form_fields":[]} [Sunday 1st of November 2026 08:09:01 AM] Resolved Customer ID: APONLINE [Sunday 1st of November 2026 08:09:01 AM] Building order object for Invoice: AP2439 [Sunday 1st of November 2026 08:09:01 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2439","ADDRESS1":"1083 160th Street","ADDRESS2":"","C_ADDRESS1":"1083 160th Street","C_ADDRESS2":"","C_CITY":"BATTLE CREEK","C_COUNTRY":"USA","C_EMAIL":"mlansink@live.com","C_NAME":"Marc Lansink","C_STATE":"IA","C_ZIP":"51006-8525","ShippingAmount":"28.15","CITY":"BATTLE CREEK","EMAIL":"mlansink@live.com","ID":"APONLINE","NAME":"Marc Lansink","STATE":"IA","COUNTRY":"USA","ZIP":"51006-8525","MEMO":"","DESCR":"BigCommerce Order - AP2439 - Customer APONLINE"} [Sunday 1st of November 2026 08:09:01 AM] Guest checkout detected (APONLINE) - skipping customer sync [Sunday 1st of November 2026 08:09:01 AM] Fetching products from BigCommerce for Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] BigCommerce API call successful for Order ID: 2439 [Sunday 1st of November 2026 08:09:01 AM] Products received: 1 item(s) [Sunday 1st of November 2026 08:09:01 AM] Processing product SKU: CHACP10 | Qty: 2 | Price: 52.9900 [Sunday 1st of November 2026 08:09:01 AM] get_mpn() - START - Product ID: 83554 [Sunday 1st of November 2026 08:09:01 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83554 [Sunday 1st of November 2026 08:09:01 AM] get_mpn() - BigCommerce API call successful for Product ID: 83554 [Sunday 1st of November 2026 08:09:01 AM] get_mpn() - WARNING - MPN is empty for Product ID: 83554 [Sunday 1st of November 2026 08:09:01 AM] get_mpn() - END - Product ID: 83554 | MPN: [Sunday 1st of November 2026 08:09:01 AM] check_for_ebms_product() - START - SKU: CHACP10 [Sunday 1st of November 2026 08:09:01 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27CHACP10%27 [Sunday 1st of November 2026 08:09:04 AM] check_for_ebms_product() - EBMS API call successful for SKU: CHACP10 [Sunday 1st of November 2026 08:09:04 AM] check_for_ebms_product() - SKU: CHACP10 found in EBMS [Sunday 1st of November 2026 08:09:04 AM] check_for_ebms_product() - END - SKU: CHACP10 | Found: true [Sunday 1st of November 2026 08:09:04 AM] SKU CHACP10 found in EBMS - checking prices [Sunday 1st of November 2026 08:09:04 AM] obtain_current_prices() - START - SKU: CHACP10 [Sunday 1st of November 2026 08:09:04 AM] obtain_current_prices() - Checking Motorstate for SKU: CHACP10 [Sunday 1st of November 2026 08:09:04 AM] check_for_ms_product() - START - SKU: CHACP10 [Sunday 1st of November 2026 08:09:04 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=CHACP10 [Sunday 1st of November 2026 08:09:04 AM] check_for_ms_product() - Motorstate API call successful for SKU: CHACP10 [Sunday 1st of November 2026 08:09:04 AM] check_for_ms_product() - SKU: CHACP10 found in Motorstate [Sunday 1st of November 2026 08:09:04 AM] check_for_ms_product() - END - SKU: CHACP10 | Found: true [Sunday 1st of November 2026 08:09:04 AM] obtain_current_prices() - SKU: CHACP10 found in Motorstate - Fetching prices [Sunday 1st of November 2026 08:09:04 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: CHACP10 - URL: https://api.motorstate.com/api/Product?partNumbers=CHACP10 [Sunday 1st of November 2026 08:09:05 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: CHACP10 - Base: 52.99 | Cost: 43.99 [Sunday 1st of November 2026 08:09:05 AM] obtain_current_prices() - Returning Motorstate prices for SKU: CHACP10 - Base: 52.99 | Cost: 43.99 [Sunday 1st of November 2026 08:09:05 AM] obtain_current_prices() - END - SKU: CHACP10 [Sunday 1st of November 2026 08:09:05 AM] SKU CHACP10 has existing EBMS prices - syncing BigCommerce price back (cost: 43.99, base: 52.99) [Sunday 1st of November 2026 08:09:05 AM] update_product_price() - START - Product ID: 83554 | Base: 52.99 | Cost: 43.99 [Sunday 1st of November 2026 08:09:05 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83554 [Sunday 1st of November 2026 08:09:05 AM] update_product_price() - PUT payload: {"price":52.99000000000000198951966012828052043914794921875,"cost_price":43.99000000000000198951966012828052043914794921875} [Sunday 1st of November 2026 08:09:05 AM] update_product_price() - Attempt 1 of 6 for Product ID: 83554 [Sunday 1st of November 2026 08:09:05 AM] update_product_price() - Price updated successfully for Product ID: 83554 - Base: 52.99 | Cost: 43.99 [Sunday 1st of November 2026 08:09:05 AM] update_product_price() - END - Product ID: 83554 | Result: success [Sunday 1st of November 2026 08:09:05 AM] BigCommerce price updated for Product ID: 83554 [Sunday 1st of November 2026 08:09:05 AM] get_product_inventory() - START - SKU: CHACP10 [Sunday 1st of November 2026 08:09:05 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=CHACP10 [Sunday 1st of November 2026 08:09:05 AM] get_product_inventory() - Motorstate API call successful for SKU: CHACP10 [Sunday 1st of November 2026 08:09:05 AM] get_product_inventory() - Stock found for SKU: CHACP10 - Quantity: 100 | Running Total: 100 [Sunday 1st of November 2026 08:09:05 AM] get_product_inventory() - END - SKU: CHACP10 | Total: 100 [Sunday 1st of November 2026 08:09:05 AM] get_cf_id() - START - Product ID: 83554 [Sunday 1st of November 2026 08:09:05 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83554/custom-fields [Sunday 1st of November 2026 08:09:05 AM] get_cf_id() - BigCommerce API call successful for Product ID: 83554 [Sunday 1st of November 2026 08:09:05 AM] get_cf_id() - Custom field found for Product ID: 83554 | Field: online_stock_level | CF ID: 83444 [Sunday 1st of November 2026 08:09:05 AM] get_cf_id() - END - Product ID: 83554 | CF ID: 83444 [Sunday 1st of November 2026 08:09:05 AM] Updating inventory for SKU CHACP10 - stock: 100, CF ID: 83444 [Sunday 1st of November 2026 08:09:05 AM] update_product_inventory() - START - Product ID: 83554 | Stock: 100 | CF ID: 83444 [Sunday 1st of November 2026 08:09:05 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83554/custom-fields/83444 [Sunday 1st of November 2026 08:09:05 AM] update_product_inventory() - Inventory updated successfully for Product ID: 83554 | Stock: 100 [Sunday 1st of November 2026 08:09:05 AM] update_product_inventory() - END - Product ID: 83554 | Result: success [Sunday 1st of November 2026 08:09:05 AM] Inventory updated for SKU: CHACP10 [Sunday 1st of November 2026 08:09:05 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"CHACP10","M_QUAN_VIS":2,"UNIT":"52.99","UNIT_MEAS":"EA"}] [Sunday 1st of November 2026 08:09:05 AM] Building payment record - Total: 141.5500 [Sunday 1st of November 2026 08:09:05 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2439","ADDRESS1":"1083 160th Street","ADDRESS2":"","C_ADDRESS1":"1083 160th Street","C_ADDRESS2":"","C_CITY":"BATTLE CREEK","C_COUNTRY":"USA","C_EMAIL":"mlansink@live.com","C_NAME":"Marc Lansink","C_STATE":"IA","C_ZIP":"51006-8525","ShippingAmount":"28.15","CITY":"BATTLE CREEK","EMAIL":"mlansink@live.com","ID":"APONLINE","NAME":"Marc Lansink","STATE":"IA","COUNTRY":"USA","ZIP":"51006-8525","MEMO":"","DESCR":"BigCommerce Order - AP2439 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"CHACP10","M_QUAN_VIS":2,"UNIT":"52.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"141.55","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Sunday 1st of November 2026 08:09:05 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2439 [Sunday 1st of November 2026 08:09:05 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2439%27 [Sunday 1st of November 2026 08:09:06 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2439 [Sunday 1st of November 2026 08:09:06 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2439 not found in EBMS [Sunday 1st of November 2026 08:09:06 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2439 | Found: false [Sunday 1st of November 2026 08:09:06 AM] Invoice AP2439 does not exist in EBMS - creating [Sunday 1st of November 2026 08:09:06 AM] create_ebms_invoice() - START - Invoice: AP2439 [Sunday 1st of November 2026 08:09:06 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2439","ADDRESS1":"1083 160th Street","ADDRESS2":"","C_ADDRESS1":"1083 160th Street","C_ADDRESS2":"","C_CITY":"BATTLE CREEK","C_COUNTRY":"USA","C_EMAIL":"mlansink@live.com","C_NAME":"Marc Lansink","C_STATE":"IA","C_ZIP":"51006-8525","ShippingAmount":"28.15","CITY":"BATTLE CREEK","EMAIL":"mlansink@live.com","ID":"APONLINE","NAME":"Marc Lansink","STATE":"IA","COUNTRY":"USA","ZIP":"51006-8525","MEMO":"","DESCR":"BigCommerce Order - AP2439 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"CHACP10","M_QUAN_VIS":2,"UNIT":"52.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"141.55","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Sunday 1st of November 2026 08:09:06 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Sunday 1st of November 2026 08:09:15 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2439 [Sunday 1st of November 2026 08:09:15 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2439 - Response: {"@odata.context":"http:\/\/localhost:59135\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4f464455-4b32-3030-5456-395532303030","AUTOID":"UDFO2K00TV9U2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-113.400000000000005684341886080801486968994140625,"BAL_CUST_X":-113.400000000000005684341886080801486968994140625,"BALANCE":-113.400000000000005684341886080801486968994140625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":7.4199999999999999289457264239899814128875732421875,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":141.55000000000001136868377216160297393798828125,"TOTAL_S_SO":105.9800000000000039790393202565610408782958984375,"TOTAL_SO":141.55000000000001136868377216160297393798828125,"TOTAL_W":0,"TTLPROCPMT":141.55000000000001136868377216160297393798828125,"TOTAL":28.14999999999999857891452847979962825775146484375,"FREIGHT":28.14999999999999857891452847979962825775146484375,"HANDLING":0,"SHIPPING":28.14999999999999857891452847979962825775146484375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"1083 160th Street","ADDRESS2":"","C_EMAIL":"mlansink@live.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-11-01T00:00:00Z","CHECK_NO":" APBC","CITY":"BATTLE CREEK","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-11-01T00:00:00Z","E_DATE":"2026-11-01T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"mlansink@live.com","IADDRESS":"1083 160th Street , BATTLE CREEK, IA 51006-8525","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-11-01T00:00:00Z","INVOICE":"AP2439","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Marc Lansink","PHONE":"","PROCESS":"Default","STATE":"IA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"51006-8525","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1083 160th Street","C_ADDRESS2":"","C_CITY":"BATTLE CREEK","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Marc Lansink","C_STATE":"IA","C_ZIP":"51006-8525","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2439 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-11-01T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Sunday 1st of November 2026 08:09:15 AM] create_ebms_invoice() - END - Invoice: AP2439 [Sunday 1st of November 2026 08:09:15 AM] Invoice AP2439 created successfully [Sunday 1st of November 2026 08:09:15 AM] ORDER WEBHOOK COMPLETED - Order ID: 2439 | Invoice: AP2439 [Sunday 1st of November 2026 08:10:11 AM] ORDER WEBHOOK STARTED - Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] Fetching customer data for Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] get_order_customer_data() - START - Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2439 [Sunday 1st of November 2026 08:10:11 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] get_order_customer_data() - Parsing order response for Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Marc Lansink | Email: mlansink@live.com | Total: 141.5500 | Shipping: 28.15 [Sunday 1st of November 2026 08:10:11 AM] get_order_customer_data() - END - Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] Customer data received: {"id":0,"email":"mlansink@live.com","address_1":"1083 160th Street","address_2":"","city":"BATTLE CREEK","state":"IA","country":"USA","zip":"51006-8525","f_name":"Marc","l_name":"Lansink","contact_5":"mlansink@live.com","contact_1":"7123691595","contact_4":"Marc Lansink"} [Sunday 1st of November 2026 08:10:11 AM] Fetching shipping info for Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] get_order_shipping_info() - START - Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2439/shipping_addresses [Sunday 1st of November 2026 08:10:11 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2439 | Name: Marc Lansink | Address: 1083 160th Street, BATTLE CREEK, Iowa, 51006-8525 [Sunday 1st of November 2026 08:10:11 AM] get_order_shipping_info() - END - Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] Shipping info received: {"id":2338,"order_id":2439,"first_name":"Marc","last_name":"Lansink","company":"","street_1":"1083 160th Street","street_2":"","city":"BATTLE CREEK","zip":"51006-8525","country":"United States","country_iso2":"US","state":"Iowa","email":"mlansink@live.com","phone":"7123691595","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"28.1500","cost_ex_tax":"28.1500","cost_inc_tax":"28.1500","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2439\/shipping_addresses\/2338\/shipping_quotes","resource":"\/orders\/2439\/shipping_addresses\/2338\/shipping_quotes"},"form_fields":[]} [Sunday 1st of November 2026 08:10:11 AM] Resolved Customer ID: APONLINE [Sunday 1st of November 2026 08:10:11 AM] Building order object for Invoice: AP2439 [Sunday 1st of November 2026 08:10:11 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2439","ADDRESS1":"1083 160th Street","ADDRESS2":"","C_ADDRESS1":"1083 160th Street","C_ADDRESS2":"","C_CITY":"BATTLE CREEK","C_COUNTRY":"USA","C_EMAIL":"mlansink@live.com","C_NAME":"Marc Lansink","C_STATE":"IA","C_ZIP":"51006-8525","ShippingAmount":"28.15","CITY":"BATTLE CREEK","EMAIL":"mlansink@live.com","ID":"APONLINE","NAME":"Marc Lansink","STATE":"IA","COUNTRY":"USA","ZIP":"51006-8525","MEMO":"","DESCR":"BigCommerce Order - AP2439 - Customer APONLINE"} [Sunday 1st of November 2026 08:10:11 AM] Guest checkout detected (APONLINE) - skipping customer sync [Sunday 1st of November 2026 08:10:11 AM] Fetching products from BigCommerce for Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] BigCommerce API call successful for Order ID: 2439 [Sunday 1st of November 2026 08:10:11 AM] Products received: 1 item(s) [Sunday 1st of November 2026 08:10:11 AM] Processing product SKU: CHACP10 | Qty: 2 | Price: 52.9900 [Sunday 1st of November 2026 08:10:11 AM] get_mpn() - START - Product ID: 83554 [Sunday 1st of November 2026 08:10:11 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83554 [Sunday 1st of November 2026 08:10:12 AM] get_mpn() - BigCommerce API call successful for Product ID: 83554 [Sunday 1st of November 2026 08:10:12 AM] get_mpn() - WARNING - MPN is empty for Product ID: 83554 [Sunday 1st of November 2026 08:10:12 AM] get_mpn() - END - Product ID: 83554 | MPN: [Sunday 1st of November 2026 08:10:12 AM] check_for_ebms_product() - START - SKU: CHACP10 [Sunday 1st of November 2026 08:10:12 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27CHACP10%27 [Sunday 1st of November 2026 08:10:12 AM] check_for_ebms_product() - EBMS API call successful for SKU: CHACP10 [Sunday 1st of November 2026 08:10:12 AM] check_for_ebms_product() - SKU: CHACP10 found in EBMS [Sunday 1st of November 2026 08:10:12 AM] check_for_ebms_product() - END - SKU: CHACP10 | Found: true [Sunday 1st of November 2026 08:10:12 AM] SKU CHACP10 found in EBMS - checking prices [Sunday 1st of November 2026 08:10:12 AM] obtain_current_prices() - START - SKU: CHACP10 [Sunday 1st of November 2026 08:10:12 AM] obtain_current_prices() - Checking Motorstate for SKU: CHACP10 [Sunday 1st of November 2026 08:10:12 AM] check_for_ms_product() - START - SKU: CHACP10 [Sunday 1st of November 2026 08:10:12 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=CHACP10 [Sunday 1st of November 2026 08:10:12 AM] check_for_ms_product() - Motorstate API call successful for SKU: CHACP10 [Sunday 1st of November 2026 08:10:12 AM] check_for_ms_product() - SKU: CHACP10 found in Motorstate [Sunday 1st of November 2026 08:10:12 AM] check_for_ms_product() - END - SKU: CHACP10 | Found: true [Sunday 1st of November 2026 08:10:12 AM] obtain_current_prices() - SKU: CHACP10 found in Motorstate - Fetching prices [Sunday 1st of November 2026 08:10:12 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: CHACP10 - URL: https://api.motorstate.com/api/Product?partNumbers=CHACP10 [Sunday 1st of November 2026 08:10:12 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: CHACP10 - Base: 52.99 | Cost: 43.99 [Sunday 1st of November 2026 08:10:12 AM] obtain_current_prices() - Returning Motorstate prices for SKU: CHACP10 - Base: 52.99 | Cost: 43.99 [Sunday 1st of November 2026 08:10:12 AM] obtain_current_prices() - END - SKU: CHACP10 [Sunday 1st of November 2026 08:10:12 AM] SKU CHACP10 has existing EBMS prices - syncing BigCommerce price back (cost: 43.99, base: 52.99) [Sunday 1st of November 2026 08:10:12 AM] update_product_price() - START - Product ID: 83554 | Base: 52.99 | Cost: 43.99 [Sunday 1st of November 2026 08:10:12 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83554 [Sunday 1st of November 2026 08:10:12 AM] update_product_price() - PUT payload: {"price":52.99000000000000198951966012828052043914794921875,"cost_price":43.99000000000000198951966012828052043914794921875} [Sunday 1st of November 2026 08:10:12 AM] update_product_price() - Attempt 1 of 6 for Product ID: 83554 [Sunday 1st of November 2026 08:10:13 AM] update_product_price() - Price updated successfully for Product ID: 83554 - Base: 52.99 | Cost: 43.99 [Sunday 1st of November 2026 08:10:13 AM] update_product_price() - END - Product ID: 83554 | Result: success [Sunday 1st of November 2026 08:10:13 AM] BigCommerce price updated for Product ID: 83554 [Sunday 1st of November 2026 08:10:13 AM] get_product_inventory() - START - SKU: CHACP10 [Sunday 1st of November 2026 08:10:13 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=CHACP10 [Sunday 1st of November 2026 08:10:13 AM] get_product_inventory() - Motorstate API call successful for SKU: CHACP10 [Sunday 1st of November 2026 08:10:13 AM] get_product_inventory() - Stock found for SKU: CHACP10 - Quantity: 100 | Running Total: 100 [Sunday 1st of November 2026 08:10:13 AM] get_product_inventory() - END - SKU: CHACP10 | Total: 100 [Sunday 1st of November 2026 08:10:13 AM] get_cf_id() - START - Product ID: 83554 [Sunday 1st of November 2026 08:10:13 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83554/custom-fields [Sunday 1st of November 2026 08:10:13 AM] get_cf_id() - BigCommerce API call successful for Product ID: 83554 [Sunday 1st of November 2026 08:10:13 AM] get_cf_id() - Custom field found for Product ID: 83554 | Field: online_stock_level | CF ID: 83444 [Sunday 1st of November 2026 08:10:13 AM] get_cf_id() - END - Product ID: 83554 | CF ID: 83444 [Sunday 1st of November 2026 08:10:13 AM] Updating inventory for SKU CHACP10 - stock: 100, CF ID: 83444 [Sunday 1st of November 2026 08:10:13 AM] update_product_inventory() - START - Product ID: 83554 | Stock: 100 | CF ID: 83444 [Sunday 1st of November 2026 08:10:13 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83554/custom-fields/83444 [Sunday 1st of November 2026 08:10:13 AM] update_product_inventory() - Inventory updated successfully for Product ID: 83554 | Stock: 100 [Sunday 1st of November 2026 08:10:13 AM] update_product_inventory() - END - Product ID: 83554 | Result: success [Sunday 1st of November 2026 08:10:13 AM] Inventory updated for SKU: CHACP10 [Sunday 1st of November 2026 08:10:13 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"CHACP10","M_QUAN_VIS":2,"UNIT":"52.99","UNIT_MEAS":"EA"}] [Sunday 1st of November 2026 08:10:13 AM] Building payment record - Total: 141.5500 [Sunday 1st of November 2026 08:10:13 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2439","ADDRESS1":"1083 160th Street","ADDRESS2":"","C_ADDRESS1":"1083 160th Street","C_ADDRESS2":"","C_CITY":"BATTLE CREEK","C_COUNTRY":"USA","C_EMAIL":"mlansink@live.com","C_NAME":"Marc Lansink","C_STATE":"IA","C_ZIP":"51006-8525","ShippingAmount":"28.15","CITY":"BATTLE CREEK","EMAIL":"mlansink@live.com","ID":"APONLINE","NAME":"Marc Lansink","STATE":"IA","COUNTRY":"USA","ZIP":"51006-8525","MEMO":"","DESCR":"BigCommerce Order - AP2439 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"CHACP10","M_QUAN_VIS":2,"UNIT":"52.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"141.55","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Sunday 1st of November 2026 08:10:13 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2439 [Sunday 1st of November 2026 08:10:13 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2439%27 [Sunday 1st of November 2026 08:10:14 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2439 [Sunday 1st of November 2026 08:10:14 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2439 found in EBMS [Sunday 1st of November 2026 08:10:14 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2439 | Found: true [Sunday 1st of November 2026 08:10:14 AM] Invoice AP2439 already exists in EBMS - patching [Sunday 1st of November 2026 08:10:14 AM] patch_ebms_invoice() - START - Invoice: AP2439 [Sunday 1st of November 2026 08:10:14 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2439","ADDRESS1":"1083 160th Street","ADDRESS2":"","C_ADDRESS1":"1083 160th Street","C_ADDRESS2":"","C_CITY":"BATTLE CREEK","C_COUNTRY":"USA","C_EMAIL":"mlansink@live.com","C_NAME":"Marc Lansink","C_STATE":"IA","C_ZIP":"51006-8525","ShippingAmount":"28.15","CITY":"BATTLE CREEK","EMAIL":"mlansink@live.com","ID":"APONLINE","NAME":"Marc Lansink","STATE":"IA","COUNTRY":"USA","ZIP":"51006-8525","MEMO":"","DESCR":"BigCommerce Order - AP2439 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"CHACP10","M_QUAN_VIS":2,"UNIT":"52.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"141.55","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Sunday 1st of November 2026 08:10:14 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2439%27 [Sunday 1st of November 2026 08:10:14 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2439 [Sunday 1st of November 2026 08:10:14 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2439 [Sunday 1st of November 2026 08:10:14 AM] patch_ebms_invoice() - END - Invoice: AP2439 [Sunday 1st of November 2026 08:10:14 AM] Invoice AP2439 patched successfully [Sunday 1st of November 2026 08:10:14 AM] ORDER WEBHOOK COMPLETED - Order ID: 2439 | Invoice: AP2439