[Wednesday 30th of September 2026 12:57:36 PM] add_customer() - START - Customer ID: 607 | Name: Robert Mckee [Wednesday 30th of September 2026 12:57:36 PM] add_customer() - Customer payload: {"id":607,"email":"straphagen527@gmail.com","address_1":"16412 Trejbal Back Rd E","address_2":"","city":"Odessa","state":"WA","country":"USA","zip":"99159","f_name":"Robert","l_name":"Mckee","contact_5":"straphagen527@gmail.com","contact_1":"5093394020","contact_4":"Robert Mckee"} [Wednesday 30th of September 2026 12:57:36 PM] add_customer() - Customer fields parsed - ID: AP607 | Address: 16412 Trejbal Back Rd E, Odessa, WA 99159 | Email: straphagen527@gmail.com [Wednesday 30th of September 2026 12:57:36 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Wednesday 30th of September 2026 12:57:36 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","CITY":"Odessa","CONTACT_5":"straphagen527@gmail.com","CONTACT_1":"5093394020","CONTACT_4":"Robert Mckee","COUNTRY":"USA","F_NAME":"Robert","ID":"AP607","L_NAME":"Mckee","STATE":"WA","ZIP":"99159"} [Wednesday 30th of September 2026 12:57:39 PM] add_customer() - EBMS API call successful for Customer ID: AP607 [Wednesday 30th of September 2026 12:57:39 PM] add_customer() - Customer created successfully in EBMS - ID: AP607 - Response: {"@odata.context":"http:\/\/localhost:55966\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"39494a4e-4d42-4838-4b32-444838303030","AUTOID":"NJI9BM8HK2DH8000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Robert Mckee","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Odessa","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-30T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"straphagen527@gmail.com","EMAIL_LIST":false,"F_NAME":"Robert","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP607","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Mckee","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Robert Mckee)","OUT_CITY":false,"PHONE":"(509) 339-4020","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"WA","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"99159","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(509) 339-4020","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Robert Mckee","CONTACT_5":"straphagen527@gmail.com","EXTERNALID":""} [Wednesday 30th of September 2026 12:57:39 PM] add_customer() - END - Customer ID: AP607 [Wednesday 30th of September 2026 01:00:43 PM] ORDER WEBHOOK STARTED - Order ID: 2310 [Wednesday 30th of September 2026 01:00:43 PM] Fetching customer data for Order ID: 2310 [Wednesday 30th of September 2026 01:00:43 PM] get_order_customer_data() - START - Order ID: 2310 [Wednesday 30th of September 2026 01:00:43 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2310 [Wednesday 30th of September 2026 01:00:43 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2310 [Wednesday 30th of September 2026 01:00:43 PM] get_order_customer_data() - Parsing order response for Order ID: 2310 [Wednesday 30th of September 2026 01:00:43 PM] get_order_customer_data() - Customer object built - Customer ID: 607 | Name: Robert Mckee | Email: straphagen527@gmail.com | Total: 77.2500 | Shipping: 33.26 [Wednesday 30th of September 2026 01:00:43 PM] get_order_customer_data() - END - Order ID: 2310 [Wednesday 30th of September 2026 01:00:43 PM] Customer data received: {"id":607,"email":"straphagen527@gmail.com","address_1":"16412 Trejbal Back Rd E","address_2":"","city":"Odessa","state":"WA","country":"USA","zip":"99159","f_name":"Robert","l_name":"Mckee","contact_5":"straphagen527@gmail.com","contact_1":"5093394020","contact_4":"Robert Mckee"} [Wednesday 30th of September 2026 01:00:43 PM] Fetching shipping info for Order ID: 2310 [Wednesday 30th of September 2026 01:00:43 PM] get_order_shipping_info() - START - Order ID: 2310 [Wednesday 30th of September 2026 01:00:43 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2310/shipping_addresses [Wednesday 30th of September 2026 01:00:44 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2310 [Wednesday 30th of September 2026 01:00:44 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2310 | Name: Robert Mckee | Address: 16412 Trejbal Back Rd E, Odessa, Washington, 99159 [Wednesday 30th of September 2026 01:00:44 PM] get_order_shipping_info() - END - Order ID: 2310 [Wednesday 30th of September 2026 01:00:44 PM] Shipping info received: {"id":2209,"order_id":2310,"first_name":"Robert","last_name":"Mckee","company":"","street_1":"16412 Trejbal Back Rd E","street_2":"","city":"Odessa","zip":"99159","country":"United States","country_iso2":"US","state":"Washington","email":"straphagen527@gmail.com","phone":"5093394020","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"33.2600","cost_ex_tax":"33.2600","cost_inc_tax":"33.2600","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2310\/shipping_addresses\/2209\/shipping_quotes","resource":"\/orders\/2310\/shipping_addresses\/2209\/shipping_quotes"},"form_fields":[]} [Wednesday 30th of September 2026 01:00:44 PM] Resolved Customer ID: AP607 [Wednesday 30th of September 2026 01:00:44 PM] Building order object for Invoice: AP2310 [Wednesday 30th of September 2026 01:00:44 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2310","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","C_ADDRESS1":"16412 Trejbal Back Rd E","C_ADDRESS2":"","C_CITY":"Odessa","C_COUNTRY":"USA","C_EMAIL":"straphagen527@gmail.com","C_NAME":"Robert Mckee","C_STATE":"WA","C_ZIP":"99159","ShippingAmount":"33.26","CITY":"Odessa","EMAIL":"straphagen527@gmail.com","ID":"AP607","NAME":"Robert Mckee","STATE":"WA","COUNTRY":"USA","ZIP":"99159","MEMO":"","DESCR":"BigCommerce Order - AP2310 - Customer AP607"} [Wednesday 30th of September 2026 01:00:44 PM] Registered customer detected - checking EBMS for Customer ID: AP607 [Wednesday 30th of September 2026 01:00:44 PM] check_for_customer() - START - Customer ID: 607 [Wednesday 30th of September 2026 01:00:44 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP607%27 [Wednesday 30th of September 2026 01:00:44 PM] check_for_customer() - EBMS API call successful for Customer ID: 607 [Wednesday 30th of September 2026 01:00:44 PM] check_for_customer() - Customer ID: 607 found in EBMS [Wednesday 30th of September 2026 01:00:44 PM] check_for_customer() - END - Customer ID: 607 | Found: true [Wednesday 30th of September 2026 01:00:44 PM] Customer AP607 found in EBMS [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_info() - START - Customer ID: 607 [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP607%27 [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 607 [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_info() - Customer record found for Customer ID: 607 - Checking ADDRESS1 field [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 607 - No update needed [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_info() - END - Customer ID: 607 | Empty Info: false [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_pn() - START - Customer ID: AP607 [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP607%27 [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP607 [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_pn() - Customer record found for Customer ID: AP607 - Checking CONTACT_1 field [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP607 - Value: (509) 339-4020 - No update needed [Wednesday 30th of September 2026 01:00:44 PM] check_for_empty_pn() - END - Customer ID: AP607 | Empty PN: false [Wednesday 30th of September 2026 01:00:44 PM] Fetching products from BigCommerce for Order ID: 2310 [Wednesday 30th of September 2026 01:00:45 PM] BigCommerce API call successful for Order ID: 2310 [Wednesday 30th of September 2026 01:00:45 PM] Products received: 1 item(s) [Wednesday 30th of September 2026 01:00:45 PM] Processing product SKU: LUC10679 | Qty: 1 | Price: 43.9900 [Wednesday 30th of September 2026 01:00:45 PM] get_mpn() - START - Product ID: 65888 [Wednesday 30th of September 2026 01:00:45 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888 [Wednesday 30th of September 2026 01:00:45 PM] get_mpn() - BigCommerce API call successful for Product ID: 65888 [Wednesday 30th of September 2026 01:00:45 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65888 [Wednesday 30th of September 2026 01:00:45 PM] get_mpn() - END - Product ID: 65888 | MPN: [Wednesday 30th of September 2026 01:00:45 PM] check_for_ebms_product() - START - SKU: LUC10679 [Wednesday 30th of September 2026 01:00:45 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10679%27 [Wednesday 30th of September 2026 01:00:45 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10679 [Wednesday 30th of September 2026 01:00:45 PM] check_for_ebms_product() - SKU: LUC10679 found in EBMS [Wednesday 30th of September 2026 01:00:45 PM] check_for_ebms_product() - END - SKU: LUC10679 | Found: true [Wednesday 30th of September 2026 01:00:45 PM] SKU LUC10679 found in EBMS - checking prices [Wednesday 30th of September 2026 01:00:45 PM] obtain_current_prices() - START - SKU: LUC10679 [Wednesday 30th of September 2026 01:00:45 PM] obtain_current_prices() - Checking Motorstate for SKU: LUC10679 [Wednesday 30th of September 2026 01:00:45 PM] check_for_ms_product() - START - SKU: LUC10679 [Wednesday 30th of September 2026 01:00:45 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 30th of September 2026 01:00:46 PM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10679 [Wednesday 30th of September 2026 01:00:46 PM] check_for_ms_product() - SKU: LUC10679 found in Motorstate [Wednesday 30th of September 2026 01:00:46 PM] check_for_ms_product() - END - SKU: LUC10679 | Found: true [Wednesday 30th of September 2026 01:00:46 PM] obtain_current_prices() - SKU: LUC10679 found in Motorstate - Fetching prices [Wednesday 30th of September 2026 01:00:46 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10679 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 30th of September 2026 01:00:46 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10679 - Base: 43.99 | Cost: 33.66 [Wednesday 30th of September 2026 01:00:46 PM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10679 - Base: 43.99 | Cost: 33.66 [Wednesday 30th of September 2026 01:00:46 PM] obtain_current_prices() - END - SKU: LUC10679 [Wednesday 30th of September 2026 01:00:46 PM] SKU LUC10679 has existing EBMS prices - syncing BigCommerce price back (cost: 33.66, base: 43.99) [Wednesday 30th of September 2026 01:00:46 PM] update_product_price() - START - Product ID: 65888 | Base: 43.99 | Cost: 33.66 [Wednesday 30th of September 2026 01:00:46 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888 [Wednesday 30th of September 2026 01:00:46 PM] update_product_price() - PUT payload: {"price":43.99000000000000198951966012828052043914794921875,"cost_price":33.659999999999996589394868351519107818603515625} [Wednesday 30th of September 2026 01:00:46 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65888 [Wednesday 30th of September 2026 01:00:46 PM] update_product_price() - Price updated successfully for Product ID: 65888 - Base: 43.99 | Cost: 33.66 [Wednesday 30th of September 2026 01:00:46 PM] update_product_price() - END - Product ID: 65888 | Result: success [Wednesday 30th of September 2026 01:00:46 PM] BigCommerce price updated for Product ID: 65888 [Wednesday 30th of September 2026 01:00:46 PM] get_product_inventory() - START - SKU: LUC10679 [Wednesday 30th of September 2026 01:00:46 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 30th of September 2026 01:00:46 PM] get_product_inventory() - Motorstate API call successful for SKU: LUC10679 [Wednesday 30th of September 2026 01:00:46 PM] get_product_inventory() - Stock found for SKU: LUC10679 - Quantity: 100 | Running Total: 100 [Wednesday 30th of September 2026 01:00:46 PM] get_product_inventory() - END - SKU: LUC10679 | Total: 100 [Wednesday 30th of September 2026 01:00:46 PM] get_cf_id() - START - Product ID: 65888 [Wednesday 30th of September 2026 01:00:46 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888/custom-fields [Wednesday 30th of September 2026 01:00:46 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65888 [Wednesday 30th of September 2026 01:00:46 PM] get_cf_id() - Custom field found for Product ID: 65888 | Field: online_stock_level | CF ID: 65778 [Wednesday 30th of September 2026 01:00:46 PM] get_cf_id() - END - Product ID: 65888 | CF ID: 65778 [Wednesday 30th of September 2026 01:00:46 PM] Updating inventory for SKU LUC10679 - stock: 100, CF ID: 65778 [Wednesday 30th of September 2026 01:00:46 PM] update_product_inventory() - START - Product ID: 65888 | Stock: 100 | CF ID: 65778 [Wednesday 30th of September 2026 01:00:46 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888/custom-fields/65778 [Wednesday 30th of September 2026 01:00:47 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65888 | Stock: 100 [Wednesday 30th of September 2026 01:00:47 PM] update_product_inventory() - END - Product ID: 65888 | Result: success [Wednesday 30th of September 2026 01:00:47 PM] Inventory updated for SKU: LUC10679 [Wednesday 30th of September 2026 01:00:47 PM] All products processed - Order details: [{"ID":"AP607","INVEN":"LUC10679","M_QUAN_VIS":1,"UNIT":"43.99","UNIT_MEAS":"EA"}] [Wednesday 30th of September 2026 01:00:47 PM] Building payment record - Total: 77.2500 [Wednesday 30th of September 2026 01:00:47 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2310","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","C_ADDRESS1":"16412 Trejbal Back Rd E","C_ADDRESS2":"","C_CITY":"Odessa","C_COUNTRY":"USA","C_EMAIL":"straphagen527@gmail.com","C_NAME":"Robert Mckee","C_STATE":"WA","C_ZIP":"99159","ShippingAmount":"33.26","CITY":"Odessa","EMAIL":"straphagen527@gmail.com","ID":"AP607","NAME":"Robert Mckee","STATE":"WA","COUNTRY":"USA","ZIP":"99159","MEMO":"","DESCR":"BigCommerce Order - AP2310 - Customer AP607","Details":[{"ID":"AP607","INVEN":"LUC10679","M_QUAN_VIS":1,"UNIT":"43.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.25","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 30th of September 2026 01:00:47 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2310 [Wednesday 30th of September 2026 01:00:47 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2310%27 [Wednesday 30th of September 2026 01:00:47 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2310 [Wednesday 30th of September 2026 01:00:47 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2310 not found in EBMS [Wednesday 30th of September 2026 01:00:47 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2310 | Found: false [Wednesday 30th of September 2026 01:00:47 PM] Invoice AP2310 does not exist in EBMS - creating [Wednesday 30th of September 2026 01:00:47 PM] create_ebms_invoice() - START - Invoice: AP2310 [Wednesday 30th of September 2026 01:00:47 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2310","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","C_ADDRESS1":"16412 Trejbal Back Rd E","C_ADDRESS2":"","C_CITY":"Odessa","C_COUNTRY":"USA","C_EMAIL":"straphagen527@gmail.com","C_NAME":"Robert Mckee","C_STATE":"WA","C_ZIP":"99159","ShippingAmount":"33.26","CITY":"Odessa","EMAIL":"straphagen527@gmail.com","ID":"AP607","NAME":"Robert Mckee","STATE":"WA","COUNTRY":"USA","ZIP":"99159","MEMO":"","DESCR":"BigCommerce Order - AP2310 - Customer AP607","Details":[{"ID":"AP607","INVEN":"LUC10679","M_QUAN_VIS":1,"UNIT":"43.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.25","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 30th of September 2026 01:00:47 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 30th of September 2026 01:00:54 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2310 [Wednesday 30th of September 2026 01:00:54 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2310 - Response: {"@odata.context":"http:\/\/localhost:55966\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4945314f-5252-4a41-4b32-444838303030","AUTOID":"O1EIRRAJK2DH8000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-43.99000000000000198951966012828052043914794921875,"BAL_CUST_X":-43.99000000000000198951966012828052043914794921875,"BALANCE":-43.99000000000000198951966012828052043914794921875,"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":77.25,"TOTAL_S_SO":43.99000000000000198951966012828052043914794921875,"TOTAL_SO":77.25,"TOTAL_W":0,"TTLPROCPMT":77.25,"TOTAL":33.25999999999999801048033987171947956085205078125,"FREIGHT":33.25999999999999801048033987171947956085205078125,"HANDLING":0,"SHIPPING":33.25999999999999801048033987171947956085205078125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","C_EMAIL":"straphagen527@gmail.com","C_PHONE":"(509) 339-4020","CCNTCT_AID":"MU7T9SO8QBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-30T00:00:00Z","CHECK_NO":" APBC","CITY":"Odessa","CNTCT_AID":"MU7T9SO8QBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-30T00:00:00Z","E_DATE":"2026-09-30T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"straphagen527@gmail.com","IADDRESS":"16412 Trejbal Back Rd E , Odessa, WA 99159","ID":"AP607","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-30T00:00:00Z","INVOICE":"AP2310","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Robert Mckee","PHONE":"","PROCESS":"Default","STATE":"WA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"99159","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"16412 Trejbal Back Rd E","C_ADDRESS2":"","C_CITY":"Odessa","C_COUNTRY":"USA","C_ID":"AP607","C_NAME":"Robert Mckee","C_STATE":"WA","C_ZIP":"99159","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2310 - Customer AP607","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-30T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 30th of September 2026 01:00:54 PM] create_ebms_invoice() - END - Invoice: AP2310 [Wednesday 30th of September 2026 01:00:54 PM] Invoice AP2310 created successfully [Wednesday 30th of September 2026 01:00:54 PM] ORDER WEBHOOK COMPLETED - Order ID: 2310 | Invoice: AP2310 [Wednesday 30th of September 2026 01:01:53 PM] ORDER WEBHOOK STARTED - Order ID: 2310 [Wednesday 30th of September 2026 01:01:53 PM] Fetching customer data for Order ID: 2310 [Wednesday 30th of September 2026 01:01:53 PM] get_order_customer_data() - START - Order ID: 2310 [Wednesday 30th of September 2026 01:01:53 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2310 [Wednesday 30th of September 2026 01:01:54 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2310 [Wednesday 30th of September 2026 01:01:54 PM] get_order_customer_data() - Parsing order response for Order ID: 2310 [Wednesday 30th of September 2026 01:01:54 PM] get_order_customer_data() - Customer object built - Customer ID: 607 | Name: Robert Mckee | Email: straphagen527@gmail.com | Total: 77.2500 | Shipping: 33.26 [Wednesday 30th of September 2026 01:01:54 PM] get_order_customer_data() - END - Order ID: 2310 [Wednesday 30th of September 2026 01:01:54 PM] Customer data received: {"id":607,"email":"straphagen527@gmail.com","address_1":"16412 Trejbal Back Rd E","address_2":"","city":"Odessa","state":"WA","country":"USA","zip":"99159","f_name":"Robert","l_name":"Mckee","contact_5":"straphagen527@gmail.com","contact_1":"5093394020","contact_4":"Robert Mckee"} [Wednesday 30th of September 2026 01:01:54 PM] Fetching shipping info for Order ID: 2310 [Wednesday 30th of September 2026 01:01:54 PM] get_order_shipping_info() - START - Order ID: 2310 [Wednesday 30th of September 2026 01:01:54 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2310/shipping_addresses [Wednesday 30th of September 2026 01:01:54 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2310 [Wednesday 30th of September 2026 01:01:54 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2310 | Name: Robert Mckee | Address: 16412 Trejbal Back Rd E, Odessa, Washington, 99159 [Wednesday 30th of September 2026 01:01:54 PM] get_order_shipping_info() - END - Order ID: 2310 [Wednesday 30th of September 2026 01:01:54 PM] Shipping info received: {"id":2209,"order_id":2310,"first_name":"Robert","last_name":"Mckee","company":"","street_1":"16412 Trejbal Back Rd E","street_2":"","city":"Odessa","zip":"99159","country":"United States","country_iso2":"US","state":"Washington","email":"straphagen527@gmail.com","phone":"5093394020","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"33.2600","cost_ex_tax":"33.2600","cost_inc_tax":"33.2600","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/2310\/shipping_addresses\/2209\/shipping_quotes","resource":"\/orders\/2310\/shipping_addresses\/2209\/shipping_quotes"},"form_fields":[]} [Wednesday 30th of September 2026 01:01:54 PM] Resolved Customer ID: AP607 [Wednesday 30th of September 2026 01:01:54 PM] Building order object for Invoice: AP2310 [Wednesday 30th of September 2026 01:01:54 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2310","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","C_ADDRESS1":"16412 Trejbal Back Rd E","C_ADDRESS2":"","C_CITY":"Odessa","C_COUNTRY":"USA","C_EMAIL":"straphagen527@gmail.com","C_NAME":"Robert Mckee","C_STATE":"WA","C_ZIP":"99159","ShippingAmount":"33.26","CITY":"Odessa","EMAIL":"straphagen527@gmail.com","ID":"AP607","NAME":"Robert Mckee","STATE":"WA","COUNTRY":"USA","ZIP":"99159","MEMO":"","DESCR":"BigCommerce Order - AP2310 - Customer AP607"} [Wednesday 30th of September 2026 01:01:54 PM] Registered customer detected - checking EBMS for Customer ID: AP607 [Wednesday 30th of September 2026 01:01:54 PM] check_for_customer() - START - Customer ID: 607 [Wednesday 30th of September 2026 01:01:54 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP607%27 [Wednesday 30th of September 2026 01:01:54 PM] check_for_customer() - EBMS API call successful for Customer ID: 607 [Wednesday 30th of September 2026 01:01:54 PM] check_for_customer() - Customer ID: 607 found in EBMS [Wednesday 30th of September 2026 01:01:54 PM] check_for_customer() - END - Customer ID: 607 | Found: true [Wednesday 30th of September 2026 01:01:54 PM] Customer AP607 found in EBMS [Wednesday 30th of September 2026 01:01:54 PM] check_for_empty_info() - START - Customer ID: 607 [Wednesday 30th of September 2026 01:01:54 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP607%27 [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 607 [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_info() - Customer record found for Customer ID: 607 - Checking ADDRESS1 field [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 607 - No update needed [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_info() - END - Customer ID: 607 | Empty Info: false [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_pn() - START - Customer ID: AP607 [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP607%27 [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP607 [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_pn() - Customer record found for Customer ID: AP607 - Checking CONTACT_1 field [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP607 - Value: (509) 339-4020 - No update needed [Wednesday 30th of September 2026 01:01:55 PM] check_for_empty_pn() - END - Customer ID: AP607 | Empty PN: false [Wednesday 30th of September 2026 01:01:55 PM] Fetching products from BigCommerce for Order ID: 2310 [Wednesday 30th of September 2026 01:01:55 PM] BigCommerce API call successful for Order ID: 2310 [Wednesday 30th of September 2026 01:01:55 PM] Products received: 1 item(s) [Wednesday 30th of September 2026 01:01:55 PM] Processing product SKU: LUC10679 | Qty: 1 | Price: 43.9900 [Wednesday 30th of September 2026 01:01:55 PM] get_mpn() - START - Product ID: 65888 [Wednesday 30th of September 2026 01:01:55 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888 [Wednesday 30th of September 2026 01:01:55 PM] get_mpn() - BigCommerce API call successful for Product ID: 65888 [Wednesday 30th of September 2026 01:01:55 PM] get_mpn() - WARNING - MPN is empty for Product ID: 65888 [Wednesday 30th of September 2026 01:01:55 PM] get_mpn() - END - Product ID: 65888 | MPN: [Wednesday 30th of September 2026 01:01:55 PM] check_for_ebms_product() - START - SKU: LUC10679 [Wednesday 30th of September 2026 01:01:55 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10679%27 [Wednesday 30th of September 2026 01:01:56 PM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] check_for_ebms_product() - SKU: LUC10679 found in EBMS [Wednesday 30th of September 2026 01:01:56 PM] check_for_ebms_product() - END - SKU: LUC10679 | Found: true [Wednesday 30th of September 2026 01:01:56 PM] SKU LUC10679 found in EBMS - checking prices [Wednesday 30th of September 2026 01:01:56 PM] obtain_current_prices() - START - SKU: LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] obtain_current_prices() - Checking Motorstate for SKU: LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] check_for_ms_product() - START - SKU: LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] check_for_ms_product() - SKU: LUC10679 found in Motorstate [Wednesday 30th of September 2026 01:01:56 PM] check_for_ms_product() - END - SKU: LUC10679 | Found: true [Wednesday 30th of September 2026 01:01:56 PM] obtain_current_prices() - SKU: LUC10679 found in Motorstate - Fetching prices [Wednesday 30th of September 2026 01:01:56 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10679 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10679 - Base: 43.99 | Cost: 33.66 [Wednesday 30th of September 2026 01:01:56 PM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10679 - Base: 43.99 | Cost: 33.66 [Wednesday 30th of September 2026 01:01:56 PM] obtain_current_prices() - END - SKU: LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] SKU LUC10679 has existing EBMS prices - syncing BigCommerce price back (cost: 33.66, base: 43.99) [Wednesday 30th of September 2026 01:01:56 PM] update_product_price() - START - Product ID: 65888 | Base: 43.99 | Cost: 33.66 [Wednesday 30th of September 2026 01:01:56 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888 [Wednesday 30th of September 2026 01:01:56 PM] update_product_price() - PUT payload: {"price":43.99000000000000198951966012828052043914794921875,"cost_price":33.659999999999996589394868351519107818603515625} [Wednesday 30th of September 2026 01:01:56 PM] update_product_price() - Attempt 1 of 6 for Product ID: 65888 [Wednesday 30th of September 2026 01:01:56 PM] update_product_price() - Price updated successfully for Product ID: 65888 - Base: 43.99 | Cost: 33.66 [Wednesday 30th of September 2026 01:01:56 PM] update_product_price() - END - Product ID: 65888 | Result: success [Wednesday 30th of September 2026 01:01:56 PM] BigCommerce price updated for Product ID: 65888 [Wednesday 30th of September 2026 01:01:56 PM] get_product_inventory() - START - SKU: LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] get_product_inventory() - Motorstate API call successful for SKU: LUC10679 [Wednesday 30th of September 2026 01:01:56 PM] get_product_inventory() - Stock found for SKU: LUC10679 - Quantity: 100 | Running Total: 100 [Wednesday 30th of September 2026 01:01:56 PM] get_product_inventory() - END - SKU: LUC10679 | Total: 100 [Wednesday 30th of September 2026 01:01:56 PM] get_cf_id() - START - Product ID: 65888 [Wednesday 30th of September 2026 01:01:56 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888/custom-fields [Wednesday 30th of September 2026 01:01:57 PM] get_cf_id() - BigCommerce API call successful for Product ID: 65888 [Wednesday 30th of September 2026 01:01:57 PM] get_cf_id() - Custom field found for Product ID: 65888 | Field: online_stock_level | CF ID: 65778 [Wednesday 30th of September 2026 01:01:57 PM] get_cf_id() - END - Product ID: 65888 | CF ID: 65778 [Wednesday 30th of September 2026 01:01:57 PM] Updating inventory for SKU LUC10679 - stock: 100, CF ID: 65778 [Wednesday 30th of September 2026 01:01:57 PM] update_product_inventory() - START - Product ID: 65888 | Stock: 100 | CF ID: 65778 [Wednesday 30th of September 2026 01:01:57 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65888/custom-fields/65778 [Wednesday 30th of September 2026 01:01:57 PM] update_product_inventory() - Inventory updated successfully for Product ID: 65888 | Stock: 100 [Wednesday 30th of September 2026 01:01:57 PM] update_product_inventory() - END - Product ID: 65888 | Result: success [Wednesday 30th of September 2026 01:01:57 PM] Inventory updated for SKU: LUC10679 [Wednesday 30th of September 2026 01:01:57 PM] All products processed - Order details: [{"ID":"AP607","INVEN":"LUC10679","M_QUAN_VIS":1,"UNIT":"43.99","UNIT_MEAS":"EA"}] [Wednesday 30th of September 2026 01:01:57 PM] Building payment record - Total: 77.2500 [Wednesday 30th of September 2026 01:01:57 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2310","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","C_ADDRESS1":"16412 Trejbal Back Rd E","C_ADDRESS2":"","C_CITY":"Odessa","C_COUNTRY":"USA","C_EMAIL":"straphagen527@gmail.com","C_NAME":"Robert Mckee","C_STATE":"WA","C_ZIP":"99159","ShippingAmount":"33.26","CITY":"Odessa","EMAIL":"straphagen527@gmail.com","ID":"AP607","NAME":"Robert Mckee","STATE":"WA","COUNTRY":"USA","ZIP":"99159","MEMO":"","DESCR":"BigCommerce Order - AP2310 - Customer AP607","Details":[{"ID":"AP607","INVEN":"LUC10679","M_QUAN_VIS":1,"UNIT":"43.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.25","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 30th of September 2026 01:01:57 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2310 [Wednesday 30th of September 2026 01:01:57 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2310%27 [Wednesday 30th of September 2026 01:01:58 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2310 [Wednesday 30th of September 2026 01:01:58 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2310 found in EBMS [Wednesday 30th of September 2026 01:01:58 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2310 | Found: true [Wednesday 30th of September 2026 01:01:58 PM] Invoice AP2310 already exists in EBMS - patching [Wednesday 30th of September 2026 01:01:58 PM] patch_ebms_invoice() - START - Invoice: AP2310 [Wednesday 30th of September 2026 01:01:58 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2310","ADDRESS1":"16412 Trejbal Back Rd E","ADDRESS2":"","C_ADDRESS1":"16412 Trejbal Back Rd E","C_ADDRESS2":"","C_CITY":"Odessa","C_COUNTRY":"USA","C_EMAIL":"straphagen527@gmail.com","C_NAME":"Robert Mckee","C_STATE":"WA","C_ZIP":"99159","ShippingAmount":"33.26","CITY":"Odessa","EMAIL":"straphagen527@gmail.com","ID":"AP607","NAME":"Robert Mckee","STATE":"WA","COUNTRY":"USA","ZIP":"99159","MEMO":"","DESCR":"BigCommerce Order - AP2310 - Customer AP607","Details":[{"ID":"AP607","INVEN":"LUC10679","M_QUAN_VIS":1,"UNIT":"43.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.25","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 30th of September 2026 01:01:58 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2310%27 [Wednesday 30th of September 2026 01:01:58 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2310 [Wednesday 30th of September 2026 01:01:58 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2310 [Wednesday 30th of September 2026 01:01:58 PM] patch_ebms_invoice() - END - Invoice: AP2310 [Wednesday 30th of September 2026 01:01:58 PM] Invoice AP2310 patched successfully [Wednesday 30th of September 2026 01:01:58 PM] ORDER WEBHOOK COMPLETED - Order ID: 2310 | Invoice: AP2310