[Friday 19th of June 2026 08:09:13 PM] ORDER WEBHOOK STARTED - Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] Fetching customer data for Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] get_order_customer_data() - START - Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938 [Friday 19th of June 2026 08:09:13 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] get_order_customer_data() - Parsing order response for Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] get_order_customer_data() - Customer object built - Customer ID: 290 | Name: Gregory Fahey | Email: fahey_racing@hotmail.com | Total: 501.5100 | Shipping: 28.57 [Friday 19th of June 2026 08:09:13 PM] get_order_customer_data() - END - Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] Customer data received: {"id":290,"email":"fahey_racing@hotmail.com","address_1":"149 St. David Ridge Rd.","address_2":"","city":"Oak Bay","state":null,"country":"CA","zip":"E3L 4P7","f_name":"Gregory","l_name":"Fahey","contact_5":"fahey_racing@hotmail.com","contact_1":"5064676469","contact_4":"Gregory Fahey"} [Friday 19th of June 2026 08:09:13 PM] Fetching shipping info for Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] get_order_shipping_info() - START - Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938/shipping_addresses [Friday 19th of June 2026 08:09:13 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1938 | Name: Greg Fahey | Address: 8 Customs St., Calais, Maine, 04619 [Friday 19th of June 2026 08:09:13 PM] get_order_shipping_info() - END - Order ID: 1938 [Friday 19th of June 2026 08:09:13 PM] Shipping info received: {"id":1837,"order_id":1938,"first_name":"Greg","last_name":"Fahey","company":"A.E. Horne & Son PMB1933","street_1":"8 Customs St.","street_2":"","city":"Calais","zip":"04619","country":"United States","country_iso2":"US","state":"Maine","email":"fahey_racing@hotmail.com","phone":"5064676469","items_total":6,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"28.5700","cost_ex_tax":"28.5700","cost_inc_tax":"28.5700","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\/1938\/shipping_addresses\/1837\/shipping_quotes","resource":"\/orders\/1938\/shipping_addresses\/1837\/shipping_quotes"},"form_fields":[]} [Friday 19th of June 2026 08:09:13 PM] Resolved Customer ID: AP290 [Friday 19th of June 2026 08:09:13 PM] Building order object for Invoice: AP1938 [Friday 19th of June 2026 08:09:13 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1938","ADDRESS1":"149 St. David Ridge Rd.","ADDRESS2":"","C_ADDRESS1":"8 Customs St.","C_ADDRESS2":"","C_CITY":"Calais","C_COUNTRY":"USA","C_EMAIL":"fahey_racing@hotmail.com","C_NAME":"Greg Fahey","C_STATE":"ME","C_ZIP":"04619","ShippingAmount":"28.57","CITY":"Oak Bay","EMAIL":"fahey_racing@hotmail.com","ID":"AP290","NAME":"Gregory Fahey","STATE":null,"COUNTRY":"CA","ZIP":"E3L 4P7","MEMO":"","DESCR":"BigCommerce Order - AP1938 - Customer AP290"} [Friday 19th of June 2026 08:09:13 PM] Registered customer detected - checking EBMS for Customer ID: AP290 [Friday 19th of June 2026 08:09:13 PM] check_for_customer() - START - Customer ID: 290 [Friday 19th of June 2026 08:09:13 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Friday 19th of June 2026 08:09:16 PM] check_for_customer() - EBMS API call successful for Customer ID: 290 [Friday 19th of June 2026 08:09:16 PM] check_for_customer() - Customer ID: 290 found in EBMS [Friday 19th of June 2026 08:09:16 PM] check_for_customer() - END - Customer ID: 290 | Found: true [Friday 19th of June 2026 08:09:16 PM] Customer AP290 found in EBMS [Friday 19th of June 2026 08:09:16 PM] check_for_empty_info() - START - Customer ID: 290 [Friday 19th of June 2026 08:09:16 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Friday 19th of June 2026 08:09:16 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 290 [Friday 19th of June 2026 08:09:16 PM] check_for_empty_info() - Customer record found for Customer ID: 290 - Checking ADDRESS1 field [Friday 19th of June 2026 08:09:16 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 290 - No update needed [Friday 19th of June 2026 08:09:16 PM] check_for_empty_info() - END - Customer ID: 290 | Empty Info: false [Friday 19th of June 2026 08:09:16 PM] check_for_empty_pn() - START - Customer ID: AP290 [Friday 19th of June 2026 08:09:16 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Friday 19th of June 2026 08:09:17 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP290 [Friday 19th of June 2026 08:09:17 PM] check_for_empty_pn() - Customer record found for Customer ID: AP290 - Checking CONTACT_1 field [Friday 19th of June 2026 08:09:17 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP290 - Value: (506) 467-6469 - No update needed [Friday 19th of June 2026 08:09:17 PM] check_for_empty_pn() - END - Customer ID: AP290 | Empty PN: false [Friday 19th of June 2026 08:09:17 PM] Fetching products from BigCommerce for Order ID: 1938 [Friday 19th of June 2026 08:09:17 PM] BigCommerce API call successful for Order ID: 1938 [Friday 19th of June 2026 08:09:17 PM] Products received: 4 item(s) [Friday 19th of June 2026 08:09:17 PM] Processing product SKU: ALL99046 | Qty: 3 | Price: 79.9900 [Friday 19th of June 2026 08:09:17 PM] get_mpn() - START - Product ID: 83566 [Friday 19th of June 2026 08:09:17 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Friday 19th of June 2026 08:09:17 PM] get_mpn() - BigCommerce API call successful for Product ID: 83566 [Friday 19th of June 2026 08:09:17 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83566 [Friday 19th of June 2026 08:09:17 PM] get_mpn() - END - Product ID: 83566 | MPN: [Friday 19th of June 2026 08:09:17 PM] check_for_ebms_product() - START - SKU: ALL99046 [Friday 19th of June 2026 08:09:17 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL99046%27 [Friday 19th of June 2026 08:09:17 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL99046 [Friday 19th of June 2026 08:09:17 PM] check_for_ebms_product() - SKU: ALL99046 found in EBMS [Friday 19th of June 2026 08:09:17 PM] check_for_ebms_product() - END - SKU: ALL99046 | Found: true [Friday 19th of June 2026 08:09:17 PM] SKU ALL99046 found in EBMS - checking prices [Friday 19th of June 2026 08:09:17 PM] obtain_current_prices() - START - SKU: ALL99046 [Friday 19th of June 2026 08:09:17 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL99046 [Friday 19th of June 2026 08:09:17 PM] check_for_ms_product() - START - SKU: ALL99046 [Friday 19th of June 2026 08:09:17 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Friday 19th of June 2026 08:09:18 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL99046 [Friday 19th of June 2026 08:09:18 PM] check_for_ms_product() - SKU: ALL99046 found in Motorstate [Friday 19th of June 2026 08:09:18 PM] check_for_ms_product() - END - SKU: ALL99046 | Found: true [Friday 19th of June 2026 08:09:18 PM] obtain_current_prices() - SKU: ALL99046 found in Motorstate - Fetching prices [Friday 19th of June 2026 08:09:18 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL99046 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Friday 19th of June 2026 08:09:18 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Friday 19th of June 2026 08:09:18 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Friday 19th of June 2026 08:09:18 PM] obtain_current_prices() - END - SKU: ALL99046 [Friday 19th of June 2026 08:09:18 PM] SKU ALL99046 has existing EBMS prices - syncing BigCommerce price back (cost: 60.15, base: 79.99) [Friday 19th of June 2026 08:09:18 PM] update_product_price() - START - Product ID: 83566 | Base: 79.99 | Cost: 60.15 [Friday 19th of June 2026 08:09:18 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Friday 19th of June 2026 08:09:18 PM] update_product_price() - PUT payload: {"price":79.9899999999999948840923025272786617279052734375,"cost_price":60.14999999999999857891452847979962825775146484375} [Friday 19th of June 2026 08:09:18 PM] update_product_price() - Attempt 1 of 6 for Product ID: 83566 [Friday 19th of June 2026 08:09:18 PM] update_product_price() - Price updated successfully for Product ID: 83566 - Base: 79.99 | Cost: 60.15 [Friday 19th of June 2026 08:09:18 PM] update_product_price() - END - Product ID: 83566 | Result: success [Friday 19th of June 2026 08:09:18 PM] BigCommerce price updated for Product ID: 83566 [Friday 19th of June 2026 08:09:18 PM] get_product_inventory() - START - SKU: ALL99046 [Friday 19th of June 2026 08:09:18 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Friday 19th of June 2026 08:09:18 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL99046 [Friday 19th of June 2026 08:09:18 PM] get_product_inventory() - Stock found for SKU: ALL99046 - Quantity: 20 | Running Total: 20 [Friday 19th of June 2026 08:09:18 PM] get_product_inventory() - END - SKU: ALL99046 | Total: 20 [Friday 19th of June 2026 08:09:18 PM] get_cf_id() - START - Product ID: 83566 [Friday 19th of June 2026 08:09:18 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields [Friday 19th of June 2026 08:09:18 PM] get_cf_id() - BigCommerce API call successful for Product ID: 83566 [Friday 19th of June 2026 08:09:18 PM] get_cf_id() - Custom field found for Product ID: 83566 | Field: online_stock_level | CF ID: 83456 [Friday 19th of June 2026 08:09:18 PM] get_cf_id() - END - Product ID: 83566 | CF ID: 83456 [Friday 19th of June 2026 08:09:18 PM] Updating inventory for SKU ALL99046 - stock: 20, CF ID: 83456 [Friday 19th of June 2026 08:09:18 PM] update_product_inventory() - START - Product ID: 83566 | Stock: 20 | CF ID: 83456 [Friday 19th of June 2026 08:09:18 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields/83456 [Friday 19th of June 2026 08:09:19 PM] update_product_inventory() - Inventory updated successfully for Product ID: 83566 | Stock: 20 [Friday 19th of June 2026 08:09:19 PM] update_product_inventory() - END - Product ID: 83566 | Result: success [Friday 19th of June 2026 08:09:19 PM] Inventory updated for SKU: ALL99046 [Friday 19th of June 2026 08:09:19 PM] Processing product SKU: ALL78115 | Qty: 1 | Price: 104.9900 [Friday 19th of June 2026 08:09:19 PM] get_mpn() - START - Product ID: 65304 [Friday 19th of June 2026 08:09:19 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Friday 19th of June 2026 08:09:19 PM] get_mpn() - BigCommerce API call successful for Product ID: 65304 [Friday 19th of June 2026 08:09:19 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65304 [Friday 19th of June 2026 08:09:19 PM] get_mpn() - END - Product ID: 65304 | MPN: [Friday 19th of June 2026 08:09:19 PM] check_for_ebms_product() - START - SKU: ALL78115 [Friday 19th of June 2026 08:09:19 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL78115%27 [Friday 19th of June 2026 08:09:19 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL78115 [Friday 19th of June 2026 08:09:19 PM] check_for_ebms_product() - SKU: ALL78115 found in EBMS [Friday 19th of June 2026 08:09:19 PM] check_for_ebms_product() - END - SKU: ALL78115 | Found: true [Friday 19th of June 2026 08:09:19 PM] SKU ALL78115 found in EBMS - checking prices [Friday 19th of June 2026 08:09:19 PM] obtain_current_prices() - START - SKU: ALL78115 [Friday 19th of June 2026 08:09:19 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL78115 [Friday 19th of June 2026 08:09:19 PM] check_for_ms_product() - START - SKU: ALL78115 [Friday 19th of June 2026 08:09:19 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Friday 19th of June 2026 08:09:19 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL78115 [Friday 19th of June 2026 08:09:19 PM] check_for_ms_product() - SKU: ALL78115 found in Motorstate [Friday 19th of June 2026 08:09:19 PM] check_for_ms_product() - END - SKU: ALL78115 | Found: true [Friday 19th of June 2026 08:09:19 PM] obtain_current_prices() - SKU: ALL78115 found in Motorstate - Fetching prices [Friday 19th of June 2026 08:09:19 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL78115 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Friday 19th of June 2026 08:09:20 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Friday 19th of June 2026 08:09:20 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Friday 19th of June 2026 08:09:20 PM] obtain_current_prices() - END - SKU: ALL78115 [Friday 19th of June 2026 08:09:20 PM] SKU ALL78115 has existing EBMS prices - syncing BigCommerce price back (cost: 76.60, base: 104.99) [Friday 19th of June 2026 08:09:20 PM] update_product_price() - START - Product ID: 65304 | Base: 104.99 | Cost: 76.6 [Friday 19th of June 2026 08:09:20 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Friday 19th of June 2026 08:09:20 PM] update_product_price() - PUT payload: {"price":104.9899999999999948840923025272786617279052734375,"cost_price":76.599999999999994315658113919198513031005859375} [Friday 19th of June 2026 08:09:20 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65304 [Friday 19th of June 2026 08:09:20 PM] update_product_price() - Price updated successfully for Product ID: 65304 - Base: 104.99 | Cost: 76.6 [Friday 19th of June 2026 08:09:20 PM] update_product_price() - END - Product ID: 65304 | Result: success [Friday 19th of June 2026 08:09:20 PM] BigCommerce price updated for Product ID: 65304 [Friday 19th of June 2026 08:09:20 PM] get_product_inventory() - START - SKU: ALL78115 [Friday 19th of June 2026 08:09:20 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Friday 19th of June 2026 08:09:20 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL78115 [Friday 19th of June 2026 08:09:20 PM] get_product_inventory() - Stock found for SKU: ALL78115 - Quantity: 100 | Running Total: 100 [Friday 19th of June 2026 08:09:20 PM] get_product_inventory() - END - SKU: ALL78115 | Total: 100 [Friday 19th of June 2026 08:09:20 PM] get_cf_id() - START - Product ID: 65304 [Friday 19th of June 2026 08:09:20 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields [Friday 19th of June 2026 08:09:20 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65304 [Friday 19th of June 2026 08:09:20 PM] get_cf_id() - Custom field found for Product ID: 65304 | Field: online_stock_level | CF ID: 65194 [Friday 19th of June 2026 08:09:20 PM] get_cf_id() - END - Product ID: 65304 | CF ID: 65194 [Friday 19th of June 2026 08:09:20 PM] Updating inventory for SKU ALL78115 - stock: 100, CF ID: 65194 [Friday 19th of June 2026 08:09:20 PM] update_product_inventory() - START - Product ID: 65304 | Stock: 100 | CF ID: 65194 [Friday 19th of June 2026 08:09:20 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields/65194 [Friday 19th of June 2026 08:09:20 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65304 | Stock: 100 [Friday 19th of June 2026 08:09:20 PM] update_product_inventory() - END - Product ID: 65304 | Result: success [Friday 19th of June 2026 08:09:20 PM] Inventory updated for SKU: ALL78115 [Friday 19th of June 2026 08:09:20 PM] Processing product SKU: WLK3000856-DM | Qty: 1 | Price: 114.9900 [Friday 19th of June 2026 08:09:20 PM] get_mpn() - START - Product ID: 1018 [Friday 19th of June 2026 08:09:20 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Friday 19th of June 2026 08:09:20 PM] get_mpn() - BigCommerce API call successful for Product ID: 1018 [Friday 19th of June 2026 08:09:20 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1018 [Friday 19th of June 2026 08:09:20 PM] get_mpn() - END - Product ID: 1018 | MPN: [Friday 19th of June 2026 08:09:20 PM] check_for_ebms_product() - START - SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:20 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WLK3000856-DM%27 [Friday 19th of June 2026 08:09:21 PM] check_for_ebms_product() - EBMS API call successful for SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] check_for_ebms_product() - SKU: WLK3000856-DM found in EBMS [Friday 19th of June 2026 08:09:21 PM] check_for_ebms_product() - END - SKU: WLK3000856-DM | Found: true [Friday 19th of June 2026 08:09:21 PM] SKU WLK3000856-DM found in EBMS - checking prices [Friday 19th of June 2026 08:09:21 PM] obtain_current_prices() - START - SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] obtain_current_prices() - Checking Motorstate for SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] check_for_ms_product() - START - SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] check_for_ms_product() - Motorstate API call successful for SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] check_for_ms_product() - SKU: WLK3000856-DM found in Motorstate [Friday 19th of June 2026 08:09:21 PM] check_for_ms_product() - END - SKU: WLK3000856-DM | Found: true [Friday 19th of June 2026 08:09:21 PM] obtain_current_prices() - SKU: WLK3000856-DM found in Motorstate - Fetching prices [Friday 19th of June 2026 08:09:21 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WLK3000856-DM - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Friday 19th of June 2026 08:09:21 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Friday 19th of June 2026 08:09:21 PM] obtain_current_prices() - END - SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] SKU WLK3000856-DM has existing EBMS prices - syncing BigCommerce price back (cost: 90.99, base: 114.99) [Friday 19th of June 2026 08:09:21 PM] update_product_price() - START - Product ID: 1018 | Base: 114.99 | Cost: 90.99 [Friday 19th of June 2026 08:09:21 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Friday 19th of June 2026 08:09:21 PM] update_product_price() - PUT payload: {"price":114.9899999999999948840923025272786617279052734375,"cost_price":90.9899999999999948840923025272786617279052734375} [Friday 19th of June 2026 08:09:21 PM] update_product_price() - Attempt 1 of 6 for Product ID: 1018 [Friday 19th of June 2026 08:09:21 PM] update_product_price() - Price updated successfully for Product ID: 1018 - Base: 114.99 | Cost: 90.99 [Friday 19th of June 2026 08:09:21 PM] update_product_price() - END - Product ID: 1018 | Result: success [Friday 19th of June 2026 08:09:21 PM] BigCommerce price updated for Product ID: 1018 [Friday 19th of June 2026 08:09:21 PM] get_product_inventory() - START - SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:21 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Friday 19th of June 2026 08:09:22 PM] get_product_inventory() - Motorstate API call successful for SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:22 PM] get_product_inventory() - Stock found for SKU: WLK3000856-DM - Quantity: 2 | Running Total: 2 [Friday 19th of June 2026 08:09:22 PM] get_product_inventory() - END - SKU: WLK3000856-DM | Total: 2 [Friday 19th of June 2026 08:09:22 PM] get_cf_id() - START - Product ID: 1018 [Friday 19th of June 2026 08:09:22 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields [Friday 19th of June 2026 08:09:22 PM] get_cf_id() - BigCommerce API call successful for Product ID: 1018 [Friday 19th of June 2026 08:09:22 PM] get_cf_id() - Custom field found for Product ID: 1018 | Field: online_stock_level | CF ID: 908 [Friday 19th of June 2026 08:09:22 PM] get_cf_id() - END - Product ID: 1018 | CF ID: 908 [Friday 19th of June 2026 08:09:22 PM] Updating inventory for SKU WLK3000856-DM - stock: 2, CF ID: 908 [Friday 19th of June 2026 08:09:22 PM] update_product_inventory() - START - Product ID: 1018 | Stock: 2 | CF ID: 908 [Friday 19th of June 2026 08:09:22 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields/908 [Friday 19th of June 2026 08:09:22 PM] update_product_inventory() - Inventory updated successfully for Product ID: 1018 | Stock: 2 [Friday 19th of June 2026 08:09:22 PM] update_product_inventory() - END - Product ID: 1018 | Result: success [Friday 19th of June 2026 08:09:22 PM] Inventory updated for SKU: WLK3000856-DM [Friday 19th of June 2026 08:09:22 PM] Processing product SKU: 2433115 | Qty: 1 | Price: 12.9900 [Friday 19th of June 2026 08:09:22 PM] get_mpn() - START - Product ID: 87304 [Friday 19th of June 2026 08:09:22 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Friday 19th of June 2026 08:09:22 PM] get_mpn() - BigCommerce API call successful for Product ID: 87304 [Friday 19th of June 2026 08:09:22 PM] get_mpn() - WARNING - MPN is empty for Product ID: 87304 [Friday 19th of June 2026 08:09:22 PM] get_mpn() - END - Product ID: 87304 | MPN: [Friday 19th of June 2026 08:09:22 PM] check_for_ebms_product() - START - SKU: 2433115 [Friday 19th of June 2026 08:09:22 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Friday 19th of June 2026 08:09:23 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Friday 19th of June 2026 08:09:23 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Friday 19th of June 2026 08:09:23 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Friday 19th of June 2026 08:09:23 PM] SKU 2433115 found in EBMS - checking prices [Friday 19th of June 2026 08:09:23 PM] obtain_current_prices() - START - SKU: 2433115 [Friday 19th of June 2026 08:09:23 PM] obtain_current_prices() - Checking Motorstate for SKU: 2433115 [Friday 19th of June 2026 08:09:23 PM] check_for_ms_product() - START - SKU: 2433115 [Friday 19th of June 2026 08:09:23 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Friday 19th of June 2026 08:09:23 PM] check_for_ms_product() - Motorstate API call successful for SKU: 2433115 [Friday 19th of June 2026 08:09:23 PM] check_for_ms_product() - SKU: 2433115 not found in Motorstate [Friday 19th of June 2026 08:09:23 PM] check_for_ms_product() - END - SKU: 2433115 | Found: false [Friday 19th of June 2026 08:09:23 PM] obtain_current_prices() - SKU: 2433115 not found in Motorstate - Skipping to EBMS [Friday 19th of June 2026 08:09:23 PM] obtain_current_prices() - Checking EBMS for SKU: 2433115 [Friday 19th of June 2026 08:09:23 PM] check_for_ebms_product() - START - SKU: 2433115 [Friday 19th of June 2026 08:09:23 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Friday 19th of June 2026 08:09:23 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Friday 19th of June 2026 08:09:23 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Friday 19th of June 2026 08:09:23 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Friday 19th of June 2026 08:09:23 PM] obtain_current_prices() - SKU: 2433115 found in EBMS - Fetching prices [Friday 19th of June 2026 08:09:23 PM] obtain_current_prices() - EBMS API call attempt 1 for SKU: 2433115 - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Friday 19th of June 2026 08:09:24 PM] obtain_current_prices() - EBMS prices retrieved for SKU: 2433115 - Base: 12.99 | Cost: 5.43 [Friday 19th of June 2026 08:09:24 PM] obtain_current_prices() - END - SKU: 2433115 | Final prices - Base: 12.99 | Cost: 5.43 [Friday 19th of June 2026 08:09:24 PM] SKU 2433115 has existing EBMS prices - syncing BigCommerce price back (cost: 5.43, base: 12.99) [Friday 19th of June 2026 08:09:24 PM] update_product_price() - START - Product ID: 87304 | Base: 12.99 | Cost: 5.43 [Friday 19th of June 2026 08:09:24 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Friday 19th of June 2026 08:09:24 PM] update_product_price() - PUT payload: {"price":12.9900000000000002131628207280300557613372802734375,"cost_price":5.42999999999999971578290569595992565155029296875} [Friday 19th of June 2026 08:09:24 PM] update_product_price() - Attempt 1 of 6 for Product ID: 87304 [Friday 19th of June 2026 08:09:24 PM] update_product_price() - Price updated successfully for Product ID: 87304 - Base: 12.99 | Cost: 5.43 [Friday 19th of June 2026 08:09:24 PM] update_product_price() - END - Product ID: 87304 | Result: success [Friday 19th of June 2026 08:09:24 PM] BigCommerce price updated for Product ID: 87304 [Friday 19th of June 2026 08:09:24 PM] get_product_inventory() - START - SKU: 2433115 [Friday 19th of June 2026 08:09:24 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Friday 19th of June 2026 08:09:24 PM] get_product_inventory() - Motorstate API call successful for SKU: 2433115 [Friday 19th of June 2026 08:09:24 PM] get_product_inventory() - SKU: 2433115 not found in Motorstate response item [Friday 19th of June 2026 08:09:24 PM] get_product_inventory() - END - SKU: 2433115 | Total: 0 [Friday 19th of June 2026 08:09:24 PM] get_cf_id() - START - Product ID: 87304 [Friday 19th of June 2026 08:09:24 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields [Friday 19th of June 2026 08:09:24 PM] get_cf_id() - BigCommerce API call successful for Product ID: 87304 [Friday 19th of June 2026 08:09:24 PM] get_cf_id() - Custom field found for Product ID: 87304 | Field: online_stock_level | CF ID: 87194 [Friday 19th of June 2026 08:09:24 PM] get_cf_id() - END - Product ID: 87304 | CF ID: 87194 [Friday 19th of June 2026 08:09:24 PM] Updating inventory for SKU 2433115 - stock: 0, CF ID: 87194 [Friday 19th of June 2026 08:09:24 PM] update_product_inventory() - START - Product ID: 87304 | Stock: 0 | CF ID: 87194 [Friday 19th of June 2026 08:09:24 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields/87194 [Friday 19th of June 2026 08:09:25 PM] update_product_inventory() - Inventory updated successfully for Product ID: 87304 | Stock: 0 [Friday 19th of June 2026 08:09:25 PM] update_product_inventory() - END - Product ID: 87304 | Result: success [Friday 19th of June 2026 08:09:25 PM] Inventory updated for SKU: 2433115 [Friday 19th of June 2026 08:09:25 PM] All products processed - Order details: [{"ID":"AP290","INVEN":"ALL99046","M_QUAN_VIS":3,"UNIT":"79.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"ALL78115","M_QUAN_VIS":1,"UNIT":"104.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"WLK3000856-DM","M_QUAN_VIS":1,"UNIT":"114.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"2433115","M_QUAN_VIS":1,"UNIT":"12.99","UNIT_MEAS":"EA"}] [Friday 19th of June 2026 08:09:25 PM] Building payment record - Total: 501.5100 [Friday 19th of June 2026 08:09:25 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1938","ADDRESS1":"149 St. David Ridge Rd.","ADDRESS2":"","C_ADDRESS1":"8 Customs St.","C_ADDRESS2":"","C_CITY":"Calais","C_COUNTRY":"USA","C_EMAIL":"fahey_racing@hotmail.com","C_NAME":"Greg Fahey","C_STATE":"ME","C_ZIP":"04619","ShippingAmount":"28.57","CITY":"Oak Bay","EMAIL":"fahey_racing@hotmail.com","ID":"AP290","NAME":"Gregory Fahey","STATE":null,"COUNTRY":"CA","ZIP":"E3L 4P7","MEMO":"","DESCR":"BigCommerce Order - AP1938 - Customer AP290","Details":[{"ID":"AP290","INVEN":"ALL99046","M_QUAN_VIS":3,"UNIT":"79.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"ALL78115","M_QUAN_VIS":1,"UNIT":"104.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"WLK3000856-DM","M_QUAN_VIS":1,"UNIT":"114.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"2433115","M_QUAN_VIS":1,"UNIT":"12.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"501.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 19th of June 2026 08:09:25 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1938 [Friday 19th of June 2026 08:09:25 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1938%27 [Friday 19th of June 2026 08:09:26 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1938 [Friday 19th of June 2026 08:09:26 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1938 found in EBMS [Friday 19th of June 2026 08:09:26 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1938 | Found: true [Friday 19th of June 2026 08:09:26 PM] Invoice AP1938 already exists in EBMS - patching [Friday 19th of June 2026 08:09:26 PM] patch_ebms_invoice() - START - Invoice: AP1938 [Friday 19th of June 2026 08:09:26 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1938","ADDRESS1":"149 St. David Ridge Rd.","ADDRESS2":"","C_ADDRESS1":"8 Customs St.","C_ADDRESS2":"","C_CITY":"Calais","C_COUNTRY":"USA","C_EMAIL":"fahey_racing@hotmail.com","C_NAME":"Greg Fahey","C_STATE":"ME","C_ZIP":"04619","ShippingAmount":"28.57","CITY":"Oak Bay","EMAIL":"fahey_racing@hotmail.com","ID":"AP290","NAME":"Gregory Fahey","STATE":null,"COUNTRY":"CA","ZIP":"E3L 4P7","MEMO":"","DESCR":"BigCommerce Order - AP1938 - Customer AP290","Details":[{"ID":"AP290","INVEN":"ALL99046","M_QUAN_VIS":3,"UNIT":"79.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"ALL78115","M_QUAN_VIS":1,"UNIT":"104.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"WLK3000856-DM","M_QUAN_VIS":1,"UNIT":"114.99","UNIT_MEAS":"EA"},{"ID":"AP290","INVEN":"2433115","M_QUAN_VIS":1,"UNIT":"12.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"501.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 19th of June 2026 08:09:26 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1938%27 [Friday 19th of June 2026 08:09:27 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1938 [Friday 19th of June 2026 08:09:27 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1938 [Friday 19th of June 2026 08:09:27 PM] patch_ebms_invoice() - END - Invoice: AP1938 [Friday 19th of June 2026 08:09:27 PM] Invoice AP1938 patched successfully [Friday 19th of June 2026 08:09:27 PM] ORDER WEBHOOK COMPLETED - Order ID: 1938 | Invoice: AP1938