[Thursday 30th of July 2026 02:52:36 AM] add_customer() - START - Customer ID: 428 | Name: [Thursday 30th of July 2026 02:52:36 AM] add_customer() - Customer payload: {"id":428,"address_count":0,"addresses":[],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"RogerRomao0818@mac.com","first_name":"Roger","last_name":"Romao","notes":"","phone":"","registration_ip_address":"69.244.62.238","tax_exempt_category":"","date_created":"2026-07-30T07:52:23Z","date_modified":"2026-07-30T07:52:23Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null} [Thursday 30th of July 2026 02:52:36 AM] add_customer() - Customer fields parsed - ID: AP428 | Address: , , | Email: [Thursday 30th of July 2026 02:52:36 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Thursday 30th of July 2026 02:52:36 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP428","L_NAME":null,"STATE":null,"ZIP":null} [Thursday 30th of July 2026 02:52:40 AM] add_customer() - EBMS API call successful for Customer ID: AP428 [Thursday 30th of July 2026 02:52:40 AM] add_customer() - Customer created successfully in EBMS - ID: AP428 - Response: {"@odata.context":"http:\/\/localhost:58605\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"5130484e-334f-5536-514b-555332303030","AUTOID":"NH0QO36UQKUS2000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-30T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP428","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Thursday 30th of July 2026 02:52:40 AM] add_customer() - END - Customer ID: AP428 [Thursday 30th of July 2026 05:29:15 AM] ORDER WEBHOOK STARTED - Order ID: 2017 [Thursday 30th of July 2026 05:29:15 AM] Fetching customer data for Order ID: 2017 [Thursday 30th of July 2026 05:29:15 AM] get_order_customer_data() - START - Order ID: 2017 [Thursday 30th of July 2026 05:29:15 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2017 [Thursday 30th of July 2026 05:29:15 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2017 [Thursday 30th of July 2026 05:29:15 AM] get_order_customer_data() - Parsing order response for Order ID: 2017 [Thursday 30th of July 2026 05:29:15 AM] get_order_customer_data() - Customer object built - Customer ID: 282 | Name: Marita Anderson | Email: julietbth@gmail.com | Total: 160.2100 | Shipping: 21.26 [Thursday 30th of July 2026 05:29:15 AM] get_order_customer_data() - END - Order ID: 2017 [Thursday 30th of July 2026 05:29:15 AM] 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 30th of July 2026 05:29:15 AM] Fetching shipping info for Order ID: 2017 [Thursday 30th of July 2026 05:29:15 AM] get_order_shipping_info() - START - Order ID: 2017 [Thursday 30th of July 2026 05:29:15 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2017/shipping_addresses [Thursday 30th of July 2026 05:29:16 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2017 [Thursday 30th of July 2026 05:29:16 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2017 | Name: Roger Romao | Address: 3051 W Whitman Dr, Anthem, Arizona, 85086 [Thursday 30th of July 2026 05:29:16 AM] get_order_shipping_info() - END - Order ID: 2017 [Thursday 30th of July 2026 05:29:16 AM] Shipping info received: {"id":1916,"order_id":2017,"first_name":"Roger","last_name":"Romao","company":"","street_1":"3051 W Whitman Dr","street_2":"","city":"Anthem","zip":"85086","country":"United States","country_iso2":"US","state":"Arizona","email":"julietbth@gmail.com","phone":"16234291254","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"21.2600","cost_ex_tax":"21.2600","cost_inc_tax":"21.2600","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\/2017\/shipping_addresses\/1916\/shipping_quotes","resource":"\/orders\/2017\/shipping_addresses\/1916\/shipping_quotes"},"form_fields":[]} [Thursday 30th of July 2026 05:29:16 AM] Resolved Customer ID: AP282 [Thursday 30th of July 2026 05:29:16 AM] Building order object for Invoice: AP2017 [Thursday 30th of July 2026 05:29:16 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2017","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"3051 W Whitman Dr","C_ADDRESS2":"","C_CITY":"Anthem","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Roger Romao","C_STATE":"AZ","C_ZIP":"85086","ShippingAmount":"21.26","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2017 - Customer AP282"} [Thursday 30th of July 2026 05:29:16 AM] Registered customer detected - checking EBMS for Customer ID: AP282 [Thursday 30th of July 2026 05:29:16 AM] check_for_customer() - START - Customer ID: 282 [Thursday 30th of July 2026 05:29:16 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 30th of July 2026 05:29:16 AM] check_for_customer() - EBMS API call successful for Customer ID: 282 [Thursday 30th of July 2026 05:29:16 AM] check_for_customer() - Customer ID: 282 found in EBMS [Thursday 30th of July 2026 05:29:16 AM] check_for_customer() - END - Customer ID: 282 | Found: true [Thursday 30th of July 2026 05:29:16 AM] Customer AP282 found in EBMS [Thursday 30th of July 2026 05:29:16 AM] check_for_empty_info() - START - Customer ID: 282 [Thursday 30th of July 2026 05:29:16 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 30th of July 2026 05:29:16 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 282 [Thursday 30th of July 2026 05:29:16 AM] check_for_empty_info() - Customer record found for Customer ID: 282 - Checking ADDRESS1 field [Thursday 30th of July 2026 05:29:16 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 282 - No update needed [Thursday 30th of July 2026 05:29:16 AM] check_for_empty_info() - END - Customer ID: 282 | Empty Info: false [Thursday 30th of July 2026 05:29:16 AM] check_for_empty_pn() - START - Customer ID: AP282 [Thursday 30th of July 2026 05:29:16 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 30th of July 2026 05:29:17 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP282 [Thursday 30th of July 2026 05:29:17 AM] check_for_empty_pn() - Customer record found for Customer ID: AP282 - Checking CONTACT_1 field [Thursday 30th of July 2026 05:29:17 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP282 - Value: (843) 902-9233 - No update needed [Thursday 30th of July 2026 05:29:17 AM] check_for_empty_pn() - END - Customer ID: AP282 | Empty PN: false [Thursday 30th of July 2026 05:29:17 AM] Fetching products from BigCommerce for Order ID: 2017 [Thursday 30th of July 2026 05:29:17 AM] BigCommerce API call successful for Order ID: 2017 [Thursday 30th of July 2026 05:29:17 AM] Products received: 1 item(s) [Thursday 30th of July 2026 05:29:17 AM] Processing product SKU: MSD35051 | Qty: 1 | Price: 138.9500 [Thursday 30th of July 2026 05:29:17 AM] get_mpn() - START - Product ID: 83258 [Thursday 30th of July 2026 05:29:17 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83258 [Thursday 30th of July 2026 05:29:17 AM] get_mpn() - BigCommerce API call successful for Product ID: 83258 [Thursday 30th of July 2026 05:29:17 AM] get_mpn() - WARNING - MPN is empty for Product ID: 83258 [Thursday 30th of July 2026 05:29:17 AM] get_mpn() - END - Product ID: 83258 | MPN: [Thursday 30th of July 2026 05:29:17 AM] check_for_ebms_product() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:29:17 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27MSD35051%27 [Thursday 30th of July 2026 05:29:17 AM] check_for_ebms_product() - EBMS API call successful for SKU: MSD35051 [Thursday 30th of July 2026 05:29:17 AM] check_for_ebms_product() - SKU: MSD35051 found in EBMS [Thursday 30th of July 2026 05:29:17 AM] check_for_ebms_product() - END - SKU: MSD35051 | Found: true [Thursday 30th of July 2026 05:29:18 AM] SKU MSD35051 found in EBMS - checking prices [Thursday 30th of July 2026 05:29:18 AM] obtain_current_prices() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:29:18 AM] obtain_current_prices() - Checking Motorstate for SKU: MSD35051 [Thursday 30th of July 2026 05:29:18 AM] check_for_ms_product() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:29:18 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=MSD35051 [Thursday 30th of July 2026 05:29:20 AM] check_for_ms_product() - Motorstate API call successful for SKU: MSD35051 [Thursday 30th of July 2026 05:29:20 AM] check_for_ms_product() - SKU: MSD35051 not found in Motorstate [Thursday 30th of July 2026 05:29:20 AM] check_for_ms_product() - END - SKU: MSD35051 | Found: false [Thursday 30th of July 2026 05:29:20 AM] obtain_current_prices() - SKU: MSD35051 not found in Motorstate - Skipping to EBMS [Thursday 30th of July 2026 05:29:20 AM] obtain_current_prices() - Checking EBMS for SKU: MSD35051 [Thursday 30th of July 2026 05:29:20 AM] check_for_ebms_product() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:29:20 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27MSD35051%27 [Thursday 30th of July 2026 05:29:20 AM] check_for_ebms_product() - EBMS API call successful for SKU: MSD35051 [Thursday 30th of July 2026 05:29:20 AM] check_for_ebms_product() - SKU: MSD35051 found in EBMS [Thursday 30th of July 2026 05:29:20 AM] check_for_ebms_product() - END - SKU: MSD35051 | Found: true [Thursday 30th of July 2026 05:29:20 AM] obtain_current_prices() - SKU: MSD35051 found in EBMS - Fetching prices [Thursday 30th of July 2026 05:29:20 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: MSD35051 - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27MSD35051%27 [Thursday 30th of July 2026 05:29:20 AM] obtain_current_prices() - EBMS prices retrieved for SKU: MSD35051 - Base: 116.72 | Cost: 100.46 [Thursday 30th of July 2026 05:29:20 AM] obtain_current_prices() - END - SKU: MSD35051 | Final prices - Base: 116.72 | Cost: 100.46 [Thursday 30th of July 2026 05:29:20 AM] SKU MSD35051 has existing EBMS prices - syncing BigCommerce price back (cost: 116.72, base: 138.95) [Thursday 30th of July 2026 05:29:20 AM] update_product_price() - START - Product ID: 83258 | Base: 138.95 | Cost: 116.72 [Thursday 30th of July 2026 05:29:20 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83258 [Thursday 30th of July 2026 05:29:20 AM] update_product_price() - PUT payload: {"price":138.94999999999998863131622783839702606201171875,"cost_price":116.719999999999998863131622783839702606201171875} [Thursday 30th of July 2026 05:29:20 AM] update_product_price() - Attempt 1 of 6 for Product ID: 83258 [Thursday 30th of July 2026 05:29:21 AM] update_product_price() - Price updated successfully for Product ID: 83258 - Base: 138.95 | Cost: 116.72 [Thursday 30th of July 2026 05:29:21 AM] update_product_price() - END - Product ID: 83258 | Result: success [Thursday 30th of July 2026 05:29:21 AM] BigCommerce price updated for Product ID: 83258 [Thursday 30th of July 2026 05:29:21 AM] get_product_inventory() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:29:21 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=MSD35051 [Thursday 30th of July 2026 05:29:23 AM] get_product_inventory() - Motorstate API call successful for SKU: MSD35051 [Thursday 30th of July 2026 05:29:23 AM] get_product_inventory() - SKU: MSD35051 not found in Motorstate response item [Thursday 30th of July 2026 05:29:23 AM] get_product_inventory() - END - SKU: MSD35051 | Total: 0 [Thursday 30th of July 2026 05:29:23 AM] get_cf_id() - START - Product ID: 83258 [Thursday 30th of July 2026 05:29:23 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83258/custom-fields [Thursday 30th of July 2026 05:29:23 AM] get_cf_id() - BigCommerce API call successful for Product ID: 83258 [Thursday 30th of July 2026 05:29:23 AM] get_cf_id() - Custom field found for Product ID: 83258 | Field: online_stock_level | CF ID: 83148 [Thursday 30th of July 2026 05:29:23 AM] get_cf_id() - END - Product ID: 83258 | CF ID: 83148 [Thursday 30th of July 2026 05:29:23 AM] Updating inventory for SKU MSD35051 - stock: 0, CF ID: 83148 [Thursday 30th of July 2026 05:29:23 AM] update_product_inventory() - START - Product ID: 83258 | Stock: 0 | CF ID: 83148 [Thursday 30th of July 2026 05:29:23 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83258/custom-fields/83148 [Thursday 30th of July 2026 05:29:23 AM] update_product_inventory() - Inventory updated successfully for Product ID: 83258 | Stock: 0 [Thursday 30th of July 2026 05:29:23 AM] update_product_inventory() - END - Product ID: 83258 | Result: success [Thursday 30th of July 2026 05:29:23 AM] Inventory updated for SKU: MSD35051 [Thursday 30th of July 2026 05:29:23 AM] All products processed - Order details: [{"ID":"AP282","INVEN":"MSD35051","M_QUAN_VIS":1,"UNIT":"138.95","UNIT_MEAS":"EA"}] [Thursday 30th of July 2026 05:29:23 AM] Building payment record - Total: 160.2100 [Thursday 30th of July 2026 05:29:23 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2017","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"3051 W Whitman Dr","C_ADDRESS2":"","C_CITY":"Anthem","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Roger Romao","C_STATE":"AZ","C_ZIP":"85086","ShippingAmount":"21.26","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2017 - Customer AP282","Details":[{"ID":"AP282","INVEN":"MSD35051","M_QUAN_VIS":1,"UNIT":"138.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"160.21","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 30th of July 2026 05:29:23 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2017 [Thursday 30th of July 2026 05:29:23 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2017%27 [Thursday 30th of July 2026 05:29:23 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2017 [Thursday 30th of July 2026 05:29:23 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2017 not found in EBMS [Thursday 30th of July 2026 05:29:23 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2017 | Found: false [Thursday 30th of July 2026 05:29:23 AM] Invoice AP2017 does not exist in EBMS - creating [Thursday 30th of July 2026 05:29:23 AM] create_ebms_invoice() - START - Invoice: AP2017 [Thursday 30th of July 2026 05:29:23 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2017","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"3051 W Whitman Dr","C_ADDRESS2":"","C_CITY":"Anthem","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Roger Romao","C_STATE":"AZ","C_ZIP":"85086","ShippingAmount":"21.26","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2017 - Customer AP282","Details":[{"ID":"AP282","INVEN":"MSD35051","M_QUAN_VIS":1,"UNIT":"138.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"160.21","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 30th of July 2026 05:29:23 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Thursday 30th of July 2026 05:29:30 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2017 [Thursday 30th of July 2026 05:29:30 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2017 - Response: {"@odata.context":"http:\/\/localhost:58605\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"37475545-4656-3430-554b-555332303030","AUTOID":"EUG7VF04UKUS2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-138.94999999999998863131622783839702606201171875,"BAL_CUST_X":-138.94999999999998863131622783839702606201171875,"BALANCE":-138.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":160.210000000000007958078640513122081756591796875,"TOTAL_S_SO":138.94999999999998863131622783839702606201171875,"TOTAL_SO":160.210000000000007958078640513122081756591796875,"TOTAL_W":0,"TTLPROCPMT":160.210000000000007958078640513122081756591796875,"TOTAL":21.260000000000001563194018672220408916473388671875,"FREIGHT":21.260000000000001563194018672220408916473388671875,"HANDLING":0,"SHIPPING":21.260000000000001563194018672220408916473388671875,"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-07-30T00:00:00Z","CHECK_NO":" APBC","CITY":"Summerville","CNTCT_AID":"7R84LDIK8EMT5E91","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-07-30T00:00:00Z","E_DATE":"2026-07-30T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"julietbth@gmail.com","IADDRESS":"3051 W Whitman Dr , Anthem, AZ 85086","ID":"AP282","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-30T00:00:00Z","INVOICE":"AP2017","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":"3051 W Whitman Dr","C_ADDRESS2":"","C_CITY":"Anthem","C_COUNTRY":"USA","C_ID":"AP282","C_NAME":"Roger Romao","C_STATE":"AZ","C_ZIP":"85086","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2017 - Customer AP282","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-30T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Thursday 30th of July 2026 05:29:30 AM] create_ebms_invoice() - END - Invoice: AP2017 [Thursday 30th of July 2026 05:29:30 AM] Invoice AP2017 created successfully [Thursday 30th of July 2026 05:29:30 AM] ORDER WEBHOOK COMPLETED - Order ID: 2017 | Invoice: AP2017 [Thursday 30th of July 2026 05:30:25 AM] ORDER WEBHOOK STARTED - Order ID: 2017 [Thursday 30th of July 2026 05:30:25 AM] Fetching customer data for Order ID: 2017 [Thursday 30th of July 2026 05:30:25 AM] get_order_customer_data() - START - Order ID: 2017 [Thursday 30th of July 2026 05:30:25 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2017 [Thursday 30th of July 2026 05:30:26 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2017 [Thursday 30th of July 2026 05:30:26 AM] get_order_customer_data() - Parsing order response for Order ID: 2017 [Thursday 30th of July 2026 05:30:26 AM] get_order_customer_data() - Customer object built - Customer ID: 282 | Name: Marita Anderson | Email: julietbth@gmail.com | Total: 160.2100 | Shipping: 21.26 [Thursday 30th of July 2026 05:30:26 AM] get_order_customer_data() - END - Order ID: 2017 [Thursday 30th of July 2026 05:30:26 AM] 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 30th of July 2026 05:30:26 AM] Fetching shipping info for Order ID: 2017 [Thursday 30th of July 2026 05:30:26 AM] get_order_shipping_info() - START - Order ID: 2017 [Thursday 30th of July 2026 05:30:26 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2017/shipping_addresses [Thursday 30th of July 2026 05:30:26 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2017 [Thursday 30th of July 2026 05:30:26 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2017 | Name: Roger Romao | Address: 3051 W Whitman Dr, Anthem, Arizona, 85086 [Thursday 30th of July 2026 05:30:26 AM] get_order_shipping_info() - END - Order ID: 2017 [Thursday 30th of July 2026 05:30:26 AM] Shipping info received: {"id":1916,"order_id":2017,"first_name":"Roger","last_name":"Romao","company":"","street_1":"3051 W Whitman Dr","street_2":"","city":"Anthem","zip":"85086","country":"United States","country_iso2":"US","state":"Arizona","email":"julietbth@gmail.com","phone":"16234291254","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"21.2600","cost_ex_tax":"21.2600","cost_inc_tax":"21.2600","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\/2017\/shipping_addresses\/1916\/shipping_quotes","resource":"\/orders\/2017\/shipping_addresses\/1916\/shipping_quotes"},"form_fields":[]} [Thursday 30th of July 2026 05:30:26 AM] Resolved Customer ID: AP282 [Thursday 30th of July 2026 05:30:26 AM] Building order object for Invoice: AP2017 [Thursday 30th of July 2026 05:30:26 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2017","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"3051 W Whitman Dr","C_ADDRESS2":"","C_CITY":"Anthem","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Roger Romao","C_STATE":"AZ","C_ZIP":"85086","ShippingAmount":"21.26","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2017 - Customer AP282"} [Thursday 30th of July 2026 05:30:26 AM] Registered customer detected - checking EBMS for Customer ID: AP282 [Thursday 30th of July 2026 05:30:26 AM] check_for_customer() - START - Customer ID: 282 [Thursday 30th of July 2026 05:30:26 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 30th of July 2026 05:30:26 AM] check_for_customer() - EBMS API call successful for Customer ID: 282 [Thursday 30th of July 2026 05:30:26 AM] check_for_customer() - Customer ID: 282 found in EBMS [Thursday 30th of July 2026 05:30:26 AM] check_for_customer() - END - Customer ID: 282 | Found: true [Thursday 30th of July 2026 05:30:26 AM] Customer AP282 found in EBMS [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_info() - START - Customer ID: 282 [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 282 [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_info() - Customer record found for Customer ID: 282 - Checking ADDRESS1 field [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 282 - No update needed [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_info() - END - Customer ID: 282 | Empty Info: false [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_pn() - START - Customer ID: AP282 [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP282 [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_pn() - Customer record found for Customer ID: AP282 - Checking CONTACT_1 field [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP282 - Value: (843) 902-9233 - No update needed [Thursday 30th of July 2026 05:30:26 AM] check_for_empty_pn() - END - Customer ID: AP282 | Empty PN: false [Thursday 30th of July 2026 05:30:26 AM] Fetching products from BigCommerce for Order ID: 2017 [Thursday 30th of July 2026 05:30:27 AM] BigCommerce API call successful for Order ID: 2017 [Thursday 30th of July 2026 05:30:27 AM] Products received: 1 item(s) [Thursday 30th of July 2026 05:30:27 AM] Processing product SKU: MSD35051 | Qty: 1 | Price: 138.9500 [Thursday 30th of July 2026 05:30:27 AM] get_mpn() - START - Product ID: 83258 [Thursday 30th of July 2026 05:30:27 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83258 [Thursday 30th of July 2026 05:30:27 AM] get_mpn() - BigCommerce API call successful for Product ID: 83258 [Thursday 30th of July 2026 05:30:27 AM] get_mpn() - WARNING - MPN is empty for Product ID: 83258 [Thursday 30th of July 2026 05:30:27 AM] get_mpn() - END - Product ID: 83258 | MPN: [Thursday 30th of July 2026 05:30:27 AM] check_for_ebms_product() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:30:27 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27MSD35051%27 [Thursday 30th of July 2026 05:30:27 AM] check_for_ebms_product() - EBMS API call successful for SKU: MSD35051 [Thursday 30th of July 2026 05:30:27 AM] check_for_ebms_product() - SKU: MSD35051 found in EBMS [Thursday 30th of July 2026 05:30:27 AM] check_for_ebms_product() - END - SKU: MSD35051 | Found: true [Thursday 30th of July 2026 05:30:27 AM] SKU MSD35051 found in EBMS - checking prices [Thursday 30th of July 2026 05:30:27 AM] obtain_current_prices() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:30:27 AM] obtain_current_prices() - Checking Motorstate for SKU: MSD35051 [Thursday 30th of July 2026 05:30:27 AM] check_for_ms_product() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:30:27 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=MSD35051 [Thursday 30th of July 2026 05:30:29 AM] check_for_ms_product() - Motorstate API call successful for SKU: MSD35051 [Thursday 30th of July 2026 05:30:29 AM] check_for_ms_product() - SKU: MSD35051 not found in Motorstate [Thursday 30th of July 2026 05:30:29 AM] check_for_ms_product() - END - SKU: MSD35051 | Found: false [Thursday 30th of July 2026 05:30:29 AM] obtain_current_prices() - SKU: MSD35051 not found in Motorstate - Skipping to EBMS [Thursday 30th of July 2026 05:30:29 AM] obtain_current_prices() - Checking EBMS for SKU: MSD35051 [Thursday 30th of July 2026 05:30:29 AM] check_for_ebms_product() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:30:29 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27MSD35051%27 [Thursday 30th of July 2026 05:30:29 AM] check_for_ebms_product() - EBMS API call successful for SKU: MSD35051 [Thursday 30th of July 2026 05:30:29 AM] check_for_ebms_product() - SKU: MSD35051 found in EBMS [Thursday 30th of July 2026 05:30:29 AM] check_for_ebms_product() - END - SKU: MSD35051 | Found: true [Thursday 30th of July 2026 05:30:29 AM] obtain_current_prices() - SKU: MSD35051 found in EBMS - Fetching prices [Thursday 30th of July 2026 05:30:29 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: MSD35051 - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27MSD35051%27 [Thursday 30th of July 2026 05:30:30 AM] obtain_current_prices() - EBMS prices retrieved for SKU: MSD35051 - Base: 116.72 | Cost: 100.46 [Thursday 30th of July 2026 05:30:30 AM] obtain_current_prices() - END - SKU: MSD35051 | Final prices - Base: 116.72 | Cost: 100.46 [Thursday 30th of July 2026 05:30:30 AM] SKU MSD35051 has existing EBMS prices - syncing BigCommerce price back (cost: 116.72, base: 138.95) [Thursday 30th of July 2026 05:30:30 AM] update_product_price() - START - Product ID: 83258 | Base: 138.95 | Cost: 116.72 [Thursday 30th of July 2026 05:30:30 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83258 [Thursday 30th of July 2026 05:30:30 AM] update_product_price() - PUT payload: {"price":138.94999999999998863131622783839702606201171875,"cost_price":116.719999999999998863131622783839702606201171875} [Thursday 30th of July 2026 05:30:30 AM] update_product_price() - Attempt 1 of 6 for Product ID: 83258 [Thursday 30th of July 2026 05:30:30 AM] update_product_price() - Price updated successfully for Product ID: 83258 - Base: 138.95 | Cost: 116.72 [Thursday 30th of July 2026 05:30:30 AM] update_product_price() - END - Product ID: 83258 | Result: success [Thursday 30th of July 2026 05:30:30 AM] BigCommerce price updated for Product ID: 83258 [Thursday 30th of July 2026 05:30:30 AM] get_product_inventory() - START - SKU: MSD35051 [Thursday 30th of July 2026 05:30:30 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=MSD35051 [Thursday 30th of July 2026 05:30:32 AM] get_product_inventory() - Motorstate API call successful for SKU: MSD35051 [Thursday 30th of July 2026 05:30:32 AM] get_product_inventory() - SKU: MSD35051 not found in Motorstate response item [Thursday 30th of July 2026 05:30:32 AM] get_product_inventory() - END - SKU: MSD35051 | Total: 0 [Thursday 30th of July 2026 05:30:32 AM] get_cf_id() - START - Product ID: 83258 [Thursday 30th of July 2026 05:30:32 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83258/custom-fields [Thursday 30th of July 2026 05:30:32 AM] get_cf_id() - BigCommerce API call successful for Product ID: 83258 [Thursday 30th of July 2026 05:30:32 AM] get_cf_id() - Custom field found for Product ID: 83258 | Field: online_stock_level | CF ID: 83148 [Thursday 30th of July 2026 05:30:32 AM] get_cf_id() - END - Product ID: 83258 | CF ID: 83148 [Thursday 30th of July 2026 05:30:32 AM] Updating inventory for SKU MSD35051 - stock: 0, CF ID: 83148 [Thursday 30th of July 2026 05:30:32 AM] update_product_inventory() - START - Product ID: 83258 | Stock: 0 | CF ID: 83148 [Thursday 30th of July 2026 05:30:32 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83258/custom-fields/83148 [Thursday 30th of July 2026 05:30:32 AM] update_product_inventory() - Inventory updated successfully for Product ID: 83258 | Stock: 0 [Thursday 30th of July 2026 05:30:32 AM] update_product_inventory() - END - Product ID: 83258 | Result: success [Thursday 30th of July 2026 05:30:32 AM] Inventory updated for SKU: MSD35051 [Thursday 30th of July 2026 05:30:32 AM] All products processed - Order details: [{"ID":"AP282","INVEN":"MSD35051","M_QUAN_VIS":1,"UNIT":"138.95","UNIT_MEAS":"EA"}] [Thursday 30th of July 2026 05:30:32 AM] Building payment record - Total: 160.2100 [Thursday 30th of July 2026 05:30:32 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2017","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"3051 W Whitman Dr","C_ADDRESS2":"","C_CITY":"Anthem","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Roger Romao","C_STATE":"AZ","C_ZIP":"85086","ShippingAmount":"21.26","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2017 - Customer AP282","Details":[{"ID":"AP282","INVEN":"MSD35051","M_QUAN_VIS":1,"UNIT":"138.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"160.21","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 30th of July 2026 05:30:32 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2017 [Thursday 30th of July 2026 05:30:32 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2017%27 [Thursday 30th of July 2026 05:30:33 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2017 [Thursday 30th of July 2026 05:30:33 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2017 found in EBMS [Thursday 30th of July 2026 05:30:33 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2017 | Found: true [Thursday 30th of July 2026 05:30:33 AM] Invoice AP2017 already exists in EBMS - patching [Thursday 30th of July 2026 05:30:33 AM] patch_ebms_invoice() - START - Invoice: AP2017 [Thursday 30th of July 2026 05:30:33 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2017","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"3051 W Whitman Dr","C_ADDRESS2":"","C_CITY":"Anthem","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Roger Romao","C_STATE":"AZ","C_ZIP":"85086","ShippingAmount":"21.26","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP2017 - Customer AP282","Details":[{"ID":"AP282","INVEN":"MSD35051","M_QUAN_VIS":1,"UNIT":"138.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"160.21","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 30th of July 2026 05:30:33 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2017%27 [Thursday 30th of July 2026 05:30:33 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2017 [Thursday 30th of July 2026 05:30:33 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2017 [Thursday 30th of July 2026 05:30:33 AM] patch_ebms_invoice() - END - Invoice: AP2017 [Thursday 30th of July 2026 05:30:33 AM] Invoice AP2017 patched successfully [Thursday 30th of July 2026 05:30:33 AM] ORDER WEBHOOK COMPLETED - Order ID: 2017 | Invoice: AP2017 [Thursday 30th of July 2026 12:45:21 PM] ORDER WEBHOOK STARTED - Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] Fetching customer data for Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] get_order_customer_data() - START - Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2018 [Thursday 30th of July 2026 12:45:21 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] get_order_customer_data() - Parsing order response for Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] get_order_customer_data() - Customer object built - Customer ID: 373 | Name: Hyunchul Hong | Email: HyunchulHong83@mac.com | Total: 145.7600 | Shipping: 16.27 [Thursday 30th of July 2026 12:45:21 PM] get_order_customer_data() - END - Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] Customer data received: {"id":373,"email":"HyunchulHong83@mac.com","address_1":"6088 Millerton Rd","address_2":"","city":"Friant","state":"CA","country":"USA","zip":"93626","f_name":"Hyunchul","l_name":"Hong","contact_5":"HyunchulHong83@mac.com","contact_1":"3233433568","contact_4":"Hyunchul Hong"} [Thursday 30th of July 2026 12:45:21 PM] Fetching shipping info for Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] get_order_shipping_info() - START - Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2018/shipping_addresses [Thursday 30th of July 2026 12:45:21 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2018 | Name: Jaysen Dockery | Address: 1808 Betz Rd, Bellevue, Nebraska, 68005 [Thursday 30th of July 2026 12:45:21 PM] get_order_shipping_info() - END - Order ID: 2018 [Thursday 30th of July 2026 12:45:21 PM] Shipping info received: {"id":1917,"order_id":2018,"first_name":"Jaysen","last_name":"Dockery","company":"","street_1":"1808 Betz Rd","street_2":"","city":"Bellevue","zip":"68005","country":"United States","country_iso2":"US","state":"Nebraska","email":"HyunchulHong83@mac.com","phone":"4022756589","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"16.2700","cost_ex_tax":"16.2700","cost_inc_tax":"17.4089","cost_tax":"1.1389","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\/2018\/shipping_addresses\/1917\/shipping_quotes","resource":"\/orders\/2018\/shipping_addresses\/1917\/shipping_quotes"},"form_fields":[]} [Thursday 30th of July 2026 12:45:21 PM] Resolved Customer ID: AP373 [Thursday 30th of July 2026 12:45:21 PM] Building order object for Invoice: AP2018 [Thursday 30th of July 2026 12:45:21 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2018","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"1808 Betz Rd","C_ADDRESS2":"","C_CITY":"Bellevue","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jaysen Dockery","C_STATE":"NE","C_ZIP":"68005","ShippingAmount":"16.27","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2018 - Customer AP373"} [Thursday 30th of July 2026 12:45:21 PM] Registered customer detected - checking EBMS for Customer ID: AP373 [Thursday 30th of July 2026 12:45:21 PM] check_for_customer() - START - Customer ID: 373 [Thursday 30th of July 2026 12:45:21 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Thursday 30th of July 2026 12:45:22 PM] check_for_customer() - EBMS API call successful for Customer ID: 373 [Thursday 30th of July 2026 12:45:22 PM] check_for_customer() - Customer ID: 373 found in EBMS [Thursday 30th of July 2026 12:45:22 PM] check_for_customer() - END - Customer ID: 373 | Found: true [Thursday 30th of July 2026 12:45:22 PM] Customer AP373 found in EBMS [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_info() - START - Customer ID: 373 [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 373 [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_info() - Customer record found for Customer ID: 373 - Checking ADDRESS1 field [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 373 - No update needed [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_info() - END - Customer ID: 373 | Empty Info: false [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_pn() - START - Customer ID: AP373 [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP373 [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_pn() - Customer record found for Customer ID: AP373 - Checking CONTACT_1 field [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP373 - Value: (323) 343-3568 - No update needed [Thursday 30th of July 2026 12:45:22 PM] check_for_empty_pn() - END - Customer ID: AP373 | Empty PN: false [Thursday 30th of July 2026 12:45:22 PM] Fetching products from BigCommerce for Order ID: 2018 [Thursday 30th of July 2026 12:45:23 PM] BigCommerce API call successful for Order ID: 2018 [Thursday 30th of July 2026 12:45:23 PM] Products received: 1 item(s) [Thursday 30th of July 2026 12:45:23 PM] Processing product SKU: EFE40100 | Qty: 1 | Price: 119.9500 [Thursday 30th of July 2026 12:45:23 PM] get_mpn() - START - Product ID: 67477 [Thursday 30th of July 2026 12:45:23 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Thursday 30th of July 2026 12:45:23 PM] get_mpn() - BigCommerce API call successful for Product ID: 67477 [Thursday 30th of July 2026 12:45:23 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67477 [Thursday 30th of July 2026 12:45:23 PM] get_mpn() - END - Product ID: 67477 | MPN: [Thursday 30th of July 2026 12:45:23 PM] check_for_ebms_product() - START - SKU: EFE40100 [Thursday 30th of July 2026 12:45:23 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40100%27 [Thursday 30th of July 2026 12:45:23 PM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40100 [Thursday 30th of July 2026 12:45:23 PM] check_for_ebms_product() - SKU: EFE40100 found in EBMS [Thursday 30th of July 2026 12:45:23 PM] check_for_ebms_product() - END - SKU: EFE40100 | Found: true [Thursday 30th of July 2026 12:45:23 PM] SKU EFE40100 found in EBMS - checking prices [Thursday 30th of July 2026 12:45:23 PM] obtain_current_prices() - START - SKU: EFE40100 [Thursday 30th of July 2026 12:45:23 PM] obtain_current_prices() - Checking Motorstate for SKU: EFE40100 [Thursday 30th of July 2026 12:45:23 PM] check_for_ms_product() - START - SKU: EFE40100 [Thursday 30th of July 2026 12:45:23 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Thursday 30th of July 2026 12:45:23 PM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40100 [Thursday 30th of July 2026 12:45:23 PM] check_for_ms_product() - SKU: EFE40100 found in Motorstate [Thursday 30th of July 2026 12:45:23 PM] check_for_ms_product() - END - SKU: EFE40100 | Found: true [Thursday 30th of July 2026 12:45:23 PM] obtain_current_prices() - SKU: EFE40100 found in Motorstate - Fetching prices [Thursday 30th of July 2026 12:45:23 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40100 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Thursday 30th of July 2026 12:45:23 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Thursday 30th of July 2026 12:45:23 PM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Thursday 30th of July 2026 12:45:23 PM] obtain_current_prices() - END - SKU: EFE40100 [Thursday 30th of July 2026 12:45:23 PM] SKU EFE40100 has existing EBMS prices - syncing BigCommerce price back (cost: 89.96, base: 119.95) [Thursday 30th of July 2026 12:45:23 PM] update_product_price() - START - Product ID: 67477 | Base: 119.95 | Cost: 89.96 [Thursday 30th of July 2026 12:45:23 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Thursday 30th of July 2026 12:45:23 PM] update_product_price() - PUT payload: {"price":119.9500000000000028421709430404007434844970703125,"cost_price":89.9599999999999937472239253111183643341064453125} [Thursday 30th of July 2026 12:45:23 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67477 [Thursday 30th of July 2026 12:45:24 PM] update_product_price() - Price updated successfully for Product ID: 67477 - Base: 119.95 | Cost: 89.96 [Thursday 30th of July 2026 12:45:24 PM] update_product_price() - END - Product ID: 67477 | Result: success [Thursday 30th of July 2026 12:45:24 PM] BigCommerce price updated for Product ID: 67477 [Thursday 30th of July 2026 12:45:24 PM] get_product_inventory() - START - SKU: EFE40100 [Thursday 30th of July 2026 12:45:24 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Thursday 30th of July 2026 12:45:24 PM] get_product_inventory() - Motorstate API call successful for SKU: EFE40100 [Thursday 30th of July 2026 12:45:24 PM] get_product_inventory() - Stock found for SKU: EFE40100 - Quantity: 12 | Running Total: 12 [Thursday 30th of July 2026 12:45:24 PM] get_product_inventory() - END - SKU: EFE40100 | Total: 12 [Thursday 30th of July 2026 12:45:24 PM] get_cf_id() - START - Product ID: 67477 [Thursday 30th of July 2026 12:45:24 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields [Thursday 30th of July 2026 12:45:24 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67477 [Thursday 30th of July 2026 12:45:24 PM] get_cf_id() - Custom field found for Product ID: 67477 | Field: online_stock_level | CF ID: 67367 [Thursday 30th of July 2026 12:45:24 PM] get_cf_id() - END - Product ID: 67477 | CF ID: 67367 [Thursday 30th of July 2026 12:45:24 PM] Updating inventory for SKU EFE40100 - stock: 12, CF ID: 67367 [Thursday 30th of July 2026 12:45:24 PM] update_product_inventory() - START - Product ID: 67477 | Stock: 12 | CF ID: 67367 [Thursday 30th of July 2026 12:45:24 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields/67367 [Thursday 30th of July 2026 12:45:24 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67477 | Stock: 12 [Thursday 30th of July 2026 12:45:24 PM] update_product_inventory() - END - Product ID: 67477 | Result: success [Thursday 30th of July 2026 12:45:24 PM] Inventory updated for SKU: EFE40100 [Thursday 30th of July 2026 12:45:24 PM] All products processed - Order details: [{"ID":"AP373","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}] [Thursday 30th of July 2026 12:45:24 PM] Building payment record - Total: 145.7600 [Thursday 30th of July 2026 12:45:24 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2018","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"1808 Betz Rd","C_ADDRESS2":"","C_CITY":"Bellevue","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jaysen Dockery","C_STATE":"NE","C_ZIP":"68005","ShippingAmount":"16.27","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2018 - Customer AP373","Details":[{"ID":"AP373","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"145.76","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 30th of July 2026 12:45:24 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2018 [Thursday 30th of July 2026 12:45:24 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2018%27 [Thursday 30th of July 2026 12:45:25 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2018 [Thursday 30th of July 2026 12:45:25 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2018 not found in EBMS [Thursday 30th of July 2026 12:45:25 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2018 | Found: false [Thursday 30th of July 2026 12:45:25 PM] Invoice AP2018 does not exist in EBMS - creating [Thursday 30th of July 2026 12:45:25 PM] create_ebms_invoice() - START - Invoice: AP2018 [Thursday 30th of July 2026 12:45:25 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2018","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"1808 Betz Rd","C_ADDRESS2":"","C_CITY":"Bellevue","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jaysen Dockery","C_STATE":"NE","C_ZIP":"68005","ShippingAmount":"16.27","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2018 - Customer AP373","Details":[{"ID":"AP373","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"145.76","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 30th of July 2026 12:45:25 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Thursday 30th of July 2026 12:45:33 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2018 [Thursday 30th of July 2026 12:45:33 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2018 - Response: {"@odata.context":"http:\/\/localhost:58605\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4e46314a-3055-5638-364c-555332303030","AUTOID":"J1FNU08V6LUS2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-128.349999999999994315658113919198513031005859375,"BAL_CUST_X":-128.349999999999994315658113919198513031005859375,"BALANCE":-128.349999999999994315658113919198513031005859375,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":9.53999999999999914734871708787977695465087890625,"TAX":1.1399999999999999023003738329862244427204132080078125,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":145.759999999999990905052982270717620849609375,"TOTAL_S_SO":119.9500000000000028421709430404007434844970703125,"TOTAL_SO":145.759999999999990905052982270717620849609375,"TOTAL_W":0,"TTLPROCPMT":145.759999999999990905052982270717620849609375,"TOTAL":17.410000000000000142108547152020037174224853515625,"FREIGHT":16.269999999999999573674358543939888477325439453125,"HANDLING":0,"SHIPPING":16.269999999999999573674358543939888477325439453125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_EMAIL":"HyunchulHong83@mac.com","C_PHONE":"(323) 343-3568","CCNTCT_AID":"657FGV1C5CA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-07-30T00:00:00Z","CHECK_NO":" APBC","CITY":"Friant","CNTCT_AID":"657FGV1C5CA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-07-30T00:00:00Z","E_DATE":"2026-07-30T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"HyunchulHong83@mac.com","IADDRESS":"1808 Betz Rd , Bellevue, NE 68005","ID":"AP373","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-30T00:00:00Z","INVOICE":"AP2018","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Hyunchul Hong","PHONE":"","PROCESS":"Default","STATE":"CA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"93626","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1808 Betz Rd","C_ADDRESS2":"","C_CITY":"Bellevue","C_COUNTRY":"USA","C_ID":"AP373","C_NAME":"Jaysen Dockery","C_STATE":"NE","C_ZIP":"68005","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2018 - Customer AP373","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-30T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Thursday 30th of July 2026 12:45:33 PM] create_ebms_invoice() - END - Invoice: AP2018 [Thursday 30th of July 2026 12:45:33 PM] Invoice AP2018 created successfully [Thursday 30th of July 2026 12:45:33 PM] ORDER WEBHOOK COMPLETED - Order ID: 2018 | Invoice: AP2018 [Thursday 30th of July 2026 12:46:31 PM] ORDER WEBHOOK STARTED - Order ID: 2018 [Thursday 30th of July 2026 12:46:31 PM] Fetching customer data for Order ID: 2018 [Thursday 30th of July 2026 12:46:31 PM] get_order_customer_data() - START - Order ID: 2018 [Thursday 30th of July 2026 12:46:31 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2018 [Thursday 30th of July 2026 12:46:31 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2018 [Thursday 30th of July 2026 12:46:31 PM] get_order_customer_data() - Parsing order response for Order ID: 2018 [Thursday 30th of July 2026 12:46:31 PM] get_order_customer_data() - Customer object built - Customer ID: 373 | Name: Hyunchul Hong | Email: HyunchulHong83@mac.com | Total: 145.7600 | Shipping: 16.27 [Thursday 30th of July 2026 12:46:31 PM] get_order_customer_data() - END - Order ID: 2018 [Thursday 30th of July 2026 12:46:31 PM] Customer data received: {"id":373,"email":"HyunchulHong83@mac.com","address_1":"6088 Millerton Rd","address_2":"","city":"Friant","state":"CA","country":"USA","zip":"93626","f_name":"Hyunchul","l_name":"Hong","contact_5":"HyunchulHong83@mac.com","contact_1":"3233433568","contact_4":"Hyunchul Hong"} [Thursday 30th of July 2026 12:46:31 PM] Fetching shipping info for Order ID: 2018 [Thursday 30th of July 2026 12:46:31 PM] get_order_shipping_info() - START - Order ID: 2018 [Thursday 30th of July 2026 12:46:31 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2018/shipping_addresses [Thursday 30th of July 2026 12:46:32 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2018 [Thursday 30th of July 2026 12:46:32 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2018 | Name: Jaysen Dockery | Address: 1808 Betz Rd, Bellevue, Nebraska, 68005 [Thursday 30th of July 2026 12:46:32 PM] get_order_shipping_info() - END - Order ID: 2018 [Thursday 30th of July 2026 12:46:32 PM] Shipping info received: {"id":1917,"order_id":2018,"first_name":"Jaysen","last_name":"Dockery","company":"","street_1":"1808 Betz Rd","street_2":"","city":"Bellevue","zip":"68005","country":"United States","country_iso2":"US","state":"Nebraska","email":"HyunchulHong83@mac.com","phone":"4022756589","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"16.2700","cost_ex_tax":"16.2700","cost_inc_tax":"17.4089","cost_tax":"1.1389","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\/2018\/shipping_addresses\/1917\/shipping_quotes","resource":"\/orders\/2018\/shipping_addresses\/1917\/shipping_quotes"},"form_fields":[]} [Thursday 30th of July 2026 12:46:32 PM] Resolved Customer ID: AP373 [Thursday 30th of July 2026 12:46:32 PM] Building order object for Invoice: AP2018 [Thursday 30th of July 2026 12:46:32 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2018","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"1808 Betz Rd","C_ADDRESS2":"","C_CITY":"Bellevue","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jaysen Dockery","C_STATE":"NE","C_ZIP":"68005","ShippingAmount":"16.27","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2018 - Customer AP373"} [Thursday 30th of July 2026 12:46:32 PM] Registered customer detected - checking EBMS for Customer ID: AP373 [Thursday 30th of July 2026 12:46:32 PM] check_for_customer() - START - Customer ID: 373 [Thursday 30th of July 2026 12:46:32 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Thursday 30th of July 2026 12:46:32 PM] check_for_customer() - EBMS API call successful for Customer ID: 373 [Thursday 30th of July 2026 12:46:32 PM] check_for_customer() - Customer ID: 373 found in EBMS [Thursday 30th of July 2026 12:46:32 PM] check_for_customer() - END - Customer ID: 373 | Found: true [Thursday 30th of July 2026 12:46:32 PM] Customer AP373 found in EBMS [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_info() - START - Customer ID: 373 [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 373 [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_info() - Customer record found for Customer ID: 373 - Checking ADDRESS1 field [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 373 - No update needed [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_info() - END - Customer ID: 373 | Empty Info: false [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_pn() - START - Customer ID: AP373 [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP373 [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_pn() - Customer record found for Customer ID: AP373 - Checking CONTACT_1 field [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP373 - Value: (323) 343-3568 - No update needed [Thursday 30th of July 2026 12:46:32 PM] check_for_empty_pn() - END - Customer ID: AP373 | Empty PN: false [Thursday 30th of July 2026 12:46:32 PM] Fetching products from BigCommerce for Order ID: 2018 [Thursday 30th of July 2026 12:46:32 PM] BigCommerce API call successful for Order ID: 2018 [Thursday 30th of July 2026 12:46:32 PM] Products received: 1 item(s) [Thursday 30th of July 2026 12:46:32 PM] Processing product SKU: EFE40100 | Qty: 1 | Price: 119.9500 [Thursday 30th of July 2026 12:46:32 PM] get_mpn() - START - Product ID: 67477 [Thursday 30th of July 2026 12:46:32 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Thursday 30th of July 2026 12:46:33 PM] get_mpn() - BigCommerce API call successful for Product ID: 67477 [Thursday 30th of July 2026 12:46:33 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67477 [Thursday 30th of July 2026 12:46:33 PM] get_mpn() - END - Product ID: 67477 | MPN: [Thursday 30th of July 2026 12:46:33 PM] check_for_ebms_product() - START - SKU: EFE40100 [Thursday 30th of July 2026 12:46:33 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40100%27 [Thursday 30th of July 2026 12:46:33 PM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40100 [Thursday 30th of July 2026 12:46:33 PM] check_for_ebms_product() - SKU: EFE40100 found in EBMS [Thursday 30th of July 2026 12:46:33 PM] check_for_ebms_product() - END - SKU: EFE40100 | Found: true [Thursday 30th of July 2026 12:46:33 PM] SKU EFE40100 found in EBMS - checking prices [Thursday 30th of July 2026 12:46:33 PM] obtain_current_prices() - START - SKU: EFE40100 [Thursday 30th of July 2026 12:46:33 PM] obtain_current_prices() - Checking Motorstate for SKU: EFE40100 [Thursday 30th of July 2026 12:46:33 PM] check_for_ms_product() - START - SKU: EFE40100 [Thursday 30th of July 2026 12:46:33 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Thursday 30th of July 2026 12:46:33 PM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40100 [Thursday 30th of July 2026 12:46:33 PM] check_for_ms_product() - SKU: EFE40100 found in Motorstate [Thursday 30th of July 2026 12:46:33 PM] check_for_ms_product() - END - SKU: EFE40100 | Found: true [Thursday 30th of July 2026 12:46:33 PM] obtain_current_prices() - SKU: EFE40100 found in Motorstate - Fetching prices [Thursday 30th of July 2026 12:46:33 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40100 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Thursday 30th of July 2026 12:46:33 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Thursday 30th of July 2026 12:46:33 PM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Thursday 30th of July 2026 12:46:33 PM] obtain_current_prices() - END - SKU: EFE40100 [Thursday 30th of July 2026 12:46:33 PM] SKU EFE40100 has existing EBMS prices - syncing BigCommerce price back (cost: 89.96, base: 119.95) [Thursday 30th of July 2026 12:46:33 PM] update_product_price() - START - Product ID: 67477 | Base: 119.95 | Cost: 89.96 [Thursday 30th of July 2026 12:46:33 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Thursday 30th of July 2026 12:46:33 PM] update_product_price() - PUT payload: {"price":119.9500000000000028421709430404007434844970703125,"cost_price":89.9599999999999937472239253111183643341064453125} [Thursday 30th of July 2026 12:46:33 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67477 [Thursday 30th of July 2026 12:46:34 PM] update_product_price() - Price updated successfully for Product ID: 67477 - Base: 119.95 | Cost: 89.96 [Thursday 30th of July 2026 12:46:34 PM] update_product_price() - END - Product ID: 67477 | Result: success [Thursday 30th of July 2026 12:46:34 PM] BigCommerce price updated for Product ID: 67477 [Thursday 30th of July 2026 12:46:34 PM] get_product_inventory() - START - SKU: EFE40100 [Thursday 30th of July 2026 12:46:34 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Thursday 30th of July 2026 12:46:34 PM] get_product_inventory() - Motorstate API call successful for SKU: EFE40100 [Thursday 30th of July 2026 12:46:34 PM] get_product_inventory() - Stock found for SKU: EFE40100 - Quantity: 12 | Running Total: 12 [Thursday 30th of July 2026 12:46:34 PM] get_product_inventory() - END - SKU: EFE40100 | Total: 12 [Thursday 30th of July 2026 12:46:34 PM] get_cf_id() - START - Product ID: 67477 [Thursday 30th of July 2026 12:46:34 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields [Thursday 30th of July 2026 12:46:34 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67477 [Thursday 30th of July 2026 12:46:34 PM] get_cf_id() - Custom field found for Product ID: 67477 | Field: online_stock_level | CF ID: 67367 [Thursday 30th of July 2026 12:46:34 PM] get_cf_id() - END - Product ID: 67477 | CF ID: 67367 [Thursday 30th of July 2026 12:46:34 PM] Updating inventory for SKU EFE40100 - stock: 12, CF ID: 67367 [Thursday 30th of July 2026 12:46:34 PM] update_product_inventory() - START - Product ID: 67477 | Stock: 12 | CF ID: 67367 [Thursday 30th of July 2026 12:46:34 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields/67367 [Thursday 30th of July 2026 12:46:34 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67477 | Stock: 12 [Thursday 30th of July 2026 12:46:34 PM] update_product_inventory() - END - Product ID: 67477 | Result: success [Thursday 30th of July 2026 12:46:34 PM] Inventory updated for SKU: EFE40100 [Thursday 30th of July 2026 12:46:34 PM] All products processed - Order details: [{"ID":"AP373","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}] [Thursday 30th of July 2026 12:46:34 PM] Building payment record - Total: 145.7600 [Thursday 30th of July 2026 12:46:34 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2018","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"1808 Betz Rd","C_ADDRESS2":"","C_CITY":"Bellevue","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jaysen Dockery","C_STATE":"NE","C_ZIP":"68005","ShippingAmount":"16.27","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2018 - Customer AP373","Details":[{"ID":"AP373","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"145.76","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 30th of July 2026 12:46:34 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2018 [Thursday 30th of July 2026 12:46:34 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2018%27 [Thursday 30th of July 2026 12:46:35 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2018 [Thursday 30th of July 2026 12:46:35 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2018 found in EBMS [Thursday 30th of July 2026 12:46:35 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2018 | Found: true [Thursday 30th of July 2026 12:46:35 PM] Invoice AP2018 already exists in EBMS - patching [Thursday 30th of July 2026 12:46:35 PM] patch_ebms_invoice() - START - Invoice: AP2018 [Thursday 30th of July 2026 12:46:35 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2018","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"1808 Betz Rd","C_ADDRESS2":"","C_CITY":"Bellevue","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Jaysen Dockery","C_STATE":"NE","C_ZIP":"68005","ShippingAmount":"16.27","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2018 - Customer AP373","Details":[{"ID":"AP373","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"145.76","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 30th of July 2026 12:46:35 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2018%27 [Thursday 30th of July 2026 12:46:35 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2018 [Thursday 30th of July 2026 12:46:35 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2018 [Thursday 30th of July 2026 12:46:35 PM] patch_ebms_invoice() - END - Invoice: AP2018 [Thursday 30th of July 2026 12:46:35 PM] Invoice AP2018 patched successfully [Thursday 30th of July 2026 12:46:35 PM] ORDER WEBHOOK COMPLETED - Order ID: 2018 | Invoice: AP2018 [Thursday 30th of July 2026 01:52:43 PM] add_customer() - START - Customer ID: 429 | Name: [Thursday 30th of July 2026 01:52:43 PM] add_customer() - Customer payload: {"id":429,"address_count":0,"addresses":[],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"KarenWhite021@mac.com","first_name":"Karen","last_name":"Whiteley","notes":"","phone":"","registration_ip_address":"99.44.189.165","tax_exempt_category":"","date_created":"2026-07-30T18:52:39Z","date_modified":"2026-07-30T18:52:39Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null} [Thursday 30th of July 2026 01:52:43 PM] add_customer() - Customer fields parsed - ID: AP429 | Address: , , | Email: [Thursday 30th of July 2026 01:52:43 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Thursday 30th of July 2026 01:52:43 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP429","L_NAME":null,"STATE":null,"ZIP":null} [Thursday 30th of July 2026 01:52:45 PM] add_customer() - EBMS API call successful for Customer ID: AP429 [Thursday 30th of July 2026 01:52:45 PM] add_customer() - Customer created successfully in EBMS - ID: AP429 - Response: {"@odata.context":"http:\/\/localhost:58605\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"5335414f-4235-4156-384c-555332303030","AUTOID":"OA5S5BVA8LUS2000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-30T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP429","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Thursday 30th of July 2026 01:52:45 PM] add_customer() - END - Customer ID: AP429