[Thursday 13th of August 2026 09:19:42 AM] ORDER WEBHOOK STARTED - Order ID: 2064 [Thursday 13th of August 2026 09:19:42 AM] Fetching customer data for Order ID: 2064 [Thursday 13th of August 2026 09:19:42 AM] get_order_customer_data() - START - Order ID: 2064 [Thursday 13th of August 2026 09:19:42 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2064 [Thursday 13th of August 2026 09:19:43 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] get_order_customer_data() - Parsing order response for Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Edward Starcher | Email: bigstarch96@outlook.com | Total: 104.8900 | Shipping: 23.31 [Thursday 13th of August 2026 09:19:43 AM] get_order_customer_data() - END - Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] Customer data received: {"id":0,"email":"bigstarch96@outlook.com","address_1":"5309 Stoddard Hayes Rd","address_2":"","city":"Farmdale","state":"OH","country":"USA","zip":"44417","f_name":"Edward ","l_name":"Starcher ","contact_5":"bigstarch96@outlook.com","contact_1":"3307175863","contact_4":"Edward Starcher "} [Thursday 13th of August 2026 09:19:43 AM] Fetching shipping info for Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] get_order_shipping_info() - START - Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2064/shipping_addresses [Thursday 13th of August 2026 09:19:43 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2064 | Name: Edward Starcher | Address: 5309 Stoddard Hayes Rd, Farmdale, Ohio, 44417 [Thursday 13th of August 2026 09:19:43 AM] get_order_shipping_info() - END - Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] Shipping info received: {"id":1963,"order_id":2064,"first_name":"Edward ","last_name":"Starcher ","company":"Big Ed\u2019s Tire Service ","street_1":"5309 Stoddard Hayes Rd","street_2":"","city":"Farmdale","zip":"44417","country":"United States","country_iso2":"US","state":"Ohio","email":"bigstarch96@outlook.com","phone":"3307175863","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.3100","cost_ex_tax":"23.3100","cost_inc_tax":"24.8834","cost_tax":"1.5734","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2064\/shipping_addresses\/1963\/shipping_quotes","resource":"\/orders\/2064\/shipping_addresses\/1963\/shipping_quotes"},"form_fields":[]} [Thursday 13th of August 2026 09:19:43 AM] Resolved Customer ID: APONLINE [Thursday 13th of August 2026 09:19:43 AM] Building order object for Invoice: AP2064 [Thursday 13th of August 2026 09:19:43 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2064","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Edward Starcher ","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"23.31","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Edward Starcher ","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP2064 - Customer APONLINE"} [Thursday 13th of August 2026 09:19:43 AM] Guest checkout detected (APONLINE) - skipping customer sync [Thursday 13th of August 2026 09:19:43 AM] Fetching products from BigCommerce for Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] BigCommerce API call successful for Order ID: 2064 [Thursday 13th of August 2026 09:19:43 AM] Products received: 1 item(s) [Thursday 13th of August 2026 09:19:43 AM] Processing product SKU: APPS100-BLADES-6PACK | Qty: 1 | Price: 74.9500 [Thursday 13th of August 2026 09:19:43 AM] get_mpn() - START - Product ID: 87419 [Thursday 13th of August 2026 09:19:43 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Thursday 13th of August 2026 09:19:43 AM] get_mpn() - BigCommerce API call successful for Product ID: 87419 [Thursday 13th of August 2026 09:19:43 AM] get_mpn() - WARNING - MPN is empty for Product ID: 87419 [Thursday 13th of August 2026 09:19:43 AM] get_mpn() - END - Product ID: 87419 | MPN: [Thursday 13th of August 2026 09:19:43 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:43 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Thursday 13th of August 2026 09:19:46 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Thursday 13th of August 2026 09:19:46 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Thursday 13th of August 2026 09:19:46 AM] SKU APPS100-BLADES-6PACK found in EBMS - checking prices [Thursday 13th of August 2026 09:19:46 AM] obtain_current_prices() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] obtain_current_prices() - Checking Motorstate for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] check_for_ms_product() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] check_for_ms_product() - SKU: APPS100-BLADES-6PACK not found in Motorstate [Thursday 13th of August 2026 09:19:46 AM] check_for_ms_product() - END - SKU: APPS100-BLADES-6PACK | Found: false [Thursday 13th of August 2026 09:19:46 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK not found in Motorstate - Skipping to EBMS [Thursday 13th of August 2026 09:19:46 AM] obtain_current_prices() - Checking EBMS for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Thursday 13th of August 2026 09:19:46 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:46 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Thursday 13th of August 2026 09:19:46 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Thursday 13th of August 2026 09:19:46 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK found in EBMS - Fetching prices [Thursday 13th of August 2026 09:19:46 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPS100-BLADES-6PACK - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Thursday 13th of August 2026 09:19:47 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPS100-BLADES-6PACK - Base: 74.95 | Cost: 16.00 [Thursday 13th of August 2026 09:19:47 AM] obtain_current_prices() - END - SKU: APPS100-BLADES-6PACK | Final prices - Base: 74.95 | Cost: 16.00 [Thursday 13th of August 2026 09:19:47 AM] SKU APPS100-BLADES-6PACK has existing EBMS prices - syncing BigCommerce price back (cost: 16.00, base: 74.95) [Thursday 13th of August 2026 09:19:47 AM] update_product_price() - START - Product ID: 87419 | Base: 74.95 | Cost: 16 [Thursday 13th of August 2026 09:19:47 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Thursday 13th of August 2026 09:19:47 AM] update_product_price() - PUT payload: {"price":74.9500000000000028421709430404007434844970703125,"cost_price":16.0} [Thursday 13th of August 2026 09:19:47 AM] update_product_price() - Attempt 1 of 6 for Product ID: 87419 [Thursday 13th of August 2026 09:19:47 AM] update_product_price() - Price updated successfully for Product ID: 87419 - Base: 74.95 | Cost: 16 [Thursday 13th of August 2026 09:19:47 AM] update_product_price() - END - Product ID: 87419 | Result: success [Thursday 13th of August 2026 09:19:47 AM] BigCommerce price updated for Product ID: 87419 [Thursday 13th of August 2026 09:19:47 AM] get_product_inventory() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:47 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:47 AM] get_product_inventory() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:47 AM] get_product_inventory() - SKU: APPS100-BLADES-6PACK not found in Motorstate response item [Thursday 13th of August 2026 09:19:47 AM] get_product_inventory() - END - SKU: APPS100-BLADES-6PACK | Total: 0 [Thursday 13th of August 2026 09:19:47 AM] get_cf_id() - START - Product ID: 87419 [Thursday 13th of August 2026 09:19:47 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields [Thursday 13th of August 2026 09:19:47 AM] get_cf_id() - BigCommerce API call successful for Product ID: 87419 [Thursday 13th of August 2026 09:19:47 AM] get_cf_id() - Custom field found for Product ID: 87419 | Field: online_stock_level | CF ID: 87541 [Thursday 13th of August 2026 09:19:47 AM] get_cf_id() - END - Product ID: 87419 | CF ID: 87541 [Thursday 13th of August 2026 09:19:47 AM] Updating inventory for SKU APPS100-BLADES-6PACK - stock: 0, CF ID: 87541 [Thursday 13th of August 2026 09:19:47 AM] update_product_inventory() - START - Product ID: 87419 | Stock: 0 | CF ID: 87541 [Thursday 13th of August 2026 09:19:47 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields/87541 [Thursday 13th of August 2026 09:19:47 AM] update_product_inventory() - Inventory updated successfully for Product ID: 87419 | Stock: 0 [Thursday 13th of August 2026 09:19:47 AM] update_product_inventory() - END - Product ID: 87419 | Result: success [Thursday 13th of August 2026 09:19:47 AM] Inventory updated for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:19:47 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}] [Thursday 13th of August 2026 09:19:47 AM] Building payment record - Total: 104.8900 [Thursday 13th of August 2026 09:19:47 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2064","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Edward Starcher ","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"23.31","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Edward Starcher ","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP2064 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"104.89","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 13th of August 2026 09:19:47 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2064 [Thursday 13th of August 2026 09:19:47 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2064%27 [Thursday 13th of August 2026 09:19:48 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2064 [Thursday 13th of August 2026 09:19:48 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2064 not found in EBMS [Thursday 13th of August 2026 09:19:48 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2064 | Found: false [Thursday 13th of August 2026 09:19:48 AM] Invoice AP2064 does not exist in EBMS - creating [Thursday 13th of August 2026 09:19:48 AM] create_ebms_invoice() - START - Invoice: AP2064 [Thursday 13th of August 2026 09:19:48 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2064","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Edward Starcher ","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"23.31","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Edward Starcher ","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP2064 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"104.89","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 13th of August 2026 09:19:48 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Thursday 13th of August 2026 09:19:56 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2064 [Thursday 13th of August 2026 09:19:56 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2064 - Response: {"@odata.context":"http:\/\/localhost:65069\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"544a4b4c-5334-3430-4d42-553842303030","AUTOID":"LKJT4S04MBU8B000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-80.0100000000000051159076974727213382720947265625,"BAL_CUST_X":-80.0100000000000051159076974727213382720947265625,"BALANCE":-80.0100000000000051159076974727213382720947265625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":6.62999999999999989341858963598497211933135986328125,"TAX":1.5700000000000000621724893790087662637233734130859375,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":104.8900000000000005684341886080801486968994140625,"TOTAL_S_SO":74.9500000000000028421709430404007434844970703125,"TOTAL_SO":104.8900000000000005684341886080801486968994140625,"TOTAL_W":0,"TTLPROCPMT":104.8900000000000005684341886080801486968994140625,"TOTAL":24.879999999999999005240169935859739780426025390625,"FREIGHT":23.309999999999998721023075631819665431976318359375,"HANDLING":0,"SHIPPING":23.309999999999998721023075631819665431976318359375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_EMAIL":"bigstarch96@outlook.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-08-13T00:00:00Z","CHECK_NO":" APBC","CITY":"Farmdale","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-08-13T00:00:00Z","E_DATE":"2026-08-13T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"bigstarch96@outlook.com","IADDRESS":"5309 Stoddard Hayes Rd , Farmdale, OH 44417","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-08-13T00:00:00Z","INVOICE":"AP2064","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Edward Starcher","PHONE":"","PROCESS":"Default","STATE":"OH","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"44417","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Edward Starcher","C_STATE":"OH","C_ZIP":"44417","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2064 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-08-13T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Thursday 13th of August 2026 09:19:56 AM] create_ebms_invoice() - END - Invoice: AP2064 [Thursday 13th of August 2026 09:19:56 AM] Invoice AP2064 created successfully [Thursday 13th of August 2026 09:19:56 AM] ORDER WEBHOOK COMPLETED - Order ID: 2064 | Invoice: AP2064 [Thursday 13th of August 2026 09:20:53 AM] ORDER WEBHOOK STARTED - Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] Fetching customer data for Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] get_order_customer_data() - START - Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2064 [Thursday 13th of August 2026 09:20:53 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] get_order_customer_data() - Parsing order response for Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Edward Starcher | Email: bigstarch96@outlook.com | Total: 104.8900 | Shipping: 23.31 [Thursday 13th of August 2026 09:20:53 AM] get_order_customer_data() - END - Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] Customer data received: {"id":0,"email":"bigstarch96@outlook.com","address_1":"5309 Stoddard Hayes Rd","address_2":"","city":"Farmdale","state":"OH","country":"USA","zip":"44417","f_name":"Edward ","l_name":"Starcher ","contact_5":"bigstarch96@outlook.com","contact_1":"3307175863","contact_4":"Edward Starcher "} [Thursday 13th of August 2026 09:20:53 AM] Fetching shipping info for Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] get_order_shipping_info() - START - Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2064/shipping_addresses [Thursday 13th of August 2026 09:20:53 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2064 | Name: Edward Starcher | Address: 5309 Stoddard Hayes Rd, Farmdale, Ohio, 44417 [Thursday 13th of August 2026 09:20:53 AM] get_order_shipping_info() - END - Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] Shipping info received: {"id":1963,"order_id":2064,"first_name":"Edward ","last_name":"Starcher ","company":"Big Ed\u2019s Tire Service ","street_1":"5309 Stoddard Hayes Rd","street_2":"","city":"Farmdale","zip":"44417","country":"United States","country_iso2":"US","state":"Ohio","email":"bigstarch96@outlook.com","phone":"3307175863","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.3100","cost_ex_tax":"23.3100","cost_inc_tax":"24.8834","cost_tax":"1.5734","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2064\/shipping_addresses\/1963\/shipping_quotes","resource":"\/orders\/2064\/shipping_addresses\/1963\/shipping_quotes"},"form_fields":[]} [Thursday 13th of August 2026 09:20:53 AM] Resolved Customer ID: APONLINE [Thursday 13th of August 2026 09:20:53 AM] Building order object for Invoice: AP2064 [Thursday 13th of August 2026 09:20:53 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2064","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Edward Starcher ","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"23.31","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Edward Starcher ","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP2064 - Customer APONLINE"} [Thursday 13th of August 2026 09:20:53 AM] Guest checkout detected (APONLINE) - skipping customer sync [Thursday 13th of August 2026 09:20:53 AM] Fetching products from BigCommerce for Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] BigCommerce API call successful for Order ID: 2064 [Thursday 13th of August 2026 09:20:53 AM] Products received: 1 item(s) [Thursday 13th of August 2026 09:20:53 AM] Processing product SKU: APPS100-BLADES-6PACK | Qty: 1 | Price: 74.9500 [Thursday 13th of August 2026 09:20:53 AM] get_mpn() - START - Product ID: 87419 [Thursday 13th of August 2026 09:20:53 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Thursday 13th of August 2026 09:20:53 AM] get_mpn() - BigCommerce API call successful for Product ID: 87419 [Thursday 13th of August 2026 09:20:53 AM] get_mpn() - WARNING - MPN is empty for Product ID: 87419 [Thursday 13th of August 2026 09:20:53 AM] get_mpn() - END - Product ID: 87419 | MPN: [Thursday 13th of August 2026 09:20:53 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:53 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Thursday 13th of August 2026 09:20:54 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Thursday 13th of August 2026 09:20:54 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Thursday 13th of August 2026 09:20:54 AM] SKU APPS100-BLADES-6PACK found in EBMS - checking prices [Thursday 13th of August 2026 09:20:54 AM] obtain_current_prices() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] obtain_current_prices() - Checking Motorstate for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] check_for_ms_product() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] check_for_ms_product() - SKU: APPS100-BLADES-6PACK not found in Motorstate [Thursday 13th of August 2026 09:20:54 AM] check_for_ms_product() - END - SKU: APPS100-BLADES-6PACK | Found: false [Thursday 13th of August 2026 09:20:54 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK not found in Motorstate - Skipping to EBMS [Thursday 13th of August 2026 09:20:54 AM] obtain_current_prices() - Checking EBMS for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] check_for_ebms_product() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Thursday 13th of August 2026 09:20:54 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:54 AM] check_for_ebms_product() - SKU: APPS100-BLADES-6PACK found in EBMS [Thursday 13th of August 2026 09:20:54 AM] check_for_ebms_product() - END - SKU: APPS100-BLADES-6PACK | Found: true [Thursday 13th of August 2026 09:20:54 AM] obtain_current_prices() - SKU: APPS100-BLADES-6PACK found in EBMS - Fetching prices [Thursday 13th of August 2026 09:20:54 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPS100-BLADES-6PACK - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPS100-BLADES-6PACK%27 [Thursday 13th of August 2026 09:20:54 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPS100-BLADES-6PACK - Base: 74.95 | Cost: 16.00 [Thursday 13th of August 2026 09:20:54 AM] obtain_current_prices() - END - SKU: APPS100-BLADES-6PACK | Final prices - Base: 74.95 | Cost: 16.00 [Thursday 13th of August 2026 09:20:54 AM] SKU APPS100-BLADES-6PACK has existing EBMS prices - syncing BigCommerce price back (cost: 16.00, base: 74.95) [Thursday 13th of August 2026 09:20:54 AM] update_product_price() - START - Product ID: 87419 | Base: 74.95 | Cost: 16 [Thursday 13th of August 2026 09:20:54 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419 [Thursday 13th of August 2026 09:20:54 AM] update_product_price() - PUT payload: {"price":74.9500000000000028421709430404007434844970703125,"cost_price":16.0} [Thursday 13th of August 2026 09:20:54 AM] update_product_price() - Attempt 1 of 6 for Product ID: 87419 [Thursday 13th of August 2026 09:20:55 AM] update_product_price() - Price updated successfully for Product ID: 87419 - Base: 74.95 | Cost: 16 [Thursday 13th of August 2026 09:20:55 AM] update_product_price() - END - Product ID: 87419 | Result: success [Thursday 13th of August 2026 09:20:55 AM] BigCommerce price updated for Product ID: 87419 [Thursday 13th of August 2026 09:20:55 AM] get_product_inventory() - START - SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:55 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:55 AM] get_product_inventory() - Motorstate API call successful for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:55 AM] get_product_inventory() - SKU: APPS100-BLADES-6PACK not found in Motorstate response item [Thursday 13th of August 2026 09:20:55 AM] get_product_inventory() - END - SKU: APPS100-BLADES-6PACK | Total: 0 [Thursday 13th of August 2026 09:20:55 AM] get_cf_id() - START - Product ID: 87419 [Thursday 13th of August 2026 09:20:55 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields [Thursday 13th of August 2026 09:20:55 AM] get_cf_id() - BigCommerce API call successful for Product ID: 87419 [Thursday 13th of August 2026 09:20:55 AM] get_cf_id() - Custom field found for Product ID: 87419 | Field: online_stock_level | CF ID: 87541 [Thursday 13th of August 2026 09:20:55 AM] get_cf_id() - END - Product ID: 87419 | CF ID: 87541 [Thursday 13th of August 2026 09:20:55 AM] Updating inventory for SKU APPS100-BLADES-6PACK - stock: 0, CF ID: 87541 [Thursday 13th of August 2026 09:20:55 AM] update_product_inventory() - START - Product ID: 87419 | Stock: 0 | CF ID: 87541 [Thursday 13th of August 2026 09:20:55 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87419/custom-fields/87541 [Thursday 13th of August 2026 09:20:55 AM] update_product_inventory() - Inventory updated successfully for Product ID: 87419 | Stock: 0 [Thursday 13th of August 2026 09:20:55 AM] update_product_inventory() - END - Product ID: 87419 | Result: success [Thursday 13th of August 2026 09:20:55 AM] Inventory updated for SKU: APPS100-BLADES-6PACK [Thursday 13th of August 2026 09:20:55 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}] [Thursday 13th of August 2026 09:20:55 AM] Building payment record - Total: 104.8900 [Thursday 13th of August 2026 09:20:55 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2064","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Edward Starcher ","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"23.31","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Edward Starcher ","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP2064 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"104.89","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 13th of August 2026 09:20:55 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2064 [Thursday 13th of August 2026 09:20:55 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2064%27 [Thursday 13th of August 2026 09:20:56 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2064 [Thursday 13th of August 2026 09:20:56 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2064 found in EBMS [Thursday 13th of August 2026 09:20:56 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2064 | Found: true [Thursday 13th of August 2026 09:20:56 AM] Invoice AP2064 already exists in EBMS - patching [Thursday 13th of August 2026 09:20:56 AM] patch_ebms_invoice() - START - Invoice: AP2064 [Thursday 13th of August 2026 09:20:56 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2064","ADDRESS1":"5309 Stoddard Hayes Rd","ADDRESS2":"","C_ADDRESS1":"5309 Stoddard Hayes Rd","C_ADDRESS2":"","C_CITY":"Farmdale","C_COUNTRY":"USA","C_EMAIL":"bigstarch96@outlook.com","C_NAME":"Edward Starcher ","C_STATE":"OH","C_ZIP":"44417","ShippingAmount":"23.31","CITY":"Farmdale","EMAIL":"bigstarch96@outlook.com","ID":"APONLINE","NAME":"Edward Starcher ","STATE":"OH","COUNTRY":"USA","ZIP":"44417","MEMO":"","DESCR":"BigCommerce Order - AP2064 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPS100-BLADES-6PACK","M_QUAN_VIS":1,"UNIT":"74.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"104.89","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 13th of August 2026 09:20:56 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2064%27 [Thursday 13th of August 2026 09:20:56 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2064 [Thursday 13th of August 2026 09:20:56 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2064 [Thursday 13th of August 2026 09:20:56 AM] patch_ebms_invoice() - END - Invoice: AP2064 [Thursday 13th of August 2026 09:20:56 AM] Invoice AP2064 patched successfully [Thursday 13th of August 2026 09:20:56 AM] ORDER WEBHOOK COMPLETED - Order ID: 2064 | Invoice: AP2064 [Thursday 13th of August 2026 12:44:20 PM] ORDER WEBHOOK STARTED - Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] Fetching customer data for Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] get_order_customer_data() - START - Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2065 [Thursday 13th of August 2026 12:44:20 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] get_order_customer_data() - Parsing order response for Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] get_order_customer_data() - Customer object built - Customer ID: 282 | Name: Marita Anderson | Email: julietbth@gmail.com | Total: 220.0700 | Shipping: 20.12 [Thursday 13th of August 2026 12:44:20 PM] get_order_customer_data() - END - Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] Customer data received: {"id":282,"email":"julietbth@gmail.com","address_1":"119 Spring Meadows Dr","address_2":"","city":"Summerville","state":"SC","country":"USA","zip":"29485","f_name":"Marita","l_name":"Anderson","contact_5":"julietbth@gmail.com","contact_1":"8439029233","contact_4":"Marita Anderson"} [Thursday 13th of August 2026 12:44:20 PM] Fetching shipping info for Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] get_order_shipping_info() - START - Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2065/shipping_addresses [Thursday 13th of August 2026 12:44:20 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2065 | Name: Jorge Mendia | Address: 537 W McMurray Blvd, Casa Grande, Arizona, 85122 [Thursday 13th of August 2026 12:44:20 PM] get_order_shipping_info() - END - Order ID: 2065 [Thursday 13th of August 2026 12:44:20 PM] Shipping info received: {"id":1964,"order_id":2065,"first_name":"Jorge","last_name":"Mendia","company":"","street_1":"537 W McMurray Blvd","street_2":"","city":"Casa Grande","zip":"85122","country":"United States","country_iso2":"US","state":"Arizona","email":"julietbth@gmail.com","phone":"5203621297","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"20.1200","cost_ex_tax":"20.1200","cost_inc_tax":"20.1200","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2065\/shipping_addresses\/1964\/shipping_quotes","resource":"\/orders\/2065\/shipping_addresses\/1964\/shipping_quotes"},"form_fields":[]} [Thursday 13th of August 2026 12:44:20 PM] Resolved Customer ID: AP282 [Thursday 13th of August 2026 12:44:20 PM] Building order object for Invoice: AP2065 [Thursday 13th of August 2026 12:44:20 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2065","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"537 W McMurray Blvd","C_ADDRESS2":"","C_CITY":"Casa Grande","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Jorge Mendia","C_STATE":"AZ","C_ZIP":"85122","ShippingAmount":"20.12","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2065 - Customer AP282"} [Thursday 13th of August 2026 12:44:20 PM] Registered customer detected - checking EBMS for Customer ID: AP282 [Thursday 13th of August 2026 12:44:20 PM] check_for_customer() - START - Customer ID: 282 [Thursday 13th of August 2026 12:44:20 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 13th of August 2026 12:44:21 PM] check_for_customer() - EBMS API call successful for Customer ID: 282 [Thursday 13th of August 2026 12:44:21 PM] check_for_customer() - Customer ID: 282 found in EBMS [Thursday 13th of August 2026 12:44:21 PM] check_for_customer() - END - Customer ID: 282 | Found: true [Thursday 13th of August 2026 12:44:21 PM] Customer AP282 found in EBMS [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_info() - START - Customer ID: 282 [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 282 [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_info() - Customer record found for Customer ID: 282 - Checking ADDRESS1 field [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 282 - No update needed [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_info() - END - Customer ID: 282 | Empty Info: false [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_pn() - START - Customer ID: AP282 [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP282 [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_pn() - Customer record found for Customer ID: AP282 - Checking CONTACT_1 field [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP282 - Value: (843) 902-9233 - No update needed [Thursday 13th of August 2026 12:44:21 PM] check_for_empty_pn() - END - Customer ID: AP282 | Empty PN: false [Thursday 13th of August 2026 12:44:21 PM] Fetching products from BigCommerce for Order ID: 2065 [Thursday 13th of August 2026 12:44:21 PM] BigCommerce API call successful for Order ID: 2065 [Thursday 13th of August 2026 12:44:21 PM] Products received: 1 item(s) [Thursday 13th of August 2026 12:44:21 PM] Processing product SKU: AEM50-1005 | Qty: 1 | Price: 199.9500 [Thursday 13th of August 2026 12:44:21 PM] get_mpn() - START - Product ID: 4495 [Thursday 13th of August 2026 12:44:21 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495 [Thursday 13th of August 2026 12:44:22 PM] get_mpn() - BigCommerce API call successful for Product ID: 4495 [Thursday 13th of August 2026 12:44:22 PM] get_mpn() - WARNING - MPN is empty for Product ID: 4495 [Thursday 13th of August 2026 12:44:22 PM] get_mpn() - END - Product ID: 4495 | MPN: [Thursday 13th of August 2026 12:44:22 PM] check_for_ebms_product() - START - SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27AEM50-1005%27 [Thursday 13th of August 2026 12:44:22 PM] check_for_ebms_product() - EBMS API call successful for SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] check_for_ebms_product() - SKU: AEM50-1005 found in EBMS [Thursday 13th of August 2026 12:44:22 PM] check_for_ebms_product() - END - SKU: AEM50-1005 | Found: true [Thursday 13th of August 2026 12:44:22 PM] SKU AEM50-1005 found in EBMS - checking prices [Thursday 13th of August 2026 12:44:22 PM] obtain_current_prices() - START - SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] obtain_current_prices() - Checking Motorstate for SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] check_for_ms_product() - START - SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] check_for_ms_product() - Motorstate API call successful for SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] check_for_ms_product() - SKU: AEM50-1005 found in Motorstate [Thursday 13th of August 2026 12:44:22 PM] check_for_ms_product() - END - SKU: AEM50-1005 | Found: true [Thursday 13th of August 2026 12:44:22 PM] obtain_current_prices() - SKU: AEM50-1005 found in Motorstate - Fetching prices [Thursday 13th of August 2026 12:44:22 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: AEM50-1005 - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: AEM50-1005 - Base: 199.95 | Cost: 159.07 [Thursday 13th of August 2026 12:44:22 PM] obtain_current_prices() - Returning Motorstate prices for SKU: AEM50-1005 - Base: 199.95 | Cost: 159.07 [Thursday 13th of August 2026 12:44:22 PM] obtain_current_prices() - END - SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:22 PM] SKU AEM50-1005 has existing EBMS prices - syncing BigCommerce price back (cost: 159.07, base: 199.95) [Thursday 13th of August 2026 12:44:22 PM] update_product_price() - START - Product ID: 4495 | Base: 199.95 | Cost: 159.07 [Thursday 13th of August 2026 12:44:22 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495 [Thursday 13th of August 2026 12:44:22 PM] update_product_price() - PUT payload: {"price":199.94999999999998863131622783839702606201171875,"cost_price":159.06999999999999317878973670303821563720703125} [Thursday 13th of August 2026 12:44:22 PM] update_product_price() - Attempt 1 of 6 for Product ID: 4495 [Thursday 13th of August 2026 12:44:23 PM] update_product_price() - Price updated successfully for Product ID: 4495 - Base: 199.95 | Cost: 159.07 [Thursday 13th of August 2026 12:44:23 PM] update_product_price() - END - Product ID: 4495 | Result: success [Thursday 13th of August 2026 12:44:23 PM] BigCommerce price updated for Product ID: 4495 [Thursday 13th of August 2026 12:44:23 PM] get_product_inventory() - START - SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:23 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Thursday 13th of August 2026 12:44:23 PM] get_product_inventory() - Motorstate API call successful for SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:23 PM] get_product_inventory() - Stock found for SKU: AEM50-1005 - Quantity: 37 | Running Total: 37 [Thursday 13th of August 2026 12:44:23 PM] get_product_inventory() - END - SKU: AEM50-1005 | Total: 37 [Thursday 13th of August 2026 12:44:23 PM] get_cf_id() - START - Product ID: 4495 [Thursday 13th of August 2026 12:44:23 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495/custom-fields [Thursday 13th of August 2026 12:44:23 PM] get_cf_id() - BigCommerce API call successful for Product ID: 4495 [Thursday 13th of August 2026 12:44:23 PM] get_cf_id() - Custom field found for Product ID: 4495 | Field: online_stock_level | CF ID: 4385 [Thursday 13th of August 2026 12:44:23 PM] get_cf_id() - END - Product ID: 4495 | CF ID: 4385 [Thursday 13th of August 2026 12:44:23 PM] Updating inventory for SKU AEM50-1005 - stock: 37, CF ID: 4385 [Thursday 13th of August 2026 12:44:23 PM] update_product_inventory() - START - Product ID: 4495 | Stock: 37 | CF ID: 4385 [Thursday 13th of August 2026 12:44:23 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495/custom-fields/4385 [Thursday 13th of August 2026 12:44:23 PM] update_product_inventory() - Inventory updated successfully for Product ID: 4495 | Stock: 37 [Thursday 13th of August 2026 12:44:23 PM] update_product_inventory() - END - Product ID: 4495 | Result: success [Thursday 13th of August 2026 12:44:23 PM] Inventory updated for SKU: AEM50-1005 [Thursday 13th of August 2026 12:44:23 PM] All products processed - Order details: [{"ID":"AP282","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}] [Thursday 13th of August 2026 12:44:23 PM] Building payment record - Total: 220.0700 [Thursday 13th of August 2026 12:44:23 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2065","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"537 W McMurray Blvd","C_ADDRESS2":"","C_CITY":"Casa Grande","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Jorge Mendia","C_STATE":"AZ","C_ZIP":"85122","ShippingAmount":"20.12","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2065 - Customer AP282","Details":[{"ID":"AP282","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"220.07","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 13th of August 2026 12:44:23 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2065 [Thursday 13th of August 2026 12:44:23 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2065%27 [Thursday 13th of August 2026 12:44:23 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2065 [Thursday 13th of August 2026 12:44:23 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2065 not found in EBMS [Thursday 13th of August 2026 12:44:23 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2065 | Found: false [Thursday 13th of August 2026 12:44:23 PM] Invoice AP2065 does not exist in EBMS - creating [Thursday 13th of August 2026 12:44:23 PM] create_ebms_invoice() - START - Invoice: AP2065 [Thursday 13th of August 2026 12:44:23 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2065","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"537 W McMurray Blvd","C_ADDRESS2":"","C_CITY":"Casa Grande","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Jorge Mendia","C_STATE":"AZ","C_ZIP":"85122","ShippingAmount":"20.12","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2065 - Customer AP282","Details":[{"ID":"AP282","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"220.07","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 13th of August 2026 12:44:23 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Thursday 13th of August 2026 12:44:30 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2065 [Thursday 13th of August 2026 12:44:30 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2065 - Response: {"@odata.context":"http:\/\/localhost:65069\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"44564d41-5449-3854-5142-553842303030","AUTOID":"AMVDITT8QBU8B000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-199.94999999999998863131622783839702606201171875,"BAL_CUST_X":-199.94999999999998863131622783839702606201171875,"BALANCE":-199.94999999999998863131622783839702606201171875,"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":220.06999999999999317878973670303821563720703125,"TOTAL_S_SO":199.94999999999998863131622783839702606201171875,"TOTAL_SO":220.06999999999999317878973670303821563720703125,"TOTAL_W":0,"TTLPROCPMT":220.06999999999999317878973670303821563720703125,"TOTAL":20.120000000000000994759830064140260219573974609375,"FREIGHT":20.120000000000000994759830064140260219573974609375,"HANDLING":0,"SHIPPING":20.120000000000000994759830064140260219573974609375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_EMAIL":"julietbth@gmail.com","C_PHONE":"(843) 902-9233","CCNTCT_AID":"7R84LDIK8EMT5E91","CHARGE":"Due on Receipt","CHECK_DATE":"2026-08-13T00:00:00Z","CHECK_NO":" APBC","CITY":"Summerville","CNTCT_AID":"7R84LDIK8EMT5E91","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-08-13T00:00:00Z","E_DATE":"2026-08-13T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"julietbth@gmail.com","IADDRESS":"537 W McMurray Blvd , Casa Grande, AZ 85122","ID":"AP282","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-08-13T00:00:00Z","INVOICE":"AP2065","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Marita Anderson","PHONE":"","PROCESS":"Default","STATE":"SC","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"29485","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"537 W McMurray Blvd","C_ADDRESS2":"","C_CITY":"Casa Grande","C_COUNTRY":"USA","C_ID":"AP282","C_NAME":"Jorge Mendia","C_STATE":"AZ","C_ZIP":"85122","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2065 - Customer AP282","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-08-13T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Thursday 13th of August 2026 12:44:30 PM] create_ebms_invoice() - END - Invoice: AP2065 [Thursday 13th of August 2026 12:44:30 PM] Invoice AP2065 created successfully [Thursday 13th of August 2026 12:44:30 PM] ORDER WEBHOOK COMPLETED - Order ID: 2065 | Invoice: AP2065 [Thursday 13th of August 2026 12:45:30 PM] ORDER WEBHOOK STARTED - Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] Fetching customer data for Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] get_order_customer_data() - START - Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2065 [Thursday 13th of August 2026 12:45:30 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] get_order_customer_data() - Parsing order response for Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] get_order_customer_data() - Customer object built - Customer ID: 282 | Name: Marita Anderson | Email: julietbth@gmail.com | Total: 220.0700 | Shipping: 20.12 [Thursday 13th of August 2026 12:45:30 PM] get_order_customer_data() - END - Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] Customer data received: {"id":282,"email":"julietbth@gmail.com","address_1":"119 Spring Meadows Dr","address_2":"","city":"Summerville","state":"SC","country":"USA","zip":"29485","f_name":"Marita","l_name":"Anderson","contact_5":"julietbth@gmail.com","contact_1":"8439029233","contact_4":"Marita Anderson"} [Thursday 13th of August 2026 12:45:30 PM] Fetching shipping info for Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] get_order_shipping_info() - START - Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2065/shipping_addresses [Thursday 13th of August 2026 12:45:30 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2065 | Name: Jorge Mendia | Address: 537 W McMurray Blvd, Casa Grande, Arizona, 85122 [Thursday 13th of August 2026 12:45:30 PM] get_order_shipping_info() - END - Order ID: 2065 [Thursday 13th of August 2026 12:45:30 PM] Shipping info received: {"id":1964,"order_id":2065,"first_name":"Jorge","last_name":"Mendia","company":"","street_1":"537 W McMurray Blvd","street_2":"","city":"Casa Grande","zip":"85122","country":"United States","country_iso2":"US","state":"Arizona","email":"julietbth@gmail.com","phone":"5203621297","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"20.1200","cost_ex_tax":"20.1200","cost_inc_tax":"20.1200","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2065\/shipping_addresses\/1964\/shipping_quotes","resource":"\/orders\/2065\/shipping_addresses\/1964\/shipping_quotes"},"form_fields":[]} [Thursday 13th of August 2026 12:45:30 PM] Resolved Customer ID: AP282 [Thursday 13th of August 2026 12:45:30 PM] Building order object for Invoice: AP2065 [Thursday 13th of August 2026 12:45:30 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2065","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"537 W McMurray Blvd","C_ADDRESS2":"","C_CITY":"Casa Grande","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Jorge Mendia","C_STATE":"AZ","C_ZIP":"85122","ShippingAmount":"20.12","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2065 - Customer AP282"} [Thursday 13th of August 2026 12:45:30 PM] Registered customer detected - checking EBMS for Customer ID: AP282 [Thursday 13th of August 2026 12:45:30 PM] check_for_customer() - START - Customer ID: 282 [Thursday 13th of August 2026 12:45:30 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 13th of August 2026 12:45:30 PM] check_for_customer() - EBMS API call successful for Customer ID: 282 [Thursday 13th of August 2026 12:45:30 PM] check_for_customer() - Customer ID: 282 found in EBMS [Thursday 13th of August 2026 12:45:30 PM] check_for_customer() - END - Customer ID: 282 | Found: true [Thursday 13th of August 2026 12:45:30 PM] Customer AP282 found in EBMS [Thursday 13th of August 2026 12:45:30 PM] check_for_empty_info() - START - Customer ID: 282 [Thursday 13th of August 2026 12:45:30 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 282 [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_info() - Customer record found for Customer ID: 282 - Checking ADDRESS1 field [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 282 - No update needed [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_info() - END - Customer ID: 282 | Empty Info: false [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_pn() - START - Customer ID: AP282 [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP282 [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_pn() - Customer record found for Customer ID: AP282 - Checking CONTACT_1 field [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP282 - Value: (843) 902-9233 - No update needed [Thursday 13th of August 2026 12:45:31 PM] check_for_empty_pn() - END - Customer ID: AP282 | Empty PN: false [Thursday 13th of August 2026 12:45:31 PM] Fetching products from BigCommerce for Order ID: 2065 [Thursday 13th of August 2026 12:45:31 PM] BigCommerce API call successful for Order ID: 2065 [Thursday 13th of August 2026 12:45:31 PM] Products received: 1 item(s) [Thursday 13th of August 2026 12:45:31 PM] Processing product SKU: AEM50-1005 | Qty: 1 | Price: 199.9500 [Thursday 13th of August 2026 12:45:31 PM] get_mpn() - START - Product ID: 4495 [Thursday 13th of August 2026 12:45:31 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495 [Thursday 13th of August 2026 12:45:31 PM] get_mpn() - BigCommerce API call successful for Product ID: 4495 [Thursday 13th of August 2026 12:45:31 PM] get_mpn() - WARNING - MPN is empty for Product ID: 4495 [Thursday 13th of August 2026 12:45:31 PM] get_mpn() - END - Product ID: 4495 | MPN: [Thursday 13th of August 2026 12:45:31 PM] check_for_ebms_product() - START - SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:31 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27AEM50-1005%27 [Thursday 13th of August 2026 12:45:32 PM] check_for_ebms_product() - EBMS API call successful for SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] check_for_ebms_product() - SKU: AEM50-1005 found in EBMS [Thursday 13th of August 2026 12:45:32 PM] check_for_ebms_product() - END - SKU: AEM50-1005 | Found: true [Thursday 13th of August 2026 12:45:32 PM] SKU AEM50-1005 found in EBMS - checking prices [Thursday 13th of August 2026 12:45:32 PM] obtain_current_prices() - START - SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] obtain_current_prices() - Checking Motorstate for SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] check_for_ms_product() - START - SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] check_for_ms_product() - Motorstate API call successful for SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] check_for_ms_product() - SKU: AEM50-1005 found in Motorstate [Thursday 13th of August 2026 12:45:32 PM] check_for_ms_product() - END - SKU: AEM50-1005 | Found: true [Thursday 13th of August 2026 12:45:32 PM] obtain_current_prices() - SKU: AEM50-1005 found in Motorstate - Fetching prices [Thursday 13th of August 2026 12:45:32 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: AEM50-1005 - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: AEM50-1005 - Base: 199.95 | Cost: 159.07 [Thursday 13th of August 2026 12:45:32 PM] obtain_current_prices() - Returning Motorstate prices for SKU: AEM50-1005 - Base: 199.95 | Cost: 159.07 [Thursday 13th of August 2026 12:45:32 PM] obtain_current_prices() - END - SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] SKU AEM50-1005 has existing EBMS prices - syncing BigCommerce price back (cost: 159.07, base: 199.95) [Thursday 13th of August 2026 12:45:32 PM] update_product_price() - START - Product ID: 4495 | Base: 199.95 | Cost: 159.07 [Thursday 13th of August 2026 12:45:32 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495 [Thursday 13th of August 2026 12:45:32 PM] update_product_price() - PUT payload: {"price":199.94999999999998863131622783839702606201171875,"cost_price":159.06999999999999317878973670303821563720703125} [Thursday 13th of August 2026 12:45:32 PM] update_product_price() - Attempt 1 of 6 for Product ID: 4495 [Thursday 13th of August 2026 12:45:32 PM] update_product_price() - Price updated successfully for Product ID: 4495 - Base: 199.95 | Cost: 159.07 [Thursday 13th of August 2026 12:45:32 PM] update_product_price() - END - Product ID: 4495 | Result: success [Thursday 13th of August 2026 12:45:32 PM] BigCommerce price updated for Product ID: 4495 [Thursday 13th of August 2026 12:45:32 PM] get_product_inventory() - START - SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] get_product_inventory() - Motorstate API call successful for SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:32 PM] get_product_inventory() - Stock found for SKU: AEM50-1005 - Quantity: 37 | Running Total: 37 [Thursday 13th of August 2026 12:45:32 PM] get_product_inventory() - END - SKU: AEM50-1005 | Total: 37 [Thursday 13th of August 2026 12:45:32 PM] get_cf_id() - START - Product ID: 4495 [Thursday 13th of August 2026 12:45:32 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495/custom-fields [Thursday 13th of August 2026 12:45:32 PM] get_cf_id() - BigCommerce API call successful for Product ID: 4495 [Thursday 13th of August 2026 12:45:32 PM] get_cf_id() - Custom field found for Product ID: 4495 | Field: online_stock_level | CF ID: 4385 [Thursday 13th of August 2026 12:45:32 PM] get_cf_id() - END - Product ID: 4495 | CF ID: 4385 [Thursday 13th of August 2026 12:45:32 PM] Updating inventory for SKU AEM50-1005 - stock: 37, CF ID: 4385 [Thursday 13th of August 2026 12:45:32 PM] update_product_inventory() - START - Product ID: 4495 | Stock: 37 | CF ID: 4385 [Thursday 13th of August 2026 12:45:32 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495/custom-fields/4385 [Thursday 13th of August 2026 12:45:33 PM] update_product_inventory() - Inventory updated successfully for Product ID: 4495 | Stock: 37 [Thursday 13th of August 2026 12:45:33 PM] update_product_inventory() - END - Product ID: 4495 | Result: success [Thursday 13th of August 2026 12:45:33 PM] Inventory updated for SKU: AEM50-1005 [Thursday 13th of August 2026 12:45:33 PM] All products processed - Order details: [{"ID":"AP282","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}] [Thursday 13th of August 2026 12:45:33 PM] Building payment record - Total: 220.0700 [Thursday 13th of August 2026 12:45:33 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2065","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"537 W McMurray Blvd","C_ADDRESS2":"","C_CITY":"Casa Grande","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Jorge Mendia","C_STATE":"AZ","C_ZIP":"85122","ShippingAmount":"20.12","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2065 - Customer AP282","Details":[{"ID":"AP282","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"220.07","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 13th of August 2026 12:45:33 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2065 [Thursday 13th of August 2026 12:45:33 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2065%27 [Thursday 13th of August 2026 12:45:34 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2065 [Thursday 13th of August 2026 12:45:34 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2065 found in EBMS [Thursday 13th of August 2026 12:45:34 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2065 | Found: true [Thursday 13th of August 2026 12:45:34 PM] Invoice AP2065 already exists in EBMS - patching [Thursday 13th of August 2026 12:45:34 PM] patch_ebms_invoice() - START - Invoice: AP2065 [Thursday 13th of August 2026 12:45:34 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2065","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"537 W McMurray Blvd","C_ADDRESS2":"","C_CITY":"Casa Grande","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Jorge Mendia","C_STATE":"AZ","C_ZIP":"85122","ShippingAmount":"20.12","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2065 - Customer AP282","Details":[{"ID":"AP282","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"220.07","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 13th of August 2026 12:45:34 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2065%27 [Thursday 13th of August 2026 12:45:34 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2065 [Thursday 13th of August 2026 12:45:34 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2065 [Thursday 13th of August 2026 12:45:34 PM] patch_ebms_invoice() - END - Invoice: AP2065 [Thursday 13th of August 2026 12:45:34 PM] Invoice AP2065 patched successfully [Thursday 13th of August 2026 12:45:34 PM] ORDER WEBHOOK COMPLETED - Order ID: 2065 | Invoice: AP2065