[Monday 7th of September 2026 07:55:01 AM] ORDER WEBHOOK STARTED - Order ID: 2207 [Monday 7th of September 2026 07:55:01 AM] Fetching customer data for Order ID: 2207 [Monday 7th of September 2026 07:55:01 AM] get_order_customer_data() - START - Order ID: 2207 [Monday 7th of September 2026 07:55:01 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2207 [Monday 7th of September 2026 07:55:01 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2207 [Monday 7th of September 2026 07:55:01 AM] get_order_customer_data() - Parsing order response for Order ID: 2207 [Monday 7th of September 2026 07:55:01 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: connie dote | Email: drag1359@frontiernet.net | Total: 124.0400 | Shipping: 28.10 [Monday 7th of September 2026 07:55:01 AM] get_order_customer_data() - END - Order ID: 2207 [Monday 7th of September 2026 07:55:01 AM] Customer data received: {"id":0,"email":"drag1359@frontiernet.net","address_1":"1511 Beaver Creek Rd","address_2":"","city":"West Edmeston","state":"NY","country":"USA","zip":"13485-2705","f_name":"connie","l_name":"dote","contact_5":"drag1359@frontiernet.net","contact_1":"13158995813","contact_4":"connie dote"} [Monday 7th of September 2026 07:55:01 AM] Fetching shipping info for Order ID: 2207 [Monday 7th of September 2026 07:55:01 AM] get_order_shipping_info() - START - Order ID: 2207 [Monday 7th of September 2026 07:55:01 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2207/shipping_addresses [Monday 7th of September 2026 07:55:02 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2207 [Monday 7th of September 2026 07:55:02 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2207 | Name: connie dote | Address: 1511 Beaver Creek Rd, West Edmeston, New York, 13485-2705 [Monday 7th of September 2026 07:55:02 AM] get_order_shipping_info() - END - Order ID: 2207 [Monday 7th of September 2026 07:55:02 AM] Shipping info received: {"id":2106,"order_id":2207,"first_name":"connie","last_name":"dote","company":"","street_1":"1511 Beaver Creek Rd","street_2":"","city":"West Edmeston","zip":"13485-2705","country":"United States","country_iso2":"US","state":"New York","email":"drag1359@frontiernet.net","phone":"13158995813","items_total":6,"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\/2207\/shipping_addresses\/2106\/shipping_quotes","resource":"\/orders\/2207\/shipping_addresses\/2106\/shipping_quotes"},"form_fields":[]} [Monday 7th of September 2026 07:55:02 AM] Resolved Customer ID: APONLINE [Monday 7th of September 2026 07:55:02 AM] Building order object for Invoice: AP2207 [Monday 7th of September 2026 07:55:02 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2207","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","C_ADDRESS1":"1511 Beaver Creek Rd","C_ADDRESS2":"","C_CITY":"West Edmeston","C_COUNTRY":"USA","C_EMAIL":"drag1359@frontiernet.net","C_NAME":"connie dote","C_STATE":"NY","C_ZIP":"13485-2705","ShippingAmount":"28.10","CITY":"West Edmeston","EMAIL":"drag1359@frontiernet.net","ID":"APONLINE","NAME":"connie dote","STATE":"NY","COUNTRY":"USA","ZIP":"13485-2705","MEMO":"","DESCR":"BigCommerce Order - AP2207 - Customer APONLINE"} [Monday 7th of September 2026 07:55:02 AM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 7th of September 2026 07:55:02 AM] Fetching products from BigCommerce for Order ID: 2207 [Monday 7th of September 2026 07:55:02 AM] BigCommerce API call successful for Order ID: 2207 [Monday 7th of September 2026 07:55:02 AM] Products received: 1 item(s) [Monday 7th of September 2026 07:55:02 AM] Processing product SKU: LUC10476 | Qty: 6 | Price: 15.9900 [Monday 7th of September 2026 07:55:02 AM] get_mpn() - START - Product ID: 65864 [Monday 7th of September 2026 07:55:02 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65864 [Monday 7th of September 2026 07:55:02 AM] get_mpn() - BigCommerce API call successful for Product ID: 65864 [Monday 7th of September 2026 07:55:02 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65864 [Monday 7th of September 2026 07:55:02 AM] get_mpn() - END - Product ID: 65864 | MPN: [Monday 7th of September 2026 07:55:02 AM] check_for_ebms_product() - START - SKU: LUC10476 [Monday 7th of September 2026 07:55:02 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10476%27 [Monday 7th of September 2026 07:55:05 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10476 [Monday 7th of September 2026 07:55:05 AM] check_for_ebms_product() - SKU: LUC10476 found in EBMS [Monday 7th of September 2026 07:55:05 AM] check_for_ebms_product() - END - SKU: LUC10476 | Found: true [Monday 7th of September 2026 07:55:05 AM] SKU LUC10476 found in EBMS - checking prices [Monday 7th of September 2026 07:55:05 AM] obtain_current_prices() - START - SKU: LUC10476 [Monday 7th of September 2026 07:55:05 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC10476 [Monday 7th of September 2026 07:55:05 AM] check_for_ms_product() - START - SKU: LUC10476 [Monday 7th of September 2026 07:55:05 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10476 [Monday 7th of September 2026 07:55:05 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10476 [Monday 7th of September 2026 07:55:05 AM] check_for_ms_product() - SKU: LUC10476 found in Motorstate [Monday 7th of September 2026 07:55:05 AM] check_for_ms_product() - END - SKU: LUC10476 | Found: true [Monday 7th of September 2026 07:55:05 AM] obtain_current_prices() - SKU: LUC10476 found in Motorstate - Fetching prices [Monday 7th of September 2026 07:55:05 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10476 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10476 [Monday 7th of September 2026 07:55:05 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10476 - Base: 15.99 | Cost: 11.01 [Monday 7th of September 2026 07:55:05 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10476 - Base: 15.99 | Cost: 11.01 [Monday 7th of September 2026 07:55:05 AM] obtain_current_prices() - END - SKU: LUC10476 [Monday 7th of September 2026 07:55:05 AM] SKU LUC10476 has existing EBMS prices - syncing BigCommerce price back (cost: 11.01, base: 15.99) [Monday 7th of September 2026 07:55:05 AM] update_product_price() - START - Product ID: 65864 | Base: 15.99 | Cost: 11.01 [Monday 7th of September 2026 07:55:05 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65864 [Monday 7th of September 2026 07:55:05 AM] update_product_price() - PUT payload: {"price":15.9900000000000002131628207280300557613372802734375,"cost_price":11.0099999999999997868371792719699442386627197265625} [Monday 7th of September 2026 07:55:05 AM] update_product_price() - Attempt 1 of 6 for Product ID: 65864 [Monday 7th of September 2026 07:55:06 AM] update_product_price() - Price updated successfully for Product ID: 65864 - Base: 15.99 | Cost: 11.01 [Monday 7th of September 2026 07:55:06 AM] update_product_price() - END - Product ID: 65864 | Result: success [Monday 7th of September 2026 07:55:06 AM] BigCommerce price updated for Product ID: 65864 [Monday 7th of September 2026 07:55:06 AM] get_product_inventory() - START - SKU: LUC10476 [Monday 7th of September 2026 07:55:06 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10476 [Monday 7th of September 2026 07:55:06 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC10476 [Monday 7th of September 2026 07:55:06 AM] get_product_inventory() - Stock found for SKU: LUC10476 - Quantity: 0 | Running Total: 0 [Monday 7th of September 2026 07:55:06 AM] get_product_inventory() - END - SKU: LUC10476 | Total: 0 [Monday 7th of September 2026 07:55:06 AM] get_cf_id() - START - Product ID: 65864 [Monday 7th of September 2026 07:55:06 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65864/custom-fields [Monday 7th of September 2026 07:55:06 AM] get_cf_id() - BigCommerce API call successful for Product ID: 65864 [Monday 7th of September 2026 07:55:06 AM] get_cf_id() - Custom field found for Product ID: 65864 | Field: online_stock_level | CF ID: 65754 [Monday 7th of September 2026 07:55:06 AM] get_cf_id() - END - Product ID: 65864 | CF ID: 65754 [Monday 7th of September 2026 07:55:06 AM] Updating inventory for SKU LUC10476 - stock: 0, CF ID: 65754 [Monday 7th of September 2026 07:55:06 AM] update_product_inventory() - START - Product ID: 65864 | Stock: 0 | CF ID: 65754 [Monday 7th of September 2026 07:55:06 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65864/custom-fields/65754 [Monday 7th of September 2026 07:55:06 AM] update_product_inventory() - Inventory updated successfully for Product ID: 65864 | Stock: 0 [Monday 7th of September 2026 07:55:06 AM] update_product_inventory() - END - Product ID: 65864 | Result: success [Monday 7th of September 2026 07:55:06 AM] Inventory updated for SKU: LUC10476 [Monday 7th of September 2026 07:55:06 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"LUC10476","M_QUAN_VIS":6,"UNIT":"15.99","UNIT_MEAS":"EA"}] [Monday 7th of September 2026 07:55:06 AM] Building payment record - Total: 124.0400 [Monday 7th of September 2026 07:55:06 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2207","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","C_ADDRESS1":"1511 Beaver Creek Rd","C_ADDRESS2":"","C_CITY":"West Edmeston","C_COUNTRY":"USA","C_EMAIL":"drag1359@frontiernet.net","C_NAME":"connie dote","C_STATE":"NY","C_ZIP":"13485-2705","ShippingAmount":"28.10","CITY":"West Edmeston","EMAIL":"drag1359@frontiernet.net","ID":"APONLINE","NAME":"connie dote","STATE":"NY","COUNTRY":"USA","ZIP":"13485-2705","MEMO":"","DESCR":"BigCommerce Order - AP2207 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"LUC10476","M_QUAN_VIS":6,"UNIT":"15.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"124.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 7th of September 2026 07:55:06 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2207 [Monday 7th of September 2026 07:55:06 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2207%27 [Monday 7th of September 2026 07:55:07 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2207 [Monday 7th of September 2026 07:55:07 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2207 not found in EBMS [Monday 7th of September 2026 07:55:07 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2207 | Found: false [Monday 7th of September 2026 07:55:07 AM] Invoice AP2207 does not exist in EBMS - creating [Monday 7th of September 2026 07:55:07 AM] create_ebms_invoice() - START - Invoice: AP2207 [Monday 7th of September 2026 07:55:07 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2207","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","C_ADDRESS1":"1511 Beaver Creek Rd","C_ADDRESS2":"","C_CITY":"West Edmeston","C_COUNTRY":"USA","C_EMAIL":"drag1359@frontiernet.net","C_NAME":"connie dote","C_STATE":"NY","C_ZIP":"13485-2705","ShippingAmount":"28.10","CITY":"West Edmeston","EMAIL":"drag1359@frontiernet.net","ID":"APONLINE","NAME":"connie dote","STATE":"NY","COUNTRY":"USA","ZIP":"13485-2705","MEMO":"","DESCR":"BigCommerce Order - AP2207 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"LUC10476","M_QUAN_VIS":6,"UNIT":"15.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"124.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 7th of September 2026 07:55:07 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 7th of September 2026 07:55:13 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2207 [Monday 7th of September 2026 07:55:13 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2207 - Response: {"@odata.context":"http:\/\/localhost:61082\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4d4a324c-4446-3446-4842-374c42303030","AUTOID":"L2JMFDF4HB7LB000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-95.93999999999999772626324556767940521240234375,"BAL_CUST_X":-95.93999999999999772626324556767940521240234375,"BALANCE":-95.93999999999999772626324556767940521240234375,"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":124.0400000000000062527760746888816356658935546875,"TOTAL_S_SO":95.93999999999999772626324556767940521240234375,"TOTAL_SO":124.0400000000000062527760746888816356658935546875,"TOTAL_W":0,"TTLPROCPMT":124.0400000000000062527760746888816356658935546875,"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":"1511 Beaver Creek Rd","ADDRESS2":"","C_EMAIL":"drag1359@frontiernet.net","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-07T00:00:00Z","CHECK_NO":" APBC","CITY":"West Edmeston","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-07T00:00:00Z","E_DATE":"2026-09-07T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"drag1359@frontiernet.net","IADDRESS":"1511 Beaver Creek Rd , West Edmeston, NY 13485-2705","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-07T00:00:00Z","INVOICE":"AP2207","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"connie dote","PHONE":"","PROCESS":"Default","STATE":"NY","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"13485-2705","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1511 Beaver Creek Rd","C_ADDRESS2":"","C_CITY":"West Edmeston","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"connie dote","C_STATE":"NY","C_ZIP":"13485-2705","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2207 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-07T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 7th of September 2026 07:55:13 AM] create_ebms_invoice() - END - Invoice: AP2207 [Monday 7th of September 2026 07:55:13 AM] Invoice AP2207 created successfully [Monday 7th of September 2026 07:55:13 AM] ORDER WEBHOOK COMPLETED - Order ID: 2207 | Invoice: AP2207 [Monday 7th of September 2026 07:56:11 AM] ORDER WEBHOOK STARTED - Order ID: 2207 [Monday 7th of September 2026 07:56:11 AM] Fetching customer data for Order ID: 2207 [Monday 7th of September 2026 07:56:11 AM] get_order_customer_data() - START - Order ID: 2207 [Monday 7th of September 2026 07:56:11 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2207 [Monday 7th of September 2026 07:56:11 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2207 [Monday 7th of September 2026 07:56:11 AM] get_order_customer_data() - Parsing order response for Order ID: 2207 [Monday 7th of September 2026 07:56:11 AM] get_order_customer_data() - Customer object built - Customer ID: 552 | Name: connie dote | Email: drag1359@frontiernet.net | Total: 124.0400 | Shipping: 28.10 [Monday 7th of September 2026 07:56:11 AM] get_order_customer_data() - END - Order ID: 2207 [Monday 7th of September 2026 07:56:11 AM] Customer data received: {"id":552,"email":"drag1359@frontiernet.net","address_1":"1511 Beaver Creek Rd","address_2":"","city":"West Edmeston","state":"NY","country":"USA","zip":"13485-2705","f_name":"connie","l_name":"dote","contact_5":"drag1359@frontiernet.net","contact_1":"13158995813","contact_4":"connie dote"} [Monday 7th of September 2026 07:56:11 AM] Fetching shipping info for Order ID: 2207 [Monday 7th of September 2026 07:56:11 AM] get_order_shipping_info() - START - Order ID: 2207 [Monday 7th of September 2026 07:56:11 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2207/shipping_addresses [Monday 7th of September 2026 07:56:12 AM] add_customer() - START - Customer ID: 552 | Name: connie dote [Monday 7th of September 2026 07:56:12 AM] add_customer() - Customer payload: {"id":552,"email":"drag1359@frontiernet.net","address_1":"1511 Beaver Creek Rd","address_2":"","city":"West Edmeston","state":"NY","country":"USA","zip":"13485-2705","f_name":"connie","l_name":"dote","contact_5":"drag1359@frontiernet.net","contact_1":"13158995813","contact_4":"connie dote"} [Monday 7th of September 2026 07:56:12 AM] add_customer() - Customer fields parsed - ID: AP552 | Address: 1511 Beaver Creek Rd, West Edmeston, NY 13485-2705 | Email: drag1359@frontiernet.net [Monday 7th of September 2026 07:56:12 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 7th of September 2026 07:56:12 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","CITY":"West Edmeston","CONTACT_5":"drag1359@frontiernet.net","CONTACT_1":"13158995813","CONTACT_4":"connie dote","COUNTRY":"USA","F_NAME":"connie","ID":"AP552","L_NAME":"dote","STATE":"NY","ZIP":"13485-2705"} [Monday 7th of September 2026 07:56:12 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2207 [Monday 7th of September 2026 07:56:12 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2207 | Name: connie dote | Address: 1511 Beaver Creek Rd, West Edmeston, New York, 13485-2705 [Monday 7th of September 2026 07:56:12 AM] get_order_shipping_info() - END - Order ID: 2207 [Monday 7th of September 2026 07:56:12 AM] Shipping info received: {"id":2106,"order_id":2207,"first_name":"connie","last_name":"dote","company":"","street_1":"1511 Beaver Creek Rd","street_2":"","city":"West Edmeston","zip":"13485-2705","country":"United States","country_iso2":"US","state":"New York","email":"drag1359@frontiernet.net","phone":"13158995813","items_total":6,"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\/2207\/shipping_addresses\/2106\/shipping_quotes","resource":"\/orders\/2207\/shipping_addresses\/2106\/shipping_quotes"},"form_fields":[]} [Monday 7th of September 2026 07:56:12 AM] Resolved Customer ID: AP552 [Monday 7th of September 2026 07:56:12 AM] Building order object for Invoice: AP2207 [Monday 7th of September 2026 07:56:12 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2207","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","C_ADDRESS1":"1511 Beaver Creek Rd","C_ADDRESS2":"","C_CITY":"West Edmeston","C_COUNTRY":"USA","C_EMAIL":"drag1359@frontiernet.net","C_NAME":"connie dote","C_STATE":"NY","C_ZIP":"13485-2705","ShippingAmount":"28.10","CITY":"West Edmeston","EMAIL":"drag1359@frontiernet.net","ID":"AP552","NAME":"connie dote","STATE":"NY","COUNTRY":"USA","ZIP":"13485-2705","MEMO":"","DESCR":"BigCommerce Order - AP2207 - Customer AP552"} [Monday 7th of September 2026 07:56:12 AM] Registered customer detected - checking EBMS for Customer ID: AP552 [Monday 7th of September 2026 07:56:12 AM] check_for_customer() - START - Customer ID: 552 [Monday 7th of September 2026 07:56:12 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP552%27 [Monday 7th of September 2026 07:56:12 AM] check_for_customer() - EBMS API call successful for Customer ID: 552 [Monday 7th of September 2026 07:56:12 AM] check_for_customer() - Customer ID: 552 not found in EBMS [Monday 7th of September 2026 07:56:12 AM] check_for_customer() - END - Customer ID: 552 | Found: false [Monday 7th of September 2026 07:56:12 AM] Customer AP552 not found in EBMS - creating new customer record [Monday 7th of September 2026 07:56:12 AM] add_customer() - START - Customer ID: 552 | Name: connie dote [Monday 7th of September 2026 07:56:12 AM] add_customer() - Customer payload: {"id":552,"email":"drag1359@frontiernet.net","address_1":"1511 Beaver Creek Rd","address_2":"","city":"West Edmeston","state":"NY","country":"USA","zip":"13485-2705","f_name":"connie","l_name":"dote","contact_5":"drag1359@frontiernet.net","contact_1":"13158995813","contact_4":"connie dote"} [Monday 7th of September 2026 07:56:12 AM] add_customer() - Customer fields parsed - ID: AP552 | Address: 1511 Beaver Creek Rd, West Edmeston, NY 13485-2705 | Email: drag1359@frontiernet.net [Monday 7th of September 2026 07:56:12 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 7th of September 2026 07:56:12 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","CITY":"West Edmeston","CONTACT_5":"drag1359@frontiernet.net","CONTACT_1":"13158995813","CONTACT_4":"connie dote","COUNTRY":"USA","F_NAME":"connie","ID":"AP552","L_NAME":"dote","STATE":"NY","ZIP":"13485-2705"} [Monday 7th of September 2026 07:56:14 AM] add_customer() - EBMS API call successful for Customer ID: AP552 [Monday 7th of September 2026 07:56:14 AM] add_customer() - Customer created successfully in EBMS - ID: AP552 - Response: {"Messages":[{"Id":"SavingAborted","Severity":"Error","BriefDescription":"Saving has been aborted","Solution":"Please take care of messages before saving","Detail":"There is 1 message that is not resolved:\n\r\nERROR 1: Error #: -930\r\nError #: 92701\r\nUnexpected Parameter\r\nd4lock\nDetails:\nAn error occurred while saving Customer: $\r\nAn unrecoverable error has occurred. Your changes have not been saved.\r\n\r\n==========================================\r\n\r\nError #: -340\r\nError #: 91103\r\nUnique Key Error\r\nd4append\r\n\r\n\r\n\r\n==========================================\r\n\r\nError #: -930\r\nError #: 92701\r\nUnexpected Parameter\r\nd4lock\r\n\r\n","TextBriefDescription":"Saving has been aborted","TextSolution":"Please take care of messages before saving","TextDetail":"There is 1 message that is not resolved:\n\r\nERROR 1: Error #: -930\r\nError #: 92701\r\nUnexpected Parameter\r\nd4lock\nDetails:\nAn error occurred while saving Customer: $\r\nAn unrecoverable error has occurred. Your changes have not been saved.\r\n\r\n==========================================\r\n\r\nError #: -340\r\nError #: 91103\r\nUnique Key Error\r\nd4append\r\n\r\n\r\n\r\n==========================================\r\n\r\nError #: -930\r\nError #: 92701\r\nUnexpected Parameter\r\nd4lock\r\n\r\n","InitiatingEntity":null,"InitiatingProperty":null}]} [Monday 7th of September 2026 07:56:14 AM] add_customer() - END - Customer ID: AP552 [Monday 7th of September 2026 07:56:14 AM] New customer record created for AP552 [Monday 7th of September 2026 07:56:14 AM] Fetching products from BigCommerce for Order ID: 2207 [Monday 7th of September 2026 07:56:14 AM] add_customer() - EBMS API call successful for Customer ID: AP552 [Monday 7th of September 2026 07:56:14 AM] add_customer() - Customer created successfully in EBMS - ID: AP552 - Response: {"@odata.context":"http:\/\/localhost:61082\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"484b4234-5533-3535-4842-374c42303030","AUTOID":"4BKH3U55HB7LB000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"connie dote","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"West Edmeston","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-07T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"drag1359@frontiernet.net","EMAIL_LIST":false,"F_NAME":"connie","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP552","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"dote","MAIL_LIST":false,"MEMO":"","NAMESTR":"(connie dote)","OUT_CITY":false,"PHONE":"1 (315) 899-5813","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"NY","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"13485-2705","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"1 (315) 899-5813","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"connie dote","CONTACT_5":"drag1359@frontiernet.net","EXTERNALID":""} [Monday 7th of September 2026 07:56:14 AM] add_customer() - END - Customer ID: AP552 [Monday 7th of September 2026 07:56:15 AM] BigCommerce API call successful for Order ID: 2207 [Monday 7th of September 2026 07:56:15 AM] Products received: 1 item(s) [Monday 7th of September 2026 07:56:15 AM] Processing product SKU: LUC10476 | Qty: 6 | Price: 15.9900 [Monday 7th of September 2026 07:56:15 AM] get_mpn() - START - Product ID: 65864 [Monday 7th of September 2026 07:56:15 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65864 [Monday 7th of September 2026 07:56:15 AM] get_mpn() - BigCommerce API call successful for Product ID: 65864 [Monday 7th of September 2026 07:56:15 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65864 [Monday 7th of September 2026 07:56:15 AM] get_mpn() - END - Product ID: 65864 | MPN: [Monday 7th of September 2026 07:56:15 AM] check_for_ebms_product() - START - SKU: LUC10476 [Monday 7th of September 2026 07:56:15 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10476%27 [Monday 7th of September 2026 07:56:15 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10476 [Monday 7th of September 2026 07:56:15 AM] check_for_ebms_product() - SKU: LUC10476 found in EBMS [Monday 7th of September 2026 07:56:15 AM] check_for_ebms_product() - END - SKU: LUC10476 | Found: true [Monday 7th of September 2026 07:56:15 AM] SKU LUC10476 found in EBMS - checking prices [Monday 7th of September 2026 07:56:15 AM] obtain_current_prices() - START - SKU: LUC10476 [Monday 7th of September 2026 07:56:15 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC10476 [Monday 7th of September 2026 07:56:15 AM] check_for_ms_product() - START - SKU: LUC10476 [Monday 7th of September 2026 07:56:15 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10476 [Monday 7th of September 2026 07:56:15 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10476 [Monday 7th of September 2026 07:56:15 AM] check_for_ms_product() - SKU: LUC10476 found in Motorstate [Monday 7th of September 2026 07:56:15 AM] check_for_ms_product() - END - SKU: LUC10476 | Found: true [Monday 7th of September 2026 07:56:15 AM] obtain_current_prices() - SKU: LUC10476 found in Motorstate - Fetching prices [Monday 7th of September 2026 07:56:15 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10476 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10476 [Monday 7th of September 2026 07:56:15 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10476 - Base: 15.99 | Cost: 11.01 [Monday 7th of September 2026 07:56:15 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10476 - Base: 15.99 | Cost: 11.01 [Monday 7th of September 2026 07:56:15 AM] obtain_current_prices() - END - SKU: LUC10476 [Monday 7th of September 2026 07:56:15 AM] SKU LUC10476 has existing EBMS prices - syncing BigCommerce price back (cost: 11.01, base: 15.99) [Monday 7th of September 2026 07:56:15 AM] update_product_price() - START - Product ID: 65864 | Base: 15.99 | Cost: 11.01 [Monday 7th of September 2026 07:56:15 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65864 [Monday 7th of September 2026 07:56:15 AM] update_product_price() - PUT payload: {"price":15.9900000000000002131628207280300557613372802734375,"cost_price":11.0099999999999997868371792719699442386627197265625} [Monday 7th of September 2026 07:56:15 AM] update_product_price() - Attempt 1 of 6 for Product ID: 65864 [Monday 7th of September 2026 07:56:16 AM] update_product_price() - Price updated successfully for Product ID: 65864 - Base: 15.99 | Cost: 11.01 [Monday 7th of September 2026 07:56:16 AM] update_product_price() - END - Product ID: 65864 | Result: success [Monday 7th of September 2026 07:56:16 AM] BigCommerce price updated for Product ID: 65864 [Monday 7th of September 2026 07:56:16 AM] get_product_inventory() - START - SKU: LUC10476 [Monday 7th of September 2026 07:56:16 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10476 [Monday 7th of September 2026 07:56:16 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC10476 [Monday 7th of September 2026 07:56:16 AM] get_product_inventory() - Stock found for SKU: LUC10476 - Quantity: 0 | Running Total: 0 [Monday 7th of September 2026 07:56:16 AM] get_product_inventory() - END - SKU: LUC10476 | Total: 0 [Monday 7th of September 2026 07:56:16 AM] get_cf_id() - START - Product ID: 65864 [Monday 7th of September 2026 07:56:16 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65864/custom-fields [Monday 7th of September 2026 07:56:16 AM] get_cf_id() - BigCommerce API call successful for Product ID: 65864 [Monday 7th of September 2026 07:56:16 AM] get_cf_id() - Custom field found for Product ID: 65864 | Field: online_stock_level | CF ID: 65754 [Monday 7th of September 2026 07:56:16 AM] get_cf_id() - END - Product ID: 65864 | CF ID: 65754 [Monday 7th of September 2026 07:56:16 AM] Updating inventory for SKU LUC10476 - stock: 0, CF ID: 65754 [Monday 7th of September 2026 07:56:16 AM] update_product_inventory() - START - Product ID: 65864 | Stock: 0 | CF ID: 65754 [Monday 7th of September 2026 07:56:16 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65864/custom-fields/65754 [Monday 7th of September 2026 07:56:16 AM] update_product_inventory() - Inventory updated successfully for Product ID: 65864 | Stock: 0 [Monday 7th of September 2026 07:56:16 AM] update_product_inventory() - END - Product ID: 65864 | Result: success [Monday 7th of September 2026 07:56:16 AM] Inventory updated for SKU: LUC10476 [Monday 7th of September 2026 07:56:16 AM] All products processed - Order details: [{"ID":"AP552","INVEN":"LUC10476","M_QUAN_VIS":6,"UNIT":"15.99","UNIT_MEAS":"EA"}] [Monday 7th of September 2026 07:56:16 AM] Building payment record - Total: 124.0400 [Monday 7th of September 2026 07:56:16 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2207","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","C_ADDRESS1":"1511 Beaver Creek Rd","C_ADDRESS2":"","C_CITY":"West Edmeston","C_COUNTRY":"USA","C_EMAIL":"drag1359@frontiernet.net","C_NAME":"connie dote","C_STATE":"NY","C_ZIP":"13485-2705","ShippingAmount":"28.10","CITY":"West Edmeston","EMAIL":"drag1359@frontiernet.net","ID":"AP552","NAME":"connie dote","STATE":"NY","COUNTRY":"USA","ZIP":"13485-2705","MEMO":"","DESCR":"BigCommerce Order - AP2207 - Customer AP552","Details":[{"ID":"AP552","INVEN":"LUC10476","M_QUAN_VIS":6,"UNIT":"15.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"124.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 7th of September 2026 07:56:16 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2207 [Monday 7th of September 2026 07:56:16 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2207%27 [Monday 7th of September 2026 07:56:17 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2207 [Monday 7th of September 2026 07:56:17 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2207 found in EBMS [Monday 7th of September 2026 07:56:17 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2207 | Found: true [Monday 7th of September 2026 07:56:17 AM] Invoice AP2207 already exists in EBMS - patching [Monday 7th of September 2026 07:56:17 AM] patch_ebms_invoice() - START - Invoice: AP2207 [Monday 7th of September 2026 07:56:17 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2207","ADDRESS1":"1511 Beaver Creek Rd","ADDRESS2":"","C_ADDRESS1":"1511 Beaver Creek Rd","C_ADDRESS2":"","C_CITY":"West Edmeston","C_COUNTRY":"USA","C_EMAIL":"drag1359@frontiernet.net","C_NAME":"connie dote","C_STATE":"NY","C_ZIP":"13485-2705","ShippingAmount":"28.10","CITY":"West Edmeston","EMAIL":"drag1359@frontiernet.net","ID":"AP552","NAME":"connie dote","STATE":"NY","COUNTRY":"USA","ZIP":"13485-2705","MEMO":"","DESCR":"BigCommerce Order - AP2207 - Customer AP552","Details":[{"ID":"AP552","INVEN":"LUC10476","M_QUAN_VIS":6,"UNIT":"15.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"124.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 7th of September 2026 07:56:17 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2207%27 [Monday 7th of September 2026 07:56:17 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2207 [Monday 7th of September 2026 07:56:17 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2207 [Monday 7th of September 2026 07:56:17 AM] patch_ebms_invoice() - END - Invoice: AP2207 [Monday 7th of September 2026 07:56:17 AM] Invoice AP2207 patched successfully [Monday 7th of September 2026 07:56:17 AM] ORDER WEBHOOK COMPLETED - Order ID: 2207 | Invoice: AP2207 [Monday 7th of September 2026 08:55:56 PM] add_customer() - START - Customer ID: 553 | Name: Robert Holden [Monday 7th of September 2026 08:55:56 PM] add_customer() - Customer payload: {"id":553,"email":"holden.robert@gmail.com","address_1":"109 Antebellum Way","address_2":"","city":"Summerville","state":"SC","country":"USA","zip":"29483","f_name":"Robert","l_name":"Holden","contact_5":"holden.robert@gmail.com","contact_1":"8435685252","contact_4":"Robert Holden"} [Monday 7th of September 2026 08:55:56 PM] add_customer() - Customer fields parsed - ID: AP553 | Address: 109 Antebellum Way, Summerville, SC 29483 | Email: holden.robert@gmail.com [Monday 7th of September 2026 08:55:56 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 7th of September 2026 08:55:56 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"109 Antebellum Way","ADDRESS2":"","CITY":"Summerville","CONTACT_5":"holden.robert@gmail.com","CONTACT_1":"8435685252","CONTACT_4":"Robert Holden","COUNTRY":"USA","F_NAME":"Robert","ID":"AP553","L_NAME":"Holden","STATE":"SC","ZIP":"29483"} [Monday 7th of September 2026 08:55:59 PM] add_customer() - EBMS API call successful for Customer ID: AP553 [Monday 7th of September 2026 08:55:59 PM] add_customer() - Customer created successfully in EBMS - ID: AP553 - Response: {"@odata.context":"http:\/\/localhost:61082\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"444c4a43-4d41-564d-3043-374c42303030","AUTOID":"CJLDAMMV0C7LB000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Robert Holden","ADDRESS1":"109 Antebellum Way","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Summerville","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-07T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"holden.robert@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":"AP553","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Holden","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Robert Holden)","OUT_CITY":false,"PHONE":"(843) 568-5252","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"SC","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"29483","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(843) 568-5252","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Robert Holden","CONTACT_5":"holden.robert@gmail.com","EXTERNALID":""} [Monday 7th of September 2026 08:55:59 PM] add_customer() - END - Customer ID: AP553