[Thursday 18th of June 2026 08:04:20 PM] ORDER WEBHOOK STARTED - Order ID: 1938 [Thursday 18th of June 2026 08:04:20 PM] Fetching customer data for Order ID: 1938 [Thursday 18th of June 2026 08:04:20 PM] get_order_customer_data() - START - Order ID: 1938 [Thursday 18th of June 2026 08:04:20 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938 [Thursday 18th of June 2026 08:04:20 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:04:20 PM] get_order_customer_data() - Parsing order response for Order ID: 1938 [Thursday 18th of June 2026 08:04:20 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 [Thursday 18th of June 2026 08:04:20 PM] get_order_customer_data() - END - Order ID: 1938 [Thursday 18th of June 2026 08:04:20 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"} [Thursday 18th of June 2026 08:04:20 PM] Fetching shipping info for Order ID: 1938 [Thursday 18th of June 2026 08:04:20 PM] get_order_shipping_info() - START - Order ID: 1938 [Thursday 18th of June 2026 08:04:20 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938/shipping_addresses [Thursday 18th of June 2026 08:04:20 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:04:20 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1938 | Name: Greg Fahey | Address: 8 Customs St., Calais, Maine, 04619 [Thursday 18th of June 2026 08:04:20 PM] get_order_shipping_info() - END - Order ID: 1938 [Thursday 18th of June 2026 08:04:20 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":[]} [Thursday 18th of June 2026 08:04:20 PM] Resolved Customer ID: AP290 [Thursday 18th of June 2026 08:04:20 PM] Building order object for Invoice: AP1938 [Thursday 18th of June 2026 08:04:20 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"} [Thursday 18th of June 2026 08:04:20 PM] Registered customer detected - checking EBMS for Customer ID: AP290 [Thursday 18th of June 2026 08:04:20 PM] check_for_customer() - START - Customer ID: 290 [Thursday 18th of June 2026 08:04:20 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:04:21 PM] check_for_customer() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:04:21 PM] check_for_customer() - Customer ID: 290 found in EBMS [Thursday 18th of June 2026 08:04:21 PM] check_for_customer() - END - Customer ID: 290 | Found: true [Thursday 18th of June 2026 08:04:21 PM] Customer AP290 found in EBMS [Thursday 18th of June 2026 08:04:21 PM] check_for_empty_info() - START - Customer ID: 290 [Thursday 18th of June 2026 08:04:21 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:04:21 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:04:21 PM] check_for_empty_info() - Customer record found for Customer ID: 290 - Checking ADDRESS1 field [Thursday 18th of June 2026 08:04:21 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 290 - No update needed [Thursday 18th of June 2026 08:04:21 PM] check_for_empty_info() - END - Customer ID: 290 | Empty Info: false [Thursday 18th of June 2026 08:04:21 PM] check_for_empty_pn() - START - Customer ID: AP290 [Thursday 18th of June 2026 08:04:21 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:04:22 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP290 [Thursday 18th of June 2026 08:04:22 PM] check_for_empty_pn() - Customer record found for Customer ID: AP290 - Checking CONTACT_1 field [Thursday 18th of June 2026 08:04:22 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP290 - Value: (506) 467-6469 - No update needed [Thursday 18th of June 2026 08:04:22 PM] check_for_empty_pn() - END - Customer ID: AP290 | Empty PN: false [Thursday 18th of June 2026 08:04:22 PM] Fetching products from BigCommerce for Order ID: 1938 [Thursday 18th of June 2026 08:04:22 PM] BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:04:22 PM] Products received: 4 item(s) [Thursday 18th of June 2026 08:04:22 PM] Processing product SKU: ALL99046 | Qty: 3 | Price: 79.9900 [Thursday 18th of June 2026 08:04:22 PM] get_mpn() - START - Product ID: 83566 [Thursday 18th of June 2026 08:04:22 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:04:22 PM] get_mpn() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:04:22 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83566 [Thursday 18th of June 2026 08:04:22 PM] get_mpn() - END - Product ID: 83566 | MPN: [Thursday 18th of June 2026 08:04:22 PM] check_for_ebms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:04:22 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL99046%27 [Thursday 18th of June 2026 08:04:22 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:04:22 PM] check_for_ebms_product() - SKU: ALL99046 not found in EBMS [Thursday 18th of June 2026 08:04:22 PM] check_for_ebms_product() - END - SKU: ALL99046 | Found: false [Thursday 18th of June 2026 08:04:22 PM] SKU ALL99046 not found in EBMS - creating new part [Thursday 18th of June 2026 08:04:22 PM] get_product_desc() - START - Product ID: 83566 [Thursday 18th of June 2026 08:04:22 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:04:23 PM] get_product_desc() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:04:23 PM] get_product_desc() - Description retrieved for Product ID: 83566 - Description: Floor Jack Caster - Allstar Pit Jacks - Each [Thursday 18th of June 2026 08:04:23 PM] get_product_desc() - END - Product ID: 83566 [Thursday 18th of June 2026 08:04:23 PM] get_ms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:04:23 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:04:23 PM] get_ms_product() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:04:23 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: ALL99046 - Response: [{"Found":true,"PartNumber":"ALL99046","Product":{"PartNumber":"all99046","VendorPartNumber":"99046","Status":1,"IsStocking":true,"ShortDescription":"Jack Caster Wheel for ALL10422 & ALL10425","Quantity":23,"CustomerPrice":60.15000,"CustomerPriceNonPromotional":60.15000,"BasePrice":75.28,"ListPrice":79.99,"MapPrice":79.99,"IsMapRestricted":false,"CanSpecialOrder":false,"CanDropShip":false,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"7-15-24 This is now an improved design that has a staked\nmark that looks like an asterisk *.","CanRegularBackOrder":true}}] [Thursday 18th of June 2026 08:04:23 PM] get_ms_product() - END - SKU: ALL99046 [Thursday 18th of June 2026 08:04:23 PM] MS pricing found for SKU ALL99046 - base: 79.99, cost: 60.15 [Thursday 18th of June 2026 08:04:23 PM] create_new_part() - START - SKU: ALL99046 | Base: 79.99 | Cost: 60.15 | Weight: 1.0200 | MPN: [Thursday 18th of June 2026 08:04:23 PM] create_new_part() - Description parsed - DESCR_1: Floor Jack Caster - Allstar Pit Jacks - Each | DESCR_2: [Thursday 18th of June 2026 08:04:23 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Thursday 18th of June 2026 08:04:23 PM] create_new_part() - POST payload: {"ID":"ALL99046","DESCR_1":"Floor Jack Caster - Allstar Pit Jacks - Each","DESCR_2":"","DESCR_3":"Floor Jack Caster - Allstar Pit Jacks - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"60.15","BASE":"79.99","WEIGHT":"1.0200","MFG_PART":"","TREE_ID":"603"} [Thursday 18th of June 2026 08:04:25 PM] create_new_part() - EBMS API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:04:25 PM] create_new_part() - Part created successfully in EBMS - SKU: ALL99046 - {"id":"ALL99046","cost":"60.15","base":"79.99","description":"Floor Jack Caster - Allstar Pit Jacks - Each","tree_id":" 603"} [Thursday 18th of June 2026 08:04:25 PM] create_new_part() - Sending new part notification email for SKU: ALL99046 [Thursday 18th of June 2026 08:04:25 PM] create_new_part() - Notification email sent successfully for SKU: ALL99046 [Thursday 18th of June 2026 08:04:25 PM] create_new_part() - END - SKU: ALL99046 [Thursday 18th of June 2026 08:04:25 PM] New part created in EBMS for SKU: ALL99046 [Thursday 18th of June 2026 08:04:25 PM] Processing product SKU: ALL78115 | Qty: 1 | Price: 104.9900 [Thursday 18th of June 2026 08:04:25 PM] get_mpn() - START - Product ID: 65304 [Thursday 18th of June 2026 08:04:25 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:04:26 PM] get_mpn() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:04:26 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65304 [Thursday 18th of June 2026 08:04:26 PM] get_mpn() - END - Product ID: 65304 | MPN: [Thursday 18th of June 2026 08:04:26 PM] check_for_ebms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:04:26 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL78115%27 [Thursday 18th of June 2026 08:04:26 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:04:26 PM] check_for_ebms_product() - SKU: ALL78115 found in EBMS [Thursday 18th of June 2026 08:04:26 PM] check_for_ebms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:04:26 PM] SKU ALL78115 found in EBMS - checking prices [Thursday 18th of June 2026 08:04:26 PM] obtain_current_prices() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:04:26 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL78115 [Thursday 18th of June 2026 08:04:26 PM] check_for_ms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:04:26 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:04:26 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:04:26 PM] check_for_ms_product() - SKU: ALL78115 found in Motorstate [Thursday 18th of June 2026 08:04:26 PM] check_for_ms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:04:26 PM] obtain_current_prices() - SKU: ALL78115 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:04:26 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL78115 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:04:26 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:04:26 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:04:26 PM] obtain_current_prices() - END - SKU: ALL78115 [Thursday 18th of June 2026 08:04:26 PM] SKU ALL78115 has existing EBMS prices - syncing BigCommerce price back (cost: 76.60, base: 104.99) [Thursday 18th of June 2026 08:04:26 PM] update_product_price() - START - Product ID: 65304 | Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:04:26 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:04:26 PM] update_product_price() - PUT payload: {"price":104.9899999999999948840923025272786617279052734375,"cost_price":76.599999999999994315658113919198513031005859375} [Thursday 18th of June 2026 08:04:26 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65304 [Thursday 18th of June 2026 08:04:27 PM] update_product_price() - Price updated successfully for Product ID: 65304 - Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:04:27 PM] update_product_price() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:04:27 PM] BigCommerce price updated for Product ID: 65304 [Thursday 18th of June 2026 08:04:27 PM] get_product_inventory() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:04:27 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:04:27 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:04:27 PM] get_product_inventory() - Stock found for SKU: ALL78115 - Quantity: 100 | Running Total: 100 [Thursday 18th of June 2026 08:04:27 PM] get_product_inventory() - END - SKU: ALL78115 | Total: 100 [Thursday 18th of June 2026 08:04:27 PM] get_cf_id() - START - Product ID: 65304 [Thursday 18th of June 2026 08:04:27 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields [Thursday 18th of June 2026 08:04:27 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:04:27 PM] get_cf_id() - Custom field found for Product ID: 65304 | Field: online_stock_level | CF ID: 65194 [Thursday 18th of June 2026 08:04:27 PM] get_cf_id() - END - Product ID: 65304 | CF ID: 65194 [Thursday 18th of June 2026 08:04:27 PM] Updating inventory for SKU ALL78115 - stock: 100, CF ID: 65194 [Thursday 18th of June 2026 08:04:27 PM] update_product_inventory() - START - Product ID: 65304 | Stock: 100 | CF ID: 65194 [Thursday 18th of June 2026 08:04:27 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields/65194 [Thursday 18th of June 2026 08:04:27 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65304 | Stock: 100 [Thursday 18th of June 2026 08:04:27 PM] update_product_inventory() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:04:27 PM] Inventory updated for SKU: ALL78115 [Thursday 18th of June 2026 08:04:27 PM] Processing product SKU: WLK3000856-DM | Qty: 1 | Price: 114.9900 [Thursday 18th of June 2026 08:04:27 PM] get_mpn() - START - Product ID: 1018 [Thursday 18th of June 2026 08:04:27 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:04:28 PM] get_mpn() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:04:28 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1018 [Thursday 18th of June 2026 08:04:28 PM] get_mpn() - END - Product ID: 1018 | MPN: [Thursday 18th of June 2026 08:04:28 PM] check_for_ebms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:28 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WLK3000856-DM%27 [Thursday 18th of June 2026 08:04:28 PM] check_for_ebms_product() - EBMS API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:28 PM] check_for_ebms_product() - SKU: WLK3000856-DM not found in EBMS [Thursday 18th of June 2026 08:04:28 PM] check_for_ebms_product() - END - SKU: WLK3000856-DM | Found: false [Thursday 18th of June 2026 08:04:28 PM] SKU WLK3000856-DM not found in EBMS - creating new part [Thursday 18th of June 2026 08:04:28 PM] get_product_desc() - START - Product ID: 1018 [Thursday 18th of June 2026 08:04:28 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:04:28 PM] get_product_desc() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:04:28 PM] get_product_desc() - Description retrieved for Product ID: 1018 - Description: Air Filter Element - Low Profile - Round - 14 in Diameter - 3 in Tall - Dry - Synthetic - Blue - Each [Thursday 18th of June 2026 08:04:28 PM] get_product_desc() - END - Product ID: 1018 [Thursday 18th of June 2026 08:04:28 PM] get_ms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:28 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:04:28 PM] get_ms_product() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:28 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: WLK3000856-DM - Response: [{"Found":true,"PartNumber":"WLK3000856-DM","Product":{"PartNumber":"wlk3000856-dm","VendorPartNumber":"3000856-DM","Status":1,"IsStocking":true,"ShortDescription":"Low Profile Filter 14x3 Dry Washable","Quantity":3,"CustomerPrice":90.990275,"CustomerPriceNonPromotional":90.990275,"BasePrice":102.5,"ListPrice":114.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":10.0,"SpecialOrderDetails":"","MotorStateNotes":"Requires Walker Air Cleaner Lid & Base for Proper Fitment\r\nWLK3000855\r\nWLK3000809","CanRegularBackOrder":true}}] [Thursday 18th of June 2026 08:04:28 PM] get_ms_product() - END - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:28 PM] MS pricing found for SKU WLK3000856-DM - base: 114.99, cost: 90.990275 [Thursday 18th of June 2026 08:04:28 PM] create_new_part() - START - SKU: WLK3000856-DM | Base: 114.99 | Cost: 90.99 | Weight: 1.7000 | MPN: [Thursday 18th of June 2026 08:04:28 PM] create_new_part() - Description parsed - DESCR_1: Air Filter Element - Low Profile - Round - 14 in Diameter - 3 in Tall - Dry - Sy | DESCR_2: nthetic - Blue - Each [Thursday 18th of June 2026 08:04:28 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Thursday 18th of June 2026 08:04:28 PM] create_new_part() - POST payload: {"ID":"WLK3000856-DM","DESCR_1":"Air Filter Element - Low Profile - Round - 14 in Diameter - 3 in Tall - Dry - Sy","DESCR_2":"nthetic - Blue - Each","DESCR_3":"Air Filter Element - Low Profile - Round - 14 in Diameter - 3 in Tall - Dry - Synthetic - Blue - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"90.99","BASE":"114.99","WEIGHT":"1.7000","MFG_PART":"","TREE_ID":"603"} [Thursday 18th of June 2026 08:04:30 PM] create_new_part() - EBMS API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:30 PM] create_new_part() - Part created successfully in EBMS - SKU: WLK3000856-DM - {"id":"WLK3000856-DM","cost":"90.99","base":"114.99","description":"Air Filter Element - Low Profile - Round - 14 in Diameter - 3 in Tall - Dry - Synthetic - Blue - Each","tree_id":" 603"} [Thursday 18th of June 2026 08:04:30 PM] create_new_part() - Sending new part notification email for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:30 PM] create_new_part() - Notification email sent successfully for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:30 PM] create_new_part() - END - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:30 PM] New part created in EBMS for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:04:30 PM] Processing product SKU: 2433115 | Qty: 1 | Price: 12.9900 [Thursday 18th of June 2026 08:04:30 PM] get_mpn() - START - Product ID: 87304 [Thursday 18th of June 2026 08:04:30 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:04:31 PM] get_mpn() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:04:31 PM] get_mpn() - WARNING - MPN is empty for Product ID: 87304 [Thursday 18th of June 2026 08:04:31 PM] get_mpn() - END - Product ID: 87304 | MPN: [Thursday 18th of June 2026 08:04:31 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:04:31 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:04:31 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:04:31 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:04:31 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:04:31 PM] SKU 2433115 found in EBMS - checking prices [Thursday 18th of June 2026 08:04:31 PM] obtain_current_prices() - START - SKU: 2433115 [Thursday 18th of June 2026 08:04:31 PM] obtain_current_prices() - Checking Motorstate for SKU: 2433115 [Thursday 18th of June 2026 08:04:31 PM] check_for_ms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:04:31 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:04:31 PM] check_for_ms_product() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:04:31 PM] check_for_ms_product() - SKU: 2433115 not found in Motorstate [Thursday 18th of June 2026 08:04:31 PM] check_for_ms_product() - END - SKU: 2433115 | Found: false [Thursday 18th of June 2026 08:04:31 PM] obtain_current_prices() - SKU: 2433115 not found in Motorstate - Skipping to EBMS [Thursday 18th of June 2026 08:04:31 PM] obtain_current_prices() - Checking EBMS for SKU: 2433115 [Thursday 18th of June 2026 08:04:31 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:04:31 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:04:32 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:04:32 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:04:32 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:04:32 PM] obtain_current_prices() - SKU: 2433115 found in EBMS - Fetching prices [Thursday 18th of June 2026 08:04:32 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 [Thursday 18th of June 2026 08:04:32 PM] obtain_current_prices() - EBMS prices retrieved for SKU: 2433115 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:04:32 PM] obtain_current_prices() - END - SKU: 2433115 | Final prices - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:04:32 PM] SKU 2433115 has existing EBMS prices - syncing BigCommerce price back (cost: 5.43, base: 12.99) [Thursday 18th of June 2026 08:04:32 PM] update_product_price() - START - Product ID: 87304 | Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:04:32 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:04:32 PM] update_product_price() - PUT payload: {"price":12.9900000000000002131628207280300557613372802734375,"cost_price":5.42999999999999971578290569595992565155029296875} [Thursday 18th of June 2026 08:04:32 PM] update_product_price() - Attempt 1 of 6 for Product ID: 87304 [Thursday 18th of June 2026 08:04:32 PM] update_product_price() - Price updated successfully for Product ID: 87304 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:04:32 PM] update_product_price() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:04:32 PM] BigCommerce price updated for Product ID: 87304 [Thursday 18th of June 2026 08:04:32 PM] get_product_inventory() - START - SKU: 2433115 [Thursday 18th of June 2026 08:04:32 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:04:33 PM] get_product_inventory() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:04:33 PM] get_product_inventory() - SKU: 2433115 not found in Motorstate response item [Thursday 18th of June 2026 08:04:33 PM] get_product_inventory() - END - SKU: 2433115 | Total: 0 [Thursday 18th of June 2026 08:04:33 PM] get_cf_id() - START - Product ID: 87304 [Thursday 18th of June 2026 08:04:33 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields [Thursday 18th of June 2026 08:04:33 PM] get_cf_id() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:04:33 PM] get_cf_id() - Custom field found for Product ID: 87304 | Field: online_stock_level | CF ID: 87194 [Thursday 18th of June 2026 08:04:33 PM] get_cf_id() - END - Product ID: 87304 | CF ID: 87194 [Thursday 18th of June 2026 08:04:33 PM] Updating inventory for SKU 2433115 - stock: 0, CF ID: 87194 [Thursday 18th of June 2026 08:04:33 PM] update_product_inventory() - START - Product ID: 87304 | Stock: 0 | CF ID: 87194 [Thursday 18th of June 2026 08:04:33 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields/87194 [Thursday 18th of June 2026 08:04:33 PM] update_product_inventory() - Inventory updated successfully for Product ID: 87304 | Stock: 0 [Thursday 18th of June 2026 08:04:33 PM] update_product_inventory() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:04:33 PM] Inventory updated for SKU: 2433115 [Thursday 18th of June 2026 08:04:33 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"}] [Thursday 18th of June 2026 08:04:33 PM] Building payment record - Total: 501.5100 [Thursday 18th of June 2026 08:04:33 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"}]} [Thursday 18th of June 2026 08:04:33 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1938 [Thursday 18th of June 2026 08:04:33 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 [Thursday 18th of June 2026 08:04:33 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1938 [Thursday 18th of June 2026 08:04:33 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1938 not found in EBMS [Thursday 18th of June 2026 08:04:33 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1938 | Found: false [Thursday 18th of June 2026 08:04:33 PM] Invoice AP1938 does not exist in EBMS - creating [Thursday 18th of June 2026 08:04:33 PM] create_ebms_invoice() - START - Invoice: AP1938 [Thursday 18th of June 2026 08:04:33 PM] create_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"}]} [Thursday 18th of June 2026 08:04:33 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Thursday 18th of June 2026 08:04:42 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1938 [Thursday 18th of June 2026 08:04:42 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1938 - Response: {"@odata.context":"http:\/\/localhost:61108\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4a533733-3639-4754-4339-325342303030","AUTOID":"37SJ96TGC92SB000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-472.93999999999999772626324556767940521240234375,"BAL_CUST_X":-472.93999999999999772626324556767940521240234375,"BALANCE":-472.93999999999999772626324556767940521240234375,"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":501.509999999999990905052982270717620849609375,"TOTAL_S_SO":472.93999999999999772626324556767940521240234375,"TOTAL_SO":501.509999999999990905052982270717620849609375,"TOTAL_W":0,"TTLPROCPMT":501.509999999999990905052982270717620849609375,"TOTAL":28.57000000000000028421709430404007434844970703125,"FREIGHT":28.57000000000000028421709430404007434844970703125,"HANDLING":0,"SHIPPING":28.57000000000000028421709430404007434844970703125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"149 St. David Ridge Rd.","ADDRESS2":"","C_EMAIL":"fahey_racing@hotmail.com","C_PHONE":"(506) 467-6469","CCNTCT_AID":"TKK22G5PRDA3D9U0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-18T00:00:00Z","CHECK_NO":" APBC","CITY":"Oak Bay","CNTCT_AID":"TKK22G5PRDA3D9U0","COUNTRY":"CA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-18T00:00:00Z","E_DATE":"2026-06-18T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"fahey_racing@hotmail.com","IADDRESS":"8 Customs St. , Calais, ME 04619","ID":"AP290","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-18T00:00:00Z","INVOICE":"AP1938","MAN_TAX":false,"NAME":"Gregory Fahey","PHONE":"","PROCESS":"Default","STATE":null,"TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"E3L 4P7","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"8 Customs St.","C_ADDRESS2":"","C_CITY":"Calais","C_COUNTRY":"USA","C_ID":"AP290","C_NAME":"Greg Fahey","C_STATE":"ME","C_ZIP":"04619","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1938 - Customer AP290","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-18T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Thursday 18th of June 2026 08:04:42 PM] create_ebms_invoice() - END - Invoice: AP1938 [Thursday 18th of June 2026 08:04:42 PM] Invoice AP1938 created successfully [Thursday 18th of June 2026 08:04:42 PM] ORDER WEBHOOK COMPLETED - Order ID: 1938 | Invoice: AP1938 [Thursday 18th of June 2026 08:05:30 PM] ORDER WEBHOOK STARTED - Order ID: 1938 [Thursday 18th of June 2026 08:05:30 PM] Fetching customer data for Order ID: 1938 [Thursday 18th of June 2026 08:05:30 PM] get_order_customer_data() - START - Order ID: 1938 [Thursday 18th of June 2026 08:05:30 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938 [Thursday 18th of June 2026 08:05:30 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:05:30 PM] get_order_customer_data() - Parsing order response for Order ID: 1938 [Thursday 18th of June 2026 08:05:30 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 [Thursday 18th of June 2026 08:05:30 PM] get_order_customer_data() - END - Order ID: 1938 [Thursday 18th of June 2026 08:05:30 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"} [Thursday 18th of June 2026 08:05:30 PM] Fetching shipping info for Order ID: 1938 [Thursday 18th of June 2026 08:05:30 PM] get_order_shipping_info() - START - Order ID: 1938 [Thursday 18th of June 2026 08:05:30 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938/shipping_addresses [Thursday 18th of June 2026 08:05:30 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:05:30 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1938 | Name: Greg Fahey | Address: 8 Customs St., Calais, Maine, 04619 [Thursday 18th of June 2026 08:05:30 PM] get_order_shipping_info() - END - Order ID: 1938 [Thursday 18th of June 2026 08:05:30 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":[]} [Thursday 18th of June 2026 08:05:30 PM] Resolved Customer ID: AP290 [Thursday 18th of June 2026 08:05:30 PM] Building order object for Invoice: AP1938 [Thursday 18th of June 2026 08:05:30 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"} [Thursday 18th of June 2026 08:05:30 PM] Registered customer detected - checking EBMS for Customer ID: AP290 [Thursday 18th of June 2026 08:05:30 PM] check_for_customer() - START - Customer ID: 290 [Thursday 18th of June 2026 08:05:30 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:05:31 PM] check_for_customer() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:05:31 PM] check_for_customer() - Customer ID: 290 found in EBMS [Thursday 18th of June 2026 08:05:31 PM] check_for_customer() - END - Customer ID: 290 | Found: true [Thursday 18th of June 2026 08:05:31 PM] Customer AP290 found in EBMS [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_info() - START - Customer ID: 290 [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_info() - Customer record found for Customer ID: 290 - Checking ADDRESS1 field [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 290 - No update needed [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_info() - END - Customer ID: 290 | Empty Info: false [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_pn() - START - Customer ID: AP290 [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP290 [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_pn() - Customer record found for Customer ID: AP290 - Checking CONTACT_1 field [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP290 - Value: (506) 467-6469 - No update needed [Thursday 18th of June 2026 08:05:31 PM] check_for_empty_pn() - END - Customer ID: AP290 | Empty PN: false [Thursday 18th of June 2026 08:05:31 PM] Fetching products from BigCommerce for Order ID: 1938 [Thursday 18th of June 2026 08:05:32 PM] BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:05:32 PM] Products received: 4 item(s) [Thursday 18th of June 2026 08:05:32 PM] Processing product SKU: ALL99046 | Qty: 3 | Price: 79.9900 [Thursday 18th of June 2026 08:05:32 PM] get_mpn() - START - Product ID: 83566 [Thursday 18th of June 2026 08:05:32 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:05:32 PM] get_mpn() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:05:32 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83566 [Thursday 18th of June 2026 08:05:32 PM] get_mpn() - END - Product ID: 83566 | MPN: [Thursday 18th of June 2026 08:05:32 PM] check_for_ebms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:05:32 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL99046%27 [Thursday 18th of June 2026 08:05:32 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:05:32 PM] check_for_ebms_product() - SKU: ALL99046 found in EBMS [Thursday 18th of June 2026 08:05:32 PM] check_for_ebms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:05:32 PM] SKU ALL99046 found in EBMS - checking prices [Thursday 18th of June 2026 08:05:32 PM] obtain_current_prices() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:05:32 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL99046 [Thursday 18th of June 2026 08:05:32 PM] check_for_ms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:05:32 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:05:33 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:05:33 PM] check_for_ms_product() - SKU: ALL99046 found in Motorstate [Thursday 18th of June 2026 08:05:33 PM] check_for_ms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:05:33 PM] obtain_current_prices() - SKU: ALL99046 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:05:33 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL99046 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:05:33 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:05:33 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:05:33 PM] obtain_current_prices() - END - SKU: ALL99046 [Thursday 18th of June 2026 08:05:33 PM] SKU ALL99046 has existing EBMS prices - syncing BigCommerce price back (cost: 60.15, base: 79.99) [Thursday 18th of June 2026 08:05:33 PM] update_product_price() - START - Product ID: 83566 | Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:05:33 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:05:33 PM] update_product_price() - PUT payload: {"price":79.9899999999999948840923025272786617279052734375,"cost_price":60.14999999999999857891452847979962825775146484375} [Thursday 18th of June 2026 08:05:33 PM] update_product_price() - Attempt 1 of 6 for Product ID: 83566 [Thursday 18th of June 2026 08:05:33 PM] update_product_price() - Price updated successfully for Product ID: 83566 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:05:33 PM] update_product_price() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:05:33 PM] BigCommerce price updated for Product ID: 83566 [Thursday 18th of June 2026 08:05:33 PM] get_product_inventory() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:05:33 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:05:33 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:05:33 PM] get_product_inventory() - Stock found for SKU: ALL99046 - Quantity: 23 | Running Total: 23 [Thursday 18th of June 2026 08:05:33 PM] get_product_inventory() - END - SKU: ALL99046 | Total: 23 [Thursday 18th of June 2026 08:05:33 PM] get_cf_id() - START - Product ID: 83566 [Thursday 18th of June 2026 08:05:33 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields [Thursday 18th of June 2026 08:05:34 PM] get_cf_id() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:05:34 PM] get_cf_id() - Custom field found for Product ID: 83566 | Field: online_stock_level | CF ID: 83456 [Thursday 18th of June 2026 08:05:34 PM] get_cf_id() - END - Product ID: 83566 | CF ID: 83456 [Thursday 18th of June 2026 08:05:34 PM] Updating inventory for SKU ALL99046 - stock: 23, CF ID: 83456 [Thursday 18th of June 2026 08:05:34 PM] update_product_inventory() - START - Product ID: 83566 | Stock: 23 | CF ID: 83456 [Thursday 18th of June 2026 08:05:34 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields/83456 [Thursday 18th of June 2026 08:05:34 PM] update_product_inventory() - Inventory updated successfully for Product ID: 83566 | Stock: 23 [Thursday 18th of June 2026 08:05:34 PM] update_product_inventory() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:05:34 PM] Inventory updated for SKU: ALL99046 [Thursday 18th of June 2026 08:05:34 PM] Processing product SKU: ALL78115 | Qty: 1 | Price: 104.9900 [Thursday 18th of June 2026 08:05:34 PM] get_mpn() - START - Product ID: 65304 [Thursday 18th of June 2026 08:05:34 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:05:34 PM] get_mpn() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:05:34 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65304 [Thursday 18th of June 2026 08:05:34 PM] get_mpn() - END - Product ID: 65304 | MPN: [Thursday 18th of June 2026 08:05:34 PM] check_for_ebms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:05:34 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL78115%27 [Thursday 18th of June 2026 08:05:34 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:05:34 PM] check_for_ebms_product() - SKU: ALL78115 found in EBMS [Thursday 18th of June 2026 08:05:34 PM] check_for_ebms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:05:34 PM] SKU ALL78115 found in EBMS - checking prices [Thursday 18th of June 2026 08:05:34 PM] obtain_current_prices() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:05:34 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL78115 [Thursday 18th of June 2026 08:05:34 PM] check_for_ms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:05:34 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:05:35 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:05:35 PM] check_for_ms_product() - SKU: ALL78115 found in Motorstate [Thursday 18th of June 2026 08:05:35 PM] check_for_ms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:05:35 PM] obtain_current_prices() - SKU: ALL78115 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:05:35 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL78115 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:05:35 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:05:35 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:05:35 PM] obtain_current_prices() - END - SKU: ALL78115 [Thursday 18th of June 2026 08:05:35 PM] SKU ALL78115 has existing EBMS prices - syncing BigCommerce price back (cost: 76.60, base: 104.99) [Thursday 18th of June 2026 08:05:35 PM] update_product_price() - START - Product ID: 65304 | Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:05:35 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:05:35 PM] update_product_price() - PUT payload: {"price":104.9899999999999948840923025272786617279052734375,"cost_price":76.599999999999994315658113919198513031005859375} [Thursday 18th of June 2026 08:05:35 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65304 [Thursday 18th of June 2026 08:05:35 PM] update_product_price() - Price updated successfully for Product ID: 65304 - Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:05:35 PM] update_product_price() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:05:35 PM] BigCommerce price updated for Product ID: 65304 [Thursday 18th of June 2026 08:05:35 PM] get_product_inventory() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:05:35 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:05:35 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:05:35 PM] get_product_inventory() - Stock found for SKU: ALL78115 - Quantity: 100 | Running Total: 100 [Thursday 18th of June 2026 08:05:35 PM] get_product_inventory() - END - SKU: ALL78115 | Total: 100 [Thursday 18th of June 2026 08:05:35 PM] get_cf_id() - START - Product ID: 65304 [Thursday 18th of June 2026 08:05:35 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields [Thursday 18th of June 2026 08:05:35 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:05:35 PM] get_cf_id() - Custom field found for Product ID: 65304 | Field: online_stock_level | CF ID: 65194 [Thursday 18th of June 2026 08:05:35 PM] get_cf_id() - END - Product ID: 65304 | CF ID: 65194 [Thursday 18th of June 2026 08:05:35 PM] Updating inventory for SKU ALL78115 - stock: 100, CF ID: 65194 [Thursday 18th of June 2026 08:05:35 PM] update_product_inventory() - START - Product ID: 65304 | Stock: 100 | CF ID: 65194 [Thursday 18th of June 2026 08:05:35 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields/65194 [Thursday 18th of June 2026 08:05:36 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65304 | Stock: 100 [Thursday 18th of June 2026 08:05:36 PM] update_product_inventory() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:05:36 PM] Inventory updated for SKU: ALL78115 [Thursday 18th of June 2026 08:05:36 PM] Processing product SKU: WLK3000856-DM | Qty: 1 | Price: 114.9900 [Thursday 18th of June 2026 08:05:36 PM] get_mpn() - START - Product ID: 1018 [Thursday 18th of June 2026 08:05:36 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:05:36 PM] get_mpn() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:05:36 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1018 [Thursday 18th of June 2026 08:05:36 PM] get_mpn() - END - Product ID: 1018 | MPN: [Thursday 18th of June 2026 08:05:36 PM] check_for_ebms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:36 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WLK3000856-DM%27 [Thursday 18th of June 2026 08:05:36 PM] check_for_ebms_product() - EBMS API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:36 PM] check_for_ebms_product() - SKU: WLK3000856-DM found in EBMS [Thursday 18th of June 2026 08:05:36 PM] check_for_ebms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:05:36 PM] SKU WLK3000856-DM found in EBMS - checking prices [Thursday 18th of June 2026 08:05:36 PM] obtain_current_prices() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:36 PM] obtain_current_prices() - Checking Motorstate for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:36 PM] check_for_ms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:36 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:05:36 PM] check_for_ms_product() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:36 PM] check_for_ms_product() - SKU: WLK3000856-DM found in Motorstate [Thursday 18th of June 2026 08:05:36 PM] check_for_ms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:05:36 PM] obtain_current_prices() - SKU: WLK3000856-DM found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:05:36 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WLK3000856-DM - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:05:37 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:05:37 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:05:37 PM] obtain_current_prices() - END - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:37 PM] SKU WLK3000856-DM has existing EBMS prices - syncing BigCommerce price back (cost: 90.99, base: 114.99) [Thursday 18th of June 2026 08:05:37 PM] update_product_price() - START - Product ID: 1018 | Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:05:37 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:05:37 PM] update_product_price() - PUT payload: {"price":114.9899999999999948840923025272786617279052734375,"cost_price":90.9899999999999948840923025272786617279052734375} [Thursday 18th of June 2026 08:05:37 PM] update_product_price() - Attempt 1 of 6 for Product ID: 1018 [Thursday 18th of June 2026 08:05:37 PM] update_product_price() - Price updated successfully for Product ID: 1018 - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:05:37 PM] update_product_price() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:05:37 PM] BigCommerce price updated for Product ID: 1018 [Thursday 18th of June 2026 08:05:37 PM] get_product_inventory() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:37 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:05:37 PM] get_product_inventory() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:37 PM] get_product_inventory() - Stock found for SKU: WLK3000856-DM - Quantity: 3 | Running Total: 3 [Thursday 18th of June 2026 08:05:37 PM] get_product_inventory() - END - SKU: WLK3000856-DM | Total: 3 [Thursday 18th of June 2026 08:05:37 PM] get_cf_id() - START - Product ID: 1018 [Thursday 18th of June 2026 08:05:37 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields [Thursday 18th of June 2026 08:05:37 PM] get_cf_id() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:05:37 PM] get_cf_id() - Custom field found for Product ID: 1018 | Field: online_stock_level | CF ID: 908 [Thursday 18th of June 2026 08:05:37 PM] get_cf_id() - END - Product ID: 1018 | CF ID: 908 [Thursday 18th of June 2026 08:05:37 PM] Updating inventory for SKU WLK3000856-DM - stock: 3, CF ID: 908 [Thursday 18th of June 2026 08:05:37 PM] update_product_inventory() - START - Product ID: 1018 | Stock: 3 | CF ID: 908 [Thursday 18th of June 2026 08:05:37 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields/908 [Thursday 18th of June 2026 08:05:38 PM] update_product_inventory() - Inventory updated successfully for Product ID: 1018 | Stock: 3 [Thursday 18th of June 2026 08:05:38 PM] update_product_inventory() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:05:38 PM] Inventory updated for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:05:38 PM] Processing product SKU: 2433115 | Qty: 1 | Price: 12.9900 [Thursday 18th of June 2026 08:05:38 PM] get_mpn() - START - Product ID: 87304 [Thursday 18th of June 2026 08:05:38 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:05:38 PM] get_mpn() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:05:38 PM] get_mpn() - WARNING - MPN is empty for Product ID: 87304 [Thursday 18th of June 2026 08:05:38 PM] get_mpn() - END - Product ID: 87304 | MPN: [Thursday 18th of June 2026 08:05:38 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:05:38 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:05:38 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:05:38 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:05:38 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:05:38 PM] SKU 2433115 found in EBMS - checking prices [Thursday 18th of June 2026 08:05:38 PM] obtain_current_prices() - START - SKU: 2433115 [Thursday 18th of June 2026 08:05:38 PM] obtain_current_prices() - Checking Motorstate for SKU: 2433115 [Thursday 18th of June 2026 08:05:38 PM] check_for_ms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:05:38 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:05:38 PM] check_for_ms_product() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:05:38 PM] check_for_ms_product() - SKU: 2433115 not found in Motorstate [Thursday 18th of June 2026 08:05:38 PM] check_for_ms_product() - END - SKU: 2433115 | Found: false [Thursday 18th of June 2026 08:05:38 PM] obtain_current_prices() - SKU: 2433115 not found in Motorstate - Skipping to EBMS [Thursday 18th of June 2026 08:05:38 PM] obtain_current_prices() - Checking EBMS for SKU: 2433115 [Thursday 18th of June 2026 08:05:38 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:05:38 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:05:39 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:05:39 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:05:39 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:05:39 PM] obtain_current_prices() - SKU: 2433115 found in EBMS - Fetching prices [Thursday 18th of June 2026 08:05:39 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 [Thursday 18th of June 2026 08:05:39 PM] obtain_current_prices() - EBMS prices retrieved for SKU: 2433115 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:05:39 PM] obtain_current_prices() - END - SKU: 2433115 | Final prices - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:05:39 PM] SKU 2433115 has existing EBMS prices - syncing BigCommerce price back (cost: 5.43, base: 12.99) [Thursday 18th of June 2026 08:05:39 PM] update_product_price() - START - Product ID: 87304 | Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:05:39 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:05:39 PM] update_product_price() - PUT payload: {"price":12.9900000000000002131628207280300557613372802734375,"cost_price":5.42999999999999971578290569595992565155029296875} [Thursday 18th of June 2026 08:05:39 PM] update_product_price() - Attempt 1 of 6 for Product ID: 87304 [Thursday 18th of June 2026 08:05:40 PM] update_product_price() - Price updated successfully for Product ID: 87304 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:05:40 PM] update_product_price() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:05:40 PM] BigCommerce price updated for Product ID: 87304 [Thursday 18th of June 2026 08:05:40 PM] get_product_inventory() - START - SKU: 2433115 [Thursday 18th of June 2026 08:05:40 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:05:40 PM] get_product_inventory() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:05:40 PM] get_product_inventory() - SKU: 2433115 not found in Motorstate response item [Thursday 18th of June 2026 08:05:40 PM] get_product_inventory() - END - SKU: 2433115 | Total: 0 [Thursday 18th of June 2026 08:05:40 PM] get_cf_id() - START - Product ID: 87304 [Thursday 18th of June 2026 08:05:40 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields [Thursday 18th of June 2026 08:05:40 PM] get_cf_id() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:05:40 PM] get_cf_id() - Custom field found for Product ID: 87304 | Field: online_stock_level | CF ID: 87194 [Thursday 18th of June 2026 08:05:40 PM] get_cf_id() - END - Product ID: 87304 | CF ID: 87194 [Thursday 18th of June 2026 08:05:40 PM] Updating inventory for SKU 2433115 - stock: 0, CF ID: 87194 [Thursday 18th of June 2026 08:05:40 PM] update_product_inventory() - START - Product ID: 87304 | Stock: 0 | CF ID: 87194 [Thursday 18th of June 2026 08:05:40 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields/87194 [Thursday 18th of June 2026 08:05:40 PM] update_product_inventory() - Inventory updated successfully for Product ID: 87304 | Stock: 0 [Thursday 18th of June 2026 08:05:40 PM] update_product_inventory() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:05:40 PM] Inventory updated for SKU: 2433115 [Thursday 18th of June 2026 08:05:40 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"}] [Thursday 18th of June 2026 08:05:40 PM] Building payment record - Total: 501.5100 [Thursday 18th of June 2026 08:05:40 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"}]} [Thursday 18th of June 2026 08:05:40 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1938 [Thursday 18th of June 2026 08:05:40 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 [Thursday 18th of June 2026 08:05:41 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1938 [Thursday 18th of June 2026 08:05:41 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1938 found in EBMS [Thursday 18th of June 2026 08:05:41 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1938 | Found: true [Thursday 18th of June 2026 08:05:41 PM] Invoice AP1938 already exists in EBMS - patching [Thursday 18th of June 2026 08:05:41 PM] patch_ebms_invoice() - START - Invoice: AP1938 [Thursday 18th of June 2026 08:05:41 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"}]} [Thursday 18th of June 2026 08:05:41 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1938%27 [Thursday 18th of June 2026 08:05:41 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1938 [Thursday 18th of June 2026 08:05:41 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1938 [Thursday 18th of June 2026 08:05:41 PM] patch_ebms_invoice() - END - Invoice: AP1938 [Thursday 18th of June 2026 08:05:41 PM] Invoice AP1938 patched successfully [Thursday 18th of June 2026 08:05:41 PM] ORDER WEBHOOK COMPLETED - Order ID: 1938 | Invoice: AP1938 [Thursday 18th of June 2026 08:08:20 PM] ORDER WEBHOOK STARTED - Order ID: 1938 [Thursday 18th of June 2026 08:08:20 PM] Fetching customer data for Order ID: 1938 [Thursday 18th of June 2026 08:08:20 PM] get_order_customer_data() - START - Order ID: 1938 [Thursday 18th of June 2026 08:08:20 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938 [Thursday 18th of June 2026 08:08:20 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:08:20 PM] get_order_customer_data() - Parsing order response for Order ID: 1938 [Thursday 18th of June 2026 08:08:20 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 [Thursday 18th of June 2026 08:08:20 PM] get_order_customer_data() - END - Order ID: 1938 [Thursday 18th of June 2026 08:08:20 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"} [Thursday 18th of June 2026 08:08:20 PM] Fetching shipping info for Order ID: 1938 [Thursday 18th of June 2026 08:08:20 PM] get_order_shipping_info() - START - Order ID: 1938 [Thursday 18th of June 2026 08:08:20 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938/shipping_addresses [Thursday 18th of June 2026 08:08:21 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:08:21 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1938 | Name: Greg Fahey | Address: 8 Customs St., Calais, Maine, 04619 [Thursday 18th of June 2026 08:08:21 PM] get_order_shipping_info() - END - Order ID: 1938 [Thursday 18th of June 2026 08:08:21 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":[]} [Thursday 18th of June 2026 08:08:21 PM] Resolved Customer ID: AP290 [Thursday 18th of June 2026 08:08:21 PM] Building order object for Invoice: AP1938 [Thursday 18th of June 2026 08:08:21 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"} [Thursday 18th of June 2026 08:08:21 PM] Registered customer detected - checking EBMS for Customer ID: AP290 [Thursday 18th of June 2026 08:08:21 PM] check_for_customer() - START - Customer ID: 290 [Thursday 18th of June 2026 08:08:21 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:08:21 PM] check_for_customer() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:08:21 PM] check_for_customer() - Customer ID: 290 found in EBMS [Thursday 18th of June 2026 08:08:21 PM] check_for_customer() - END - Customer ID: 290 | Found: true [Thursday 18th of June 2026 08:08:21 PM] Customer AP290 found in EBMS [Thursday 18th of June 2026 08:08:21 PM] check_for_empty_info() - START - Customer ID: 290 [Thursday 18th of June 2026 08:08:21 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:08:21 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:08:21 PM] check_for_empty_info() - Customer record found for Customer ID: 290 - Checking ADDRESS1 field [Thursday 18th of June 2026 08:08:21 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 290 - No update needed [Thursday 18th of June 2026 08:08:21 PM] check_for_empty_info() - END - Customer ID: 290 | Empty Info: false [Thursday 18th of June 2026 08:08:21 PM] check_for_empty_pn() - START - Customer ID: AP290 [Thursday 18th of June 2026 08:08:21 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:08:22 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP290 [Thursday 18th of June 2026 08:08:22 PM] check_for_empty_pn() - Customer record found for Customer ID: AP290 - Checking CONTACT_1 field [Thursday 18th of June 2026 08:08:22 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP290 - Value: (506) 467-6469 - No update needed [Thursday 18th of June 2026 08:08:22 PM] check_for_empty_pn() - END - Customer ID: AP290 | Empty PN: false [Thursday 18th of June 2026 08:08:22 PM] Fetching products from BigCommerce for Order ID: 1938 [Thursday 18th of June 2026 08:08:22 PM] BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:08:22 PM] Products received: 4 item(s) [Thursday 18th of June 2026 08:08:22 PM] Processing product SKU: ALL99046 | Qty: 3 | Price: 79.9900 [Thursday 18th of June 2026 08:08:22 PM] get_mpn() - START - Product ID: 83566 [Thursday 18th of June 2026 08:08:22 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:08:22 PM] get_mpn() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:08:22 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83566 [Thursday 18th of June 2026 08:08:22 PM] get_mpn() - END - Product ID: 83566 | MPN: [Thursday 18th of June 2026 08:08:22 PM] check_for_ebms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:08:22 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL99046%27 [Thursday 18th of June 2026 08:08:22 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:08:22 PM] check_for_ebms_product() - SKU: ALL99046 found in EBMS [Thursday 18th of June 2026 08:08:22 PM] check_for_ebms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:08:22 PM] SKU ALL99046 found in EBMS - checking prices [Thursday 18th of June 2026 08:08:22 PM] obtain_current_prices() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:08:22 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL99046 [Thursday 18th of June 2026 08:08:22 PM] check_for_ms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:08:22 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:08:23 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:08:23 PM] check_for_ms_product() - SKU: ALL99046 found in Motorstate [Thursday 18th of June 2026 08:08:23 PM] check_for_ms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:08:23 PM] obtain_current_prices() - SKU: ALL99046 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:08:23 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL99046 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:08:23 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:08:23 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:08:23 PM] obtain_current_prices() - END - SKU: ALL99046 [Thursday 18th of June 2026 08:08:23 PM] SKU ALL99046 has existing EBMS prices - syncing BigCommerce price back (cost: 60.15, base: 79.99) [Thursday 18th of June 2026 08:08:23 PM] update_product_price() - START - Product ID: 83566 | Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:08:23 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:08:23 PM] update_product_price() - PUT payload: {"price":79.9899999999999948840923025272786617279052734375,"cost_price":60.14999999999999857891452847979962825775146484375} [Thursday 18th of June 2026 08:08:23 PM] update_product_price() - Attempt 1 of 6 for Product ID: 83566 [Thursday 18th of June 2026 08:08:23 PM] update_product_price() - Price updated successfully for Product ID: 83566 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:08:23 PM] update_product_price() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:08:23 PM] BigCommerce price updated for Product ID: 83566 [Thursday 18th of June 2026 08:08:23 PM] get_product_inventory() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:08:23 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:08:23 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:08:23 PM] get_product_inventory() - Stock found for SKU: ALL99046 - Quantity: 23 | Running Total: 23 [Thursday 18th of June 2026 08:08:23 PM] get_product_inventory() - END - SKU: ALL99046 | Total: 23 [Thursday 18th of June 2026 08:08:23 PM] get_cf_id() - START - Product ID: 83566 [Thursday 18th of June 2026 08:08:23 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields [Thursday 18th of June 2026 08:08:23 PM] get_cf_id() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:08:23 PM] get_cf_id() - Custom field found for Product ID: 83566 | Field: online_stock_level | CF ID: 83456 [Thursday 18th of June 2026 08:08:23 PM] get_cf_id() - END - Product ID: 83566 | CF ID: 83456 [Thursday 18th of June 2026 08:08:23 PM] Updating inventory for SKU ALL99046 - stock: 23, CF ID: 83456 [Thursday 18th of June 2026 08:08:23 PM] update_product_inventory() - START - Product ID: 83566 | Stock: 23 | CF ID: 83456 [Thursday 18th of June 2026 08:08:23 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields/83456 [Thursday 18th of June 2026 08:08:23 PM] update_product_inventory() - Inventory updated successfully for Product ID: 83566 | Stock: 23 [Thursday 18th of June 2026 08:08:23 PM] update_product_inventory() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:08:24 PM] Inventory updated for SKU: ALL99046 [Thursday 18th of June 2026 08:08:24 PM] Processing product SKU: ALL78115 | Qty: 1 | Price: 104.9900 [Thursday 18th of June 2026 08:08:24 PM] get_mpn() - START - Product ID: 65304 [Thursday 18th of June 2026 08:08:24 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:08:24 PM] get_mpn() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:08:24 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65304 [Thursday 18th of June 2026 08:08:24 PM] get_mpn() - END - Product ID: 65304 | MPN: [Thursday 18th of June 2026 08:08:24 PM] check_for_ebms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:08:24 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL78115%27 [Thursday 18th of June 2026 08:08:24 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:08:24 PM] check_for_ebms_product() - SKU: ALL78115 found in EBMS [Thursday 18th of June 2026 08:08:24 PM] check_for_ebms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:08:24 PM] SKU ALL78115 found in EBMS - checking prices [Thursday 18th of June 2026 08:08:24 PM] obtain_current_prices() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:08:24 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL78115 [Thursday 18th of June 2026 08:08:24 PM] check_for_ms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:08:24 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:08:24 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:08:24 PM] check_for_ms_product() - SKU: ALL78115 found in Motorstate [Thursday 18th of June 2026 08:08:24 PM] check_for_ms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:08:24 PM] obtain_current_prices() - SKU: ALL78115 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:08:24 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL78115 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:08:24 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:08:24 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:08:24 PM] obtain_current_prices() - END - SKU: ALL78115 [Thursday 18th of June 2026 08:08:24 PM] SKU ALL78115 has existing EBMS prices - syncing BigCommerce price back (cost: 76.60, base: 104.99) [Thursday 18th of June 2026 08:08:24 PM] update_product_price() - START - Product ID: 65304 | Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:08:24 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:08:24 PM] update_product_price() - PUT payload: {"price":104.9899999999999948840923025272786617279052734375,"cost_price":76.599999999999994315658113919198513031005859375} [Thursday 18th of June 2026 08:08:24 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65304 [Thursday 18th of June 2026 08:08:25 PM] update_product_price() - Price updated successfully for Product ID: 65304 - Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:08:25 PM] update_product_price() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:08:25 PM] BigCommerce price updated for Product ID: 65304 [Thursday 18th of June 2026 08:08:25 PM] get_product_inventory() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:08:25 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:08:25 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:08:25 PM] get_product_inventory() - Stock found for SKU: ALL78115 - Quantity: 100 | Running Total: 100 [Thursday 18th of June 2026 08:08:25 PM] get_product_inventory() - END - SKU: ALL78115 | Total: 100 [Thursday 18th of June 2026 08:08:25 PM] get_cf_id() - START - Product ID: 65304 [Thursday 18th of June 2026 08:08:25 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields [Thursday 18th of June 2026 08:08:25 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:08:25 PM] get_cf_id() - Custom field found for Product ID: 65304 | Field: online_stock_level | CF ID: 65194 [Thursday 18th of June 2026 08:08:25 PM] get_cf_id() - END - Product ID: 65304 | CF ID: 65194 [Thursday 18th of June 2026 08:08:25 PM] Updating inventory for SKU ALL78115 - stock: 100, CF ID: 65194 [Thursday 18th of June 2026 08:08:25 PM] update_product_inventory() - START - Product ID: 65304 | Stock: 100 | CF ID: 65194 [Thursday 18th of June 2026 08:08:25 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields/65194 [Thursday 18th of June 2026 08:08:25 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65304 | Stock: 100 [Thursday 18th of June 2026 08:08:25 PM] update_product_inventory() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:08:25 PM] Inventory updated for SKU: ALL78115 [Thursday 18th of June 2026 08:08:25 PM] Processing product SKU: WLK3000856-DM | Qty: 1 | Price: 114.9900 [Thursday 18th of June 2026 08:08:25 PM] get_mpn() - START - Product ID: 1018 [Thursday 18th of June 2026 08:08:25 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:08:25 PM] get_mpn() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:08:25 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1018 [Thursday 18th of June 2026 08:08:25 PM] get_mpn() - END - Product ID: 1018 | MPN: [Thursday 18th of June 2026 08:08:25 PM] check_for_ebms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:25 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WLK3000856-DM%27 [Thursday 18th of June 2026 08:08:26 PM] check_for_ebms_product() - EBMS API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] check_for_ebms_product() - SKU: WLK3000856-DM found in EBMS [Thursday 18th of June 2026 08:08:26 PM] check_for_ebms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:08:26 PM] SKU WLK3000856-DM found in EBMS - checking prices [Thursday 18th of June 2026 08:08:26 PM] obtain_current_prices() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] obtain_current_prices() - Checking Motorstate for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] check_for_ms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] check_for_ms_product() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] check_for_ms_product() - SKU: WLK3000856-DM found in Motorstate [Thursday 18th of June 2026 08:08:26 PM] check_for_ms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:08:26 PM] obtain_current_prices() - SKU: WLK3000856-DM found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:08:26 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WLK3000856-DM - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:08:26 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:08:26 PM] obtain_current_prices() - END - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] SKU WLK3000856-DM has existing EBMS prices - syncing BigCommerce price back (cost: 90.99, base: 114.99) [Thursday 18th of June 2026 08:08:26 PM] update_product_price() - START - Product ID: 1018 | Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:08:26 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:08:26 PM] update_product_price() - PUT payload: {"price":114.9899999999999948840923025272786617279052734375,"cost_price":90.9899999999999948840923025272786617279052734375} [Thursday 18th of June 2026 08:08:26 PM] update_product_price() - Attempt 1 of 6 for Product ID: 1018 [Thursday 18th of June 2026 08:08:26 PM] update_product_price() - Price updated successfully for Product ID: 1018 - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:08:26 PM] update_product_price() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:08:26 PM] BigCommerce price updated for Product ID: 1018 [Thursday 18th of June 2026 08:08:26 PM] get_product_inventory() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:26 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:08:27 PM] get_product_inventory() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:27 PM] get_product_inventory() - Stock found for SKU: WLK3000856-DM - Quantity: 3 | Running Total: 3 [Thursday 18th of June 2026 08:08:27 PM] get_product_inventory() - END - SKU: WLK3000856-DM | Total: 3 [Thursday 18th of June 2026 08:08:27 PM] get_cf_id() - START - Product ID: 1018 [Thursday 18th of June 2026 08:08:27 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields [Thursday 18th of June 2026 08:08:27 PM] get_cf_id() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:08:27 PM] get_cf_id() - Custom field found for Product ID: 1018 | Field: online_stock_level | CF ID: 908 [Thursday 18th of June 2026 08:08:27 PM] get_cf_id() - END - Product ID: 1018 | CF ID: 908 [Thursday 18th of June 2026 08:08:27 PM] Updating inventory for SKU WLK3000856-DM - stock: 3, CF ID: 908 [Thursday 18th of June 2026 08:08:27 PM] update_product_inventory() - START - Product ID: 1018 | Stock: 3 | CF ID: 908 [Thursday 18th of June 2026 08:08:27 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields/908 [Thursday 18th of June 2026 08:08:27 PM] update_product_inventory() - Inventory updated successfully for Product ID: 1018 | Stock: 3 [Thursday 18th of June 2026 08:08:27 PM] update_product_inventory() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:08:27 PM] Inventory updated for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:08:27 PM] Processing product SKU: 2433115 | Qty: 1 | Price: 12.9900 [Thursday 18th of June 2026 08:08:27 PM] get_mpn() - START - Product ID: 87304 [Thursday 18th of June 2026 08:08:27 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:08:27 PM] get_mpn() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:08:27 PM] get_mpn() - WARNING - MPN is empty for Product ID: 87304 [Thursday 18th of June 2026 08:08:27 PM] get_mpn() - END - Product ID: 87304 | MPN: [Thursday 18th of June 2026 08:08:27 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:08:27 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:08:28 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:08:28 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:08:28 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:08:28 PM] SKU 2433115 found in EBMS - checking prices [Thursday 18th of June 2026 08:08:28 PM] obtain_current_prices() - START - SKU: 2433115 [Thursday 18th of June 2026 08:08:28 PM] obtain_current_prices() - Checking Motorstate for SKU: 2433115 [Thursday 18th of June 2026 08:08:28 PM] check_for_ms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:08:28 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:08:28 PM] check_for_ms_product() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:08:28 PM] check_for_ms_product() - SKU: 2433115 not found in Motorstate [Thursday 18th of June 2026 08:08:28 PM] check_for_ms_product() - END - SKU: 2433115 | Found: false [Thursday 18th of June 2026 08:08:28 PM] obtain_current_prices() - SKU: 2433115 not found in Motorstate - Skipping to EBMS [Thursday 18th of June 2026 08:08:28 PM] obtain_current_prices() - Checking EBMS for SKU: 2433115 [Thursday 18th of June 2026 08:08:28 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:08:28 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:08:28 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:08:28 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:08:28 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:08:28 PM] obtain_current_prices() - SKU: 2433115 found in EBMS - Fetching prices [Thursday 18th of June 2026 08:08:28 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 [Thursday 18th of June 2026 08:08:28 PM] obtain_current_prices() - EBMS prices retrieved for SKU: 2433115 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:08:28 PM] obtain_current_prices() - END - SKU: 2433115 | Final prices - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:08:28 PM] SKU 2433115 has existing EBMS prices - syncing BigCommerce price back (cost: 5.43, base: 12.99) [Thursday 18th of June 2026 08:08:28 PM] update_product_price() - START - Product ID: 87304 | Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:08:28 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:08:28 PM] update_product_price() - PUT payload: {"price":12.9900000000000002131628207280300557613372802734375,"cost_price":5.42999999999999971578290569595992565155029296875} [Thursday 18th of June 2026 08:08:28 PM] update_product_price() - Attempt 1 of 6 for Product ID: 87304 [Thursday 18th of June 2026 08:08:29 PM] update_product_price() - Price updated successfully for Product ID: 87304 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:08:29 PM] update_product_price() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:08:29 PM] BigCommerce price updated for Product ID: 87304 [Thursday 18th of June 2026 08:08:29 PM] get_product_inventory() - START - SKU: 2433115 [Thursday 18th of June 2026 08:08:29 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:08:29 PM] get_product_inventory() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:08:29 PM] get_product_inventory() - SKU: 2433115 not found in Motorstate response item [Thursday 18th of June 2026 08:08:29 PM] get_product_inventory() - END - SKU: 2433115 | Total: 0 [Thursday 18th of June 2026 08:08:29 PM] get_cf_id() - START - Product ID: 87304 [Thursday 18th of June 2026 08:08:29 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields [Thursday 18th of June 2026 08:08:29 PM] get_cf_id() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:08:29 PM] get_cf_id() - Custom field found for Product ID: 87304 | Field: online_stock_level | CF ID: 87194 [Thursday 18th of June 2026 08:08:29 PM] get_cf_id() - END - Product ID: 87304 | CF ID: 87194 [Thursday 18th of June 2026 08:08:29 PM] Updating inventory for SKU 2433115 - stock: 0, CF ID: 87194 [Thursday 18th of June 2026 08:08:29 PM] update_product_inventory() - START - Product ID: 87304 | Stock: 0 | CF ID: 87194 [Thursday 18th of June 2026 08:08:29 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields/87194 [Thursday 18th of June 2026 08:08:29 PM] update_product_inventory() - Inventory updated successfully for Product ID: 87304 | Stock: 0 [Thursday 18th of June 2026 08:08:29 PM] update_product_inventory() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:08:29 PM] Inventory updated for SKU: 2433115 [Thursday 18th of June 2026 08:08:29 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"}] [Thursday 18th of June 2026 08:08:29 PM] Building payment record - Total: 501.5100 [Thursday 18th of June 2026 08:08:29 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"}]} [Thursday 18th of June 2026 08:08:29 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1938 [Thursday 18th of June 2026 08:08:29 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 [Thursday 18th of June 2026 08:08:30 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1938 [Thursday 18th of June 2026 08:08:30 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1938 found in EBMS [Thursday 18th of June 2026 08:08:30 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1938 | Found: true [Thursday 18th of June 2026 08:08:30 PM] Invoice AP1938 already exists in EBMS - patching [Thursday 18th of June 2026 08:08:30 PM] patch_ebms_invoice() - START - Invoice: AP1938 [Thursday 18th of June 2026 08:08:30 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"}]} [Thursday 18th of June 2026 08:08:30 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1938%27 [Thursday 18th of June 2026 08:08:30 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1938 [Thursday 18th of June 2026 08:08:30 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1938 [Thursday 18th of June 2026 08:08:30 PM] patch_ebms_invoice() - END - Invoice: AP1938 [Thursday 18th of June 2026 08:08:30 PM] Invoice AP1938 patched successfully [Thursday 18th of June 2026 08:08:30 PM] ORDER WEBHOOK COMPLETED - Order ID: 1938 | Invoice: AP1938 [Thursday 18th of June 2026 08:13:30 PM] ORDER WEBHOOK STARTED - Order ID: 1938 [Thursday 18th of June 2026 08:13:30 PM] Fetching customer data for Order ID: 1938 [Thursday 18th of June 2026 08:13:30 PM] get_order_customer_data() - START - Order ID: 1938 [Thursday 18th of June 2026 08:13:30 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938 [Thursday 18th of June 2026 08:13:31 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:13:31 PM] get_order_customer_data() - Parsing order response for Order ID: 1938 [Thursday 18th of June 2026 08:13:31 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 [Thursday 18th of June 2026 08:13:31 PM] get_order_customer_data() - END - Order ID: 1938 [Thursday 18th of June 2026 08:13:31 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"} [Thursday 18th of June 2026 08:13:31 PM] Fetching shipping info for Order ID: 1938 [Thursday 18th of June 2026 08:13:31 PM] get_order_shipping_info() - START - Order ID: 1938 [Thursday 18th of June 2026 08:13:31 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938/shipping_addresses [Thursday 18th of June 2026 08:13:31 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:13:31 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1938 | Name: Greg Fahey | Address: 8 Customs St., Calais, Maine, 04619 [Thursday 18th of June 2026 08:13:31 PM] get_order_shipping_info() - END - Order ID: 1938 [Thursday 18th of June 2026 08:13:31 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":[]} [Thursday 18th of June 2026 08:13:31 PM] Resolved Customer ID: AP290 [Thursday 18th of June 2026 08:13:31 PM] Building order object for Invoice: AP1938 [Thursday 18th of June 2026 08:13:31 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"} [Thursday 18th of June 2026 08:13:31 PM] Registered customer detected - checking EBMS for Customer ID: AP290 [Thursday 18th of June 2026 08:13:31 PM] check_for_customer() - START - Customer ID: 290 [Thursday 18th of June 2026 08:13:31 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:13:31 PM] check_for_customer() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:13:31 PM] check_for_customer() - Customer ID: 290 found in EBMS [Thursday 18th of June 2026 08:13:31 PM] check_for_customer() - END - Customer ID: 290 | Found: true [Thursday 18th of June 2026 08:13:31 PM] Customer AP290 found in EBMS [Thursday 18th of June 2026 08:13:31 PM] check_for_empty_info() - START - Customer ID: 290 [Thursday 18th of June 2026 08:13:31 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:13:31 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:13:31 PM] check_for_empty_info() - Customer record found for Customer ID: 290 - Checking ADDRESS1 field [Thursday 18th of June 2026 08:13:31 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 290 - No update needed [Thursday 18th of June 2026 08:13:31 PM] check_for_empty_info() - END - Customer ID: 290 | Empty Info: false [Thursday 18th of June 2026 08:13:31 PM] check_for_empty_pn() - START - Customer ID: AP290 [Thursday 18th of June 2026 08:13:31 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:13:32 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP290 [Thursday 18th of June 2026 08:13:32 PM] check_for_empty_pn() - Customer record found for Customer ID: AP290 - Checking CONTACT_1 field [Thursday 18th of June 2026 08:13:32 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP290 - Value: (506) 467-6469 - No update needed [Thursday 18th of June 2026 08:13:32 PM] check_for_empty_pn() - END - Customer ID: AP290 | Empty PN: false [Thursday 18th of June 2026 08:13:32 PM] Fetching products from BigCommerce for Order ID: 1938 [Thursday 18th of June 2026 08:13:32 PM] BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:13:32 PM] Products received: 4 item(s) [Thursday 18th of June 2026 08:13:32 PM] Processing product SKU: ALL99046 | Qty: 3 | Price: 79.9900 [Thursday 18th of June 2026 08:13:32 PM] get_mpn() - START - Product ID: 83566 [Thursday 18th of June 2026 08:13:32 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:13:32 PM] get_mpn() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:13:32 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83566 [Thursday 18th of June 2026 08:13:32 PM] get_mpn() - END - Product ID: 83566 | MPN: [Thursday 18th of June 2026 08:13:32 PM] check_for_ebms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:13:32 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL99046%27 [Thursday 18th of June 2026 08:13:33 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:13:33 PM] check_for_ebms_product() - SKU: ALL99046 found in EBMS [Thursday 18th of June 2026 08:13:33 PM] check_for_ebms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:13:33 PM] SKU ALL99046 found in EBMS - checking prices [Thursday 18th of June 2026 08:13:33 PM] obtain_current_prices() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:13:33 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL99046 [Thursday 18th of June 2026 08:13:33 PM] check_for_ms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:13:33 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:13:33 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:13:33 PM] check_for_ms_product() - SKU: ALL99046 found in Motorstate [Thursday 18th of June 2026 08:13:33 PM] check_for_ms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:13:33 PM] obtain_current_prices() - SKU: ALL99046 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:13:33 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL99046 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:13:34 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:13:34 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:13:34 PM] obtain_current_prices() - END - SKU: ALL99046 [Thursday 18th of June 2026 08:13:34 PM] SKU ALL99046 has existing EBMS prices - syncing BigCommerce price back (cost: 60.15, base: 79.99) [Thursday 18th of June 2026 08:13:34 PM] update_product_price() - START - Product ID: 83566 | Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:13:34 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:13:34 PM] update_product_price() - PUT payload: {"price":79.9899999999999948840923025272786617279052734375,"cost_price":60.14999999999999857891452847979962825775146484375} [Thursday 18th of June 2026 08:13:34 PM] update_product_price() - Attempt 1 of 6 for Product ID: 83566 [Thursday 18th of June 2026 08:13:34 PM] update_product_price() - Price updated successfully for Product ID: 83566 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:13:34 PM] update_product_price() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:13:34 PM] BigCommerce price updated for Product ID: 83566 [Thursday 18th of June 2026 08:13:34 PM] get_product_inventory() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:13:34 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:13:34 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:13:34 PM] get_product_inventory() - Stock found for SKU: ALL99046 - Quantity: 23 | Running Total: 23 [Thursday 18th of June 2026 08:13:34 PM] get_product_inventory() - END - SKU: ALL99046 | Total: 23 [Thursday 18th of June 2026 08:13:34 PM] get_cf_id() - START - Product ID: 83566 [Thursday 18th of June 2026 08:13:34 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields [Thursday 18th of June 2026 08:13:34 PM] get_cf_id() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:13:34 PM] get_cf_id() - Custom field found for Product ID: 83566 | Field: online_stock_level | CF ID: 83456 [Thursday 18th of June 2026 08:13:34 PM] get_cf_id() - END - Product ID: 83566 | CF ID: 83456 [Thursday 18th of June 2026 08:13:34 PM] Updating inventory for SKU ALL99046 - stock: 23, CF ID: 83456 [Thursday 18th of June 2026 08:13:34 PM] update_product_inventory() - START - Product ID: 83566 | Stock: 23 | CF ID: 83456 [Thursday 18th of June 2026 08:13:34 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields/83456 [Thursday 18th of June 2026 08:13:35 PM] update_product_inventory() - Inventory updated successfully for Product ID: 83566 | Stock: 23 [Thursday 18th of June 2026 08:13:35 PM] update_product_inventory() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:13:35 PM] Inventory updated for SKU: ALL99046 [Thursday 18th of June 2026 08:13:35 PM] Processing product SKU: ALL78115 | Qty: 1 | Price: 104.9900 [Thursday 18th of June 2026 08:13:35 PM] get_mpn() - START - Product ID: 65304 [Thursday 18th of June 2026 08:13:35 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:13:35 PM] get_mpn() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:13:35 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65304 [Thursday 18th of June 2026 08:13:35 PM] get_mpn() - END - Product ID: 65304 | MPN: [Thursday 18th of June 2026 08:13:35 PM] check_for_ebms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:13:35 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL78115%27 [Thursday 18th of June 2026 08:13:35 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:13:35 PM] check_for_ebms_product() - SKU: ALL78115 found in EBMS [Thursday 18th of June 2026 08:13:35 PM] check_for_ebms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:13:35 PM] SKU ALL78115 found in EBMS - checking prices [Thursday 18th of June 2026 08:13:35 PM] obtain_current_prices() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:13:35 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL78115 [Thursday 18th of June 2026 08:13:35 PM] check_for_ms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:13:35 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:13:36 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:13:36 PM] check_for_ms_product() - SKU: ALL78115 found in Motorstate [Thursday 18th of June 2026 08:13:36 PM] check_for_ms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:13:36 PM] obtain_current_prices() - SKU: ALL78115 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:13:36 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL78115 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:13:36 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:13:36 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:13:36 PM] obtain_current_prices() - END - SKU: ALL78115 [Thursday 18th of June 2026 08:13:36 PM] SKU ALL78115 has existing EBMS prices - syncing BigCommerce price back (cost: 76.60, base: 104.99) [Thursday 18th of June 2026 08:13:36 PM] update_product_price() - START - Product ID: 65304 | Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:13:36 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:13:36 PM] update_product_price() - PUT payload: {"price":104.9899999999999948840923025272786617279052734375,"cost_price":76.599999999999994315658113919198513031005859375} [Thursday 18th of June 2026 08:13:36 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65304 [Thursday 18th of June 2026 08:13:36 PM] update_product_price() - Price updated successfully for Product ID: 65304 - Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:13:36 PM] update_product_price() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:13:36 PM] BigCommerce price updated for Product ID: 65304 [Thursday 18th of June 2026 08:13:36 PM] get_product_inventory() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:13:36 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:13:36 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:13:36 PM] get_product_inventory() - Stock found for SKU: ALL78115 - Quantity: 100 | Running Total: 100 [Thursday 18th of June 2026 08:13:36 PM] get_product_inventory() - END - SKU: ALL78115 | Total: 100 [Thursday 18th of June 2026 08:13:36 PM] get_cf_id() - START - Product ID: 65304 [Thursday 18th of June 2026 08:13:36 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields [Thursday 18th of June 2026 08:13:36 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:13:36 PM] get_cf_id() - Custom field found for Product ID: 65304 | Field: online_stock_level | CF ID: 65194 [Thursday 18th of June 2026 08:13:36 PM] get_cf_id() - END - Product ID: 65304 | CF ID: 65194 [Thursday 18th of June 2026 08:13:36 PM] Updating inventory for SKU ALL78115 - stock: 100, CF ID: 65194 [Thursday 18th of June 2026 08:13:36 PM] update_product_inventory() - START - Product ID: 65304 | Stock: 100 | CF ID: 65194 [Thursday 18th of June 2026 08:13:36 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields/65194 [Thursday 18th of June 2026 08:13:37 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65304 | Stock: 100 [Thursday 18th of June 2026 08:13:37 PM] update_product_inventory() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:13:37 PM] Inventory updated for SKU: ALL78115 [Thursday 18th of June 2026 08:13:37 PM] Processing product SKU: WLK3000856-DM | Qty: 1 | Price: 114.9900 [Thursday 18th of June 2026 08:13:37 PM] get_mpn() - START - Product ID: 1018 [Thursday 18th of June 2026 08:13:37 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:13:37 PM] get_mpn() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:13:37 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1018 [Thursday 18th of June 2026 08:13:37 PM] get_mpn() - END - Product ID: 1018 | MPN: [Thursday 18th of June 2026 08:13:37 PM] check_for_ebms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:37 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WLK3000856-DM%27 [Thursday 18th of June 2026 08:13:37 PM] check_for_ebms_product() - EBMS API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:37 PM] check_for_ebms_product() - SKU: WLK3000856-DM found in EBMS [Thursday 18th of June 2026 08:13:37 PM] check_for_ebms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:13:37 PM] SKU WLK3000856-DM found in EBMS - checking prices [Thursday 18th of June 2026 08:13:37 PM] obtain_current_prices() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:37 PM] obtain_current_prices() - Checking Motorstate for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:37 PM] check_for_ms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:37 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:13:38 PM] check_for_ms_product() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:38 PM] check_for_ms_product() - SKU: WLK3000856-DM found in Motorstate [Thursday 18th of June 2026 08:13:38 PM] check_for_ms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:13:38 PM] obtain_current_prices() - SKU: WLK3000856-DM found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:13:38 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WLK3000856-DM - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:13:38 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:13:38 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:13:38 PM] obtain_current_prices() - END - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:38 PM] SKU WLK3000856-DM has existing EBMS prices - syncing BigCommerce price back (cost: 90.99, base: 114.99) [Thursday 18th of June 2026 08:13:38 PM] update_product_price() - START - Product ID: 1018 | Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:13:38 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:13:38 PM] update_product_price() - PUT payload: {"price":114.9899999999999948840923025272786617279052734375,"cost_price":90.9899999999999948840923025272786617279052734375} [Thursday 18th of June 2026 08:13:38 PM] update_product_price() - Attempt 1 of 6 for Product ID: 1018 [Thursday 18th of June 2026 08:13:38 PM] update_product_price() - Price updated successfully for Product ID: 1018 - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:13:38 PM] update_product_price() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:13:38 PM] BigCommerce price updated for Product ID: 1018 [Thursday 18th of June 2026 08:13:38 PM] get_product_inventory() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:38 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:13:38 PM] get_product_inventory() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:38 PM] get_product_inventory() - Stock found for SKU: WLK3000856-DM - Quantity: 3 | Running Total: 3 [Thursday 18th of June 2026 08:13:38 PM] get_product_inventory() - END - SKU: WLK3000856-DM | Total: 3 [Thursday 18th of June 2026 08:13:38 PM] get_cf_id() - START - Product ID: 1018 [Thursday 18th of June 2026 08:13:38 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields [Thursday 18th of June 2026 08:13:38 PM] get_cf_id() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:13:38 PM] get_cf_id() - Custom field found for Product ID: 1018 | Field: online_stock_level | CF ID: 908 [Thursday 18th of June 2026 08:13:38 PM] get_cf_id() - END - Product ID: 1018 | CF ID: 908 [Thursday 18th of June 2026 08:13:38 PM] Updating inventory for SKU WLK3000856-DM - stock: 3, CF ID: 908 [Thursday 18th of June 2026 08:13:38 PM] update_product_inventory() - START - Product ID: 1018 | Stock: 3 | CF ID: 908 [Thursday 18th of June 2026 08:13:38 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields/908 [Thursday 18th of June 2026 08:13:38 PM] update_product_inventory() - Inventory updated successfully for Product ID: 1018 | Stock: 3 [Thursday 18th of June 2026 08:13:38 PM] update_product_inventory() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:13:38 PM] Inventory updated for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:13:38 PM] Processing product SKU: 2433115 | Qty: 1 | Price: 12.9900 [Thursday 18th of June 2026 08:13:38 PM] get_mpn() - START - Product ID: 87304 [Thursday 18th of June 2026 08:13:38 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:13:39 PM] get_mpn() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:13:39 PM] get_mpn() - WARNING - MPN is empty for Product ID: 87304 [Thursday 18th of June 2026 08:13:39 PM] get_mpn() - END - Product ID: 87304 | MPN: [Thursday 18th of June 2026 08:13:39 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:13:39 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:13:39 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:13:39 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:13:39 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:13:39 PM] SKU 2433115 found in EBMS - checking prices [Thursday 18th of June 2026 08:13:39 PM] obtain_current_prices() - START - SKU: 2433115 [Thursday 18th of June 2026 08:13:39 PM] obtain_current_prices() - Checking Motorstate for SKU: 2433115 [Thursday 18th of June 2026 08:13:39 PM] check_for_ms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:13:39 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:13:39 PM] check_for_ms_product() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:13:39 PM] check_for_ms_product() - SKU: 2433115 not found in Motorstate [Thursday 18th of June 2026 08:13:39 PM] check_for_ms_product() - END - SKU: 2433115 | Found: false [Thursday 18th of June 2026 08:13:39 PM] obtain_current_prices() - SKU: 2433115 not found in Motorstate - Skipping to EBMS [Thursday 18th of June 2026 08:13:39 PM] obtain_current_prices() - Checking EBMS for SKU: 2433115 [Thursday 18th of June 2026 08:13:39 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:13:39 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:13:40 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:13:40 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:13:40 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:13:40 PM] obtain_current_prices() - SKU: 2433115 found in EBMS - Fetching prices [Thursday 18th of June 2026 08:13:40 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 [Thursday 18th of June 2026 08:13:40 PM] obtain_current_prices() - EBMS prices retrieved for SKU: 2433115 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:13:40 PM] obtain_current_prices() - END - SKU: 2433115 | Final prices - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:13:40 PM] SKU 2433115 has existing EBMS prices - syncing BigCommerce price back (cost: 5.43, base: 12.99) [Thursday 18th of June 2026 08:13:40 PM] update_product_price() - START - Product ID: 87304 | Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:13:40 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:13:40 PM] update_product_price() - PUT payload: {"price":12.9900000000000002131628207280300557613372802734375,"cost_price":5.42999999999999971578290569595992565155029296875} [Thursday 18th of June 2026 08:13:40 PM] update_product_price() - Attempt 1 of 6 for Product ID: 87304 [Thursday 18th of June 2026 08:13:40 PM] update_product_price() - Price updated successfully for Product ID: 87304 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:13:40 PM] update_product_price() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:13:40 PM] BigCommerce price updated for Product ID: 87304 [Thursday 18th of June 2026 08:13:40 PM] get_product_inventory() - START - SKU: 2433115 [Thursday 18th of June 2026 08:13:40 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:13:41 PM] get_product_inventory() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:13:41 PM] get_product_inventory() - SKU: 2433115 not found in Motorstate response item [Thursday 18th of June 2026 08:13:41 PM] get_product_inventory() - END - SKU: 2433115 | Total: 0 [Thursday 18th of June 2026 08:13:41 PM] get_cf_id() - START - Product ID: 87304 [Thursday 18th of June 2026 08:13:41 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields [Thursday 18th of June 2026 08:13:41 PM] get_cf_id() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:13:41 PM] get_cf_id() - Custom field found for Product ID: 87304 | Field: online_stock_level | CF ID: 87194 [Thursday 18th of June 2026 08:13:41 PM] get_cf_id() - END - Product ID: 87304 | CF ID: 87194 [Thursday 18th of June 2026 08:13:41 PM] Updating inventory for SKU 2433115 - stock: 0, CF ID: 87194 [Thursday 18th of June 2026 08:13:41 PM] update_product_inventory() - START - Product ID: 87304 | Stock: 0 | CF ID: 87194 [Thursday 18th of June 2026 08:13:41 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields/87194 [Thursday 18th of June 2026 08:13:41 PM] update_product_inventory() - Inventory updated successfully for Product ID: 87304 | Stock: 0 [Thursday 18th of June 2026 08:13:41 PM] update_product_inventory() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:13:41 PM] Inventory updated for SKU: 2433115 [Thursday 18th of June 2026 08:13:41 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"}] [Thursday 18th of June 2026 08:13:41 PM] Building payment record - Total: 501.5100 [Thursday 18th of June 2026 08:13:41 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"}]} [Thursday 18th of June 2026 08:13:41 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1938 [Thursday 18th of June 2026 08:13:41 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 [Thursday 18th of June 2026 08:13:42 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1938 [Thursday 18th of June 2026 08:13:42 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1938 found in EBMS [Thursday 18th of June 2026 08:13:42 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1938 | Found: true [Thursday 18th of June 2026 08:13:42 PM] Invoice AP1938 already exists in EBMS - patching [Thursday 18th of June 2026 08:13:42 PM] patch_ebms_invoice() - START - Invoice: AP1938 [Thursday 18th of June 2026 08:13:42 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"}]} [Thursday 18th of June 2026 08:13:42 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1938%27 [Thursday 18th of June 2026 08:13:42 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1938 [Thursday 18th of June 2026 08:13:42 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1938 [Thursday 18th of June 2026 08:13:42 PM] patch_ebms_invoice() - END - Invoice: AP1938 [Thursday 18th of June 2026 08:13:42 PM] Invoice AP1938 patched successfully [Thursday 18th of June 2026 08:13:42 PM] ORDER WEBHOOK COMPLETED - Order ID: 1938 | Invoice: AP1938 [Thursday 18th of June 2026 08:23:41 PM] ORDER WEBHOOK STARTED - Order ID: 1938 [Thursday 18th of June 2026 08:23:41 PM] Fetching customer data for Order ID: 1938 [Thursday 18th of June 2026 08:23:41 PM] get_order_customer_data() - START - Order ID: 1938 [Thursday 18th of June 2026 08:23:41 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938 [Thursday 18th of June 2026 08:23:41 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:23:41 PM] get_order_customer_data() - Parsing order response for Order ID: 1938 [Thursday 18th of June 2026 08:23:41 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 [Thursday 18th of June 2026 08:23:41 PM] get_order_customer_data() - END - Order ID: 1938 [Thursday 18th of June 2026 08:23:41 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"} [Thursday 18th of June 2026 08:23:41 PM] Fetching shipping info for Order ID: 1938 [Thursday 18th of June 2026 08:23:41 PM] get_order_shipping_info() - START - Order ID: 1938 [Thursday 18th of June 2026 08:23:41 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938/shipping_addresses [Thursday 18th of June 2026 08:23:41 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:23:41 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1938 | Name: Greg Fahey | Address: 8 Customs St., Calais, Maine, 04619 [Thursday 18th of June 2026 08:23:41 PM] get_order_shipping_info() - END - Order ID: 1938 [Thursday 18th of June 2026 08:23:41 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":[]} [Thursday 18th of June 2026 08:23:41 PM] Resolved Customer ID: AP290 [Thursday 18th of June 2026 08:23:41 PM] Building order object for Invoice: AP1938 [Thursday 18th of June 2026 08:23:41 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"} [Thursday 18th of June 2026 08:23:41 PM] Registered customer detected - checking EBMS for Customer ID: AP290 [Thursday 18th of June 2026 08:23:41 PM] check_for_customer() - START - Customer ID: 290 [Thursday 18th of June 2026 08:23:41 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:23:41 PM] check_for_customer() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:23:41 PM] check_for_customer() - Customer ID: 290 found in EBMS [Thursday 18th of June 2026 08:23:41 PM] check_for_customer() - END - Customer ID: 290 | Found: true [Thursday 18th of June 2026 08:23:41 PM] Customer AP290 found in EBMS [Thursday 18th of June 2026 08:23:41 PM] check_for_empty_info() - START - Customer ID: 290 [Thursday 18th of June 2026 08:23:41 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_info() - Customer record found for Customer ID: 290 - Checking ADDRESS1 field [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 290 - No update needed [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_info() - END - Customer ID: 290 | Empty Info: false [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_pn() - START - Customer ID: AP290 [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP290 [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_pn() - Customer record found for Customer ID: AP290 - Checking CONTACT_1 field [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP290 - Value: (506) 467-6469 - No update needed [Thursday 18th of June 2026 08:23:42 PM] check_for_empty_pn() - END - Customer ID: AP290 | Empty PN: false [Thursday 18th of June 2026 08:23:42 PM] Fetching products from BigCommerce for Order ID: 1938 [Thursday 18th of June 2026 08:23:42 PM] BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:23:42 PM] Products received: 4 item(s) [Thursday 18th of June 2026 08:23:42 PM] Processing product SKU: ALL99046 | Qty: 3 | Price: 79.9900 [Thursday 18th of June 2026 08:23:42 PM] get_mpn() - START - Product ID: 83566 [Thursday 18th of June 2026 08:23:42 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:23:43 PM] get_mpn() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:23:43 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83566 [Thursday 18th of June 2026 08:23:43 PM] get_mpn() - END - Product ID: 83566 | MPN: [Thursday 18th of June 2026 08:23:43 PM] check_for_ebms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:23:43 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL99046%27 [Thursday 18th of June 2026 08:23:43 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:23:43 PM] check_for_ebms_product() - SKU: ALL99046 found in EBMS [Thursday 18th of June 2026 08:23:43 PM] check_for_ebms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:23:43 PM] SKU ALL99046 found in EBMS - checking prices [Thursday 18th of June 2026 08:23:43 PM] obtain_current_prices() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:23:43 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL99046 [Thursday 18th of June 2026 08:23:43 PM] check_for_ms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:23:43 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:23:43 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:23:43 PM] check_for_ms_product() - SKU: ALL99046 found in Motorstate [Thursday 18th of June 2026 08:23:43 PM] check_for_ms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:23:43 PM] obtain_current_prices() - SKU: ALL99046 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:23:43 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL99046 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:23:43 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:23:43 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:23:43 PM] obtain_current_prices() - END - SKU: ALL99046 [Thursday 18th of June 2026 08:23:43 PM] SKU ALL99046 has existing EBMS prices - syncing BigCommerce price back (cost: 60.15, base: 79.99) [Thursday 18th of June 2026 08:23:43 PM] update_product_price() - START - Product ID: 83566 | Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:23:43 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:23:43 PM] update_product_price() - PUT payload: {"price":79.9899999999999948840923025272786617279052734375,"cost_price":60.14999999999999857891452847979962825775146484375} [Thursday 18th of June 2026 08:23:43 PM] update_product_price() - Attempt 1 of 6 for Product ID: 83566 [Thursday 18th of June 2026 08:23:44 PM] update_product_price() - Price updated successfully for Product ID: 83566 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:23:44 PM] update_product_price() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:23:44 PM] BigCommerce price updated for Product ID: 83566 [Thursday 18th of June 2026 08:23:44 PM] get_product_inventory() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:23:44 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:23:44 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:23:44 PM] get_product_inventory() - Stock found for SKU: ALL99046 - Quantity: 23 | Running Total: 23 [Thursday 18th of June 2026 08:23:44 PM] get_product_inventory() - END - SKU: ALL99046 | Total: 23 [Thursday 18th of June 2026 08:23:44 PM] get_cf_id() - START - Product ID: 83566 [Thursday 18th of June 2026 08:23:44 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields [Thursday 18th of June 2026 08:23:44 PM] get_cf_id() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:23:44 PM] get_cf_id() - Custom field found for Product ID: 83566 | Field: online_stock_level | CF ID: 83456 [Thursday 18th of June 2026 08:23:44 PM] get_cf_id() - END - Product ID: 83566 | CF ID: 83456 [Thursday 18th of June 2026 08:23:44 PM] Updating inventory for SKU ALL99046 - stock: 23, CF ID: 83456 [Thursday 18th of June 2026 08:23:44 PM] update_product_inventory() - START - Product ID: 83566 | Stock: 23 | CF ID: 83456 [Thursday 18th of June 2026 08:23:44 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields/83456 [Thursday 18th of June 2026 08:23:44 PM] update_product_inventory() - Inventory updated successfully for Product ID: 83566 | Stock: 23 [Thursday 18th of June 2026 08:23:44 PM] update_product_inventory() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:23:44 PM] Inventory updated for SKU: ALL99046 [Thursday 18th of June 2026 08:23:44 PM] Processing product SKU: ALL78115 | Qty: 1 | Price: 104.9900 [Thursday 18th of June 2026 08:23:44 PM] get_mpn() - START - Product ID: 65304 [Thursday 18th of June 2026 08:23:44 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:23:44 PM] get_mpn() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:23:44 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65304 [Thursday 18th of June 2026 08:23:44 PM] get_mpn() - END - Product ID: 65304 | MPN: [Thursday 18th of June 2026 08:23:44 PM] check_for_ebms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:23:44 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL78115%27 [Thursday 18th of June 2026 08:23:45 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:23:45 PM] check_for_ebms_product() - SKU: ALL78115 found in EBMS [Thursday 18th of June 2026 08:23:45 PM] check_for_ebms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:23:45 PM] SKU ALL78115 found in EBMS - checking prices [Thursday 18th of June 2026 08:23:45 PM] obtain_current_prices() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:23:45 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL78115 [Thursday 18th of June 2026 08:23:45 PM] check_for_ms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:23:45 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:23:45 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:23:45 PM] check_for_ms_product() - SKU: ALL78115 found in Motorstate [Thursday 18th of June 2026 08:23:45 PM] check_for_ms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:23:45 PM] obtain_current_prices() - SKU: ALL78115 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:23:45 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL78115 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:23:45 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:23:45 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:23:45 PM] obtain_current_prices() - END - SKU: ALL78115 [Thursday 18th of June 2026 08:23:45 PM] SKU ALL78115 has existing EBMS prices - syncing BigCommerce price back (cost: 76.60, base: 104.99) [Thursday 18th of June 2026 08:23:45 PM] update_product_price() - START - Product ID: 65304 | Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:23:45 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:23:45 PM] update_product_price() - PUT payload: {"price":104.9899999999999948840923025272786617279052734375,"cost_price":76.599999999999994315658113919198513031005859375} [Thursday 18th of June 2026 08:23:45 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65304 [Thursday 18th of June 2026 08:23:45 PM] update_product_price() - Price updated successfully for Product ID: 65304 - Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:23:45 PM] update_product_price() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:23:45 PM] BigCommerce price updated for Product ID: 65304 [Thursday 18th of June 2026 08:23:45 PM] get_product_inventory() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:23:45 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:23:46 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:23:46 PM] get_product_inventory() - Stock found for SKU: ALL78115 - Quantity: 100 | Running Total: 100 [Thursday 18th of June 2026 08:23:46 PM] get_product_inventory() - END - SKU: ALL78115 | Total: 100 [Thursday 18th of June 2026 08:23:46 PM] get_cf_id() - START - Product ID: 65304 [Thursday 18th of June 2026 08:23:46 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields [Thursday 18th of June 2026 08:23:46 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:23:46 PM] get_cf_id() - Custom field found for Product ID: 65304 | Field: online_stock_level | CF ID: 65194 [Thursday 18th of June 2026 08:23:46 PM] get_cf_id() - END - Product ID: 65304 | CF ID: 65194 [Thursday 18th of June 2026 08:23:46 PM] Updating inventory for SKU ALL78115 - stock: 100, CF ID: 65194 [Thursday 18th of June 2026 08:23:46 PM] update_product_inventory() - START - Product ID: 65304 | Stock: 100 | CF ID: 65194 [Thursday 18th of June 2026 08:23:46 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields/65194 [Thursday 18th of June 2026 08:23:46 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65304 | Stock: 100 [Thursday 18th of June 2026 08:23:46 PM] update_product_inventory() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:23:46 PM] Inventory updated for SKU: ALL78115 [Thursday 18th of June 2026 08:23:46 PM] Processing product SKU: WLK3000856-DM | Qty: 1 | Price: 114.9900 [Thursday 18th of June 2026 08:23:46 PM] get_mpn() - START - Product ID: 1018 [Thursday 18th of June 2026 08:23:46 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:23:46 PM] get_mpn() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:23:46 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1018 [Thursday 18th of June 2026 08:23:46 PM] get_mpn() - END - Product ID: 1018 | MPN: [Thursday 18th of June 2026 08:23:46 PM] check_for_ebms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:46 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WLK3000856-DM%27 [Thursday 18th of June 2026 08:23:47 PM] check_for_ebms_product() - EBMS API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] check_for_ebms_product() - SKU: WLK3000856-DM found in EBMS [Thursday 18th of June 2026 08:23:47 PM] check_for_ebms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:23:47 PM] SKU WLK3000856-DM found in EBMS - checking prices [Thursday 18th of June 2026 08:23:47 PM] obtain_current_prices() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] obtain_current_prices() - Checking Motorstate for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] check_for_ms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] check_for_ms_product() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] check_for_ms_product() - SKU: WLK3000856-DM found in Motorstate [Thursday 18th of June 2026 08:23:47 PM] check_for_ms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:23:47 PM] obtain_current_prices() - SKU: WLK3000856-DM found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:23:47 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WLK3000856-DM - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:23:47 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:23:47 PM] obtain_current_prices() - END - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] SKU WLK3000856-DM has existing EBMS prices - syncing BigCommerce price back (cost: 90.99, base: 114.99) [Thursday 18th of June 2026 08:23:47 PM] update_product_price() - START - Product ID: 1018 | Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:23:47 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:23:47 PM] update_product_price() - PUT payload: {"price":114.9899999999999948840923025272786617279052734375,"cost_price":90.9899999999999948840923025272786617279052734375} [Thursday 18th of June 2026 08:23:47 PM] update_product_price() - Attempt 1 of 6 for Product ID: 1018 [Thursday 18th of June 2026 08:23:47 PM] update_product_price() - Price updated successfully for Product ID: 1018 - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:23:47 PM] update_product_price() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:23:47 PM] BigCommerce price updated for Product ID: 1018 [Thursday 18th of June 2026 08:23:47 PM] get_product_inventory() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:47 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:23:48 PM] get_product_inventory() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:48 PM] get_product_inventory() - Stock found for SKU: WLK3000856-DM - Quantity: 3 | Running Total: 3 [Thursday 18th of June 2026 08:23:48 PM] get_product_inventory() - END - SKU: WLK3000856-DM | Total: 3 [Thursday 18th of June 2026 08:23:48 PM] get_cf_id() - START - Product ID: 1018 [Thursday 18th of June 2026 08:23:48 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields [Thursday 18th of June 2026 08:23:48 PM] get_cf_id() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:23:48 PM] get_cf_id() - Custom field found for Product ID: 1018 | Field: online_stock_level | CF ID: 908 [Thursday 18th of June 2026 08:23:48 PM] get_cf_id() - END - Product ID: 1018 | CF ID: 908 [Thursday 18th of June 2026 08:23:48 PM] Updating inventory for SKU WLK3000856-DM - stock: 3, CF ID: 908 [Thursday 18th of June 2026 08:23:48 PM] update_product_inventory() - START - Product ID: 1018 | Stock: 3 | CF ID: 908 [Thursday 18th of June 2026 08:23:48 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields/908 [Thursday 18th of June 2026 08:23:48 PM] update_product_inventory() - Inventory updated successfully for Product ID: 1018 | Stock: 3 [Thursday 18th of June 2026 08:23:48 PM] update_product_inventory() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:23:48 PM] Inventory updated for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:23:48 PM] Processing product SKU: 2433115 | Qty: 1 | Price: 12.9900 [Thursday 18th of June 2026 08:23:48 PM] get_mpn() - START - Product ID: 87304 [Thursday 18th of June 2026 08:23:48 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:23:48 PM] get_mpn() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:23:48 PM] get_mpn() - WARNING - MPN is empty for Product ID: 87304 [Thursday 18th of June 2026 08:23:48 PM] get_mpn() - END - Product ID: 87304 | MPN: [Thursday 18th of June 2026 08:23:48 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:23:48 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:23:49 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:23:49 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:23:49 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:23:49 PM] SKU 2433115 found in EBMS - checking prices [Thursday 18th of June 2026 08:23:49 PM] obtain_current_prices() - START - SKU: 2433115 [Thursday 18th of June 2026 08:23:49 PM] obtain_current_prices() - Checking Motorstate for SKU: 2433115 [Thursday 18th of June 2026 08:23:49 PM] check_for_ms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:23:49 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:23:49 PM] check_for_ms_product() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:23:49 PM] check_for_ms_product() - SKU: 2433115 not found in Motorstate [Thursday 18th of June 2026 08:23:49 PM] check_for_ms_product() - END - SKU: 2433115 | Found: false [Thursday 18th of June 2026 08:23:49 PM] obtain_current_prices() - SKU: 2433115 not found in Motorstate - Skipping to EBMS [Thursday 18th of June 2026 08:23:49 PM] obtain_current_prices() - Checking EBMS for SKU: 2433115 [Thursday 18th of June 2026 08:23:49 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:23:49 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:23:49 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:23:49 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:23:49 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:23:49 PM] obtain_current_prices() - SKU: 2433115 found in EBMS - Fetching prices [Thursday 18th of June 2026 08:23:49 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 [Thursday 18th of June 2026 08:23:50 PM] obtain_current_prices() - EBMS prices retrieved for SKU: 2433115 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:23:50 PM] obtain_current_prices() - END - SKU: 2433115 | Final prices - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:23:50 PM] SKU 2433115 has existing EBMS prices - syncing BigCommerce price back (cost: 5.43, base: 12.99) [Thursday 18th of June 2026 08:23:50 PM] update_product_price() - START - Product ID: 87304 | Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:23:50 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:23:50 PM] update_product_price() - PUT payload: {"price":12.9900000000000002131628207280300557613372802734375,"cost_price":5.42999999999999971578290569595992565155029296875} [Thursday 18th of June 2026 08:23:50 PM] update_product_price() - Attempt 1 of 6 for Product ID: 87304 [Thursday 18th of June 2026 08:23:50 PM] update_product_price() - Price updated successfully for Product ID: 87304 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:23:50 PM] update_product_price() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:23:50 PM] BigCommerce price updated for Product ID: 87304 [Thursday 18th of June 2026 08:23:50 PM] get_product_inventory() - START - SKU: 2433115 [Thursday 18th of June 2026 08:23:50 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:23:50 PM] get_product_inventory() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:23:50 PM] get_product_inventory() - SKU: 2433115 not found in Motorstate response item [Thursday 18th of June 2026 08:23:50 PM] get_product_inventory() - END - SKU: 2433115 | Total: 0 [Thursday 18th of June 2026 08:23:50 PM] get_cf_id() - START - Product ID: 87304 [Thursday 18th of June 2026 08:23:50 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields [Thursday 18th of June 2026 08:23:50 PM] get_cf_id() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:23:50 PM] get_cf_id() - Custom field found for Product ID: 87304 | Field: online_stock_level | CF ID: 87194 [Thursday 18th of June 2026 08:23:50 PM] get_cf_id() - END - Product ID: 87304 | CF ID: 87194 [Thursday 18th of June 2026 08:23:50 PM] Updating inventory for SKU 2433115 - stock: 0, CF ID: 87194 [Thursday 18th of June 2026 08:23:50 PM] update_product_inventory() - START - Product ID: 87304 | Stock: 0 | CF ID: 87194 [Thursday 18th of June 2026 08:23:50 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields/87194 [Thursday 18th of June 2026 08:23:50 PM] update_product_inventory() - Inventory updated successfully for Product ID: 87304 | Stock: 0 [Thursday 18th of June 2026 08:23:50 PM] update_product_inventory() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:23:50 PM] Inventory updated for SKU: 2433115 [Thursday 18th of June 2026 08:23:50 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"}] [Thursday 18th of June 2026 08:23:50 PM] Building payment record - Total: 501.5100 [Thursday 18th of June 2026 08:23:50 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"}]} [Thursday 18th of June 2026 08:23:50 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1938 [Thursday 18th of June 2026 08:23:50 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 [Thursday 18th of June 2026 08:23:51 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1938 [Thursday 18th of June 2026 08:23:51 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1938 found in EBMS [Thursday 18th of June 2026 08:23:51 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1938 | Found: true [Thursday 18th of June 2026 08:23:51 PM] Invoice AP1938 already exists in EBMS - patching [Thursday 18th of June 2026 08:23:51 PM] patch_ebms_invoice() - START - Invoice: AP1938 [Thursday 18th of June 2026 08:23:51 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"}]} [Thursday 18th of June 2026 08:23:51 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1938%27 [Thursday 18th of June 2026 08:23:52 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1938 [Thursday 18th of June 2026 08:23:52 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1938 [Thursday 18th of June 2026 08:23:52 PM] patch_ebms_invoice() - END - Invoice: AP1938 [Thursday 18th of June 2026 08:23:52 PM] Invoice AP1938 patched successfully [Thursday 18th of June 2026 08:23:52 PM] ORDER WEBHOOK COMPLETED - Order ID: 1938 | Invoice: AP1938 [Thursday 18th of June 2026 08:38:51 PM] ORDER WEBHOOK STARTED - Order ID: 1938 [Thursday 18th of June 2026 08:38:51 PM] Fetching customer data for Order ID: 1938 [Thursday 18th of June 2026 08:38:51 PM] get_order_customer_data() - START - Order ID: 1938 [Thursday 18th of June 2026 08:38:51 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938 [Thursday 18th of June 2026 08:38:51 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:38:51 PM] get_order_customer_data() - Parsing order response for Order ID: 1938 [Thursday 18th of June 2026 08:38:51 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 [Thursday 18th of June 2026 08:38:51 PM] get_order_customer_data() - END - Order ID: 1938 [Thursday 18th of June 2026 08:38:51 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"} [Thursday 18th of June 2026 08:38:51 PM] Fetching shipping info for Order ID: 1938 [Thursday 18th of June 2026 08:38:51 PM] get_order_shipping_info() - START - Order ID: 1938 [Thursday 18th of June 2026 08:38:51 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938/shipping_addresses [Thursday 18th of June 2026 08:38:51 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:38:51 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1938 | Name: Greg Fahey | Address: 8 Customs St., Calais, Maine, 04619 [Thursday 18th of June 2026 08:38:51 PM] get_order_shipping_info() - END - Order ID: 1938 [Thursday 18th of June 2026 08:38:51 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":[]} [Thursday 18th of June 2026 08:38:51 PM] Resolved Customer ID: AP290 [Thursday 18th of June 2026 08:38:51 PM] Building order object for Invoice: AP1938 [Thursday 18th of June 2026 08:38:51 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"} [Thursday 18th of June 2026 08:38:51 PM] Registered customer detected - checking EBMS for Customer ID: AP290 [Thursday 18th of June 2026 08:38:51 PM] check_for_customer() - START - Customer ID: 290 [Thursday 18th of June 2026 08:38:51 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:38:52 PM] check_for_customer() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:38:52 PM] check_for_customer() - Customer ID: 290 found in EBMS [Thursday 18th of June 2026 08:38:52 PM] check_for_customer() - END - Customer ID: 290 | Found: true [Thursday 18th of June 2026 08:38:52 PM] Customer AP290 found in EBMS [Thursday 18th of June 2026 08:38:52 PM] check_for_empty_info() - START - Customer ID: 290 [Thursday 18th of June 2026 08:38:52 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:38:52 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 08:38:52 PM] check_for_empty_info() - Customer record found for Customer ID: 290 - Checking ADDRESS1 field [Thursday 18th of June 2026 08:38:52 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 290 - No update needed [Thursday 18th of June 2026 08:38:52 PM] check_for_empty_info() - END - Customer ID: 290 | Empty Info: false [Thursday 18th of June 2026 08:38:52 PM] check_for_empty_pn() - START - Customer ID: AP290 [Thursday 18th of June 2026 08:38:52 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 08:38:53 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP290 [Thursday 18th of June 2026 08:38:53 PM] check_for_empty_pn() - Customer record found for Customer ID: AP290 - Checking CONTACT_1 field [Thursday 18th of June 2026 08:38:53 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP290 - Value: (506) 467-6469 - No update needed [Thursday 18th of June 2026 08:38:53 PM] check_for_empty_pn() - END - Customer ID: AP290 | Empty PN: false [Thursday 18th of June 2026 08:38:53 PM] Fetching products from BigCommerce for Order ID: 1938 [Thursday 18th of June 2026 08:38:53 PM] BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 08:38:53 PM] Products received: 4 item(s) [Thursday 18th of June 2026 08:38:53 PM] Processing product SKU: ALL99046 | Qty: 3 | Price: 79.9900 [Thursday 18th of June 2026 08:38:53 PM] get_mpn() - START - Product ID: 83566 [Thursday 18th of June 2026 08:38:53 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:38:53 PM] get_mpn() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:38:53 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83566 [Thursday 18th of June 2026 08:38:53 PM] get_mpn() - END - Product ID: 83566 | MPN: [Thursday 18th of June 2026 08:38:53 PM] check_for_ebms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:38:53 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL99046%27 [Thursday 18th of June 2026 08:38:54 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:38:54 PM] check_for_ebms_product() - SKU: ALL99046 found in EBMS [Thursday 18th of June 2026 08:38:54 PM] check_for_ebms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:38:54 PM] SKU ALL99046 found in EBMS - checking prices [Thursday 18th of June 2026 08:38:54 PM] obtain_current_prices() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:38:54 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL99046 [Thursday 18th of June 2026 08:38:54 PM] check_for_ms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:38:54 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:38:54 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:38:54 PM] check_for_ms_product() - SKU: ALL99046 found in Motorstate [Thursday 18th of June 2026 08:38:54 PM] check_for_ms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 08:38:54 PM] obtain_current_prices() - SKU: ALL99046 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:38:54 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL99046 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:38:54 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:38:54 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:38:54 PM] obtain_current_prices() - END - SKU: ALL99046 [Thursday 18th of June 2026 08:38:54 PM] SKU ALL99046 has existing EBMS prices - syncing BigCommerce price back (cost: 60.15, base: 79.99) [Thursday 18th of June 2026 08:38:54 PM] update_product_price() - START - Product ID: 83566 | Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:38:54 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 08:38:54 PM] update_product_price() - PUT payload: {"price":79.9899999999999948840923025272786617279052734375,"cost_price":60.14999999999999857891452847979962825775146484375} [Thursday 18th of June 2026 08:38:54 PM] update_product_price() - Attempt 1 of 6 for Product ID: 83566 [Thursday 18th of June 2026 08:38:54 PM] update_product_price() - Price updated successfully for Product ID: 83566 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 08:38:54 PM] update_product_price() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:38:54 PM] BigCommerce price updated for Product ID: 83566 [Thursday 18th of June 2026 08:38:54 PM] get_product_inventory() - START - SKU: ALL99046 [Thursday 18th of June 2026 08:38:54 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 08:38:54 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 08:38:54 PM] get_product_inventory() - Stock found for SKU: ALL99046 - Quantity: 23 | Running Total: 23 [Thursday 18th of June 2026 08:38:54 PM] get_product_inventory() - END - SKU: ALL99046 | Total: 23 [Thursday 18th of June 2026 08:38:54 PM] get_cf_id() - START - Product ID: 83566 [Thursday 18th of June 2026 08:38:54 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields [Thursday 18th of June 2026 08:38:55 PM] get_cf_id() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 08:38:55 PM] get_cf_id() - Custom field found for Product ID: 83566 | Field: online_stock_level | CF ID: 83456 [Thursday 18th of June 2026 08:38:55 PM] get_cf_id() - END - Product ID: 83566 | CF ID: 83456 [Thursday 18th of June 2026 08:38:55 PM] Updating inventory for SKU ALL99046 - stock: 23, CF ID: 83456 [Thursday 18th of June 2026 08:38:55 PM] update_product_inventory() - START - Product ID: 83566 | Stock: 23 | CF ID: 83456 [Thursday 18th of June 2026 08:38:55 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields/83456 [Thursday 18th of June 2026 08:38:55 PM] update_product_inventory() - Inventory updated successfully for Product ID: 83566 | Stock: 23 [Thursday 18th of June 2026 08:38:55 PM] update_product_inventory() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 08:38:55 PM] Inventory updated for SKU: ALL99046 [Thursday 18th of June 2026 08:38:55 PM] Processing product SKU: ALL78115 | Qty: 1 | Price: 104.9900 [Thursday 18th of June 2026 08:38:55 PM] get_mpn() - START - Product ID: 65304 [Thursday 18th of June 2026 08:38:55 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:38:55 PM] get_mpn() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:38:55 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65304 [Thursday 18th of June 2026 08:38:55 PM] get_mpn() - END - Product ID: 65304 | MPN: [Thursday 18th of June 2026 08:38:55 PM] check_for_ebms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:38:55 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL78115%27 [Thursday 18th of June 2026 08:38:55 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:38:55 PM] check_for_ebms_product() - SKU: ALL78115 found in EBMS [Thursday 18th of June 2026 08:38:55 PM] check_for_ebms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:38:55 PM] SKU ALL78115 found in EBMS - checking prices [Thursday 18th of June 2026 08:38:55 PM] obtain_current_prices() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:38:55 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL78115 [Thursday 18th of June 2026 08:38:55 PM] check_for_ms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:38:55 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:38:56 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:38:56 PM] check_for_ms_product() - SKU: ALL78115 found in Motorstate [Thursday 18th of June 2026 08:38:56 PM] check_for_ms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 08:38:56 PM] obtain_current_prices() - SKU: ALL78115 found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:38:56 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL78115 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:38:56 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:38:56 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 08:38:56 PM] obtain_current_prices() - END - SKU: ALL78115 [Thursday 18th of June 2026 08:38:56 PM] SKU ALL78115 has existing EBMS prices - syncing BigCommerce price back (cost: 76.60, base: 104.99) [Thursday 18th of June 2026 08:38:56 PM] update_product_price() - START - Product ID: 65304 | Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:38:56 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 08:38:56 PM] update_product_price() - PUT payload: {"price":104.9899999999999948840923025272786617279052734375,"cost_price":76.599999999999994315658113919198513031005859375} [Thursday 18th of June 2026 08:38:56 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65304 [Thursday 18th of June 2026 08:38:56 PM] update_product_price() - Price updated successfully for Product ID: 65304 - Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 08:38:56 PM] update_product_price() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:38:56 PM] BigCommerce price updated for Product ID: 65304 [Thursday 18th of June 2026 08:38:56 PM] get_product_inventory() - START - SKU: ALL78115 [Thursday 18th of June 2026 08:38:56 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 08:38:56 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 08:38:56 PM] get_product_inventory() - Stock found for SKU: ALL78115 - Quantity: 100 | Running Total: 100 [Thursday 18th of June 2026 08:38:56 PM] get_product_inventory() - END - SKU: ALL78115 | Total: 100 [Thursday 18th of June 2026 08:38:56 PM] get_cf_id() - START - Product ID: 65304 [Thursday 18th of June 2026 08:38:56 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields [Thursday 18th of June 2026 08:38:56 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 08:38:56 PM] get_cf_id() - Custom field found for Product ID: 65304 | Field: online_stock_level | CF ID: 65194 [Thursday 18th of June 2026 08:38:56 PM] get_cf_id() - END - Product ID: 65304 | CF ID: 65194 [Thursday 18th of June 2026 08:38:56 PM] Updating inventory for SKU ALL78115 - stock: 100, CF ID: 65194 [Thursday 18th of June 2026 08:38:56 PM] update_product_inventory() - START - Product ID: 65304 | Stock: 100 | CF ID: 65194 [Thursday 18th of June 2026 08:38:56 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields/65194 [Thursday 18th of June 2026 08:38:57 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65304 | Stock: 100 [Thursday 18th of June 2026 08:38:57 PM] update_product_inventory() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 08:38:57 PM] Inventory updated for SKU: ALL78115 [Thursday 18th of June 2026 08:38:57 PM] Processing product SKU: WLK3000856-DM | Qty: 1 | Price: 114.9900 [Thursday 18th of June 2026 08:38:57 PM] get_mpn() - START - Product ID: 1018 [Thursday 18th of June 2026 08:38:57 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:38:57 PM] get_mpn() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:38:57 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1018 [Thursday 18th of June 2026 08:38:57 PM] get_mpn() - END - Product ID: 1018 | MPN: [Thursday 18th of June 2026 08:38:57 PM] check_for_ebms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:57 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WLK3000856-DM%27 [Thursday 18th of June 2026 08:38:57 PM] check_for_ebms_product() - EBMS API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:57 PM] check_for_ebms_product() - SKU: WLK3000856-DM found in EBMS [Thursday 18th of June 2026 08:38:57 PM] check_for_ebms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:38:57 PM] SKU WLK3000856-DM found in EBMS - checking prices [Thursday 18th of June 2026 08:38:57 PM] obtain_current_prices() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:57 PM] obtain_current_prices() - Checking Motorstate for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:57 PM] check_for_ms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:57 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:38:58 PM] check_for_ms_product() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:58 PM] check_for_ms_product() - SKU: WLK3000856-DM found in Motorstate [Thursday 18th of June 2026 08:38:58 PM] check_for_ms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 08:38:58 PM] obtain_current_prices() - SKU: WLK3000856-DM found in Motorstate - Fetching prices [Thursday 18th of June 2026 08:38:58 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WLK3000856-DM - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:38:58 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:38:58 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:38:58 PM] obtain_current_prices() - END - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:58 PM] SKU WLK3000856-DM has existing EBMS prices - syncing BigCommerce price back (cost: 90.99, base: 114.99) [Thursday 18th of June 2026 08:38:58 PM] update_product_price() - START - Product ID: 1018 | Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:38:58 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 08:38:58 PM] update_product_price() - PUT payload: {"price":114.9899999999999948840923025272786617279052734375,"cost_price":90.9899999999999948840923025272786617279052734375} [Thursday 18th of June 2026 08:38:58 PM] update_product_price() - Attempt 1 of 6 for Product ID: 1018 [Thursday 18th of June 2026 08:38:58 PM] update_product_price() - Price updated successfully for Product ID: 1018 - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 08:38:58 PM] update_product_price() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:38:58 PM] BigCommerce price updated for Product ID: 1018 [Thursday 18th of June 2026 08:38:58 PM] get_product_inventory() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:58 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 08:38:59 PM] get_product_inventory() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:59 PM] get_product_inventory() - Stock found for SKU: WLK3000856-DM - Quantity: 3 | Running Total: 3 [Thursday 18th of June 2026 08:38:59 PM] get_product_inventory() - END - SKU: WLK3000856-DM | Total: 3 [Thursday 18th of June 2026 08:38:59 PM] get_cf_id() - START - Product ID: 1018 [Thursday 18th of June 2026 08:38:59 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields [Thursday 18th of June 2026 08:38:59 PM] get_cf_id() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 08:38:59 PM] get_cf_id() - Custom field found for Product ID: 1018 | Field: online_stock_level | CF ID: 908 [Thursday 18th of June 2026 08:38:59 PM] get_cf_id() - END - Product ID: 1018 | CF ID: 908 [Thursday 18th of June 2026 08:38:59 PM] Updating inventory for SKU WLK3000856-DM - stock: 3, CF ID: 908 [Thursday 18th of June 2026 08:38:59 PM] update_product_inventory() - START - Product ID: 1018 | Stock: 3 | CF ID: 908 [Thursday 18th of June 2026 08:38:59 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields/908 [Thursday 18th of June 2026 08:38:59 PM] update_product_inventory() - Inventory updated successfully for Product ID: 1018 | Stock: 3 [Thursday 18th of June 2026 08:38:59 PM] update_product_inventory() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 08:38:59 PM] Inventory updated for SKU: WLK3000856-DM [Thursday 18th of June 2026 08:38:59 PM] Processing product SKU: 2433115 | Qty: 1 | Price: 12.9900 [Thursday 18th of June 2026 08:38:59 PM] get_mpn() - START - Product ID: 87304 [Thursday 18th of June 2026 08:38:59 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:38:59 PM] get_mpn() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:38:59 PM] get_mpn() - WARNING - MPN is empty for Product ID: 87304 [Thursday 18th of June 2026 08:38:59 PM] get_mpn() - END - Product ID: 87304 | MPN: [Thursday 18th of June 2026 08:38:59 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:38:59 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:39:00 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:39:00 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:39:00 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:39:00 PM] SKU 2433115 found in EBMS - checking prices [Thursday 18th of June 2026 08:39:00 PM] obtain_current_prices() - START - SKU: 2433115 [Thursday 18th of June 2026 08:39:00 PM] obtain_current_prices() - Checking Motorstate for SKU: 2433115 [Thursday 18th of June 2026 08:39:00 PM] check_for_ms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:39:00 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:39:00 PM] check_for_ms_product() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:39:00 PM] check_for_ms_product() - SKU: 2433115 not found in Motorstate [Thursday 18th of June 2026 08:39:00 PM] check_for_ms_product() - END - SKU: 2433115 | Found: false [Thursday 18th of June 2026 08:39:00 PM] obtain_current_prices() - SKU: 2433115 not found in Motorstate - Skipping to EBMS [Thursday 18th of June 2026 08:39:00 PM] obtain_current_prices() - Checking EBMS for SKU: 2433115 [Thursday 18th of June 2026 08:39:00 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 08:39:00 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 08:39:00 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:39:00 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 08:39:00 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 08:39:00 PM] obtain_current_prices() - SKU: 2433115 found in EBMS - Fetching prices [Thursday 18th of June 2026 08:39:00 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 [Thursday 18th of June 2026 08:39:01 PM] obtain_current_prices() - EBMS prices retrieved for SKU: 2433115 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:39:01 PM] obtain_current_prices() - END - SKU: 2433115 | Final prices - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:39:01 PM] SKU 2433115 has existing EBMS prices - syncing BigCommerce price back (cost: 5.43, base: 12.99) [Thursday 18th of June 2026 08:39:01 PM] update_product_price() - START - Product ID: 87304 | Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:39:01 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 08:39:01 PM] update_product_price() - PUT payload: {"price":12.9900000000000002131628207280300557613372802734375,"cost_price":5.42999999999999971578290569595992565155029296875} [Thursday 18th of June 2026 08:39:01 PM] update_product_price() - Attempt 1 of 6 for Product ID: 87304 [Thursday 18th of June 2026 08:39:01 PM] update_product_price() - Price updated successfully for Product ID: 87304 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 08:39:01 PM] update_product_price() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:39:01 PM] BigCommerce price updated for Product ID: 87304 [Thursday 18th of June 2026 08:39:01 PM] get_product_inventory() - START - SKU: 2433115 [Thursday 18th of June 2026 08:39:01 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 08:39:01 PM] get_product_inventory() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 08:39:01 PM] get_product_inventory() - SKU: 2433115 not found in Motorstate response item [Thursday 18th of June 2026 08:39:01 PM] get_product_inventory() - END - SKU: 2433115 | Total: 0 [Thursday 18th of June 2026 08:39:01 PM] get_cf_id() - START - Product ID: 87304 [Thursday 18th of June 2026 08:39:01 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields [Thursday 18th of June 2026 08:39:01 PM] get_cf_id() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 08:39:01 PM] get_cf_id() - Custom field found for Product ID: 87304 | Field: online_stock_level | CF ID: 87194 [Thursday 18th of June 2026 08:39:01 PM] get_cf_id() - END - Product ID: 87304 | CF ID: 87194 [Thursday 18th of June 2026 08:39:01 PM] Updating inventory for SKU 2433115 - stock: 0, CF ID: 87194 [Thursday 18th of June 2026 08:39:01 PM] update_product_inventory() - START - Product ID: 87304 | Stock: 0 | CF ID: 87194 [Thursday 18th of June 2026 08:39:01 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields/87194 [Thursday 18th of June 2026 08:39:01 PM] update_product_inventory() - Inventory updated successfully for Product ID: 87304 | Stock: 0 [Thursday 18th of June 2026 08:39:01 PM] update_product_inventory() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 08:39:01 PM] Inventory updated for SKU: 2433115 [Thursday 18th of June 2026 08:39:01 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"}] [Thursday 18th of June 2026 08:39:01 PM] Building payment record - Total: 501.5100 [Thursday 18th of June 2026 08:39:01 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"}]} [Thursday 18th of June 2026 08:39:01 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1938 [Thursday 18th of June 2026 08:39:01 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 [Thursday 18th of June 2026 08:39:03 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1938 [Thursday 18th of June 2026 08:39:03 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1938 found in EBMS [Thursday 18th of June 2026 08:39:03 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1938 | Found: true [Thursday 18th of June 2026 08:39:03 PM] Invoice AP1938 already exists in EBMS - patching [Thursday 18th of June 2026 08:39:03 PM] patch_ebms_invoice() - START - Invoice: AP1938 [Thursday 18th of June 2026 08:39:03 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"}]} [Thursday 18th of June 2026 08:39:03 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1938%27 [Thursday 18th of June 2026 08:39:03 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1938 [Thursday 18th of June 2026 08:39:03 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1938 [Thursday 18th of June 2026 08:39:03 PM] patch_ebms_invoice() - END - Invoice: AP1938 [Thursday 18th of June 2026 08:39:03 PM] Invoice AP1938 patched successfully [Thursday 18th of June 2026 08:39:03 PM] ORDER WEBHOOK COMPLETED - Order ID: 1938 | Invoice: AP1938 [Thursday 18th of June 2026 09:09:01 PM] ORDER WEBHOOK STARTED - Order ID: 1938 [Thursday 18th of June 2026 09:09:01 PM] Fetching customer data for Order ID: 1938 [Thursday 18th of June 2026 09:09:01 PM] get_order_customer_data() - START - Order ID: 1938 [Thursday 18th of June 2026 09:09:01 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938 [Thursday 18th of June 2026 09:09:01 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 09:09:01 PM] get_order_customer_data() - Parsing order response for Order ID: 1938 [Thursday 18th of June 2026 09:09:01 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 [Thursday 18th of June 2026 09:09:01 PM] get_order_customer_data() - END - Order ID: 1938 [Thursday 18th of June 2026 09:09:01 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"} [Thursday 18th of June 2026 09:09:01 PM] Fetching shipping info for Order ID: 1938 [Thursday 18th of June 2026 09:09:01 PM] get_order_shipping_info() - START - Order ID: 1938 [Thursday 18th of June 2026 09:09:01 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1938/shipping_addresses [Thursday 18th of June 2026 09:09:01 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 09:09:01 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1938 | Name: Greg Fahey | Address: 8 Customs St., Calais, Maine, 04619 [Thursday 18th of June 2026 09:09:01 PM] get_order_shipping_info() - END - Order ID: 1938 [Thursday 18th of June 2026 09:09:01 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":[]} [Thursday 18th of June 2026 09:09:01 PM] Resolved Customer ID: AP290 [Thursday 18th of June 2026 09:09:01 PM] Building order object for Invoice: AP1938 [Thursday 18th of June 2026 09:09:01 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"} [Thursday 18th of June 2026 09:09:01 PM] Registered customer detected - checking EBMS for Customer ID: AP290 [Thursday 18th of June 2026 09:09:01 PM] check_for_customer() - START - Customer ID: 290 [Thursday 18th of June 2026 09:09:01 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 09:09:02 PM] check_for_customer() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 09:09:02 PM] check_for_customer() - Customer ID: 290 found in EBMS [Thursday 18th of June 2026 09:09:02 PM] check_for_customer() - END - Customer ID: 290 | Found: true [Thursday 18th of June 2026 09:09:02 PM] Customer AP290 found in EBMS [Thursday 18th of June 2026 09:09:02 PM] check_for_empty_info() - START - Customer ID: 290 [Thursday 18th of June 2026 09:09:02 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 09:09:02 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 290 [Thursday 18th of June 2026 09:09:02 PM] check_for_empty_info() - Customer record found for Customer ID: 290 - Checking ADDRESS1 field [Thursday 18th of June 2026 09:09:02 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 290 - No update needed [Thursday 18th of June 2026 09:09:02 PM] check_for_empty_info() - END - Customer ID: 290 | Empty Info: false [Thursday 18th of June 2026 09:09:02 PM] check_for_empty_pn() - START - Customer ID: AP290 [Thursday 18th of June 2026 09:09:02 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP290%27 [Thursday 18th of June 2026 09:09:03 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP290 [Thursday 18th of June 2026 09:09:03 PM] check_for_empty_pn() - Customer record found for Customer ID: AP290 - Checking CONTACT_1 field [Thursday 18th of June 2026 09:09:03 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP290 - Value: (506) 467-6469 - No update needed [Thursday 18th of June 2026 09:09:03 PM] check_for_empty_pn() - END - Customer ID: AP290 | Empty PN: false [Thursday 18th of June 2026 09:09:03 PM] Fetching products from BigCommerce for Order ID: 1938 [Thursday 18th of June 2026 09:09:03 PM] BigCommerce API call successful for Order ID: 1938 [Thursday 18th of June 2026 09:09:03 PM] Products received: 4 item(s) [Thursday 18th of June 2026 09:09:03 PM] Processing product SKU: ALL99046 | Qty: 3 | Price: 79.9900 [Thursday 18th of June 2026 09:09:03 PM] get_mpn() - START - Product ID: 83566 [Thursday 18th of June 2026 09:09:03 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 09:09:03 PM] get_mpn() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 09:09:03 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83566 [Thursday 18th of June 2026 09:09:03 PM] get_mpn() - END - Product ID: 83566 | MPN: [Thursday 18th of June 2026 09:09:03 PM] check_for_ebms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 09:09:03 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL99046%27 [Thursday 18th of June 2026 09:09:04 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL99046 [Thursday 18th of June 2026 09:09:04 PM] check_for_ebms_product() - SKU: ALL99046 found in EBMS [Thursday 18th of June 2026 09:09:04 PM] check_for_ebms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 09:09:04 PM] SKU ALL99046 found in EBMS - checking prices [Thursday 18th of June 2026 09:09:04 PM] obtain_current_prices() - START - SKU: ALL99046 [Thursday 18th of June 2026 09:09:04 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL99046 [Thursday 18th of June 2026 09:09:04 PM] check_for_ms_product() - START - SKU: ALL99046 [Thursday 18th of June 2026 09:09:04 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 09:09:04 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 09:09:04 PM] check_for_ms_product() - SKU: ALL99046 found in Motorstate [Thursday 18th of June 2026 09:09:04 PM] check_for_ms_product() - END - SKU: ALL99046 | Found: true [Thursday 18th of June 2026 09:09:04 PM] obtain_current_prices() - SKU: ALL99046 found in Motorstate - Fetching prices [Thursday 18th of June 2026 09:09:04 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL99046 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 09:09:04 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 09:09:04 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL99046 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 09:09:04 PM] obtain_current_prices() - END - SKU: ALL99046 [Thursday 18th of June 2026 09:09:04 PM] SKU ALL99046 has existing EBMS prices - syncing BigCommerce price back (cost: 60.15, base: 79.99) [Thursday 18th of June 2026 09:09:04 PM] update_product_price() - START - Product ID: 83566 | Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 09:09:04 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566 [Thursday 18th of June 2026 09:09:04 PM] update_product_price() - PUT payload: {"price":79.9899999999999948840923025272786617279052734375,"cost_price":60.14999999999999857891452847979962825775146484375} [Thursday 18th of June 2026 09:09:04 PM] update_product_price() - Attempt 1 of 6 for Product ID: 83566 [Thursday 18th of June 2026 09:09:04 PM] update_product_price() - Price updated successfully for Product ID: 83566 - Base: 79.99 | Cost: 60.15 [Thursday 18th of June 2026 09:09:04 PM] update_product_price() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 09:09:04 PM] BigCommerce price updated for Product ID: 83566 [Thursday 18th of June 2026 09:09:04 PM] get_product_inventory() - START - SKU: ALL99046 [Thursday 18th of June 2026 09:09:04 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL99046 [Thursday 18th of June 2026 09:09:04 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL99046 [Thursday 18th of June 2026 09:09:04 PM] get_product_inventory() - Stock found for SKU: ALL99046 - Quantity: 23 | Running Total: 23 [Thursday 18th of June 2026 09:09:04 PM] get_product_inventory() - END - SKU: ALL99046 | Total: 23 [Thursday 18th of June 2026 09:09:04 PM] get_cf_id() - START - Product ID: 83566 [Thursday 18th of June 2026 09:09:04 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields [Thursday 18th of June 2026 09:09:04 PM] get_cf_id() - BigCommerce API call successful for Product ID: 83566 [Thursday 18th of June 2026 09:09:04 PM] get_cf_id() - Custom field found for Product ID: 83566 | Field: online_stock_level | CF ID: 83456 [Thursday 18th of June 2026 09:09:04 PM] get_cf_id() - END - Product ID: 83566 | CF ID: 83456 [Thursday 18th of June 2026 09:09:04 PM] Updating inventory for SKU ALL99046 - stock: 23, CF ID: 83456 [Thursday 18th of June 2026 09:09:04 PM] update_product_inventory() - START - Product ID: 83566 | Stock: 23 | CF ID: 83456 [Thursday 18th of June 2026 09:09:04 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83566/custom-fields/83456 [Thursday 18th of June 2026 09:09:05 PM] update_product_inventory() - Inventory updated successfully for Product ID: 83566 | Stock: 23 [Thursday 18th of June 2026 09:09:05 PM] update_product_inventory() - END - Product ID: 83566 | Result: success [Thursday 18th of June 2026 09:09:05 PM] Inventory updated for SKU: ALL99046 [Thursday 18th of June 2026 09:09:05 PM] Processing product SKU: ALL78115 | Qty: 1 | Price: 104.9900 [Thursday 18th of June 2026 09:09:05 PM] get_mpn() - START - Product ID: 65304 [Thursday 18th of June 2026 09:09:05 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 09:09:05 PM] get_mpn() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 09:09:05 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65304 [Thursday 18th of June 2026 09:09:05 PM] get_mpn() - END - Product ID: 65304 | MPN: [Thursday 18th of June 2026 09:09:05 PM] check_for_ebms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 09:09:05 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL78115%27 [Thursday 18th of June 2026 09:09:05 PM] check_for_ebms_product() - EBMS API call successful for SKU: ALL78115 [Thursday 18th of June 2026 09:09:05 PM] check_for_ebms_product() - SKU: ALL78115 found in EBMS [Thursday 18th of June 2026 09:09:05 PM] check_for_ebms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 09:09:05 PM] SKU ALL78115 found in EBMS - checking prices [Thursday 18th of June 2026 09:09:05 PM] obtain_current_prices() - START - SKU: ALL78115 [Thursday 18th of June 2026 09:09:05 PM] obtain_current_prices() - Checking Motorstate for SKU: ALL78115 [Thursday 18th of June 2026 09:09:05 PM] check_for_ms_product() - START - SKU: ALL78115 [Thursday 18th of June 2026 09:09:05 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 09:09:06 PM] check_for_ms_product() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 09:09:06 PM] check_for_ms_product() - SKU: ALL78115 found in Motorstate [Thursday 18th of June 2026 09:09:06 PM] check_for_ms_product() - END - SKU: ALL78115 | Found: true [Thursday 18th of June 2026 09:09:06 PM] obtain_current_prices() - SKU: ALL78115 found in Motorstate - Fetching prices [Thursday 18th of June 2026 09:09:06 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL78115 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 09:09:06 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 09:09:06 PM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL78115 - Base: 104.99 | Cost: 76.60 [Thursday 18th of June 2026 09:09:06 PM] obtain_current_prices() - END - SKU: ALL78115 [Thursday 18th of June 2026 09:09:06 PM] SKU ALL78115 has existing EBMS prices - syncing BigCommerce price back (cost: 76.60, base: 104.99) [Thursday 18th of June 2026 09:09:06 PM] update_product_price() - START - Product ID: 65304 | Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 09:09:06 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304 [Thursday 18th of June 2026 09:09:06 PM] update_product_price() - PUT payload: {"price":104.9899999999999948840923025272786617279052734375,"cost_price":76.599999999999994315658113919198513031005859375} [Thursday 18th of June 2026 09:09:06 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65304 [Thursday 18th of June 2026 09:09:06 PM] update_product_price() - Price updated successfully for Product ID: 65304 - Base: 104.99 | Cost: 76.6 [Thursday 18th of June 2026 09:09:06 PM] update_product_price() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 09:09:06 PM] BigCommerce price updated for Product ID: 65304 [Thursday 18th of June 2026 09:09:06 PM] get_product_inventory() - START - SKU: ALL78115 [Thursday 18th of June 2026 09:09:06 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL78115 [Thursday 18th of June 2026 09:09:07 PM] get_product_inventory() - Motorstate API call successful for SKU: ALL78115 [Thursday 18th of June 2026 09:09:07 PM] get_product_inventory() - Stock found for SKU: ALL78115 - Quantity: 100 | Running Total: 100 [Thursday 18th of June 2026 09:09:07 PM] get_product_inventory() - END - SKU: ALL78115 | Total: 100 [Thursday 18th of June 2026 09:09:07 PM] get_cf_id() - START - Product ID: 65304 [Thursday 18th of June 2026 09:09:07 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields [Thursday 18th of June 2026 09:09:07 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65304 [Thursday 18th of June 2026 09:09:07 PM] get_cf_id() - Custom field found for Product ID: 65304 | Field: online_stock_level | CF ID: 65194 [Thursday 18th of June 2026 09:09:07 PM] get_cf_id() - END - Product ID: 65304 | CF ID: 65194 [Thursday 18th of June 2026 09:09:07 PM] Updating inventory for SKU ALL78115 - stock: 100, CF ID: 65194 [Thursday 18th of June 2026 09:09:07 PM] update_product_inventory() - START - Product ID: 65304 | Stock: 100 | CF ID: 65194 [Thursday 18th of June 2026 09:09:07 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65304/custom-fields/65194 [Thursday 18th of June 2026 09:09:07 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65304 | Stock: 100 [Thursday 18th of June 2026 09:09:07 PM] update_product_inventory() - END - Product ID: 65304 | Result: success [Thursday 18th of June 2026 09:09:07 PM] Inventory updated for SKU: ALL78115 [Thursday 18th of June 2026 09:09:07 PM] Processing product SKU: WLK3000856-DM | Qty: 1 | Price: 114.9900 [Thursday 18th of June 2026 09:09:07 PM] get_mpn() - START - Product ID: 1018 [Thursday 18th of June 2026 09:09:07 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 09:09:07 PM] get_mpn() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 09:09:07 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1018 [Thursday 18th of June 2026 09:09:07 PM] get_mpn() - END - Product ID: 1018 | MPN: [Thursday 18th of June 2026 09:09:07 PM] check_for_ebms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:07 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WLK3000856-DM%27 [Thursday 18th of June 2026 09:09:08 PM] check_for_ebms_product() - EBMS API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] check_for_ebms_product() - SKU: WLK3000856-DM found in EBMS [Thursday 18th of June 2026 09:09:08 PM] check_for_ebms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 09:09:08 PM] SKU WLK3000856-DM found in EBMS - checking prices [Thursday 18th of June 2026 09:09:08 PM] obtain_current_prices() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] obtain_current_prices() - Checking Motorstate for SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] check_for_ms_product() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] check_for_ms_product() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] check_for_ms_product() - SKU: WLK3000856-DM found in Motorstate [Thursday 18th of June 2026 09:09:08 PM] check_for_ms_product() - END - SKU: WLK3000856-DM | Found: true [Thursday 18th of June 2026 09:09:08 PM] obtain_current_prices() - SKU: WLK3000856-DM found in Motorstate - Fetching prices [Thursday 18th of June 2026 09:09:08 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WLK3000856-DM - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 09:09:08 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WLK3000856-DM - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 09:09:08 PM] obtain_current_prices() - END - SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] SKU WLK3000856-DM has existing EBMS prices - syncing BigCommerce price back (cost: 90.99, base: 114.99) [Thursday 18th of June 2026 09:09:08 PM] update_product_price() - START - Product ID: 1018 | Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 09:09:08 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018 [Thursday 18th of June 2026 09:09:08 PM] update_product_price() - PUT payload: {"price":114.9899999999999948840923025272786617279052734375,"cost_price":90.9899999999999948840923025272786617279052734375} [Thursday 18th of June 2026 09:09:08 PM] update_product_price() - Attempt 1 of 6 for Product ID: 1018 [Thursday 18th of June 2026 09:09:08 PM] update_product_price() - Price updated successfully for Product ID: 1018 - Base: 114.99 | Cost: 90.99 [Thursday 18th of June 2026 09:09:08 PM] update_product_price() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 09:09:08 PM] BigCommerce price updated for Product ID: 1018 [Thursday 18th of June 2026 09:09:08 PM] get_product_inventory() - START - SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] get_product_inventory() - Motorstate API call successful for SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:08 PM] get_product_inventory() - Stock found for SKU: WLK3000856-DM - Quantity: 3 | Running Total: 3 [Thursday 18th of June 2026 09:09:08 PM] get_product_inventory() - END - SKU: WLK3000856-DM | Total: 3 [Thursday 18th of June 2026 09:09:08 PM] get_cf_id() - START - Product ID: 1018 [Thursday 18th of June 2026 09:09:08 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields [Thursday 18th of June 2026 09:09:09 PM] get_cf_id() - BigCommerce API call successful for Product ID: 1018 [Thursday 18th of June 2026 09:09:09 PM] get_cf_id() - Custom field found for Product ID: 1018 | Field: online_stock_level | CF ID: 908 [Thursday 18th of June 2026 09:09:09 PM] get_cf_id() - END - Product ID: 1018 | CF ID: 908 [Thursday 18th of June 2026 09:09:09 PM] Updating inventory for SKU WLK3000856-DM - stock: 3, CF ID: 908 [Thursday 18th of June 2026 09:09:09 PM] update_product_inventory() - START - Product ID: 1018 | Stock: 3 | CF ID: 908 [Thursday 18th of June 2026 09:09:09 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1018/custom-fields/908 [Thursday 18th of June 2026 09:09:09 PM] update_product_inventory() - Inventory updated successfully for Product ID: 1018 | Stock: 3 [Thursday 18th of June 2026 09:09:09 PM] update_product_inventory() - END - Product ID: 1018 | Result: success [Thursday 18th of June 2026 09:09:09 PM] Inventory updated for SKU: WLK3000856-DM [Thursday 18th of June 2026 09:09:09 PM] Processing product SKU: 2433115 | Qty: 1 | Price: 12.9900 [Thursday 18th of June 2026 09:09:09 PM] get_mpn() - START - Product ID: 87304 [Thursday 18th of June 2026 09:09:09 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 09:09:09 PM] get_mpn() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 09:09:09 PM] get_mpn() - WARNING - MPN is empty for Product ID: 87304 [Thursday 18th of June 2026 09:09:09 PM] get_mpn() - END - Product ID: 87304 | MPN: [Thursday 18th of June 2026 09:09:09 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 09:09:09 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 09:09:09 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 09:09:09 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 09:09:09 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 09:09:09 PM] SKU 2433115 found in EBMS - checking prices [Thursday 18th of June 2026 09:09:09 PM] obtain_current_prices() - START - SKU: 2433115 [Thursday 18th of June 2026 09:09:09 PM] obtain_current_prices() - Checking Motorstate for SKU: 2433115 [Thursday 18th of June 2026 09:09:09 PM] check_for_ms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 09:09:09 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 09:09:10 PM] check_for_ms_product() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 09:09:10 PM] check_for_ms_product() - SKU: 2433115 not found in Motorstate [Thursday 18th of June 2026 09:09:10 PM] check_for_ms_product() - END - SKU: 2433115 | Found: false [Thursday 18th of June 2026 09:09:10 PM] obtain_current_prices() - SKU: 2433115 not found in Motorstate - Skipping to EBMS [Thursday 18th of June 2026 09:09:10 PM] obtain_current_prices() - Checking EBMS for SKU: 2433115 [Thursday 18th of June 2026 09:09:10 PM] check_for_ebms_product() - START - SKU: 2433115 [Thursday 18th of June 2026 09:09:10 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%272433115%27 [Thursday 18th of June 2026 09:09:10 PM] check_for_ebms_product() - EBMS API call successful for SKU: 2433115 [Thursday 18th of June 2026 09:09:10 PM] check_for_ebms_product() - SKU: 2433115 found in EBMS [Thursday 18th of June 2026 09:09:10 PM] check_for_ebms_product() - END - SKU: 2433115 | Found: true [Thursday 18th of June 2026 09:09:10 PM] obtain_current_prices() - SKU: 2433115 found in EBMS - Fetching prices [Thursday 18th of June 2026 09:09:10 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 [Thursday 18th of June 2026 09:09:10 PM] obtain_current_prices() - EBMS prices retrieved for SKU: 2433115 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 09:09:10 PM] obtain_current_prices() - END - SKU: 2433115 | Final prices - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 09:09:10 PM] SKU 2433115 has existing EBMS prices - syncing BigCommerce price back (cost: 5.43, base: 12.99) [Thursday 18th of June 2026 09:09:10 PM] update_product_price() - START - Product ID: 87304 | Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 09:09:10 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304 [Thursday 18th of June 2026 09:09:10 PM] update_product_price() - PUT payload: {"price":12.9900000000000002131628207280300557613372802734375,"cost_price":5.42999999999999971578290569595992565155029296875} [Thursday 18th of June 2026 09:09:10 PM] update_product_price() - Attempt 1 of 6 for Product ID: 87304 [Thursday 18th of June 2026 09:09:11 PM] update_product_price() - Price updated successfully for Product ID: 87304 - Base: 12.99 | Cost: 5.43 [Thursday 18th of June 2026 09:09:11 PM] update_product_price() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 09:09:11 PM] BigCommerce price updated for Product ID: 87304 [Thursday 18th of June 2026 09:09:11 PM] get_product_inventory() - START - SKU: 2433115 [Thursday 18th of June 2026 09:09:11 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=2433115 [Thursday 18th of June 2026 09:09:11 PM] get_product_inventory() - Motorstate API call successful for SKU: 2433115 [Thursday 18th of June 2026 09:09:11 PM] get_product_inventory() - SKU: 2433115 not found in Motorstate response item [Thursday 18th of June 2026 09:09:11 PM] get_product_inventory() - END - SKU: 2433115 | Total: 0 [Thursday 18th of June 2026 09:09:11 PM] get_cf_id() - START - Product ID: 87304 [Thursday 18th of June 2026 09:09:11 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields [Thursday 18th of June 2026 09:09:11 PM] get_cf_id() - BigCommerce API call successful for Product ID: 87304 [Thursday 18th of June 2026 09:09:11 PM] get_cf_id() - Custom field found for Product ID: 87304 | Field: online_stock_level | CF ID: 87194 [Thursday 18th of June 2026 09:09:11 PM] get_cf_id() - END - Product ID: 87304 | CF ID: 87194 [Thursday 18th of June 2026 09:09:11 PM] Updating inventory for SKU 2433115 - stock: 0, CF ID: 87194 [Thursday 18th of June 2026 09:09:11 PM] update_product_inventory() - START - Product ID: 87304 | Stock: 0 | CF ID: 87194 [Thursday 18th of June 2026 09:09:11 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87304/custom-fields/87194 [Thursday 18th of June 2026 09:09:11 PM] update_product_inventory() - Inventory updated successfully for Product ID: 87304 | Stock: 0 [Thursday 18th of June 2026 09:09:11 PM] update_product_inventory() - END - Product ID: 87304 | Result: success [Thursday 18th of June 2026 09:09:11 PM] Inventory updated for SKU: 2433115 [Thursday 18th of June 2026 09:09:11 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"}] [Thursday 18th of June 2026 09:09:11 PM] Building payment record - Total: 501.5100 [Thursday 18th of June 2026 09:09:11 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"}]} [Thursday 18th of June 2026 09:09:11 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1938 [Thursday 18th of June 2026 09:09:11 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 [Thursday 18th of June 2026 09:09:13 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1938 [Thursday 18th of June 2026 09:09:13 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1938 found in EBMS [Thursday 18th of June 2026 09:09:13 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1938 | Found: true [Thursday 18th of June 2026 09:09:13 PM] Invoice AP1938 already exists in EBMS - patching [Thursday 18th of June 2026 09:09:13 PM] patch_ebms_invoice() - START - Invoice: AP1938 [Thursday 18th of June 2026 09:09:13 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"}]} [Thursday 18th of June 2026 09:09:13 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1938%27 [Thursday 18th of June 2026 09:09:13 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1938 [Thursday 18th of June 2026 09:09:13 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1938 [Thursday 18th of June 2026 09:09:13 PM] patch_ebms_invoice() - END - Invoice: AP1938 [Thursday 18th of June 2026 09:09:13 PM] Invoice AP1938 patched successfully [Thursday 18th of June 2026 09:09:13 PM] ORDER WEBHOOK COMPLETED - Order ID: 1938 | Invoice: AP1938