[Tuesday 28th of July 2026 05:36:26 AM] add_customer() - START - Customer ID: 421 | Name: [Tuesday 28th of July 2026 05:36:26 AM] add_customer() - Customer payload: {"id":421,"address_count":0,"addresses":[],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"MichaelMulca76@hotmail.com","first_name":"Michael","last_name":"Mulcahey","notes":"","phone":"","registration_ip_address":"47.158.117.9","tax_exempt_category":"","date_created":"2026-07-28T10:36:17Z","date_modified":"2026-07-28T10:36:17Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null} [Tuesday 28th of July 2026 05:36:26 AM] add_customer() - Customer fields parsed - ID: AP421 | Address: , , | Email: [Tuesday 28th of July 2026 05:36:26 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 28th of July 2026 05:36:26 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":"AP421","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 28th of July 2026 05:36:30 AM] add_customer() - EBMS API call successful for Customer ID: AP421 [Tuesday 28th of July 2026 05:36:30 AM] add_customer() - Customer created successfully in EBMS - ID: AP421 - Response: null [Tuesday 28th of July 2026 05:36:30 AM] add_customer() - END - Customer ID: AP421 [Tuesday 28th of July 2026 06:43:38 AM] ORDER WEBHOOK STARTED - Order ID: 2008 [Tuesday 28th of July 2026 06:43:38 AM] Fetching customer data for Order ID: 2008 [Tuesday 28th of July 2026 06:43:38 AM] get_order_customer_data() - START - Order ID: 2008 [Tuesday 28th of July 2026 06:43:38 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2008 [Tuesday 28th of July 2026 06:43:38 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2008 [Tuesday 28th of July 2026 06:43:38 AM] get_order_customer_data() - Parsing order response for Order ID: 2008 [Tuesday 28th of July 2026 06:43:38 AM] get_order_customer_data() - Customer object built - Customer ID: 373 | Name: Hyunchul Hong | Email: HyunchulHong83@mac.com | Total: 218.9700 | Shipping: 19.02 [Tuesday 28th of July 2026 06:43:38 AM] get_order_customer_data() - END - Order ID: 2008 [Tuesday 28th of July 2026 06:43:38 AM] 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"} [Tuesday 28th of July 2026 06:43:38 AM] Fetching shipping info for Order ID: 2008 [Tuesday 28th of July 2026 06:43:38 AM] get_order_shipping_info() - START - Order ID: 2008 [Tuesday 28th of July 2026 06:43:38 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2008/shipping_addresses [Tuesday 28th of July 2026 06:43:39 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2008 [Tuesday 28th of July 2026 06:43:39 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2008 | Name: Michael Mulcahey | Address: 16817 Elizabeth Lake Rd, Lake Hughes, California, 93532 [Tuesday 28th of July 2026 06:43:39 AM] get_order_shipping_info() - END - Order ID: 2008 [Tuesday 28th of July 2026 06:43:39 AM] Shipping info received: {"id":1907,"order_id":2008,"first_name":"Michael","last_name":"Mulcahey","company":"","street_1":"16817 Elizabeth Lake Rd","street_2":"Unit 770","city":"Lake Hughes","zip":"93532","country":"United States","country_iso2":"US","state":"California","email":"HyunchulHong83@mac.com","phone":"6614666026","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"19.0200","cost_ex_tax":"19.0200","cost_inc_tax":"19.0200","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\/2008\/shipping_addresses\/1907\/shipping_quotes","resource":"\/orders\/2008\/shipping_addresses\/1907\/shipping_quotes"},"form_fields":[]} [Tuesday 28th of July 2026 06:43:39 AM] Resolved Customer ID: AP373 [Tuesday 28th of July 2026 06:43:39 AM] Building order object for Invoice: AP2008 [Tuesday 28th of July 2026 06:43:39 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2008","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"16817 Elizabeth Lake Rd","C_ADDRESS2":"Unit 770","C_CITY":"Lake Hughes","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Michael Mulcahey","C_STATE":"CA","C_ZIP":"93532","ShippingAmount":"19.02","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2008 - Customer AP373"} [Tuesday 28th of July 2026 06:43:39 AM] Registered customer detected - checking EBMS for Customer ID: AP373 [Tuesday 28th of July 2026 06:43:39 AM] check_for_customer() - START - Customer ID: 373 [Tuesday 28th of July 2026 06:43:39 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 28th of July 2026 06:43:41 AM] check_for_customer() - EBMS API call successful for Customer ID: 373 [Tuesday 28th of July 2026 06:43:41 AM] check_for_customer() - Customer ID: 373 found in EBMS [Tuesday 28th of July 2026 06:43:41 AM] check_for_customer() - END - Customer ID: 373 | Found: true [Tuesday 28th of July 2026 06:43:41 AM] Customer AP373 found in EBMS [Tuesday 28th of July 2026 06:43:41 AM] check_for_empty_info() - START - Customer ID: 373 [Tuesday 28th of July 2026 06:43:41 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 373 [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_info() - Customer record found for Customer ID: 373 - Checking ADDRESS1 field [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 373 - No update needed [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_info() - END - Customer ID: 373 | Empty Info: false [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_pn() - START - Customer ID: AP373 [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP373 [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_pn() - Customer record found for Customer ID: AP373 - Checking CONTACT_1 field [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP373 - Value: (323) 343-3568 - No update needed [Tuesday 28th of July 2026 06:43:42 AM] check_for_empty_pn() - END - Customer ID: AP373 | Empty PN: false [Tuesday 28th of July 2026 06:43:42 AM] Fetching products from BigCommerce for Order ID: 2008 [Tuesday 28th of July 2026 06:43:42 AM] BigCommerce API call successful for Order ID: 2008 [Tuesday 28th of July 2026 06:43:42 AM] Products received: 1 item(s) [Tuesday 28th of July 2026 06:43:42 AM] Processing product SKU: AEM50-1005 | Qty: 1 | Price: 199.9500 [Tuesday 28th of July 2026 06:43:42 AM] get_mpn() - START - Product ID: 4495 [Tuesday 28th of July 2026 06:43:42 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495 [Tuesday 28th of July 2026 06:43:42 AM] get_mpn() - BigCommerce API call successful for Product ID: 4495 [Tuesday 28th of July 2026 06:43:42 AM] get_mpn() - WARNING - MPN is empty for Product ID: 4495 [Tuesday 28th of July 2026 06:43:42 AM] get_mpn() - END - Product ID: 4495 | MPN: [Tuesday 28th of July 2026 06:43:42 AM] check_for_ebms_product() - START - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:42 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27AEM50-1005%27 [Tuesday 28th of July 2026 06:43:42 AM] check_for_ebms_product() - EBMS API call successful for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:42 AM] check_for_ebms_product() - SKU: AEM50-1005 found in EBMS [Tuesday 28th of July 2026 06:43:42 AM] check_for_ebms_product() - END - SKU: AEM50-1005 | Found: true [Tuesday 28th of July 2026 06:43:42 AM] SKU AEM50-1005 found in EBMS - checking prices [Tuesday 28th of July 2026 06:43:42 AM] obtain_current_prices() - START - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:42 AM] obtain_current_prices() - Checking Motorstate for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:42 AM] check_for_ms_product() - START - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:42 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Tuesday 28th of July 2026 06:43:43 AM] check_for_ms_product() - Motorstate API call successful for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:43 AM] check_for_ms_product() - SKU: AEM50-1005 found in Motorstate [Tuesday 28th of July 2026 06:43:43 AM] check_for_ms_product() - END - SKU: AEM50-1005 | Found: true [Tuesday 28th of July 2026 06:43:43 AM] obtain_current_prices() - SKU: AEM50-1005 found in Motorstate - Fetching prices [Tuesday 28th of July 2026 06:43:43 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: AEM50-1005 - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Tuesday 28th of July 2026 06:43:43 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: AEM50-1005 - Base: 199.95 | Cost: 156.27 [Tuesday 28th of July 2026 06:43:43 AM] obtain_current_prices() - Returning Motorstate prices for SKU: AEM50-1005 - Base: 199.95 | Cost: 156.27 [Tuesday 28th of July 2026 06:43:43 AM] obtain_current_prices() - END - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:43 AM] SKU AEM50-1005 has existing EBMS prices - syncing BigCommerce price back (cost: 156.27, base: 199.95) [Tuesday 28th of July 2026 06:43:43 AM] update_product_price() - START - Product ID: 4495 | Base: 199.95 | Cost: 156.27 [Tuesday 28th of July 2026 06:43:43 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495 [Tuesday 28th of July 2026 06:43:43 AM] update_product_price() - PUT payload: {"price":199.94999999999998863131622783839702606201171875,"cost_price":156.270000000000010231815394945442676544189453125} [Tuesday 28th of July 2026 06:43:43 AM] update_product_price() - Attempt 1 of 6 for Product ID: 4495 [Tuesday 28th of July 2026 06:43:43 AM] update_product_price() - Price updated successfully for Product ID: 4495 - Base: 199.95 | Cost: 156.27 [Tuesday 28th of July 2026 06:43:43 AM] update_product_price() - END - Product ID: 4495 | Result: success [Tuesday 28th of July 2026 06:43:43 AM] BigCommerce price updated for Product ID: 4495 [Tuesday 28th of July 2026 06:43:43 AM] get_product_inventory() - START - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:43 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Tuesday 28th of July 2026 06:43:43 AM] get_product_inventory() - Motorstate API call successful for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:43 AM] get_product_inventory() - Stock found for SKU: AEM50-1005 - Quantity: 63 | Running Total: 63 [Tuesday 28th of July 2026 06:43:43 AM] get_product_inventory() - END - SKU: AEM50-1005 | Total: 63 [Tuesday 28th of July 2026 06:43:43 AM] get_cf_id() - START - Product ID: 4495 [Tuesday 28th of July 2026 06:43:43 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495/custom-fields [Tuesday 28th of July 2026 06:43:43 AM] get_cf_id() - BigCommerce API call successful for Product ID: 4495 [Tuesday 28th of July 2026 06:43:43 AM] get_cf_id() - Custom field found for Product ID: 4495 | Field: online_stock_level | CF ID: 4385 [Tuesday 28th of July 2026 06:43:43 AM] get_cf_id() - END - Product ID: 4495 | CF ID: 4385 [Tuesday 28th of July 2026 06:43:43 AM] Updating inventory for SKU AEM50-1005 - stock: 63, CF ID: 4385 [Tuesday 28th of July 2026 06:43:43 AM] update_product_inventory() - START - Product ID: 4495 | Stock: 63 | CF ID: 4385 [Tuesday 28th of July 2026 06:43:43 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495/custom-fields/4385 [Tuesday 28th of July 2026 06:43:43 AM] update_product_inventory() - Inventory updated successfully for Product ID: 4495 | Stock: 63 [Tuesday 28th of July 2026 06:43:43 AM] update_product_inventory() - END - Product ID: 4495 | Result: success [Tuesday 28th of July 2026 06:43:43 AM] Inventory updated for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:43:43 AM] All products processed - Order details: [{"ID":"AP373","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}] [Tuesday 28th of July 2026 06:43:43 AM] Building payment record - Total: 218.9700 [Tuesday 28th of July 2026 06:43:43 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2008","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"16817 Elizabeth Lake Rd","C_ADDRESS2":"Unit 770","C_CITY":"Lake Hughes","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Michael Mulcahey","C_STATE":"CA","C_ZIP":"93532","ShippingAmount":"19.02","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2008 - Customer AP373","Details":[{"ID":"AP373","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"218.97","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 28th of July 2026 06:43:43 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2008 [Tuesday 28th of July 2026 06:43:43 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2008%27 [Tuesday 28th of July 2026 06:43:44 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2008 [Tuesday 28th of July 2026 06:43:44 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2008 not found in EBMS [Tuesday 28th of July 2026 06:43:44 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2008 | Found: false [Tuesday 28th of July 2026 06:43:44 AM] Invoice AP2008 does not exist in EBMS - creating [Tuesday 28th of July 2026 06:43:44 AM] create_ebms_invoice() - START - Invoice: AP2008 [Tuesday 28th of July 2026 06:43:44 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2008","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"16817 Elizabeth Lake Rd","C_ADDRESS2":"Unit 770","C_CITY":"Lake Hughes","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Michael Mulcahey","C_STATE":"CA","C_ZIP":"93532","ShippingAmount":"19.02","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2008 - Customer AP373","Details":[{"ID":"AP373","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"218.97","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 28th of July 2026 06:43:44 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 28th of July 2026 06:43:51 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2008 [Tuesday 28th of July 2026 06:43:51 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2008 - Response: {"@odata.context":"http:\/\/localhost:60494\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"36534844-5054-434d-3133-4a3846303030","AUTOID":"DHS6TPMC13J8F000","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":218.969999999999998863131622783839702606201171875,"TOTAL_S_SO":199.94999999999998863131622783839702606201171875,"TOTAL_SO":218.969999999999998863131622783839702606201171875,"TOTAL_W":0,"TTLPROCPMT":218.969999999999998863131622783839702606201171875,"TOTAL":19.019999999999999573674358543939888477325439453125,"FREIGHT":19.019999999999999573674358543939888477325439453125,"HANDLING":0,"SHIPPING":19.019999999999999573674358543939888477325439453125,"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-28T00: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-28T00:00:00Z","E_DATE":"2026-07-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"HyunchulHong83@mac.com","IADDRESS":"16817 Elizabeth Lake Rd Unit 770, Lake Hughes, CA 93532","ID":"AP373","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-28T00:00:00Z","INVOICE":"AP2008","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Hyunchul Hong","PHONE":"","PROCESS":"Default","STATE":"CA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"93626","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"16817 Elizabeth Lake Rd","C_ADDRESS2":"Unit 770","C_CITY":"Lake Hughes","C_COUNTRY":"USA","C_ID":"AP373","C_NAME":"Michael Mulcahey","C_STATE":"CA","C_ZIP":"93532","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2008 - Customer AP373","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-28T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 28th of July 2026 06:43:51 AM] create_ebms_invoice() - END - Invoice: AP2008 [Tuesday 28th of July 2026 06:43:51 AM] Invoice AP2008 created successfully [Tuesday 28th of July 2026 06:43:51 AM] ORDER WEBHOOK COMPLETED - Order ID: 2008 | Invoice: AP2008 [Tuesday 28th of July 2026 06:44:49 AM] ORDER WEBHOOK STARTED - Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] Fetching customer data for Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] get_order_customer_data() - START - Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2008 [Tuesday 28th of July 2026 06:44:49 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] get_order_customer_data() - Parsing order response for Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] get_order_customer_data() - Customer object built - Customer ID: 373 | Name: Hyunchul Hong | Email: HyunchulHong83@mac.com | Total: 218.9700 | Shipping: 19.02 [Tuesday 28th of July 2026 06:44:49 AM] get_order_customer_data() - END - Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] 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"} [Tuesday 28th of July 2026 06:44:49 AM] Fetching shipping info for Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] get_order_shipping_info() - START - Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2008/shipping_addresses [Tuesday 28th of July 2026 06:44:49 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2008 | Name: Michael Mulcahey | Address: 16817 Elizabeth Lake Rd, Lake Hughes, California, 93532 [Tuesday 28th of July 2026 06:44:49 AM] get_order_shipping_info() - END - Order ID: 2008 [Tuesday 28th of July 2026 06:44:49 AM] Shipping info received: {"id":1907,"order_id":2008,"first_name":"Michael","last_name":"Mulcahey","company":"","street_1":"16817 Elizabeth Lake Rd","street_2":"Unit 770","city":"Lake Hughes","zip":"93532","country":"United States","country_iso2":"US","state":"California","email":"HyunchulHong83@mac.com","phone":"6614666026","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"19.0200","cost_ex_tax":"19.0200","cost_inc_tax":"19.0200","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\/2008\/shipping_addresses\/1907\/shipping_quotes","resource":"\/orders\/2008\/shipping_addresses\/1907\/shipping_quotes"},"form_fields":[]} [Tuesday 28th of July 2026 06:44:49 AM] Resolved Customer ID: AP373 [Tuesday 28th of July 2026 06:44:49 AM] Building order object for Invoice: AP2008 [Tuesday 28th of July 2026 06:44:49 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2008","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"16817 Elizabeth Lake Rd","C_ADDRESS2":"Unit 770","C_CITY":"Lake Hughes","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Michael Mulcahey","C_STATE":"CA","C_ZIP":"93532","ShippingAmount":"19.02","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2008 - Customer AP373"} [Tuesday 28th of July 2026 06:44:49 AM] Registered customer detected - checking EBMS for Customer ID: AP373 [Tuesday 28th of July 2026 06:44:49 AM] check_for_customer() - START - Customer ID: 373 [Tuesday 28th of July 2026 06:44:49 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 28th of July 2026 06:44:49 AM] check_for_customer() - EBMS API call successful for Customer ID: 373 [Tuesday 28th of July 2026 06:44:49 AM] check_for_customer() - Customer ID: 373 found in EBMS [Tuesday 28th of July 2026 06:44:49 AM] check_for_customer() - END - Customer ID: 373 | Found: true [Tuesday 28th of July 2026 06:44:49 AM] Customer AP373 found in EBMS [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_info() - START - Customer ID: 373 [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 373 [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_info() - Customer record found for Customer ID: 373 - Checking ADDRESS1 field [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 373 - No update needed [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_info() - END - Customer ID: 373 | Empty Info: false [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_pn() - START - Customer ID: AP373 [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP373%27 [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP373 [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_pn() - Customer record found for Customer ID: AP373 - Checking CONTACT_1 field [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP373 - Value: (323) 343-3568 - No update needed [Tuesday 28th of July 2026 06:44:49 AM] check_for_empty_pn() - END - Customer ID: AP373 | Empty PN: false [Tuesday 28th of July 2026 06:44:49 AM] Fetching products from BigCommerce for Order ID: 2008 [Tuesday 28th of July 2026 06:44:50 AM] BigCommerce API call successful for Order ID: 2008 [Tuesday 28th of July 2026 06:44:50 AM] Products received: 1 item(s) [Tuesday 28th of July 2026 06:44:50 AM] Processing product SKU: AEM50-1005 | Qty: 1 | Price: 199.9500 [Tuesday 28th of July 2026 06:44:50 AM] get_mpn() - START - Product ID: 4495 [Tuesday 28th of July 2026 06:44:50 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495 [Tuesday 28th of July 2026 06:44:50 AM] get_mpn() - BigCommerce API call successful for Product ID: 4495 [Tuesday 28th of July 2026 06:44:50 AM] get_mpn() - WARNING - MPN is empty for Product ID: 4495 [Tuesday 28th of July 2026 06:44:50 AM] get_mpn() - END - Product ID: 4495 | MPN: [Tuesday 28th of July 2026 06:44:50 AM] check_for_ebms_product() - START - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27AEM50-1005%27 [Tuesday 28th of July 2026 06:44:50 AM] check_for_ebms_product() - EBMS API call successful for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] check_for_ebms_product() - SKU: AEM50-1005 found in EBMS [Tuesday 28th of July 2026 06:44:50 AM] check_for_ebms_product() - END - SKU: AEM50-1005 | Found: true [Tuesday 28th of July 2026 06:44:50 AM] SKU AEM50-1005 found in EBMS - checking prices [Tuesday 28th of July 2026 06:44:50 AM] obtain_current_prices() - START - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] obtain_current_prices() - Checking Motorstate for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] check_for_ms_product() - START - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] check_for_ms_product() - Motorstate API call successful for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] check_for_ms_product() - SKU: AEM50-1005 found in Motorstate [Tuesday 28th of July 2026 06:44:50 AM] check_for_ms_product() - END - SKU: AEM50-1005 | Found: true [Tuesday 28th of July 2026 06:44:50 AM] obtain_current_prices() - SKU: AEM50-1005 found in Motorstate - Fetching prices [Tuesday 28th of July 2026 06:44:50 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: AEM50-1005 - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: AEM50-1005 - Base: 199.95 | Cost: 156.27 [Tuesday 28th of July 2026 06:44:50 AM] obtain_current_prices() - Returning Motorstate prices for SKU: AEM50-1005 - Base: 199.95 | Cost: 156.27 [Tuesday 28th of July 2026 06:44:50 AM] obtain_current_prices() - END - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:50 AM] SKU AEM50-1005 has existing EBMS prices - syncing BigCommerce price back (cost: 156.27, base: 199.95) [Tuesday 28th of July 2026 06:44:50 AM] update_product_price() - START - Product ID: 4495 | Base: 199.95 | Cost: 156.27 [Tuesday 28th of July 2026 06:44:50 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495 [Tuesday 28th of July 2026 06:44:50 AM] update_product_price() - PUT payload: {"price":199.94999999999998863131622783839702606201171875,"cost_price":156.270000000000010231815394945442676544189453125} [Tuesday 28th of July 2026 06:44:50 AM] update_product_price() - Attempt 1 of 6 for Product ID: 4495 [Tuesday 28th of July 2026 06:44:51 AM] update_product_price() - Price updated successfully for Product ID: 4495 - Base: 199.95 | Cost: 156.27 [Tuesday 28th of July 2026 06:44:51 AM] update_product_price() - END - Product ID: 4495 | Result: success [Tuesday 28th of July 2026 06:44:51 AM] BigCommerce price updated for Product ID: 4495 [Tuesday 28th of July 2026 06:44:51 AM] get_product_inventory() - START - SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:51 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=AEM50-1005 [Tuesday 28th of July 2026 06:44:51 AM] get_product_inventory() - Motorstate API call successful for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:51 AM] get_product_inventory() - Stock found for SKU: AEM50-1005 - Quantity: 63 | Running Total: 63 [Tuesday 28th of July 2026 06:44:51 AM] get_product_inventory() - END - SKU: AEM50-1005 | Total: 63 [Tuesday 28th of July 2026 06:44:51 AM] get_cf_id() - START - Product ID: 4495 [Tuesday 28th of July 2026 06:44:51 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495/custom-fields [Tuesday 28th of July 2026 06:44:51 AM] get_cf_id() - BigCommerce API call successful for Product ID: 4495 [Tuesday 28th of July 2026 06:44:51 AM] get_cf_id() - Custom field found for Product ID: 4495 | Field: online_stock_level | CF ID: 4385 [Tuesday 28th of July 2026 06:44:51 AM] get_cf_id() - END - Product ID: 4495 | CF ID: 4385 [Tuesday 28th of July 2026 06:44:51 AM] Updating inventory for SKU AEM50-1005 - stock: 63, CF ID: 4385 [Tuesday 28th of July 2026 06:44:51 AM] update_product_inventory() - START - Product ID: 4495 | Stock: 63 | CF ID: 4385 [Tuesday 28th of July 2026 06:44:51 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/4495/custom-fields/4385 [Tuesday 28th of July 2026 06:44:51 AM] update_product_inventory() - Inventory updated successfully for Product ID: 4495 | Stock: 63 [Tuesday 28th of July 2026 06:44:51 AM] update_product_inventory() - END - Product ID: 4495 | Result: success [Tuesday 28th of July 2026 06:44:51 AM] Inventory updated for SKU: AEM50-1005 [Tuesday 28th of July 2026 06:44:51 AM] All products processed - Order details: [{"ID":"AP373","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}] [Tuesday 28th of July 2026 06:44:51 AM] Building payment record - Total: 218.9700 [Tuesday 28th of July 2026 06:44:51 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2008","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"16817 Elizabeth Lake Rd","C_ADDRESS2":"Unit 770","C_CITY":"Lake Hughes","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Michael Mulcahey","C_STATE":"CA","C_ZIP":"93532","ShippingAmount":"19.02","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2008 - Customer AP373","Details":[{"ID":"AP373","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"218.97","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 28th of July 2026 06:44:51 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2008 [Tuesday 28th of July 2026 06:44:51 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2008%27 [Tuesday 28th of July 2026 06:44:52 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2008 [Tuesday 28th of July 2026 06:44:52 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2008 found in EBMS [Tuesday 28th of July 2026 06:44:52 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2008 | Found: true [Tuesday 28th of July 2026 06:44:52 AM] Invoice AP2008 already exists in EBMS - patching [Tuesday 28th of July 2026 06:44:52 AM] patch_ebms_invoice() - START - Invoice: AP2008 [Tuesday 28th of July 2026 06:44:52 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2008","ADDRESS1":"6088 Millerton Rd","ADDRESS2":"","C_ADDRESS1":"16817 Elizabeth Lake Rd","C_ADDRESS2":"Unit 770","C_CITY":"Lake Hughes","C_COUNTRY":"USA","C_EMAIL":"HyunchulHong83@mac.com","C_NAME":"Michael Mulcahey","C_STATE":"CA","C_ZIP":"93532","ShippingAmount":"19.02","CITY":"Friant","EMAIL":"HyunchulHong83@mac.com","ID":"AP373","NAME":"Hyunchul Hong","STATE":"CA","COUNTRY":"USA","ZIP":"93626","MEMO":"","DESCR":"BigCommerce Order - AP2008 - Customer AP373","Details":[{"ID":"AP373","INVEN":"AEM50-1005","M_QUAN_VIS":1,"UNIT":"199.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"218.97","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 28th of July 2026 06:44:52 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2008%27 [Tuesday 28th of July 2026 06:44:52 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2008 [Tuesday 28th of July 2026 06:44:52 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2008 [Tuesday 28th of July 2026 06:44:52 AM] patch_ebms_invoice() - END - Invoice: AP2008 [Tuesday 28th of July 2026 06:44:52 AM] Invoice AP2008 patched successfully [Tuesday 28th of July 2026 06:44:52 AM] ORDER WEBHOOK COMPLETED - Order ID: 2008 | Invoice: AP2008 [Tuesday 28th of July 2026 01:30:30 PM] add_customer() - START - Customer ID: 422 | Name: [Tuesday 28th of July 2026 01:30:30 PM] add_customer() - Customer payload: {"id":422,"address_count":0,"addresses":[],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"Kennethker121@att.net","first_name":"Kenneth","last_name":"Kersting","notes":"","phone":"","registration_ip_address":"70.121.230.10","tax_exempt_category":"","date_created":"2026-07-28T18:30:18Z","date_modified":"2026-07-28T18:30:18Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null} [Tuesday 28th of July 2026 01:30:30 PM] add_customer() - Customer fields parsed - ID: AP422 | Address: , , | Email: [Tuesday 28th of July 2026 01:30:30 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 28th of July 2026 01:30:30 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":"AP422","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 28th of July 2026 01:30:33 PM] add_customer() - EBMS API call successful for Customer ID: AP422 [Tuesday 28th of July 2026 01:30:33 PM] add_customer() - Customer created successfully in EBMS - ID: AP422 - Response: {"@odata.context":"http:\/\/localhost:60494\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"37494d32-4c37-4b55-3933-4a3846303030","AUTOID":"2MI77LUK93J8F000","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-28T00: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":"AP422","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":""} [Tuesday 28th of July 2026 01:30:33 PM] add_customer() - END - Customer ID: AP422 [Tuesday 28th of July 2026 01:33:58 PM] ORDER WEBHOOK STARTED - Order ID: 2009 [Tuesday 28th of July 2026 01:33:58 PM] Fetching customer data for Order ID: 2009 [Tuesday 28th of July 2026 01:33:58 PM] get_order_customer_data() - START - Order ID: 2009 [Tuesday 28th of July 2026 01:33:58 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2009 [Tuesday 28th of July 2026 01:33:59 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2009 [Tuesday 28th of July 2026 01:33:59 PM] get_order_customer_data() - Parsing order response for Order ID: 2009 [Tuesday 28th of July 2026 01:33:59 PM] get_order_customer_data() - Customer object built - Customer ID: 422 | Name: Kenneth Kersting | Email: Kennethker121@att.net | Total: 22.9600 | Shipping: 16.27 [Tuesday 28th of July 2026 01:33:59 PM] get_order_customer_data() - END - Order ID: 2009 [Tuesday 28th of July 2026 01:33:59 PM] Customer data received: {"id":422,"email":"Kennethker121@att.net","address_1":"6557 Terrace Dr","address_2":"","city":"The Colony","state":"TX","country":"USA","zip":"75056","f_name":"Kenneth","l_name":"Kersting","contact_5":"Kennethker121@att.net","contact_1":"13105906669","contact_4":"Kenneth Kersting"} [Tuesday 28th of July 2026 01:33:59 PM] Fetching shipping info for Order ID: 2009 [Tuesday 28th of July 2026 01:33:59 PM] get_order_shipping_info() - START - Order ID: 2009 [Tuesday 28th of July 2026 01:33:59 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2009/shipping_addresses [Tuesday 28th of July 2026 01:33:59 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2009 [Tuesday 28th of July 2026 01:33:59 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2009 | Name: Kenneth Kersting | Address: 1729 Bing Crosby Dr, El Paso, Texas, 79936 [Tuesday 28th of July 2026 01:33:59 PM] get_order_shipping_info() - END - Order ID: 2009 [Tuesday 28th of July 2026 01:33:59 PM] Shipping info received: {"id":1908,"order_id":2009,"first_name":"Kenneth","last_name":"Kersting","company":"","street_1":"1729 Bing Crosby Dr","street_2":"","city":"El Paso","zip":"79936","country":"United States","country_iso2":"US","state":"Texas","email":"Kennethker121@att.net","phone":"3105906669","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"16.2700","cost_ex_tax":"16.2700","cost_inc_tax":"16.2700","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\/2009\/shipping_addresses\/1908\/shipping_quotes","resource":"\/orders\/2009\/shipping_addresses\/1908\/shipping_quotes"},"form_fields":[]} [Tuesday 28th of July 2026 01:33:59 PM] Resolved Customer ID: AP422 [Tuesday 28th of July 2026 01:33:59 PM] Building order object for Invoice: AP2009 [Tuesday 28th of July 2026 01:33:59 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2009","ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","C_ADDRESS1":"1729 Bing Crosby Dr","C_ADDRESS2":"","C_CITY":"El Paso","C_COUNTRY":"USA","C_EMAIL":"Kennethker121@att.net","C_NAME":"Kenneth Kersting","C_STATE":"TX","C_ZIP":"79936","ShippingAmount":"16.27","CITY":"The Colony","EMAIL":"Kennethker121@att.net","ID":"AP422","NAME":"Kenneth Kersting","STATE":"TX","COUNTRY":"USA","ZIP":"75056","MEMO":"","DESCR":"BigCommerce Order - AP2009 - Customer AP422"} [Tuesday 28th of July 2026 01:33:59 PM] Registered customer detected - checking EBMS for Customer ID: AP422 [Tuesday 28th of July 2026 01:33:59 PM] check_for_customer() - START - Customer ID: 422 [Tuesday 28th of July 2026 01:33:59 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP422%27 [Tuesday 28th of July 2026 01:33:59 PM] check_for_customer() - EBMS API call successful for Customer ID: 422 [Tuesday 28th of July 2026 01:33:59 PM] check_for_customer() - Customer ID: 422 found in EBMS [Tuesday 28th of July 2026 01:33:59 PM] check_for_customer() - END - Customer ID: 422 | Found: true [Tuesday 28th of July 2026 01:33:59 PM] Customer AP422 found in EBMS [Tuesday 28th of July 2026 01:33:59 PM] check_for_empty_info() - START - Customer ID: 422 [Tuesday 28th of July 2026 01:33:59 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP422%27 [Tuesday 28th of July 2026 01:33:59 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 422 [Tuesday 28th of July 2026 01:33:59 PM] check_for_empty_info() - Customer record found for Customer ID: 422 - Checking ADDRESS1 field [Tuesday 28th of July 2026 01:33:59 PM] check_for_empty_info() - ADDRESS1 is empty for Customer ID: 422 - Update needed [Tuesday 28th of July 2026 01:33:59 PM] check_for_empty_info() - END - Customer ID: 422 | Empty Info: true [Tuesday 28th of July 2026 01:33:59 PM] Empty info detected - updating customer record for AP422 [Tuesday 28th of July 2026 01:33:59 PM] update_customer() - START - Customer ID: 422 | Name: Kenneth Kersting [Tuesday 28th of July 2026 01:33:59 PM] update_customer() - Customer payload: {"id":422,"email":"Kennethker121@att.net","address_1":"6557 Terrace Dr","address_2":"","city":"The Colony","state":"TX","country":"USA","zip":"75056","f_name":"Kenneth","l_name":"Kersting","contact_5":"Kennethker121@att.net","contact_1":"13105906669","contact_4":"Kenneth Kersting"} [Tuesday 28th of July 2026 01:33:59 PM] update_customer() - Fetching EBMS autoid for Customer ID: 422 [Tuesday 28th of July 2026 01:33:59 PM] get_customer_autoid() - START - Customer ID: AP422 [Tuesday 28th of July 2026 01:33:59 PM] get_customer_autoid() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP422%27 [Tuesday 28th of July 2026 01:33:59 PM] get_customer_autoid() - EBMS API call successful for Customer ID: AP422 [Tuesday 28th of July 2026 01:33:59 PM] get_customer_autoid() - AUTOID retrieved for Customer ID: AP422 - AUTOID: 2MI77LUK93J8F000 [Tuesday 28th of July 2026 01:33:59 PM] get_customer_autoid() - END - Customer ID: AP422 | AUTOID: 2MI77LUK93J8F000 [Tuesday 28th of July 2026 01:33:59 PM] update_customer() - EBMS autoid retrieved: 2MI77LUK93J8F000 for Customer ID: 422 [Tuesday 28th of July 2026 01:33:59 PM] update_customer() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST('2MI77LUK93J8F000') [Tuesday 28th of July 2026 01:33:59 PM] update_customer() - PATCH payload: {"ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","CITY":"The Colony","CONTACT_5":"Kennethker121@att.net","CONTACT_1":"13105906669","CONTACT_4":"Kenneth Kersting","COUNTRY":null,"F_NAME":"Kenneth","L_NAME":"Kersting","STATE":"TX","ZIP":"75056"} [Tuesday 28th of July 2026 01:34:02 PM] update_customer() - EBMS API call successful for Customer ID: 422 [Tuesday 28th of July 2026 01:34:02 PM] update_customer() - Customer updated successfully in EBMS - Response: {"@odata.context":"http:\/\/localhost:60494\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"37494d32-4c37-4b55-3933-4a3846303030","AUTOID":"2MI77LUK93J8F000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Kenneth Kersting","ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"The Colony","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"Kennethker121@att.net","EMAIL_LIST":false,"F_NAME":"Kenneth","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP422","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Kersting","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Kenneth Kersting)","OUT_CITY":false,"PHONE":"1 (310) 590-6669","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"TX","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"75056","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"1 (310) 590-6669","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Kenneth Kersting","CONTACT_5":"Kennethker121@att.net","EXTERNALID":""} [Tuesday 28th of July 2026 01:34:02 PM] update_customer() - END - Customer ID: 422 [Tuesday 28th of July 2026 01:34:02 PM] Customer record updated for AP422 [Tuesday 28th of July 2026 01:34:02 PM] check_for_empty_pn() - START - Customer ID: AP422 [Tuesday 28th of July 2026 01:34:02 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP422%27 [Tuesday 28th of July 2026 01:34:02 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP422 [Tuesday 28th of July 2026 01:34:02 PM] check_for_empty_pn() - Customer record found for Customer ID: AP422 - Checking CONTACT_1 field [Tuesday 28th of July 2026 01:34:02 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP422 - Value: 1 (310) 590-6669 - No update needed [Tuesday 28th of July 2026 01:34:02 PM] check_for_empty_pn() - END - Customer ID: AP422 | Empty PN: false [Tuesday 28th of July 2026 01:34:02 PM] Fetching products from BigCommerce for Order ID: 2009 [Tuesday 28th of July 2026 01:34:02 PM] BigCommerce API call successful for Order ID: 2009 [Tuesday 28th of July 2026 01:34:02 PM] Products received: 1 item(s) [Tuesday 28th of July 2026 01:34:02 PM] Processing product SKU: NGKZFR5N | Qty: 1 | Price: 6.6900 [Tuesday 28th of July 2026 01:34:02 PM] get_mpn() - START - Product ID: 60776 [Tuesday 28th of July 2026 01:34:02 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/60776 [Tuesday 28th of July 2026 01:34:02 PM] get_mpn() - BigCommerce API call successful for Product ID: 60776 [Tuesday 28th of July 2026 01:34:02 PM] get_mpn() - WARNING - MPN is empty for Product ID: 60776 [Tuesday 28th of July 2026 01:34:02 PM] get_mpn() - END - Product ID: 60776 | MPN: [Tuesday 28th of July 2026 01:34:02 PM] check_for_ebms_product() - START - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:34:02 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27NGKZFR5N%27 [Tuesday 28th of July 2026 01:34:02 PM] check_for_ebms_product() - EBMS API call successful for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:34:02 PM] check_for_ebms_product() - SKU: NGKZFR5N not found in EBMS [Tuesday 28th of July 2026 01:34:02 PM] check_for_ebms_product() - END - SKU: NGKZFR5N | Found: false [Tuesday 28th of July 2026 01:34:02 PM] SKU NGKZFR5N not found in EBMS - creating new part [Tuesday 28th of July 2026 01:34:02 PM] get_product_desc() - START - Product ID: 60776 [Tuesday 28th of July 2026 01:34:02 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/60776 [Tuesday 28th of July 2026 01:34:03 PM] get_product_desc() - BigCommerce API call successful for Product ID: 60776 [Tuesday 28th of July 2026 01:34:03 PM] get_product_desc() - Description retrieved for Product ID: 60776 - Description: Spark Plug - NGK V-Power - 14 mm Thread - 0.749 in Reach - Gasket Seat - Stock Number 3459 - Resistor - Each [Tuesday 28th of July 2026 01:34:03 PM] get_product_desc() - END - Product ID: 60776 [Tuesday 28th of July 2026 01:34:03 PM] get_ms_product() - START - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:34:03 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=NGKZFR5N [Tuesday 28th of July 2026 01:34:03 PM] get_ms_product() - Motorstate API call successful for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:34:03 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: NGKZFR5N - Response: [{"Found":true,"PartNumber":"NGKZFR5N","Product":{"PartNumber":"ngkzfr5n","VendorPartNumber":"ZFR5N","Status":1,"IsStocking":true,"ShortDescription":"NGK Spark Plug Stock # 3459","Quantity":4,"CustomerPrice":3.2600088,"CustomerPriceNonPromotional":3.2600088,"BasePrice":4.24,"ListPrice":6.69,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":false,"CanDropShip":false,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Tuesday 28th of July 2026 01:34:03 PM] get_ms_product() - END - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:34:03 PM] MS pricing found for SKU NGKZFR5N - base: 6.69, cost: 3.2600088 [Tuesday 28th of July 2026 01:34:03 PM] create_new_part() - START - SKU: NGKZFR5N | Base: 6.69 | Cost: 3.26 | Weight: 0.1100 | MPN: [Tuesday 28th of July 2026 01:34:03 PM] create_new_part() - Description parsed - DESCR_1: Spark Plug - NGK V-Power - 14 mm Thread - 0.749 in Reach - Gasket Seat - Stock N | DESCR_2: umber 3459 - Resistor - Each [Tuesday 28th of July 2026 01:34:03 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Tuesday 28th of July 2026 01:34:03 PM] create_new_part() - POST payload: {"ID":"NGKZFR5N","DESCR_1":"Spark Plug - NGK V-Power - 14 mm Thread - 0.749 in Reach - Gasket Seat - Stock N","DESCR_2":"umber 3459 - Resistor - Each","DESCR_3":"Spark Plug - NGK V-Power - 14 mm Thread - 0.749 in Reach - Gasket Seat - Stock Number 3459 - Resistor - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"3.26","BASE":"6.69","WEIGHT":"0.1100","MFG_PART":"","TREE_ID":"603"} [Tuesday 28th of July 2026 01:34:05 PM] create_new_part() - EBMS API call successful for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:34:05 PM] create_new_part() - Part created successfully in EBMS - SKU: NGKZFR5N - {"id":"NGKZFR5N","cost":"3.26","base":"6.69","description":"Spark Plug - NGK V-Power - 14 mm Thread - 0.749 in Reach - Gasket Seat - Stock Number 3459 - Resistor - Each","tree_id":" 603"} [Tuesday 28th of July 2026 01:34:05 PM] create_new_part() - Sending new part notification email for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:09 PM] ORDER WEBHOOK STARTED - Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] Fetching customer data for Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] get_order_customer_data() - START - Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2009 [Tuesday 28th of July 2026 01:35:09 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] get_order_customer_data() - Parsing order response for Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] get_order_customer_data() - Customer object built - Customer ID: 422 | Name: Kenneth Kersting | Email: Kennethker121@att.net | Total: 22.9600 | Shipping: 16.27 [Tuesday 28th of July 2026 01:35:09 PM] get_order_customer_data() - END - Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] Customer data received: {"id":422,"email":"Kennethker121@att.net","address_1":"6557 Terrace Dr","address_2":"","city":"The Colony","state":"TX","country":"USA","zip":"75056","f_name":"Kenneth","l_name":"Kersting","contact_5":"Kennethker121@att.net","contact_1":"13105906669","contact_4":"Kenneth Kersting"} [Tuesday 28th of July 2026 01:35:09 PM] Fetching shipping info for Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] get_order_shipping_info() - START - Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2009/shipping_addresses [Tuesday 28th of July 2026 01:35:09 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2009 | Name: Kenneth Kersting | Address: 1729 Bing Crosby Dr, El Paso, Texas, 79936 [Tuesday 28th of July 2026 01:35:09 PM] get_order_shipping_info() - END - Order ID: 2009 [Tuesday 28th of July 2026 01:35:09 PM] Shipping info received: {"id":1908,"order_id":2009,"first_name":"Kenneth","last_name":"Kersting","company":"","street_1":"1729 Bing Crosby Dr","street_2":"","city":"El Paso","zip":"79936","country":"United States","country_iso2":"US","state":"Texas","email":"Kennethker121@att.net","phone":"3105906669","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"16.2700","cost_ex_tax":"16.2700","cost_inc_tax":"16.2700","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\/2009\/shipping_addresses\/1908\/shipping_quotes","resource":"\/orders\/2009\/shipping_addresses\/1908\/shipping_quotes"},"form_fields":[]} [Tuesday 28th of July 2026 01:35:09 PM] Resolved Customer ID: AP422 [Tuesday 28th of July 2026 01:35:09 PM] Building order object for Invoice: AP2009 [Tuesday 28th of July 2026 01:35:09 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2009","ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","C_ADDRESS1":"1729 Bing Crosby Dr","C_ADDRESS2":"","C_CITY":"El Paso","C_COUNTRY":"USA","C_EMAIL":"Kennethker121@att.net","C_NAME":"Kenneth Kersting","C_STATE":"TX","C_ZIP":"79936","ShippingAmount":"16.27","CITY":"The Colony","EMAIL":"Kennethker121@att.net","ID":"AP422","NAME":"Kenneth Kersting","STATE":"TX","COUNTRY":"USA","ZIP":"75056","MEMO":"","DESCR":"BigCommerce Order - AP2009 - Customer AP422"} [Tuesday 28th of July 2026 01:35:09 PM] Registered customer detected - checking EBMS for Customer ID: AP422 [Tuesday 28th of July 2026 01:35:09 PM] check_for_customer() - START - Customer ID: 422 [Tuesday 28th of July 2026 01:35:09 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP422%27 [Tuesday 28th of July 2026 01:35:09 PM] check_for_customer() - EBMS API call successful for Customer ID: 422 [Tuesday 28th of July 2026 01:35:09 PM] check_for_customer() - Customer ID: 422 found in EBMS [Tuesday 28th of July 2026 01:35:09 PM] check_for_customer() - END - Customer ID: 422 | Found: true [Tuesday 28th of July 2026 01:35:09 PM] Customer AP422 found in EBMS [Tuesday 28th of July 2026 01:35:09 PM] check_for_empty_info() - START - Customer ID: 422 [Tuesday 28th of July 2026 01:35:09 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP422%27 [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 422 [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_info() - Customer record found for Customer ID: 422 - Checking ADDRESS1 field [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 422 - No update needed [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_info() - END - Customer ID: 422 | Empty Info: false [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_pn() - START - Customer ID: AP422 [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP422%27 [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP422 [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_pn() - Customer record found for Customer ID: AP422 - Checking CONTACT_1 field [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP422 - Value: 1 (310) 590-6669 - No update needed [Tuesday 28th of July 2026 01:35:10 PM] check_for_empty_pn() - END - Customer ID: AP422 | Empty PN: false [Tuesday 28th of July 2026 01:35:10 PM] Fetching products from BigCommerce for Order ID: 2009 [Tuesday 28th of July 2026 01:35:10 PM] BigCommerce API call successful for Order ID: 2009 [Tuesday 28th of July 2026 01:35:10 PM] Products received: 1 item(s) [Tuesday 28th of July 2026 01:35:10 PM] Processing product SKU: NGKZFR5N | Qty: 1 | Price: 6.6900 [Tuesday 28th of July 2026 01:35:10 PM] get_mpn() - START - Product ID: 60776 [Tuesday 28th of July 2026 01:35:10 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/60776 [Tuesday 28th of July 2026 01:35:10 PM] get_mpn() - BigCommerce API call successful for Product ID: 60776 [Tuesday 28th of July 2026 01:35:10 PM] get_mpn() - WARNING - MPN is empty for Product ID: 60776 [Tuesday 28th of July 2026 01:35:10 PM] get_mpn() - END - Product ID: 60776 | MPN: [Tuesday 28th of July 2026 01:35:10 PM] check_for_ebms_product() - START - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:10 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27NGKZFR5N%27 [Tuesday 28th of July 2026 01:35:11 PM] check_for_ebms_product() - EBMS API call successful for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] check_for_ebms_product() - SKU: NGKZFR5N found in EBMS [Tuesday 28th of July 2026 01:35:11 PM] check_for_ebms_product() - END - SKU: NGKZFR5N | Found: true [Tuesday 28th of July 2026 01:35:11 PM] SKU NGKZFR5N found in EBMS - checking prices [Tuesday 28th of July 2026 01:35:11 PM] obtain_current_prices() - START - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] obtain_current_prices() - Checking Motorstate for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] check_for_ms_product() - START - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] check_for_ms_product() - Motorstate API call successful for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] check_for_ms_product() - SKU: NGKZFR5N found in Motorstate [Tuesday 28th of July 2026 01:35:11 PM] check_for_ms_product() - END - SKU: NGKZFR5N | Found: true [Tuesday 28th of July 2026 01:35:11 PM] obtain_current_prices() - SKU: NGKZFR5N found in Motorstate - Fetching prices [Tuesday 28th of July 2026 01:35:11 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: NGKZFR5N - URL: https://api.motorstate.com/api/Product?partNumbers=NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: NGKZFR5N - Base: 6.69 | Cost: 3.26 [Tuesday 28th of July 2026 01:35:11 PM] obtain_current_prices() - Returning Motorstate prices for SKU: NGKZFR5N - Base: 6.69 | Cost: 3.26 [Tuesday 28th of July 2026 01:35:11 PM] obtain_current_prices() - END - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] SKU NGKZFR5N has existing EBMS prices - syncing BigCommerce price back (cost: 3.26, base: 6.69) [Tuesday 28th of July 2026 01:35:11 PM] update_product_price() - START - Product ID: 60776 | Base: 6.69 | Cost: 3.26 [Tuesday 28th of July 2026 01:35:11 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/60776 [Tuesday 28th of July 2026 01:35:11 PM] update_product_price() - PUT payload: {"price":6.69000000000000039079850466805510222911834716796875,"cost_price":3.2599999999999997868371792719699442386627197265625} [Tuesday 28th of July 2026 01:35:11 PM] update_product_price() - Attempt 1 of 6 for Product ID: 60776 [Tuesday 28th of July 2026 01:35:11 PM] update_product_price() - Price updated successfully for Product ID: 60776 - Base: 6.69 | Cost: 3.26 [Tuesday 28th of July 2026 01:35:11 PM] update_product_price() - END - Product ID: 60776 | Result: success [Tuesday 28th of July 2026 01:35:11 PM] BigCommerce price updated for Product ID: 60776 [Tuesday 28th of July 2026 01:35:11 PM] get_product_inventory() - START - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:11 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=NGKZFR5N [Tuesday 28th of July 2026 01:35:12 PM] get_product_inventory() - Motorstate API call successful for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:12 PM] get_product_inventory() - Stock found for SKU: NGKZFR5N - Quantity: 4 | Running Total: 4 [Tuesday 28th of July 2026 01:35:12 PM] get_product_inventory() - END - SKU: NGKZFR5N | Total: 4 [Tuesday 28th of July 2026 01:35:12 PM] get_cf_id() - START - Product ID: 60776 [Tuesday 28th of July 2026 01:35:12 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/60776/custom-fields [Tuesday 28th of July 2026 01:35:12 PM] get_cf_id() - BigCommerce API call successful for Product ID: 60776 [Tuesday 28th of July 2026 01:35:12 PM] get_cf_id() - Custom field found for Product ID: 60776 | Field: online_stock_level | CF ID: 60666 [Tuesday 28th of July 2026 01:35:12 PM] get_cf_id() - END - Product ID: 60776 | CF ID: 60666 [Tuesday 28th of July 2026 01:35:12 PM] Updating inventory for SKU NGKZFR5N - stock: 4, CF ID: 60666 [Tuesday 28th of July 2026 01:35:12 PM] update_product_inventory() - START - Product ID: 60776 | Stock: 4 | CF ID: 60666 [Tuesday 28th of July 2026 01:35:12 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/60776/custom-fields/60666 [Tuesday 28th of July 2026 01:35:12 PM] update_product_inventory() - Inventory updated successfully for Product ID: 60776 | Stock: 4 [Tuesday 28th of July 2026 01:35:12 PM] update_product_inventory() - END - Product ID: 60776 | Result: success [Tuesday 28th of July 2026 01:35:12 PM] Inventory updated for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:35:12 PM] All products processed - Order details: [{"ID":"AP422","INVEN":"NGKZFR5N","M_QUAN_VIS":1,"UNIT":"6.69","UNIT_MEAS":"EA"}] [Tuesday 28th of July 2026 01:35:12 PM] Building payment record - Total: 22.9600 [Tuesday 28th of July 2026 01:35:12 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2009","ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","C_ADDRESS1":"1729 Bing Crosby Dr","C_ADDRESS2":"","C_CITY":"El Paso","C_COUNTRY":"USA","C_EMAIL":"Kennethker121@att.net","C_NAME":"Kenneth Kersting","C_STATE":"TX","C_ZIP":"79936","ShippingAmount":"16.27","CITY":"The Colony","EMAIL":"Kennethker121@att.net","ID":"AP422","NAME":"Kenneth Kersting","STATE":"TX","COUNTRY":"USA","ZIP":"75056","MEMO":"","DESCR":"BigCommerce Order - AP2009 - Customer AP422","Details":[{"ID":"AP422","INVEN":"NGKZFR5N","M_QUAN_VIS":1,"UNIT":"6.69","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"22.96","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 28th of July 2026 01:35:12 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2009 [Tuesday 28th of July 2026 01:35:12 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2009%27 [Tuesday 28th of July 2026 01:35:12 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2009 [Tuesday 28th of July 2026 01:35:12 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2009 not found in EBMS [Tuesday 28th of July 2026 01:35:12 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2009 | Found: false [Tuesday 28th of July 2026 01:35:12 PM] Invoice AP2009 does not exist in EBMS - creating [Tuesday 28th of July 2026 01:35:12 PM] create_ebms_invoice() - START - Invoice: AP2009 [Tuesday 28th of July 2026 01:35:12 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2009","ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","C_ADDRESS1":"1729 Bing Crosby Dr","C_ADDRESS2":"","C_CITY":"El Paso","C_COUNTRY":"USA","C_EMAIL":"Kennethker121@att.net","C_NAME":"Kenneth Kersting","C_STATE":"TX","C_ZIP":"79936","ShippingAmount":"16.27","CITY":"The Colony","EMAIL":"Kennethker121@att.net","ID":"AP422","NAME":"Kenneth Kersting","STATE":"TX","COUNTRY":"USA","ZIP":"75056","MEMO":"","DESCR":"BigCommerce Order - AP2009 - Customer AP422","Details":[{"ID":"AP422","INVEN":"NGKZFR5N","M_QUAN_VIS":1,"UNIT":"6.69","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"22.96","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 28th of July 2026 01:35:12 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 28th of July 2026 01:35:18 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2009 [Tuesday 28th of July 2026 01:35:18 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2009 - Response: {"@odata.context":"http:\/\/localhost:60494\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"41534d4b-3048-4f30-3933-4a3846303030","AUTOID":"KMSAH00O93J8F000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-6.69000000000000039079850466805510222911834716796875,"BAL_CUST_X":-6.69000000000000039079850466805510222911834716796875,"BALANCE":-6.69000000000000039079850466805510222911834716796875,"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":22.96000000000000085265128291212022304534912109375,"TOTAL_S_SO":6.69000000000000039079850466805510222911834716796875,"TOTAL_SO":22.96000000000000085265128291212022304534912109375,"TOTAL_W":0,"TTLPROCPMT":22.96000000000000085265128291212022304534912109375,"TOTAL":16.269999999999999573674358543939888477325439453125,"FREIGHT":16.269999999999999573674358543939888477325439453125,"HANDLING":0,"SHIPPING":16.269999999999999573674358543939888477325439453125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","C_EMAIL":"Kennethker121@att.net","C_PHONE":"13105906669","CCNTCT_AID":"JLN6M2BTQBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-07-28T00:00:00Z","CHECK_NO":" APBC","CITY":"The Colony","CNTCT_AID":"JLN6M2BTQBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-07-28T00:00:00Z","E_DATE":"2026-07-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"Kennethker121@att.net","IADDRESS":"1729 Bing Crosby Dr , El Paso, TX 79936","ID":"AP422","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-28T00:00:00Z","INVOICE":"AP2009","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Kenneth Kersting","PHONE":"","PROCESS":"Default","STATE":"TX","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"75056","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1729 Bing Crosby Dr","C_ADDRESS2":"","C_CITY":"El Paso","C_COUNTRY":"USA","C_ID":"AP422","C_NAME":"Kenneth Kersting","C_STATE":"TX","C_ZIP":"79936","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2009 - Customer AP422","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-28T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 28th of July 2026 01:35:18 PM] create_ebms_invoice() - END - Invoice: AP2009 [Tuesday 28th of July 2026 01:35:18 PM] Invoice AP2009 created successfully [Tuesday 28th of July 2026 01:35:18 PM] ORDER WEBHOOK COMPLETED - Order ID: 2009 | Invoice: AP2009 [Tuesday 28th of July 2026 01:36:14 PM] create_new_part() - Notification email sent successfully for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:36:14 PM] create_new_part() - END - SKU: NGKZFR5N [Tuesday 28th of July 2026 01:36:14 PM] New part created in EBMS for SKU: NGKZFR5N [Tuesday 28th of July 2026 01:36:14 PM] All products processed - Order details: [{"ID":"AP422","INVEN":"NGKZFR5N","M_QUAN_VIS":1,"UNIT":"6.69","UNIT_MEAS":"EA"}] [Tuesday 28th of July 2026 01:36:14 PM] Building payment record - Total: 22.9600 [Tuesday 28th of July 2026 01:36:14 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2009","ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","C_ADDRESS1":"1729 Bing Crosby Dr","C_ADDRESS2":"","C_CITY":"El Paso","C_COUNTRY":"USA","C_EMAIL":"Kennethker121@att.net","C_NAME":"Kenneth Kersting","C_STATE":"TX","C_ZIP":"79936","ShippingAmount":"16.27","CITY":"The Colony","EMAIL":"Kennethker121@att.net","ID":"AP422","NAME":"Kenneth Kersting","STATE":"TX","COUNTRY":"USA","ZIP":"75056","MEMO":"","DESCR":"BigCommerce Order - AP2009 - Customer AP422","Details":[{"ID":"AP422","INVEN":"NGKZFR5N","M_QUAN_VIS":1,"UNIT":"6.69","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"22.96","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 28th of July 2026 01:36:14 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2009 [Tuesday 28th of July 2026 01:36:14 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2009%27 [Tuesday 28th of July 2026 01:36:14 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2009 [Tuesday 28th of July 2026 01:36:14 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2009 found in EBMS [Tuesday 28th of July 2026 01:36:14 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2009 | Found: true [Tuesday 28th of July 2026 01:36:14 PM] Invoice AP2009 already exists in EBMS - patching [Tuesday 28th of July 2026 01:36:14 PM] patch_ebms_invoice() - START - Invoice: AP2009 [Tuesday 28th of July 2026 01:36:14 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2009","ADDRESS1":"6557 Terrace Dr","ADDRESS2":"","C_ADDRESS1":"1729 Bing Crosby Dr","C_ADDRESS2":"","C_CITY":"El Paso","C_COUNTRY":"USA","C_EMAIL":"Kennethker121@att.net","C_NAME":"Kenneth Kersting","C_STATE":"TX","C_ZIP":"79936","ShippingAmount":"16.27","CITY":"The Colony","EMAIL":"Kennethker121@att.net","ID":"AP422","NAME":"Kenneth Kersting","STATE":"TX","COUNTRY":"USA","ZIP":"75056","MEMO":"","DESCR":"BigCommerce Order - AP2009 - Customer AP422","Details":[{"ID":"AP422","INVEN":"NGKZFR5N","M_QUAN_VIS":1,"UNIT":"6.69","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"22.96","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 28th of July 2026 01:36:14 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2009%27 [Tuesday 28th of July 2026 01:36:14 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2009 [Tuesday 28th of July 2026 01:36:14 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2009 [Tuesday 28th of July 2026 01:36:14 PM] patch_ebms_invoice() - END - Invoice: AP2009 [Tuesday 28th of July 2026 01:36:14 PM] Invoice AP2009 patched successfully [Tuesday 28th of July 2026 01:36:14 PM] ORDER WEBHOOK COMPLETED - Order ID: 2009 | Invoice: AP2009