[Tuesday 6th of October 2026 11:10:55 AM] add_customer() - START - Customer ID: 614 | Name: George Oleson [Tuesday 6th of October 2026 11:10:55 AM] add_customer() - Customer payload: {"id":614,"email":"jaguilar388@gmail.com","address_1":"13499 S Camp Crook Rd","address_2":"","city":"Camp Crook","state":"TX","country":"USA","zip":"57724","f_name":"George","l_name":"Oleson","contact_5":"jaguilar388@gmail.com","contact_1":"6057974472","contact_4":"George Oleson"} [Tuesday 6th of October 2026 11:10:55 AM] add_customer() - Customer fields parsed - ID: AP614 | Address: 13499 S Camp Crook Rd, Camp Crook, TX 57724 | Email: jaguilar388@gmail.com [Tuesday 6th of October 2026 11:10:55 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 6th of October 2026 11:10:55 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","CITY":"Camp Crook","CONTACT_5":"jaguilar388@gmail.com","CONTACT_1":"6057974472","CONTACT_4":"George Oleson","COUNTRY":"USA","F_NAME":"George","ID":"AP614","L_NAME":"Oleson","STATE":"TX","ZIP":"57724"} [Tuesday 6th of October 2026 11:11:00 AM] add_customer() - EBMS API call successful for Customer ID: AP614 [Tuesday 6th of October 2026 11:11:00 AM] add_customer() - Customer created successfully in EBMS - ID: AP614 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4b453442-384f-3438-434f-333330303030","AUTOID":"B4EKO884CO330000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"George Oleson","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Camp Crook","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jaguilar388@gmail.com","EMAIL_LIST":false,"F_NAME":"George","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP614","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Oleson","MAIL_LIST":false,"MEMO":"","NAMESTR":"(George Oleson)","OUT_CITY":false,"PHONE":"(605) 797-4472","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"TX","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"57724","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(605) 797-4472","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"George Oleson","CONTACT_5":"jaguilar388@gmail.com","EXTERNALID":""} [Tuesday 6th of October 2026 11:11:00 AM] add_customer() - END - Customer ID: AP614 [Tuesday 6th of October 2026 11:16:11 AM] ORDER WEBHOOK STARTED - Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] Fetching customer data for Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] get_order_customer_data() - START - Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2334 [Tuesday 6th of October 2026 11:16:11 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] get_order_customer_data() - Parsing order response for Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] get_order_customer_data() - Customer object built - Customer ID: 614 | Name: George Oleson | Email: jaguilar388@gmail.com | Total: 195.5100 | Shipping: 56.52 [Tuesday 6th of October 2026 11:16:11 AM] get_order_customer_data() - END - Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] Customer data received: {"id":614,"email":"jaguilar388@gmail.com","address_1":"13499 S Camp Crook Rd","address_2":"","city":"Camp Crook","state":"SD","country":"USA","zip":"57724","f_name":"George","l_name":"Oleson","contact_5":"jaguilar388@gmail.com","contact_1":"6057974472","contact_4":"George Oleson"} [Tuesday 6th of October 2026 11:16:11 AM] Fetching shipping info for Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] get_order_shipping_info() - START - Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2334/shipping_addresses [Tuesday 6th of October 2026 11:16:11 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2334 | Name: George Oleson | Address: 13499 S Camp Crook Rd, Camp Crook, South Dakota, 57724 [Tuesday 6th of October 2026 11:16:11 AM] get_order_shipping_info() - END - Order ID: 2334 [Tuesday 6th of October 2026 11:16:11 AM] Shipping info received: {"id":2233,"order_id":2334,"first_name":"George","last_name":"Oleson","company":"","street_1":"13499 S Camp Crook Rd","street_2":"","city":"Camp Crook","zip":"57724","country":"United States","country_iso2":"US","state":"South Dakota","email":"jaguilar388@gmail.com","phone":"6057974472","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"56.5200","cost_ex_tax":"56.5200","cost_inc_tax":"56.5200","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\/2334\/shipping_addresses\/2233\/shipping_quotes","resource":"\/orders\/2334\/shipping_addresses\/2233\/shipping_quotes"},"form_fields":[]} [Tuesday 6th of October 2026 11:16:11 AM] Resolved Customer ID: AP614 [Tuesday 6th of October 2026 11:16:11 AM] Building order object for Invoice: AP2334 [Tuesday 6th of October 2026 11:16:11 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2334","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","C_ADDRESS1":"13499 S Camp Crook Rd","C_ADDRESS2":"","C_CITY":"Camp Crook","C_COUNTRY":"USA","C_EMAIL":"jaguilar388@gmail.com","C_NAME":"George Oleson","C_STATE":"SD","C_ZIP":"57724","ShippingAmount":"56.52","CITY":"Camp Crook","EMAIL":"jaguilar388@gmail.com","ID":"AP614","NAME":"George Oleson","STATE":"SD","COUNTRY":"USA","ZIP":"57724","MEMO":"","DESCR":"BigCommerce Order - AP2334 - Customer AP614"} [Tuesday 6th of October 2026 11:16:11 AM] Registered customer detected - checking EBMS for Customer ID: AP614 [Tuesday 6th of October 2026 11:16:11 AM] check_for_customer() - START - Customer ID: 614 [Tuesday 6th of October 2026 11:16:11 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP614%27 [Tuesday 6th of October 2026 11:16:12 AM] check_for_customer() - EBMS API call successful for Customer ID: 614 [Tuesday 6th of October 2026 11:16:12 AM] check_for_customer() - Customer ID: 614 found in EBMS [Tuesday 6th of October 2026 11:16:12 AM] check_for_customer() - END - Customer ID: 614 | Found: true [Tuesday 6th of October 2026 11:16:12 AM] Customer AP614 found in EBMS [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_info() - START - Customer ID: 614 [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP614%27 [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 614 [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_info() - Customer record found for Customer ID: 614 - Checking ADDRESS1 field [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 614 - No update needed [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_info() - END - Customer ID: 614 | Empty Info: false [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_pn() - START - Customer ID: AP614 [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP614%27 [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP614 [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_pn() - Customer record found for Customer ID: AP614 - Checking CONTACT_1 field [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP614 - Value: (605) 797-4472 - No update needed [Tuesday 6th of October 2026 11:16:12 AM] check_for_empty_pn() - END - Customer ID: AP614 | Empty PN: false [Tuesday 6th of October 2026 11:16:12 AM] Fetching products from BigCommerce for Order ID: 2334 [Tuesday 6th of October 2026 11:16:13 AM] BigCommerce API call successful for Order ID: 2334 [Tuesday 6th of October 2026 11:16:13 AM] Products received: 1 item(s) [Tuesday 6th of October 2026 11:16:13 AM] Processing product SKU: LUC10131-4 | Qty: 1 | Price: 138.9900 [Tuesday 6th of October 2026 11:16:13 AM] get_mpn() - START - Product ID: 66489 [Tuesday 6th of October 2026 11:16:13 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Tuesday 6th of October 2026 11:16:13 AM] get_mpn() - BigCommerce API call successful for Product ID: 66489 [Tuesday 6th of October 2026 11:16:13 AM] get_mpn() - WARNING - MPN is empty for Product ID: 66489 [Tuesday 6th of October 2026 11:16:13 AM] get_mpn() - END - Product ID: 66489 | MPN: [Tuesday 6th of October 2026 11:16:13 AM] check_for_ebms_product() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:13 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10131-4%27 [Tuesday 6th of October 2026 11:16:13 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:13 AM] check_for_ebms_product() - SKU: LUC10131-4 found in EBMS [Tuesday 6th of October 2026 11:16:13 AM] check_for_ebms_product() - END - SKU: LUC10131-4 | Found: true [Tuesday 6th of October 2026 11:16:13 AM] SKU LUC10131-4 found in EBMS - checking prices [Tuesday 6th of October 2026 11:16:13 AM] obtain_current_prices() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:13 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:13 AM] check_for_ms_product() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:13 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 11:16:14 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:14 AM] check_for_ms_product() - SKU: LUC10131-4 found in Motorstate [Tuesday 6th of October 2026 11:16:14 AM] check_for_ms_product() - END - SKU: LUC10131-4 | Found: true [Tuesday 6th of October 2026 11:16:14 AM] obtain_current_prices() - SKU: LUC10131-4 found in Motorstate - Fetching prices [Tuesday 6th of October 2026 11:16:14 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10131-4 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 11:16:14 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 11:16:14 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 11:16:14 AM] obtain_current_prices() - END - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:14 AM] SKU LUC10131-4 has existing EBMS prices - syncing BigCommerce price back (cost: 117.99, base: 138.99) [Tuesday 6th of October 2026 11:16:14 AM] update_product_price() - START - Product ID: 66489 | Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 11:16:14 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Tuesday 6th of October 2026 11:16:14 AM] update_product_price() - PUT payload: {"price":138.990000000000009094947017729282379150390625,"cost_price":117.9899999999999948840923025272786617279052734375} [Tuesday 6th of October 2026 11:16:14 AM] update_product_price() - Attempt 1 of 6 for Product ID: 66489 [Tuesday 6th of October 2026 11:16:14 AM] update_product_price() - Price updated successfully for Product ID: 66489 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 11:16:14 AM] update_product_price() - END - Product ID: 66489 | Result: success [Tuesday 6th of October 2026 11:16:14 AM] BigCommerce price updated for Product ID: 66489 [Tuesday 6th of October 2026 11:16:14 AM] get_product_inventory() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:14 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 11:16:14 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:14 AM] get_product_inventory() - Stock found for SKU: LUC10131-4 - Quantity: 99 | Running Total: 99 [Tuesday 6th of October 2026 11:16:14 AM] get_product_inventory() - END - SKU: LUC10131-4 | Total: 99 [Tuesday 6th of October 2026 11:16:14 AM] get_cf_id() - START - Product ID: 66489 [Tuesday 6th of October 2026 11:16:14 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields [Tuesday 6th of October 2026 11:16:14 AM] get_cf_id() - BigCommerce API call successful for Product ID: 66489 [Tuesday 6th of October 2026 11:16:14 AM] get_cf_id() - Custom field found for Product ID: 66489 | Field: online_stock_level | CF ID: 66379 [Tuesday 6th of October 2026 11:16:14 AM] get_cf_id() - END - Product ID: 66489 | CF ID: 66379 [Tuesday 6th of October 2026 11:16:14 AM] Updating inventory for SKU LUC10131-4 - stock: 99, CF ID: 66379 [Tuesday 6th of October 2026 11:16:14 AM] update_product_inventory() - START - Product ID: 66489 | Stock: 99 | CF ID: 66379 [Tuesday 6th of October 2026 11:16:14 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields/66379 [Tuesday 6th of October 2026 11:16:15 AM] update_product_inventory() - Inventory updated successfully for Product ID: 66489 | Stock: 99 [Tuesday 6th of October 2026 11:16:15 AM] update_product_inventory() - END - Product ID: 66489 | Result: success [Tuesday 6th of October 2026 11:16:15 AM] Inventory updated for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:16:15 AM] All products processed - Order details: [{"ID":"AP614","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}] [Tuesday 6th of October 2026 11:16:15 AM] Building payment record - Total: 195.5100 [Tuesday 6th of October 2026 11:16:15 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2334","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","C_ADDRESS1":"13499 S Camp Crook Rd","C_ADDRESS2":"","C_CITY":"Camp Crook","C_COUNTRY":"USA","C_EMAIL":"jaguilar388@gmail.com","C_NAME":"George Oleson","C_STATE":"SD","C_ZIP":"57724","ShippingAmount":"56.52","CITY":"Camp Crook","EMAIL":"jaguilar388@gmail.com","ID":"AP614","NAME":"George Oleson","STATE":"SD","COUNTRY":"USA","ZIP":"57724","MEMO":"","DESCR":"BigCommerce Order - AP2334 - Customer AP614","Details":[{"ID":"AP614","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"195.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 11:16:15 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2334 [Tuesday 6th of October 2026 11:16:15 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2334%27 [Tuesday 6th of October 2026 11:16:15 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2334 [Tuesday 6th of October 2026 11:16:15 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2334 not found in EBMS [Tuesday 6th of October 2026 11:16:15 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2334 | Found: false [Tuesday 6th of October 2026 11:16:15 AM] Invoice AP2334 does not exist in EBMS - creating [Tuesday 6th of October 2026 11:16:15 AM] create_ebms_invoice() - START - Invoice: AP2334 [Tuesday 6th of October 2026 11:16:15 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2334","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","C_ADDRESS1":"13499 S Camp Crook Rd","C_ADDRESS2":"","C_CITY":"Camp Crook","C_COUNTRY":"USA","C_EMAIL":"jaguilar388@gmail.com","C_NAME":"George Oleson","C_STATE":"SD","C_ZIP":"57724","ShippingAmount":"56.52","CITY":"Camp Crook","EMAIL":"jaguilar388@gmail.com","ID":"AP614","NAME":"George Oleson","STATE":"SD","COUNTRY":"USA","ZIP":"57724","MEMO":"","DESCR":"BigCommerce Order - AP2334 - Customer AP614","Details":[{"ID":"AP614","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"195.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 11:16:15 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 6th of October 2026 11:16:22 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2334 [Tuesday 6th of October 2026 11:16:22 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2334 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"43505643-4538-374d-434f-333330303030","AUTOID":"CVPC8EM7CO330000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-138.990000000000009094947017729282379150390625,"BAL_CUST_X":-138.990000000000009094947017729282379150390625,"BALANCE":-138.990000000000009094947017729282379150390625,"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":195.509999999999990905052982270717620849609375,"TOTAL_S_SO":138.990000000000009094947017729282379150390625,"TOTAL_SO":195.509999999999990905052982270717620849609375,"TOTAL_W":0,"TTLPROCPMT":195.509999999999990905052982270717620849609375,"TOTAL":56.52000000000000312638803734444081783294677734375,"FREIGHT":56.52000000000000312638803734444081783294677734375,"HANDLING":0,"SHIPPING":56.52000000000000312638803734444081783294677734375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","C_EMAIL":"jaguilar388@gmail.com","C_PHONE":"(605) 797-4472","CCNTCT_AID":"74LH5JF3OBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-06T00:00:00Z","CHECK_NO":" APBC","CITY":"Camp Crook","CNTCT_AID":"74LH5JF3OBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-06T00:00:00Z","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jaguilar388@gmail.com","IADDRESS":"13499 S Camp Crook Rd , Camp Crook, SD 57724","ID":"AP614","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-06T00:00:00Z","INVOICE":"AP2334","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"George Oleson","PHONE":"","PROCESS":"Default","STATE":"SD","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"57724","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"13499 S Camp Crook Rd","C_ADDRESS2":"","C_CITY":"Camp Crook","C_COUNTRY":"USA","C_ID":"AP614","C_NAME":"George Oleson","C_STATE":"SD","C_ZIP":"57724","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2334 - Customer AP614","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-06T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 6th of October 2026 11:16:22 AM] create_ebms_invoice() - END - Invoice: AP2334 [Tuesday 6th of October 2026 11:16:22 AM] Invoice AP2334 created successfully [Tuesday 6th of October 2026 11:16:22 AM] ORDER WEBHOOK COMPLETED - Order ID: 2334 | Invoice: AP2334 [Tuesday 6th of October 2026 11:17:21 AM] ORDER WEBHOOK STARTED - Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] Fetching customer data for Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] get_order_customer_data() - START - Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2334 [Tuesday 6th of October 2026 11:17:21 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] get_order_customer_data() - Parsing order response for Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] get_order_customer_data() - Customer object built - Customer ID: 614 | Name: George Oleson | Email: jaguilar388@gmail.com | Total: 195.5100 | Shipping: 56.52 [Tuesday 6th of October 2026 11:17:21 AM] get_order_customer_data() - END - Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] Customer data received: {"id":614,"email":"jaguilar388@gmail.com","address_1":"13499 S Camp Crook Rd","address_2":"","city":"Camp Crook","state":"SD","country":"USA","zip":"57724","f_name":"George","l_name":"Oleson","contact_5":"jaguilar388@gmail.com","contact_1":"6057974472","contact_4":"George Oleson"} [Tuesday 6th of October 2026 11:17:21 AM] Fetching shipping info for Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] get_order_shipping_info() - START - Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2334/shipping_addresses [Tuesday 6th of October 2026 11:17:21 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2334 | Name: George Oleson | Address: 13499 S Camp Crook Rd, Camp Crook, South Dakota, 57724 [Tuesday 6th of October 2026 11:17:21 AM] get_order_shipping_info() - END - Order ID: 2334 [Tuesday 6th of October 2026 11:17:21 AM] Shipping info received: {"id":2233,"order_id":2334,"first_name":"George","last_name":"Oleson","company":"","street_1":"13499 S Camp Crook Rd","street_2":"","city":"Camp Crook","zip":"57724","country":"United States","country_iso2":"US","state":"South Dakota","email":"jaguilar388@gmail.com","phone":"6057974472","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"56.5200","cost_ex_tax":"56.5200","cost_inc_tax":"56.5200","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\/2334\/shipping_addresses\/2233\/shipping_quotes","resource":"\/orders\/2334\/shipping_addresses\/2233\/shipping_quotes"},"form_fields":[]} [Tuesday 6th of October 2026 11:17:21 AM] Resolved Customer ID: AP614 [Tuesday 6th of October 2026 11:17:21 AM] Building order object for Invoice: AP2334 [Tuesday 6th of October 2026 11:17:21 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2334","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","C_ADDRESS1":"13499 S Camp Crook Rd","C_ADDRESS2":"","C_CITY":"Camp Crook","C_COUNTRY":"USA","C_EMAIL":"jaguilar388@gmail.com","C_NAME":"George Oleson","C_STATE":"SD","C_ZIP":"57724","ShippingAmount":"56.52","CITY":"Camp Crook","EMAIL":"jaguilar388@gmail.com","ID":"AP614","NAME":"George Oleson","STATE":"SD","COUNTRY":"USA","ZIP":"57724","MEMO":"","DESCR":"BigCommerce Order - AP2334 - Customer AP614"} [Tuesday 6th of October 2026 11:17:21 AM] Registered customer detected - checking EBMS for Customer ID: AP614 [Tuesday 6th of October 2026 11:17:21 AM] check_for_customer() - START - Customer ID: 614 [Tuesday 6th of October 2026 11:17:21 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP614%27 [Tuesday 6th of October 2026 11:17:22 AM] check_for_customer() - EBMS API call successful for Customer ID: 614 [Tuesday 6th of October 2026 11:17:22 AM] check_for_customer() - Customer ID: 614 found in EBMS [Tuesday 6th of October 2026 11:17:22 AM] check_for_customer() - END - Customer ID: 614 | Found: true [Tuesday 6th of October 2026 11:17:22 AM] Customer AP614 found in EBMS [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_info() - START - Customer ID: 614 [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP614%27 [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 614 [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_info() - Customer record found for Customer ID: 614 - Checking ADDRESS1 field [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 614 - No update needed [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_info() - END - Customer ID: 614 | Empty Info: false [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_pn() - START - Customer ID: AP614 [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP614%27 [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP614 [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_pn() - Customer record found for Customer ID: AP614 - Checking CONTACT_1 field [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP614 - Value: (605) 797-4472 - No update needed [Tuesday 6th of October 2026 11:17:22 AM] check_for_empty_pn() - END - Customer ID: AP614 | Empty PN: false [Tuesday 6th of October 2026 11:17:22 AM] Fetching products from BigCommerce for Order ID: 2334 [Tuesday 6th of October 2026 11:17:22 AM] BigCommerce API call successful for Order ID: 2334 [Tuesday 6th of October 2026 11:17:22 AM] Products received: 1 item(s) [Tuesday 6th of October 2026 11:17:22 AM] Processing product SKU: LUC10131-4 | Qty: 1 | Price: 138.9900 [Tuesday 6th of October 2026 11:17:22 AM] get_mpn() - START - Product ID: 66489 [Tuesday 6th of October 2026 11:17:22 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Tuesday 6th of October 2026 11:17:23 AM] get_mpn() - BigCommerce API call successful for Product ID: 66489 [Tuesday 6th of October 2026 11:17:23 AM] get_mpn() - WARNING - MPN is empty for Product ID: 66489 [Tuesday 6th of October 2026 11:17:23 AM] get_mpn() - END - Product ID: 66489 | MPN: [Tuesday 6th of October 2026 11:17:23 AM] check_for_ebms_product() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10131-4%27 [Tuesday 6th of October 2026 11:17:23 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] check_for_ebms_product() - SKU: LUC10131-4 found in EBMS [Tuesday 6th of October 2026 11:17:23 AM] check_for_ebms_product() - END - SKU: LUC10131-4 | Found: true [Tuesday 6th of October 2026 11:17:23 AM] SKU LUC10131-4 found in EBMS - checking prices [Tuesday 6th of October 2026 11:17:23 AM] obtain_current_prices() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] check_for_ms_product() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] check_for_ms_product() - SKU: LUC10131-4 found in Motorstate [Tuesday 6th of October 2026 11:17:23 AM] check_for_ms_product() - END - SKU: LUC10131-4 | Found: true [Tuesday 6th of October 2026 11:17:23 AM] obtain_current_prices() - SKU: LUC10131-4 found in Motorstate - Fetching prices [Tuesday 6th of October 2026 11:17:23 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10131-4 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 11:17:23 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 11:17:23 AM] obtain_current_prices() - END - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:23 AM] SKU LUC10131-4 has existing EBMS prices - syncing BigCommerce price back (cost: 117.99, base: 138.99) [Tuesday 6th of October 2026 11:17:23 AM] update_product_price() - START - Product ID: 66489 | Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 11:17:23 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Tuesday 6th of October 2026 11:17:23 AM] update_product_price() - PUT payload: {"price":138.990000000000009094947017729282379150390625,"cost_price":117.9899999999999948840923025272786617279052734375} [Tuesday 6th of October 2026 11:17:23 AM] update_product_price() - Attempt 1 of 6 for Product ID: 66489 [Tuesday 6th of October 2026 11:17:24 AM] update_product_price() - Price updated successfully for Product ID: 66489 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 11:17:24 AM] update_product_price() - END - Product ID: 66489 | Result: success [Tuesday 6th of October 2026 11:17:24 AM] BigCommerce price updated for Product ID: 66489 [Tuesday 6th of October 2026 11:17:24 AM] get_product_inventory() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:24 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 11:17:24 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:24 AM] get_product_inventory() - Stock found for SKU: LUC10131-4 - Quantity: 99 | Running Total: 99 [Tuesday 6th of October 2026 11:17:24 AM] get_product_inventory() - END - SKU: LUC10131-4 | Total: 99 [Tuesday 6th of October 2026 11:17:24 AM] get_cf_id() - START - Product ID: 66489 [Tuesday 6th of October 2026 11:17:24 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields [Tuesday 6th of October 2026 11:17:24 AM] get_cf_id() - BigCommerce API call successful for Product ID: 66489 [Tuesday 6th of October 2026 11:17:24 AM] get_cf_id() - Custom field found for Product ID: 66489 | Field: online_stock_level | CF ID: 66379 [Tuesday 6th of October 2026 11:17:24 AM] get_cf_id() - END - Product ID: 66489 | CF ID: 66379 [Tuesday 6th of October 2026 11:17:24 AM] Updating inventory for SKU LUC10131-4 - stock: 99, CF ID: 66379 [Tuesday 6th of October 2026 11:17:24 AM] update_product_inventory() - START - Product ID: 66489 | Stock: 99 | CF ID: 66379 [Tuesday 6th of October 2026 11:17:24 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields/66379 [Tuesday 6th of October 2026 11:17:24 AM] update_product_inventory() - Inventory updated successfully for Product ID: 66489 | Stock: 99 [Tuesday 6th of October 2026 11:17:24 AM] update_product_inventory() - END - Product ID: 66489 | Result: success [Tuesday 6th of October 2026 11:17:24 AM] Inventory updated for SKU: LUC10131-4 [Tuesday 6th of October 2026 11:17:24 AM] All products processed - Order details: [{"ID":"AP614","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}] [Tuesday 6th of October 2026 11:17:24 AM] Building payment record - Total: 195.5100 [Tuesday 6th of October 2026 11:17:24 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2334","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","C_ADDRESS1":"13499 S Camp Crook Rd","C_ADDRESS2":"","C_CITY":"Camp Crook","C_COUNTRY":"USA","C_EMAIL":"jaguilar388@gmail.com","C_NAME":"George Oleson","C_STATE":"SD","C_ZIP":"57724","ShippingAmount":"56.52","CITY":"Camp Crook","EMAIL":"jaguilar388@gmail.com","ID":"AP614","NAME":"George Oleson","STATE":"SD","COUNTRY":"USA","ZIP":"57724","MEMO":"","DESCR":"BigCommerce Order - AP2334 - Customer AP614","Details":[{"ID":"AP614","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"195.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 11:17:24 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2334 [Tuesday 6th of October 2026 11:17:24 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2334%27 [Tuesday 6th of October 2026 11:17:25 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2334 [Tuesday 6th of October 2026 11:17:25 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2334 found in EBMS [Tuesday 6th of October 2026 11:17:25 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2334 | Found: true [Tuesday 6th of October 2026 11:17:25 AM] Invoice AP2334 already exists in EBMS - patching [Tuesday 6th of October 2026 11:17:25 AM] patch_ebms_invoice() - START - Invoice: AP2334 [Tuesday 6th of October 2026 11:17:25 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2334","ADDRESS1":"13499 S Camp Crook Rd","ADDRESS2":"","C_ADDRESS1":"13499 S Camp Crook Rd","C_ADDRESS2":"","C_CITY":"Camp Crook","C_COUNTRY":"USA","C_EMAIL":"jaguilar388@gmail.com","C_NAME":"George Oleson","C_STATE":"SD","C_ZIP":"57724","ShippingAmount":"56.52","CITY":"Camp Crook","EMAIL":"jaguilar388@gmail.com","ID":"AP614","NAME":"George Oleson","STATE":"SD","COUNTRY":"USA","ZIP":"57724","MEMO":"","DESCR":"BigCommerce Order - AP2334 - Customer AP614","Details":[{"ID":"AP614","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"195.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 11:17:25 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2334%27 [Tuesday 6th of October 2026 11:17:25 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2334 [Tuesday 6th of October 2026 11:17:25 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2334 [Tuesday 6th of October 2026 11:17:25 AM] patch_ebms_invoice() - END - Invoice: AP2334 [Tuesday 6th of October 2026 11:17:25 AM] Invoice AP2334 patched successfully [Tuesday 6th of October 2026 11:17:25 AM] ORDER WEBHOOK COMPLETED - Order ID: 2334 | Invoice: AP2334 [Tuesday 6th of October 2026 02:54:18 PM] add_customer() - START - Customer ID: 615 | Name: Keith Morgan [Tuesday 6th of October 2026 02:54:18 PM] add_customer() - Customer payload: {"id":615,"email":"tamboi.teau+9imns3@gmail.com","address_1":"170 Lambert Ports Apt. 714","address_2":"","city":"New Zacharyberg","state":"ME","country":"USA","zip":"19809","f_name":"Keith","l_name":"Morgan","contact_5":"tamboi.teau+9imns3@gmail.com","contact_1":"7067578470","contact_4":"Keith Morgan"} [Tuesday 6th of October 2026 02:54:18 PM] add_customer() - Customer fields parsed - ID: AP615 | Address: 170 Lambert Ports Apt. 714, New Zacharyberg, ME 19809 | Email: tamboi.teau+9imns3@gmail.com [Tuesday 6th of October 2026 02:54:18 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 6th of October 2026 02:54:18 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"170 Lambert Ports Apt. 714","ADDRESS2":"","CITY":"New Zacharyberg","CONTACT_5":"tamboi.teau+9imns3@gmail.com","CONTACT_1":"7067578470","CONTACT_4":"Keith Morgan","COUNTRY":"USA","F_NAME":"Keith","ID":"AP615","L_NAME":"Morgan","STATE":"ME","ZIP":"19809"} [Tuesday 6th of October 2026 02:54:21 PM] add_customer() - EBMS API call successful for Customer ID: AP615 [Tuesday 6th of October 2026 02:54:21 PM] add_customer() - Customer created successfully in EBMS - ID: AP615 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"39335348-4448-4c42-474f-333330303030","AUTOID":"HS39HDBLGO330000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Keith Morgan","ADDRESS1":"170 Lambert Ports Apt. 714","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"New Zacharyberg","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"tamboi.teau+9imns3@gmail.com","EMAIL_LIST":false,"F_NAME":"Keith","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP615","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Morgan","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Keith Morgan)","OUT_CITY":false,"PHONE":"(706) 757-8470","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"ME","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"19809","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(706) 757-8470","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Keith Morgan","CONTACT_5":"tamboi.teau+9imns3@gmail.com","EXTERNALID":""} [Tuesday 6th of October 2026 02:54:21 PM] add_customer() - END - Customer ID: AP615 [Tuesday 6th of October 2026 05:41:32 PM] add_customer() - START - Customer ID: 616 | Name: William Hansuld [Tuesday 6th of October 2026 05:41:32 PM] add_customer() - Customer payload: {"id":616,"email":"rhdmccusker314@gmail.com","address_1":"3110 E Yellowstone Hwy","address_2":"","city":"Casper","state":"WY","country":"USA","zip":"82609","f_name":"William","l_name":"Hansuld","contact_5":"rhdmccusker314@gmail.com","contact_1":"3072373712","contact_4":"William Hansuld"} [Tuesday 6th of October 2026 05:41:32 PM] add_customer() - Customer fields parsed - ID: AP616 | Address: 3110 E Yellowstone Hwy, Casper, WY 82609 | Email: rhdmccusker314@gmail.com [Tuesday 6th of October 2026 05:41:32 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 6th of October 2026 05:41:32 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"3110 E Yellowstone Hwy","ADDRESS2":"","CITY":"Casper","CONTACT_5":"rhdmccusker314@gmail.com","CONTACT_1":"3072373712","CONTACT_4":"William Hansuld","COUNTRY":"USA","F_NAME":"William","ID":"AP616","L_NAME":"Hansuld","STATE":"WY","ZIP":"82609"} [Tuesday 6th of October 2026 05:41:34 PM] add_customer() - EBMS API call successful for Customer ID: AP616 [Tuesday 6th of October 2026 05:41:34 PM] add_customer() - Customer created successfully in EBMS - ID: AP616 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"5055434f-4331-3156-4b4f-333330303030","AUTOID":"OCUP1CV1KO330000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"William Hansuld","ADDRESS1":"3110 E Yellowstone Hwy","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Casper","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"rhdmccusker314@gmail.com","EMAIL_LIST":false,"F_NAME":"William","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP616","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Hansuld","MAIL_LIST":false,"MEMO":"","NAMESTR":"(William Hansuld)","OUT_CITY":false,"PHONE":"(307) 237-3712","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"WY","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"82609","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(307) 237-3712","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"William Hansuld","CONTACT_5":"rhdmccusker314@gmail.com","EXTERNALID":""} [Tuesday 6th of October 2026 05:41:34 PM] add_customer() - END - Customer ID: AP616 [Tuesday 6th of October 2026 05:43:34 PM] ORDER WEBHOOK STARTED - Order ID: 2336 [Tuesday 6th of October 2026 05:43:34 PM] Fetching customer data for Order ID: 2336 [Tuesday 6th of October 2026 05:43:34 PM] get_order_customer_data() - START - Order ID: 2336 [Tuesday 6th of October 2026 05:43:34 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2336 [Tuesday 6th of October 2026 05:43:35 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2336 [Tuesday 6th of October 2026 05:43:35 PM] get_order_customer_data() - Parsing order response for Order ID: 2336 [Tuesday 6th of October 2026 05:43:35 PM] get_order_customer_data() - Customer object built - Customer ID: 616 | Name: William Hansuld | Email: rhdmccusker314@gmail.com | Total: 168.4700 | Shipping: 29.48 [Tuesday 6th of October 2026 05:43:35 PM] get_order_customer_data() - END - Order ID: 2336 [Tuesday 6th of October 2026 05:43:35 PM] Customer data received: {"id":616,"email":"rhdmccusker314@gmail.com","address_1":"3110 E Yellowstone Hwy","address_2":"","city":"Casper","state":"WY","country":"USA","zip":"82609","f_name":"William","l_name":"Hansuld","contact_5":"rhdmccusker314@gmail.com","contact_1":"3072373712","contact_4":"William Hansuld"} [Tuesday 6th of October 2026 05:43:35 PM] Fetching shipping info for Order ID: 2336 [Tuesday 6th of October 2026 05:43:35 PM] get_order_shipping_info() - START - Order ID: 2336 [Tuesday 6th of October 2026 05:43:35 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2336/shipping_addresses [Tuesday 6th of October 2026 05:43:35 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2336 [Tuesday 6th of October 2026 05:43:35 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2336 | Name: William Hansuld | Address: 3110 E Yellowstone Hwy, Casper, Wyoming, 82609 [Tuesday 6th of October 2026 05:43:35 PM] get_order_shipping_info() - END - Order ID: 2336 [Tuesday 6th of October 2026 05:43:35 PM] Shipping info received: {"id":2235,"order_id":2336,"first_name":"William","last_name":"Hansuld","company":"","street_1":"3110 E Yellowstone Hwy","street_2":"","city":"Casper","zip":"82609","country":"United States","country_iso2":"US","state":"Wyoming","email":"rhdmccusker314@gmail.com","phone":"3072373712","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"29.4800","cost_ex_tax":"29.4800","cost_inc_tax":"29.4800","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\/2336\/shipping_addresses\/2235\/shipping_quotes","resource":"\/orders\/2336\/shipping_addresses\/2235\/shipping_quotes"},"form_fields":[]} [Tuesday 6th of October 2026 05:43:35 PM] Resolved Customer ID: AP616 [Tuesday 6th of October 2026 05:43:35 PM] Building order object for Invoice: AP2336 [Tuesday 6th of October 2026 05:43:35 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2336","ADDRESS1":"3110 E Yellowstone Hwy","ADDRESS2":"","C_ADDRESS1":"3110 E Yellowstone Hwy","C_ADDRESS2":"","C_CITY":"Casper","C_COUNTRY":"USA","C_EMAIL":"rhdmccusker314@gmail.com","C_NAME":"William Hansuld","C_STATE":"WY","C_ZIP":"82609","ShippingAmount":"29.48","CITY":"Casper","EMAIL":"rhdmccusker314@gmail.com","ID":"AP616","NAME":"William Hansuld","STATE":"WY","COUNTRY":"USA","ZIP":"82609","MEMO":"","DESCR":"BigCommerce Order - AP2336 - Customer AP616"} [Tuesday 6th of October 2026 05:43:35 PM] Registered customer detected - checking EBMS for Customer ID: AP616 [Tuesday 6th of October 2026 05:43:35 PM] check_for_customer() - START - Customer ID: 616 [Tuesday 6th of October 2026 05:43:35 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP616%27 [Tuesday 6th of October 2026 05:43:35 PM] check_for_customer() - EBMS API call successful for Customer ID: 616 [Tuesday 6th of October 2026 05:43:35 PM] check_for_customer() - Customer ID: 616 found in EBMS [Tuesday 6th of October 2026 05:43:35 PM] check_for_customer() - END - Customer ID: 616 | Found: true [Tuesday 6th of October 2026 05:43:35 PM] Customer AP616 found in EBMS [Tuesday 6th of October 2026 05:43:35 PM] check_for_empty_info() - START - Customer ID: 616 [Tuesday 6th of October 2026 05:43:35 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP616%27 [Tuesday 6th of October 2026 05:43:35 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 616 [Tuesday 6th of October 2026 05:43:35 PM] check_for_empty_info() - Customer record found for Customer ID: 616 - Checking ADDRESS1 field [Tuesday 6th of October 2026 05:43:35 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 616 - No update needed [Tuesday 6th of October 2026 05:43:35 PM] check_for_empty_info() - END - Customer ID: 616 | Empty Info: false [Tuesday 6th of October 2026 05:43:35 PM] check_for_empty_pn() - START - Customer ID: AP616 [Tuesday 6th of October 2026 05:43:35 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP616%27 [Tuesday 6th of October 2026 05:43:36 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP616 [Tuesday 6th of October 2026 05:43:36 PM] check_for_empty_pn() - Customer record found for Customer ID: AP616 - Checking CONTACT_1 field [Tuesday 6th of October 2026 05:43:36 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP616 - Value: (307) 237-3712 - No update needed [Tuesday 6th of October 2026 05:43:36 PM] check_for_empty_pn() - END - Customer ID: AP616 | Empty PN: false [Tuesday 6th of October 2026 05:43:36 PM] Fetching products from BigCommerce for Order ID: 2336 [Tuesday 6th of October 2026 05:43:36 PM] BigCommerce API call successful for Order ID: 2336 [Tuesday 6th of October 2026 05:43:36 PM] Products received: 1 item(s) [Tuesday 6th of October 2026 05:43:36 PM] Processing product SKU: LUC10131-4 | Qty: 1 | Price: 138.9900 [Tuesday 6th of October 2026 05:43:36 PM] get_mpn() - START - Product ID: 66489 [Tuesday 6th of October 2026 05:43:36 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Tuesday 6th of October 2026 05:43:36 PM] get_mpn() - BigCommerce API call successful for Product ID: 66489 [Tuesday 6th of October 2026 05:43:36 PM] get_mpn() - WARNING - MPN is empty for Product ID: 66489 [Tuesday 6th of October 2026 05:43:36 PM] get_mpn() - END - Product ID: 66489 | MPN: [Tuesday 6th of October 2026 05:43:36 PM] check_for_ebms_product() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:36 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10131-4%27 [Tuesday 6th of October 2026 05:43:37 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] check_for_ebms_product() - SKU: LUC10131-4 found in EBMS [Tuesday 6th of October 2026 05:43:37 PM] check_for_ebms_product() - END - SKU: LUC10131-4 | Found: true [Tuesday 6th of October 2026 05:43:37 PM] SKU LUC10131-4 found in EBMS - checking prices [Tuesday 6th of October 2026 05:43:37 PM] obtain_current_prices() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] obtain_current_prices() - Checking Motorstate for SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] check_for_ms_product() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] check_for_ms_product() - SKU: LUC10131-4 found in Motorstate [Tuesday 6th of October 2026 05:43:37 PM] check_for_ms_product() - END - SKU: LUC10131-4 | Found: true [Tuesday 6th of October 2026 05:43:37 PM] obtain_current_prices() - SKU: LUC10131-4 found in Motorstate - Fetching prices [Tuesday 6th of October 2026 05:43:37 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10131-4 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 05:43:37 PM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10131-4 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 05:43:37 PM] obtain_current_prices() - END - SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] SKU LUC10131-4 has existing EBMS prices - syncing BigCommerce price back (cost: 117.99, base: 138.99) [Tuesday 6th of October 2026 05:43:37 PM] update_product_price() - START - Product ID: 66489 | Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 05:43:37 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489 [Tuesday 6th of October 2026 05:43:37 PM] update_product_price() - PUT payload: {"price":138.990000000000009094947017729282379150390625,"cost_price":117.9899999999999948840923025272786617279052734375} [Tuesday 6th of October 2026 05:43:37 PM] update_product_price() - Attempt 1 of 6 for Product ID: 66489 [Tuesday 6th of October 2026 05:43:37 PM] update_product_price() - Price updated successfully for Product ID: 66489 - Base: 138.99 | Cost: 117.99 [Tuesday 6th of October 2026 05:43:37 PM] update_product_price() - END - Product ID: 66489 | Result: success [Tuesday 6th of October 2026 05:43:37 PM] BigCommerce price updated for Product ID: 66489 [Tuesday 6th of October 2026 05:43:37 PM] get_product_inventory() - START - SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] get_product_inventory() - Motorstate API call successful for SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:37 PM] get_product_inventory() - Stock found for SKU: LUC10131-4 - Quantity: 98 | Running Total: 98 [Tuesday 6th of October 2026 05:43:37 PM] get_product_inventory() - END - SKU: LUC10131-4 | Total: 98 [Tuesday 6th of October 2026 05:43:37 PM] get_cf_id() - START - Product ID: 66489 [Tuesday 6th of October 2026 05:43:37 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields [Tuesday 6th of October 2026 05:43:37 PM] get_cf_id() - BigCommerce API call successful for Product ID: 66489 [Tuesday 6th of October 2026 05:43:37 PM] get_cf_id() - Custom field found for Product ID: 66489 | Field: online_stock_level | CF ID: 66379 [Tuesday 6th of October 2026 05:43:37 PM] get_cf_id() - END - Product ID: 66489 | CF ID: 66379 [Tuesday 6th of October 2026 05:43:37 PM] Updating inventory for SKU LUC10131-4 - stock: 98, CF ID: 66379 [Tuesday 6th of October 2026 05:43:37 PM] update_product_inventory() - START - Product ID: 66489 | Stock: 98 | CF ID: 66379 [Tuesday 6th of October 2026 05:43:37 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66489/custom-fields/66379 [Tuesday 6th of October 2026 05:43:38 PM] update_product_inventory() - Inventory updated successfully for Product ID: 66489 | Stock: 98 [Tuesday 6th of October 2026 05:43:38 PM] update_product_inventory() - END - Product ID: 66489 | Result: success [Tuesday 6th of October 2026 05:43:38 PM] Inventory updated for SKU: LUC10131-4 [Tuesday 6th of October 2026 05:43:38 PM] All products processed - Order details: [{"ID":"AP616","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}] [Tuesday 6th of October 2026 05:43:38 PM] Building payment record - Total: 168.4700 [Tuesday 6th of October 2026 05:43:38 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2336","ADDRESS1":"3110 E Yellowstone Hwy","ADDRESS2":"","C_ADDRESS1":"3110 E Yellowstone Hwy","C_ADDRESS2":"","C_CITY":"Casper","C_COUNTRY":"USA","C_EMAIL":"rhdmccusker314@gmail.com","C_NAME":"William Hansuld","C_STATE":"WY","C_ZIP":"82609","ShippingAmount":"29.48","CITY":"Casper","EMAIL":"rhdmccusker314@gmail.com","ID":"AP616","NAME":"William Hansuld","STATE":"WY","COUNTRY":"USA","ZIP":"82609","MEMO":"","DESCR":"BigCommerce Order - AP2336 - Customer AP616","Details":[{"ID":"AP616","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.47","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 05:43:38 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2336 [Tuesday 6th of October 2026 05:43:38 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2336%27 [Tuesday 6th of October 2026 05:43:38 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2336 [Tuesday 6th of October 2026 05:43:38 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2336 not found in EBMS [Tuesday 6th of October 2026 05:43:38 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2336 | Found: false [Tuesday 6th of October 2026 05:43:38 PM] Invoice AP2336 does not exist in EBMS - creating [Tuesday 6th of October 2026 05:43:38 PM] create_ebms_invoice() - START - Invoice: AP2336 [Tuesday 6th of October 2026 05:43:38 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2336","ADDRESS1":"3110 E Yellowstone Hwy","ADDRESS2":"","C_ADDRESS1":"3110 E Yellowstone Hwy","C_ADDRESS2":"","C_CITY":"Casper","C_COUNTRY":"USA","C_EMAIL":"rhdmccusker314@gmail.com","C_NAME":"William Hansuld","C_STATE":"WY","C_ZIP":"82609","ShippingAmount":"29.48","CITY":"Casper","EMAIL":"rhdmccusker314@gmail.com","ID":"AP616","NAME":"William Hansuld","STATE":"WY","COUNTRY":"USA","ZIP":"82609","MEMO":"","DESCR":"BigCommerce Order - AP2336 - Customer AP616","Details":[{"ID":"AP616","INVEN":"LUC10131-4","M_QUAN_VIS":1,"UNIT":"138.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.47","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 05:43:38 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 6th of October 2026 05:43:44 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2336 [Tuesday 6th of October 2026 05:43:44 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2336 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"36374f39-3055-3342-4b4f-333330303030","AUTOID":"9O76U0B3KO330000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-138.990000000000009094947017729282379150390625,"BAL_CUST_X":-138.990000000000009094947017729282379150390625,"BALANCE":-138.990000000000009094947017729282379150390625,"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":168.469999999999998863131622783839702606201171875,"TOTAL_S_SO":138.990000000000009094947017729282379150390625,"TOTAL_SO":168.469999999999998863131622783839702606201171875,"TOTAL_W":0,"TTLPROCPMT":168.469999999999998863131622783839702606201171875,"TOTAL":29.480000000000000426325641456060111522674560546875,"FREIGHT":29.480000000000000426325641456060111522674560546875,"HANDLING":0,"SHIPPING":29.480000000000000426325641456060111522674560546875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"3110 E Yellowstone Hwy","ADDRESS2":"","C_EMAIL":"rhdmccusker314@gmail.com","C_PHONE":"(307) 237-3712","CCNTCT_AID":"F5HGG1710CA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-06T00:00:00Z","CHECK_NO":" APBC","CITY":"Casper","CNTCT_AID":"F5HGG1710CA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-06T00:00:00Z","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"rhdmccusker314@gmail.com","IADDRESS":"3110 E Yellowstone Hwy , Casper, WY 82609","ID":"AP616","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-06T00:00:00Z","INVOICE":"AP2336","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"William Hansuld","PHONE":"","PROCESS":"Default","STATE":"WY","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"82609","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"3110 E Yellowstone Hwy","C_ADDRESS2":"","C_CITY":"Casper","C_COUNTRY":"USA","C_ID":"AP616","C_NAME":"William Hansuld","C_STATE":"WY","C_ZIP":"82609","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2336 - Customer AP616","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-06T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 6th of October 2026 05:43:44 PM] create_ebms_invoice() - END - Invoice: AP2336 [Tuesday 6th of October 2026 05:43:44 PM] Invoice AP2336 created successfully [Tuesday 6th of October 2026 05:43:44 PM] ORDER WEBHOOK COMPLETED - Order ID: 2336 | Invoice: AP2336 [Tuesday 6th of October 2026 08:03:39 PM] add_customer() - START - Customer ID: 617 | Name: Tores Andrey [Tuesday 6th of October 2026 08:03:39 PM] add_customer() - Customer payload: {"id":617,"email":"rgrzinic415@gmail.com","address_1":"10410 Rock Cove Lane","address_2":"","city":"Converse","state":"TX","country":"USA","zip":"78109","f_name":"Tores","l_name":"Andrey","contact_5":"rgrzinic415@gmail.com","contact_1":"2109000229","contact_4":"Tores Andrey"} [Tuesday 6th of October 2026 08:03:39 PM] add_customer() - Customer fields parsed - ID: AP617 | Address: 10410 Rock Cove Lane, Converse, TX 78109 | Email: rgrzinic415@gmail.com [Tuesday 6th of October 2026 08:03:39 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 6th of October 2026 08:03:39 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"10410 Rock Cove Lane","ADDRESS2":"","CITY":"Converse","CONTACT_5":"rgrzinic415@gmail.com","CONTACT_1":"2109000229","CONTACT_4":"Tores Andrey","COUNTRY":"USA","F_NAME":"Tores","ID":"AP617","L_NAME":"Andrey","STATE":"TX","ZIP":"78109"} [Tuesday 6th of October 2026 08:03:41 PM] add_customer() - EBMS API call successful for Customer ID: AP617 [Tuesday 6th of October 2026 08:03:41 PM] add_customer() - Customer created successfully in EBMS - ID: AP617 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"52334b55-4941-5539-4d4f-333330303030","AUTOID":"UK3RAI9UMO330000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Tores Andrey","ADDRESS1":"10410 Rock Cove Lane","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Converse","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"rgrzinic415@gmail.com","EMAIL_LIST":false,"F_NAME":"Tores","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP617","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Andrey","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Tores Andrey)","OUT_CITY":false,"PHONE":"(210) 900-0229","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"TX","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"78109","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(210) 900-0229","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Tores Andrey","CONTACT_5":"rgrzinic415@gmail.com","EXTERNALID":""} [Tuesday 6th of October 2026 08:03:41 PM] add_customer() - END - Customer ID: AP617 [Tuesday 6th of October 2026 08:04:56 PM] ORDER WEBHOOK STARTED - Order ID: 2337 [Tuesday 6th of October 2026 08:04:56 PM] Fetching customer data for Order ID: 2337 [Tuesday 6th of October 2026 08:04:56 PM] get_order_customer_data() - START - Order ID: 2337 [Tuesday 6th of October 2026 08:04:56 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2337 [Tuesday 6th of October 2026 08:04:57 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2337 [Tuesday 6th of October 2026 08:04:57 PM] get_order_customer_data() - Parsing order response for Order ID: 2337 [Tuesday 6th of October 2026 08:04:57 PM] get_order_customer_data() - Customer object built - Customer ID: 617 | Name: Tores Andrey | Email: rgrzinic415@gmail.com | Total: 148.0700 | Shipping: 28.10 [Tuesday 6th of October 2026 08:04:57 PM] get_order_customer_data() - END - Order ID: 2337 [Tuesday 6th of October 2026 08:04:57 PM] Customer data received: {"id":617,"email":"rgrzinic415@gmail.com","address_1":"10410 Rock Cove Lane","address_2":"","city":"Converse","state":"TX","country":"USA","zip":"78109","f_name":"Tores","l_name":"Andrey","contact_5":"rgrzinic415@gmail.com","contact_1":"2109000229","contact_4":"Tores Andrey"} [Tuesday 6th of October 2026 08:04:57 PM] Fetching shipping info for Order ID: 2337 [Tuesday 6th of October 2026 08:04:57 PM] get_order_shipping_info() - START - Order ID: 2337 [Tuesday 6th of October 2026 08:04:57 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2337/shipping_addresses [Tuesday 6th of October 2026 08:04:57 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2337 [Tuesday 6th of October 2026 08:04:57 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2337 | Name: Tores Andrey | Address: 10410 Rock Cove Lane, Converse, Texas, 78109 [Tuesday 6th of October 2026 08:04:57 PM] get_order_shipping_info() - END - Order ID: 2337 [Tuesday 6th of October 2026 08:04:57 PM] Shipping info received: {"id":2236,"order_id":2337,"first_name":"Tores","last_name":"Andrey","company":"","street_1":"10410 Rock Cove Lane","street_2":"","city":"Converse","zip":"78109","country":"United States","country_iso2":"US","state":"Texas","email":"rgrzinic415@gmail.com","phone":"2109000229","items_total":3,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"28.1000","cost_ex_tax":"28.1000","cost_inc_tax":"28.1000","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\/2337\/shipping_addresses\/2236\/shipping_quotes","resource":"\/orders\/2337\/shipping_addresses\/2236\/shipping_quotes"},"form_fields":[]} [Tuesday 6th of October 2026 08:04:57 PM] Resolved Customer ID: AP617 [Tuesday 6th of October 2026 08:04:57 PM] Building order object for Invoice: AP2337 [Tuesday 6th of October 2026 08:04:57 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2337","ADDRESS1":"10410 Rock Cove Lane","ADDRESS2":"","C_ADDRESS1":"10410 Rock Cove Lane","C_ADDRESS2":"","C_CITY":"Converse","C_COUNTRY":"USA","C_EMAIL":"rgrzinic415@gmail.com","C_NAME":"Tores Andrey","C_STATE":"TX","C_ZIP":"78109","ShippingAmount":"28.10","CITY":"Converse","EMAIL":"rgrzinic415@gmail.com","ID":"AP617","NAME":"Tores Andrey","STATE":"TX","COUNTRY":"USA","ZIP":"78109","MEMO":"","DESCR":"BigCommerce Order - AP2337 - Customer AP617"} [Tuesday 6th of October 2026 08:04:57 PM] Registered customer detected - checking EBMS for Customer ID: AP617 [Tuesday 6th of October 2026 08:04:57 PM] check_for_customer() - START - Customer ID: 617 [Tuesday 6th of October 2026 08:04:57 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP617%27 [Tuesday 6th of October 2026 08:04:57 PM] check_for_customer() - EBMS API call successful for Customer ID: 617 [Tuesday 6th of October 2026 08:04:57 PM] check_for_customer() - Customer ID: 617 found in EBMS [Tuesday 6th of October 2026 08:04:57 PM] check_for_customer() - END - Customer ID: 617 | Found: true [Tuesday 6th of October 2026 08:04:57 PM] Customer AP617 found in EBMS [Tuesday 6th of October 2026 08:04:57 PM] check_for_empty_info() - START - Customer ID: 617 [Tuesday 6th of October 2026 08:04:57 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP617%27 [Tuesday 6th of October 2026 08:04:57 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 617 [Tuesday 6th of October 2026 08:04:57 PM] check_for_empty_info() - Customer record found for Customer ID: 617 - Checking ADDRESS1 field [Tuesday 6th of October 2026 08:04:57 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 617 - No update needed [Tuesday 6th of October 2026 08:04:57 PM] check_for_empty_info() - END - Customer ID: 617 | Empty Info: false [Tuesday 6th of October 2026 08:04:57 PM] check_for_empty_pn() - START - Customer ID: AP617 [Tuesday 6th of October 2026 08:04:57 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP617%27 [Tuesday 6th of October 2026 08:04:58 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP617 [Tuesday 6th of October 2026 08:04:58 PM] check_for_empty_pn() - Customer record found for Customer ID: AP617 - Checking CONTACT_1 field [Tuesday 6th of October 2026 08:04:58 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP617 - Value: (210) 900-0229 - No update needed [Tuesday 6th of October 2026 08:04:58 PM] check_for_empty_pn() - END - Customer ID: AP617 | Empty PN: false [Tuesday 6th of October 2026 08:04:58 PM] Fetching products from BigCommerce for Order ID: 2337 [Tuesday 6th of October 2026 08:04:58 PM] BigCommerce API call successful for Order ID: 2337 [Tuesday 6th of October 2026 08:04:58 PM] Products received: 1 item(s) [Tuesday 6th of October 2026 08:04:58 PM] Processing product SKU: LUC10131 | Qty: 3 | Price: 39.9900 [Tuesday 6th of October 2026 08:04:58 PM] get_mpn() - START - Product ID: 66488 [Tuesday 6th of October 2026 08:04:58 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66488 [Tuesday 6th of October 2026 08:04:58 PM] get_mpn() - BigCommerce API call successful for Product ID: 66488 [Tuesday 6th of October 2026 08:04:58 PM] get_mpn() - WARNING - MPN is empty for Product ID: 66488 [Tuesday 6th of October 2026 08:04:58 PM] get_mpn() - END - Product ID: 66488 | MPN: [Tuesday 6th of October 2026 08:04:58 PM] check_for_ebms_product() - START - SKU: LUC10131 [Tuesday 6th of October 2026 08:04:58 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10131%27 [Tuesday 6th of October 2026 08:04:59 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] check_for_ebms_product() - SKU: LUC10131 found in EBMS [Tuesday 6th of October 2026 08:04:59 PM] check_for_ebms_product() - END - SKU: LUC10131 | Found: true [Tuesday 6th of October 2026 08:04:59 PM] SKU LUC10131 found in EBMS - checking prices [Tuesday 6th of October 2026 08:04:59 PM] obtain_current_prices() - START - SKU: LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] obtain_current_prices() - Checking Motorstate for SKU: LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] check_for_ms_product() - START - SKU: LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] check_for_ms_product() - SKU: LUC10131 found in Motorstate [Tuesday 6th of October 2026 08:04:59 PM] check_for_ms_product() - END - SKU: LUC10131 | Found: true [Tuesday 6th of October 2026 08:04:59 PM] obtain_current_prices() - SKU: LUC10131 found in Motorstate - Fetching prices [Tuesday 6th of October 2026 08:04:59 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10131 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10131 - Base: 39.99 | Cost: 30.76 [Tuesday 6th of October 2026 08:04:59 PM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10131 - Base: 39.99 | Cost: 30.76 [Tuesday 6th of October 2026 08:04:59 PM] obtain_current_prices() - END - SKU: LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] SKU LUC10131 has existing EBMS prices - syncing BigCommerce price back (cost: 30.76, base: 39.99) [Tuesday 6th of October 2026 08:04:59 PM] update_product_price() - START - Product ID: 66488 | Base: 39.99 | Cost: 30.76 [Tuesday 6th of October 2026 08:04:59 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66488 [Tuesday 6th of October 2026 08:04:59 PM] update_product_price() - PUT payload: {"price":39.99000000000000198951966012828052043914794921875,"cost_price":30.760000000000001563194018672220408916473388671875} [Tuesday 6th of October 2026 08:04:59 PM] update_product_price() - Attempt 1 of 6 for Product ID: 66488 [Tuesday 6th of October 2026 08:04:59 PM] update_product_price() - Price updated successfully for Product ID: 66488 - Base: 39.99 | Cost: 30.76 [Tuesday 6th of October 2026 08:04:59 PM] update_product_price() - END - Product ID: 66488 | Result: success [Tuesday 6th of October 2026 08:04:59 PM] BigCommerce price updated for Product ID: 66488 [Tuesday 6th of October 2026 08:04:59 PM] get_product_inventory() - START - SKU: LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] get_product_inventory() - Motorstate API call successful for SKU: LUC10131 [Tuesday 6th of October 2026 08:04:59 PM] get_product_inventory() - Stock found for SKU: LUC10131 - Quantity: 22 | Running Total: 22 [Tuesday 6th of October 2026 08:04:59 PM] get_product_inventory() - END - SKU: LUC10131 | Total: 22 [Tuesday 6th of October 2026 08:04:59 PM] get_cf_id() - START - Product ID: 66488 [Tuesday 6th of October 2026 08:04:59 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66488/custom-fields [Tuesday 6th of October 2026 08:04:59 PM] get_cf_id() - BigCommerce API call successful for Product ID: 66488 [Tuesday 6th of October 2026 08:04:59 PM] get_cf_id() - Custom field found for Product ID: 66488 | Field: online_stock_level | CF ID: 66378 [Tuesday 6th of October 2026 08:04:59 PM] get_cf_id() - END - Product ID: 66488 | CF ID: 66378 [Tuesday 6th of October 2026 08:04:59 PM] Updating inventory for SKU LUC10131 - stock: 22, CF ID: 66378 [Tuesday 6th of October 2026 08:04:59 PM] update_product_inventory() - START - Product ID: 66488 | Stock: 22 | CF ID: 66378 [Tuesday 6th of October 2026 08:04:59 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/66488/custom-fields/66378 [Tuesday 6th of October 2026 08:05:00 PM] update_product_inventory() - Inventory updated successfully for Product ID: 66488 | Stock: 22 [Tuesday 6th of October 2026 08:05:00 PM] update_product_inventory() - END - Product ID: 66488 | Result: success [Tuesday 6th of October 2026 08:05:00 PM] Inventory updated for SKU: LUC10131 [Tuesday 6th of October 2026 08:05:00 PM] All products processed - Order details: [{"ID":"AP617","INVEN":"LUC10131","M_QUAN_VIS":3,"UNIT":"39.99","UNIT_MEAS":"EA"}] [Tuesday 6th of October 2026 08:05:00 PM] Building payment record - Total: 148.0700 [Tuesday 6th of October 2026 08:05:00 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2337","ADDRESS1":"10410 Rock Cove Lane","ADDRESS2":"","C_ADDRESS1":"10410 Rock Cove Lane","C_ADDRESS2":"","C_CITY":"Converse","C_COUNTRY":"USA","C_EMAIL":"rgrzinic415@gmail.com","C_NAME":"Tores Andrey","C_STATE":"TX","C_ZIP":"78109","ShippingAmount":"28.10","CITY":"Converse","EMAIL":"rgrzinic415@gmail.com","ID":"AP617","NAME":"Tores Andrey","STATE":"TX","COUNTRY":"USA","ZIP":"78109","MEMO":"","DESCR":"BigCommerce Order - AP2337 - Customer AP617","Details":[{"ID":"AP617","INVEN":"LUC10131","M_QUAN_VIS":3,"UNIT":"39.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"148.07","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 08:05:00 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2337 [Tuesday 6th of October 2026 08:05:00 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2337%27 [Tuesday 6th of October 2026 08:05:00 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2337 [Tuesday 6th of October 2026 08:05:00 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2337 not found in EBMS [Tuesday 6th of October 2026 08:05:00 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2337 | Found: false [Tuesday 6th of October 2026 08:05:00 PM] Invoice AP2337 does not exist in EBMS - creating [Tuesday 6th of October 2026 08:05:00 PM] create_ebms_invoice() - START - Invoice: AP2337 [Tuesday 6th of October 2026 08:05:00 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2337","ADDRESS1":"10410 Rock Cove Lane","ADDRESS2":"","C_ADDRESS1":"10410 Rock Cove Lane","C_ADDRESS2":"","C_CITY":"Converse","C_COUNTRY":"USA","C_EMAIL":"rgrzinic415@gmail.com","C_NAME":"Tores Andrey","C_STATE":"TX","C_ZIP":"78109","ShippingAmount":"28.10","CITY":"Converse","EMAIL":"rgrzinic415@gmail.com","ID":"AP617","NAME":"Tores Andrey","STATE":"TX","COUNTRY":"USA","ZIP":"78109","MEMO":"","DESCR":"BigCommerce Order - AP2337 - Customer AP617","Details":[{"ID":"AP617","INVEN":"LUC10131","M_QUAN_VIS":3,"UNIT":"39.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"148.07","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 08:05:00 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 6th of October 2026 08:05:06 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2337 [Tuesday 6th of October 2026 08:05:06 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2337 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4e344f46-4b41-5635-4d4f-333330303030","AUTOID":"FO4NAK5VMO330000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-119.969999999999998863131622783839702606201171875,"BAL_CUST_X":-119.969999999999998863131622783839702606201171875,"BALANCE":-119.969999999999998863131622783839702606201171875,"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":148.06999999999999317878973670303821563720703125,"TOTAL_S_SO":119.969999999999998863131622783839702606201171875,"TOTAL_SO":148.06999999999999317878973670303821563720703125,"TOTAL_W":0,"TTLPROCPMT":148.06999999999999317878973670303821563720703125,"TOTAL":28.10000000000000142108547152020037174224853515625,"FREIGHT":28.10000000000000142108547152020037174224853515625,"HANDLING":0,"SHIPPING":28.10000000000000142108547152020037174224853515625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"10410 Rock Cove Lane","ADDRESS2":"","C_EMAIL":"rgrzinic415@gmail.com","C_PHONE":"(210) 900-0229","CCNTCT_AID":"EONHP7HT2CA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-06T00:00:00Z","CHECK_NO":" APBC","CITY":"Converse","CNTCT_AID":"EONHP7HT2CA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-06T00:00:00Z","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"rgrzinic415@gmail.com","IADDRESS":"10410 Rock Cove Lane , Converse, TX 78109","ID":"AP617","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-06T00:00:00Z","INVOICE":"AP2337","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Tores Andrey","PHONE":"","PROCESS":"Default","STATE":"TX","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"78109","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"10410 Rock Cove Lane","C_ADDRESS2":"","C_CITY":"Converse","C_COUNTRY":"USA","C_ID":"AP617","C_NAME":"Tores Andrey","C_STATE":"TX","C_ZIP":"78109","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2337 - Customer AP617","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-06T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 6th of October 2026 08:05:06 PM] create_ebms_invoice() - END - Invoice: AP2337 [Tuesday 6th of October 2026 08:05:06 PM] Invoice AP2337 created successfully [Tuesday 6th of October 2026 08:05:06 PM] ORDER WEBHOOK COMPLETED - Order ID: 2337 | Invoice: AP2337 [Tuesday 6th of October 2026 08:19:27 PM] add_customer() - START - Customer ID: 618 | Name: Charles Durham [Tuesday 6th of October 2026 08:19:27 PM] add_customer() - Customer payload: {"id":618,"email":"wkeller072@gmail.com","address_1":"8145 Libertytown Rd","address_2":"","city":"Berlin","state":"MD","country":"USA","zip":"21811","f_name":"Charles","l_name":"Durham","contact_5":"wkeller072@gmail.com","contact_1":"3022588900","contact_4":"Charles Durham"} [Tuesday 6th of October 2026 08:19:27 PM] add_customer() - Customer fields parsed - ID: AP618 | Address: 8145 Libertytown Rd, Berlin, MD 21811 | Email: wkeller072@gmail.com [Tuesday 6th of October 2026 08:19:27 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 6th of October 2026 08:19:27 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"8145 Libertytown Rd","ADDRESS2":"","CITY":"Berlin","CONTACT_5":"wkeller072@gmail.com","CONTACT_1":"3022588900","CONTACT_4":"Charles Durham","COUNTRY":"USA","F_NAME":"Charles","ID":"AP618","L_NAME":"Durham","STATE":"MD","ZIP":"21811"} [Tuesday 6th of October 2026 08:19:28 PM] add_customer() - EBMS API call successful for Customer ID: AP618 [Tuesday 6th of October 2026 08:19:28 PM] add_customer() - Customer created successfully in EBMS - ID: AP618 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4e333045-3039-3849-4e4f-333330303030","AUTOID":"E03N90I8NO330000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Charles Durham","ADDRESS1":"8145 Libertytown Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Berlin","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"wkeller072@gmail.com","EMAIL_LIST":false,"F_NAME":"Charles","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP618","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Durham","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Charles Durham)","OUT_CITY":false,"PHONE":"(302) 258-8900","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"MD","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"21811","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(302) 258-8900","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Charles Durham","CONTACT_5":"wkeller072@gmail.com","EXTERNALID":""} [Tuesday 6th of October 2026 08:19:28 PM] add_customer() - END - Customer ID: AP618 [Tuesday 6th of October 2026 08:22:15 PM] ORDER WEBHOOK STARTED - Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] Fetching customer data for Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] get_order_customer_data() - START - Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2344 [Tuesday 6th of October 2026 08:22:15 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] get_order_customer_data() - Parsing order response for Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] get_order_customer_data() - Customer object built - Customer ID: 618 | Name: Charles Durham | Email: wkeller072@gmail.com | Total: 161.3600 | Shipping: 37.40 [Tuesday 6th of October 2026 08:22:15 PM] get_order_customer_data() - END - Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] Customer data received: {"id":618,"email":"wkeller072@gmail.com","address_1":"8145 Libertytown Rd","address_2":"","city":"Berlin","state":"MD","country":"USA","zip":"21811","f_name":"Charles","l_name":"Durham","contact_5":"wkeller072@gmail.com","contact_1":"3022588900","contact_4":"Charles Durham"} [Tuesday 6th of October 2026 08:22:15 PM] Fetching shipping info for Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] get_order_shipping_info() - START - Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2344/shipping_addresses [Tuesday 6th of October 2026 08:22:15 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2344 | Name: Charles Durham | Address: 8145 Libertytown Rd, Berlin, Maryland, 21811 [Tuesday 6th of October 2026 08:22:15 PM] get_order_shipping_info() - END - Order ID: 2344 [Tuesday 6th of October 2026 08:22:15 PM] Shipping info received: {"id":2243,"order_id":2344,"first_name":"Charles","last_name":"Durham","company":"","street_1":"8145 Libertytown Rd","street_2":"","city":"Berlin","zip":"21811","country":"United States","country_iso2":"US","state":"Maryland","email":"wkeller072@gmail.com","phone":"3022588900","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"37.4000","cost_ex_tax":"37.4000","cost_inc_tax":"37.4000","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\/2344\/shipping_addresses\/2243\/shipping_quotes","resource":"\/orders\/2344\/shipping_addresses\/2243\/shipping_quotes"},"form_fields":[]} [Tuesday 6th of October 2026 08:22:15 PM] Resolved Customer ID: AP618 [Tuesday 6th of October 2026 08:22:15 PM] Building order object for Invoice: AP2344 [Tuesday 6th of October 2026 08:22:15 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2344","ADDRESS1":"8145 Libertytown Rd","ADDRESS2":"","C_ADDRESS1":"8145 Libertytown Rd","C_ADDRESS2":"","C_CITY":"Berlin","C_COUNTRY":"USA","C_EMAIL":"wkeller072@gmail.com","C_NAME":"Charles Durham","C_STATE":"MD","C_ZIP":"21811","ShippingAmount":"37.40","CITY":"Berlin","EMAIL":"wkeller072@gmail.com","ID":"AP618","NAME":"Charles Durham","STATE":"MD","COUNTRY":"USA","ZIP":"21811","MEMO":"","DESCR":"BigCommerce Order - AP2344 - Customer AP618"} [Tuesday 6th of October 2026 08:22:15 PM] Registered customer detected - checking EBMS for Customer ID: AP618 [Tuesday 6th of October 2026 08:22:15 PM] check_for_customer() - START - Customer ID: 618 [Tuesday 6th of October 2026 08:22:15 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP618%27 [Tuesday 6th of October 2026 08:22:15 PM] check_for_customer() - EBMS API call successful for Customer ID: 618 [Tuesday 6th of October 2026 08:22:15 PM] check_for_customer() - Customer ID: 618 found in EBMS [Tuesday 6th of October 2026 08:22:15 PM] check_for_customer() - END - Customer ID: 618 | Found: true [Tuesday 6th of October 2026 08:22:15 PM] Customer AP618 found in EBMS [Tuesday 6th of October 2026 08:22:15 PM] check_for_empty_info() - START - Customer ID: 618 [Tuesday 6th of October 2026 08:22:15 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP618%27 [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 618 [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_info() - Customer record found for Customer ID: 618 - Checking ADDRESS1 field [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 618 - No update needed [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_info() - END - Customer ID: 618 | Empty Info: false [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_pn() - START - Customer ID: AP618 [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP618%27 [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP618 [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_pn() - Customer record found for Customer ID: AP618 - Checking CONTACT_1 field [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP618 - Value: (302) 258-8900 - No update needed [Tuesday 6th of October 2026 08:22:16 PM] check_for_empty_pn() - END - Customer ID: AP618 | Empty PN: false [Tuesday 6th of October 2026 08:22:16 PM] Fetching products from BigCommerce for Order ID: 2344 [Tuesday 6th of October 2026 08:22:16 PM] BigCommerce API call successful for Order ID: 2344 [Tuesday 6th of October 2026 08:22:16 PM] Products received: 1 item(s) [Tuesday 6th of October 2026 08:22:16 PM] Processing product SKU: LUC10013-4 | Qty: 1 | Price: 123.9600 [Tuesday 6th of October 2026 08:22:16 PM] get_mpn() - START - Product ID: 64832 [Tuesday 6th of October 2026 08:22:16 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832 [Tuesday 6th of October 2026 08:22:16 PM] get_mpn() - BigCommerce API call successful for Product ID: 64832 [Tuesday 6th of October 2026 08:22:16 PM] get_mpn() - WARNING - MPN is empty for Product ID: 64832 [Tuesday 6th of October 2026 08:22:16 PM] get_mpn() - END - Product ID: 64832 | MPN: [Tuesday 6th of October 2026 08:22:16 PM] check_for_ebms_product() - START - SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:16 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10013-4%27 [Tuesday 6th of October 2026 08:22:17 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:17 PM] check_for_ebms_product() - SKU: LUC10013-4 not found in EBMS [Tuesday 6th of October 2026 08:22:17 PM] check_for_ebms_product() - END - SKU: LUC10013-4 | Found: false [Tuesday 6th of October 2026 08:22:17 PM] SKU LUC10013-4 not found in EBMS - creating new part [Tuesday 6th of October 2026 08:22:17 PM] get_product_desc() - START - Product ID: 64832 [Tuesday 6th of October 2026 08:22:17 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/64832 [Tuesday 6th of October 2026 08:22:17 PM] get_product_desc() - BigCommerce API call successful for Product ID: 64832 [Tuesday 6th of October 2026 08:22:17 PM] get_product_desc() - Description retrieved for Product ID: 64832 - Description: Fuel Additive - Upper Cylinder Lube - System Cleaner - Lubricant - 1 gal Jug - Diesel / Gas - Set of 4 [Tuesday 6th of October 2026 08:22:17 PM] get_product_desc() - END - Product ID: 64832 [Tuesday 6th of October 2026 08:22:17 PM] get_ms_product() - START - SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:17 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10013-4 [Tuesday 6th of October 2026 08:22:17 PM] get_ms_product() - Motorstate API call successful for SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:17 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: LUC10013-4 - Response: [{"Found":true,"PartNumber":"LUC10013-4","Product":{"PartNumber":"luc10013-4","VendorPartNumber":"10013","Status":1,"IsStocking":true,"ShortDescription":"Fuel Treatment Cs/4-Gal ","Quantity":12,"CustomerPrice":96.7402572,"CustomerPriceNonPromotional":96.7402572,"BasePrice":108.84,"ListPrice":123.96,"MapPrice":123.96,"IsMapRestricted":false,"CanSpecialOrder":false,"CanDropShip":false,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Tuesday 6th of October 2026 08:22:17 PM] get_ms_product() - END - SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:17 PM] MS pricing found for SKU LUC10013-4 - base: 123.96, cost: 96.7402572 [Tuesday 6th of October 2026 08:22:17 PM] create_new_part() - START - SKU: LUC10013-4 | Base: 123.96 | Cost: 96.74 | Weight: 31.4400 | MPN: [Tuesday 6th of October 2026 08:22:17 PM] create_new_part() - Description parsed - DESCR_1: Fuel Additive - Upper Cylinder Lube - System Cleaner - Lubricant - 1 gal Jug - D | DESCR_2: iesel / Gas - Set of 4 [Tuesday 6th of October 2026 08:22:17 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Tuesday 6th of October 2026 08:22:17 PM] create_new_part() - POST payload: {"ID":"LUC10013-4","DESCR_1":"Fuel Additive - Upper Cylinder Lube - System Cleaner - Lubricant - 1 gal Jug - D","DESCR_2":"iesel \/ Gas - Set of 4","DESCR_3":"Fuel Additive - Upper Cylinder Lube - System Cleaner - Lubricant - 1 gal Jug - Diesel \/ Gas - Set of 4","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"96.74","BASE":"123.96","WEIGHT":"31.4400","MFG_PART":"","TREE_ID":"603"} [Tuesday 6th of October 2026 08:22:19 PM] create_new_part() - EBMS API call successful for SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:19 PM] create_new_part() - Part created successfully in EBMS - SKU: LUC10013-4 - {"id":"LUC10013-4","cost":"96.74","base":"123.96","description":"Fuel Additive - Upper Cylinder Lube - System Cleaner - Lubricant - 1 gal Jug - Diesel \/ Gas - Set of 4","tree_id":" 603"} [Tuesday 6th of October 2026 08:22:19 PM] create_new_part() - Sending new part notification email for SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:19 PM] create_new_part() - Notification email sent successfully for SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:19 PM] create_new_part() - END - SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:19 PM] New part created in EBMS for SKU: LUC10013-4 [Tuesday 6th of October 2026 08:22:19 PM] All products processed - Order details: [{"ID":"AP618","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}] [Tuesday 6th of October 2026 08:22:19 PM] Building payment record - Total: 161.3600 [Tuesday 6th of October 2026 08:22:19 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2344","ADDRESS1":"8145 Libertytown Rd","ADDRESS2":"","C_ADDRESS1":"8145 Libertytown Rd","C_ADDRESS2":"","C_CITY":"Berlin","C_COUNTRY":"USA","C_EMAIL":"wkeller072@gmail.com","C_NAME":"Charles Durham","C_STATE":"MD","C_ZIP":"21811","ShippingAmount":"37.40","CITY":"Berlin","EMAIL":"wkeller072@gmail.com","ID":"AP618","NAME":"Charles Durham","STATE":"MD","COUNTRY":"USA","ZIP":"21811","MEMO":"","DESCR":"BigCommerce Order - AP2344 - Customer AP618","Details":[{"ID":"AP618","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"161.36","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 08:22:19 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2344 [Tuesday 6th of October 2026 08:22:19 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2344%27 [Tuesday 6th of October 2026 08:22:20 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2344 [Tuesday 6th of October 2026 08:22:20 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2344 not found in EBMS [Tuesday 6th of October 2026 08:22:20 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2344 | Found: false [Tuesday 6th of October 2026 08:22:20 PM] Invoice AP2344 does not exist in EBMS - creating [Tuesday 6th of October 2026 08:22:20 PM] create_ebms_invoice() - START - Invoice: AP2344 [Tuesday 6th of October 2026 08:22:20 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2344","ADDRESS1":"8145 Libertytown Rd","ADDRESS2":"","C_ADDRESS1":"8145 Libertytown Rd","C_ADDRESS2":"","C_CITY":"Berlin","C_COUNTRY":"USA","C_EMAIL":"wkeller072@gmail.com","C_NAME":"Charles Durham","C_STATE":"MD","C_ZIP":"21811","ShippingAmount":"37.40","CITY":"Berlin","EMAIL":"wkeller072@gmail.com","ID":"AP618","NAME":"Charles Durham","STATE":"MD","COUNTRY":"USA","ZIP":"21811","MEMO":"","DESCR":"BigCommerce Order - AP2344 - Customer AP618","Details":[{"ID":"AP618","INVEN":"LUC10013-4","M_QUAN_VIS":1,"UNIT":"123.96","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"161.36","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 6th of October 2026 08:22:20 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 6th of October 2026 08:22:24 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2344 [Tuesday 6th of October 2026 08:22:24 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2344 - Response: {"@odata.context":"http:\/\/localhost:57462\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4d564c47-5537-4144-4e4f-333330303030","AUTOID":"GLVM7UDANO330000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-123.9599999999999937472239253111183643341064453125,"BAL_CUST_X":-123.9599999999999937472239253111183643341064453125,"BALANCE":-123.9599999999999937472239253111183643341064453125,"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":161.3600000000000136424205265939235687255859375,"TOTAL_S_SO":123.9599999999999937472239253111183643341064453125,"TOTAL_SO":161.3600000000000136424205265939235687255859375,"TOTAL_W":0,"TTLPROCPMT":161.3600000000000136424205265939235687255859375,"TOTAL":37.39999999999999857891452847979962825775146484375,"FREIGHT":37.39999999999999857891452847979962825775146484375,"HANDLING":0,"SHIPPING":37.39999999999999857891452847979962825775146484375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"8145 Libertytown Rd","ADDRESS2":"","C_EMAIL":"wkeller072@gmail.com","C_PHONE":"(302) 258-8900","CCNTCT_AID":"C5NDOLP73CA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-06T00:00:00Z","CHECK_NO":" APBC","CITY":"Berlin","CNTCT_AID":"C5NDOLP73CA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-06T00:00:00Z","E_DATE":"2026-10-06T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"wkeller072@gmail.com","IADDRESS":"8145 Libertytown Rd , Berlin, MD 21811","ID":"AP618","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-06T00:00:00Z","INVOICE":"AP2344","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Charles Durham","PHONE":"","PROCESS":"Default","STATE":"MD","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"21811","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"8145 Libertytown Rd","C_ADDRESS2":"","C_CITY":"Berlin","C_COUNTRY":"USA","C_ID":"AP618","C_NAME":"Charles Durham","C_STATE":"MD","C_ZIP":"21811","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2344 - Customer AP618","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-06T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 6th of October 2026 08:22:24 PM] create_ebms_invoice() - END - Invoice: AP2344 [Tuesday 6th of October 2026 08:22:24 PM] Invoice AP2344 created successfully [Tuesday 6th of October 2026 08:22:24 PM] ORDER WEBHOOK COMPLETED - Order ID: 2344 | Invoice: AP2344