[Wednesday 3rd of June 2026 12:00:15 PM] ORDER WEBHOOK STARTED - Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] Fetching customer data for Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_customer_data() - START - Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1891 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_customer_data() - Parsing order response for Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_customer_data() - Customer object built - Customer ID: 282 | Name: Marita Anderson | Email: julietbth@gmail.com | Total: 150.0400 | Shipping: 21.39 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_customer_data() - END - Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] Customer data received: {"id":282,"email":"julietbth@gmail.com","address_1":"119 Spring Meadows Dr","address_2":"","city":"Summerville","state":"SC","country":"USA","zip":"29485","f_name":"Marita","l_name":"Anderson","contact_5":"julietbth@gmail.com","contact_1":"8439029233","contact_4":"Marita Anderson"} [Wednesday 3rd of June 2026 12:00:15 PM] Fetching shipping info for Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_shipping_info() - START - Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1891/shipping_addresses [Wednesday 3rd of June 2026 12:00:15 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1891 | Name: Warren Jepson | Address: 836 Lyman Ave, Oak Park, Illinois, 60304 [Wednesday 3rd of June 2026 12:00:15 PM] get_order_shipping_info() - END - Order ID: 1891 [Wednesday 3rd of June 2026 12:00:15 PM] Shipping info received: {"id":1790,"order_id":1891,"first_name":"Warren","last_name":"Jepson","company":"","street_1":"836 Lyman Ave","street_2":"","city":"Oak Park","zip":"60304","country":"United States","country_iso2":"US","state":"Illinois","email":"julietbth@gmail.com","phone":"7084557491","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"21.3900","cost_ex_tax":"21.3900","cost_inc_tax":"21.3900","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1891\/shipping_addresses\/1790\/shipping_quotes","resource":"\/orders\/1891\/shipping_addresses\/1790\/shipping_quotes"},"form_fields":[]} [Wednesday 3rd of June 2026 12:00:15 PM] Resolved Customer ID: AP282 [Wednesday 3rd of June 2026 12:00:15 PM] Building order object for Invoice: AP1891 [Wednesday 3rd of June 2026 12:00:15 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1891","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"836 Lyman Ave","C_ADDRESS2":"","C_CITY":"Oak Park","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Warren Jepson","C_STATE":"IL","C_ZIP":"60304","ShippingAmount":"21.39","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1891 - Customer AP282"} [Wednesday 3rd of June 2026 12:00:15 PM] Registered customer detected - checking EBMS for Customer ID: AP282 [Wednesday 3rd of June 2026 12:00:15 PM] check_for_customer() - START - Customer ID: 282 [Wednesday 3rd of June 2026 12:00:15 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Wednesday 3rd of June 2026 12:00:16 PM] check_for_customer() - EBMS API call successful for Customer ID: 282 [Wednesday 3rd of June 2026 12:00:16 PM] check_for_customer() - Customer ID: 282 found in EBMS [Wednesday 3rd of June 2026 12:00:16 PM] check_for_customer() - END - Customer ID: 282 | Found: true [Wednesday 3rd of June 2026 12:00:16 PM] Customer AP282 found in EBMS [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_info() - START - Customer ID: 282 [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 282 [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_info() - Customer record found for Customer ID: 282 - Checking ADDRESS1 field [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 282 - No update needed [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_info() - END - Customer ID: 282 | Empty Info: false [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_pn() - START - Customer ID: AP282 [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP282 [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_pn() - Customer record found for Customer ID: AP282 - Checking CONTACT_1 field [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP282 - Value: (843) 902-9233 - No update needed [Wednesday 3rd of June 2026 12:00:16 PM] check_for_empty_pn() - END - Customer ID: AP282 | Empty PN: false [Wednesday 3rd of June 2026 12:00:16 PM] Fetching products from BigCommerce for Order ID: 1891 [Wednesday 3rd of June 2026 12:00:17 PM] BigCommerce API call successful for Order ID: 1891 [Wednesday 3rd of June 2026 12:00:17 PM] Products received: 1 item(s) [Wednesday 3rd of June 2026 12:00:17 PM] Processing product SKU: EFE40100 | Qty: 1 | Price: 119.9500 [Wednesday 3rd of June 2026 12:00:17 PM] get_mpn() - START - Product ID: 67477 [Wednesday 3rd of June 2026 12:00:17 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Wednesday 3rd of June 2026 12:00:17 PM] get_mpn() - BigCommerce API call successful for Product ID: 67477 [Wednesday 3rd of June 2026 12:00:17 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67477 [Wednesday 3rd of June 2026 12:00:17 PM] get_mpn() - END - Product ID: 67477 | MPN: [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ebms_product() - START - SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40100%27 [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ebms_product() - SKU: EFE40100 found in EBMS [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ebms_product() - END - SKU: EFE40100 | Found: true [Wednesday 3rd of June 2026 12:00:17 PM] SKU EFE40100 found in EBMS - checking prices [Wednesday 3rd of June 2026 12:00:17 PM] obtain_current_prices() - START - SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:17 PM] obtain_current_prices() - Checking Motorstate for SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ms_product() - START - SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ms_product() - SKU: EFE40100 found in Motorstate [Wednesday 3rd of June 2026 12:00:17 PM] check_for_ms_product() - END - SKU: EFE40100 | Found: true [Wednesday 3rd of June 2026 12:00:17 PM] obtain_current_prices() - SKU: EFE40100 found in Motorstate - Fetching prices [Wednesday 3rd of June 2026 12:00:17 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40100 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Wednesday 3rd of June 2026 12:00:18 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Wednesday 3rd of June 2026 12:00:18 PM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Wednesday 3rd of June 2026 12:00:18 PM] obtain_current_prices() - END - SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:18 PM] SKU EFE40100 has existing EBMS prices - syncing BigCommerce price back (cost: 89.96, base: 119.95) [Wednesday 3rd of June 2026 12:00:18 PM] update_product_price() - START - Product ID: 67477 | Base: 119.95 | Cost: 89.96 [Wednesday 3rd of June 2026 12:00:18 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Wednesday 3rd of June 2026 12:00:18 PM] update_product_price() - PUT payload: {"price":119.9500000000000028421709430404007434844970703125,"cost_price":89.9599999999999937472239253111183643341064453125} [Wednesday 3rd of June 2026 12:00:18 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67477 [Wednesday 3rd of June 2026 12:00:18 PM] update_product_price() - Price updated successfully for Product ID: 67477 - Base: 119.95 | Cost: 89.96 [Wednesday 3rd of June 2026 12:00:18 PM] update_product_price() - END - Product ID: 67477 | Result: success [Wednesday 3rd of June 2026 12:00:18 PM] BigCommerce price updated for Product ID: 67477 [Wednesday 3rd of June 2026 12:00:18 PM] get_product_inventory() - START - SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:18 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Wednesday 3rd of June 2026 12:00:18 PM] get_product_inventory() - Motorstate API call successful for SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:18 PM] get_product_inventory() - Stock found for SKU: EFE40100 - Quantity: 5 | Running Total: 5 [Wednesday 3rd of June 2026 12:00:18 PM] get_product_inventory() - END - SKU: EFE40100 | Total: 5 [Wednesday 3rd of June 2026 12:00:18 PM] get_cf_id() - START - Product ID: 67477 [Wednesday 3rd of June 2026 12:00:18 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields [Wednesday 3rd of June 2026 12:00:18 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67477 [Wednesday 3rd of June 2026 12:00:18 PM] get_cf_id() - Custom field found for Product ID: 67477 | Field: online_stock_level | CF ID: 67367 [Wednesday 3rd of June 2026 12:00:18 PM] get_cf_id() - END - Product ID: 67477 | CF ID: 67367 [Wednesday 3rd of June 2026 12:00:18 PM] Updating inventory for SKU EFE40100 - stock: 5, CF ID: 67367 [Wednesday 3rd of June 2026 12:00:18 PM] update_product_inventory() - START - Product ID: 67477 | Stock: 5 | CF ID: 67367 [Wednesday 3rd of June 2026 12:00:18 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields/67367 [Wednesday 3rd of June 2026 12:00:18 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67477 | Stock: 5 [Wednesday 3rd of June 2026 12:00:18 PM] update_product_inventory() - END - Product ID: 67477 | Result: success [Wednesday 3rd of June 2026 12:00:18 PM] Inventory updated for SKU: EFE40100 [Wednesday 3rd of June 2026 12:00:18 PM] All products processed - Order details: [{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}] [Wednesday 3rd of June 2026 12:00:18 PM] Building payment record - Total: 150.0400 [Wednesday 3rd of June 2026 12:00:18 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1891","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"836 Lyman Ave","C_ADDRESS2":"","C_CITY":"Oak Park","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Warren Jepson","C_STATE":"IL","C_ZIP":"60304","ShippingAmount":"21.39","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1891 - Customer AP282","Details":[{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"150.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 12:00:18 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1891 [Wednesday 3rd of June 2026 12:00:18 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1891%27 [Wednesday 3rd of June 2026 12:00:19 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1891 [Wednesday 3rd of June 2026 12:00:19 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1891 not found in EBMS [Wednesday 3rd of June 2026 12:00:19 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1891 | Found: false [Wednesday 3rd of June 2026 12:00:19 PM] Invoice AP1891 does not exist in EBMS - creating [Wednesday 3rd of June 2026 12:00:19 PM] create_ebms_invoice() - START - Invoice: AP1891 [Wednesday 3rd of June 2026 12:00:19 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1891","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"836 Lyman Ave","C_ADDRESS2":"","C_CITY":"Oak Park","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Warren Jepson","C_STATE":"IL","C_ZIP":"60304","ShippingAmount":"21.39","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1891 - Customer AP282","Details":[{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"150.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 12:00:19 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 3rd of June 2026 12:00:27 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1891 [Wednesday 3rd of June 2026 12:00:27 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1891 - Response: {"@odata.context":"http:\/\/localhost:52756\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"44434846-5245-5354-4749-355443303030","AUTOID":"FHCDERTSGI5TC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-128.650000000000005684341886080801486968994140625,"BAL_CUST_X":-128.650000000000005684341886080801486968994140625,"BALANCE":-128.650000000000005684341886080801486968994140625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":8.699999999999999289457264239899814128875732421875,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":150.039999999999992041921359486877918243408203125,"TOTAL_S_SO":119.9500000000000028421709430404007434844970703125,"TOTAL_SO":150.039999999999992041921359486877918243408203125,"TOTAL_W":0,"TTLPROCPMT":150.039999999999992041921359486877918243408203125,"TOTAL":21.3900000000000005684341886080801486968994140625,"FREIGHT":21.3900000000000005684341886080801486968994140625,"HANDLING":0,"SHIPPING":21.3900000000000005684341886080801486968994140625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_EMAIL":"julietbth@gmail.com","C_PHONE":"(843) 902-9233","CCNTCT_AID":"7R84LDIK8EMT5E91","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-03T00:00:00Z","CHECK_NO":" APBC","CITY":"Summerville","CNTCT_AID":"7R84LDIK8EMT5E91","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-03T00:00:00Z","E_DATE":"2026-06-03T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"julietbth@gmail.com","IADDRESS":"836 Lyman Ave , Oak Park, IL 60304","ID":"AP282","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-03T00:00:00Z","INVOICE":"AP1891","MAN_TAX":true,"NAME":"Marita Anderson","PHONE":"","PROCESS":"Default","STATE":"SC","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"29485","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"836 Lyman Ave","C_ADDRESS2":"","C_CITY":"Oak Park","C_COUNTRY":"USA","C_ID":"AP282","C_NAME":"Warren Jepson","C_STATE":"IL","C_ZIP":"60304","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1891 - Customer AP282","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-03T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 3rd of June 2026 12:00:27 PM] create_ebms_invoice() - END - Invoice: AP1891 [Wednesday 3rd of June 2026 12:00:27 PM] Invoice AP1891 created successfully [Wednesday 3rd of June 2026 12:00:27 PM] ORDER WEBHOOK COMPLETED - Order ID: 1891 | Invoice: AP1891 [Wednesday 3rd of June 2026 12:01:25 PM] ORDER WEBHOOK STARTED - Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] Fetching customer data for Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_customer_data() - START - Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1891 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_customer_data() - Parsing order response for Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_customer_data() - Customer object built - Customer ID: 282 | Name: Marita Anderson | Email: julietbth@gmail.com | Total: 150.0400 | Shipping: 21.39 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_customer_data() - END - Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] Customer data received: {"id":282,"email":"julietbth@gmail.com","address_1":"119 Spring Meadows Dr","address_2":"","city":"Summerville","state":"SC","country":"USA","zip":"29485","f_name":"Marita","l_name":"Anderson","contact_5":"julietbth@gmail.com","contact_1":"8439029233","contact_4":"Marita Anderson"} [Wednesday 3rd of June 2026 12:01:25 PM] Fetching shipping info for Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_shipping_info() - START - Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1891/shipping_addresses [Wednesday 3rd of June 2026 12:01:25 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1891 | Name: Warren Jepson | Address: 836 Lyman Ave, Oak Park, Illinois, 60304 [Wednesday 3rd of June 2026 12:01:25 PM] get_order_shipping_info() - END - Order ID: 1891 [Wednesday 3rd of June 2026 12:01:25 PM] Shipping info received: {"id":1790,"order_id":1891,"first_name":"Warren","last_name":"Jepson","company":"","street_1":"836 Lyman Ave","street_2":"","city":"Oak Park","zip":"60304","country":"United States","country_iso2":"US","state":"Illinois","email":"julietbth@gmail.com","phone":"7084557491","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"21.3900","cost_ex_tax":"21.3900","cost_inc_tax":"21.3900","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1891\/shipping_addresses\/1790\/shipping_quotes","resource":"\/orders\/1891\/shipping_addresses\/1790\/shipping_quotes"},"form_fields":[]} [Wednesday 3rd of June 2026 12:01:25 PM] Resolved Customer ID: AP282 [Wednesday 3rd of June 2026 12:01:25 PM] Building order object for Invoice: AP1891 [Wednesday 3rd of June 2026 12:01:25 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1891","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"836 Lyman Ave","C_ADDRESS2":"","C_CITY":"Oak Park","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Warren Jepson","C_STATE":"IL","C_ZIP":"60304","ShippingAmount":"21.39","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1891 - Customer AP282"} [Wednesday 3rd of June 2026 12:01:25 PM] Registered customer detected - checking EBMS for Customer ID: AP282 [Wednesday 3rd of June 2026 12:01:25 PM] check_for_customer() - START - Customer ID: 282 [Wednesday 3rd of June 2026 12:01:25 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Wednesday 3rd of June 2026 12:01:26 PM] check_for_customer() - EBMS API call successful for Customer ID: 282 [Wednesday 3rd of June 2026 12:01:26 PM] check_for_customer() - Customer ID: 282 found in EBMS [Wednesday 3rd of June 2026 12:01:26 PM] check_for_customer() - END - Customer ID: 282 | Found: true [Wednesday 3rd of June 2026 12:01:26 PM] Customer AP282 found in EBMS [Wednesday 3rd of June 2026 12:01:26 PM] check_for_empty_info() - START - Customer ID: 282 [Wednesday 3rd of June 2026 12:01:26 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Wednesday 3rd of June 2026 12:01:26 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 282 [Wednesday 3rd of June 2026 12:01:26 PM] check_for_empty_info() - Customer record found for Customer ID: 282 - Checking ADDRESS1 field [Wednesday 3rd of June 2026 12:01:26 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 282 - No update needed [Wednesday 3rd of June 2026 12:01:26 PM] check_for_empty_info() - END - Customer ID: 282 | Empty Info: false [Wednesday 3rd of June 2026 12:01:26 PM] check_for_empty_pn() - START - Customer ID: AP282 [Wednesday 3rd of June 2026 12:01:26 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Wednesday 3rd of June 2026 12:01:27 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP282 [Wednesday 3rd of June 2026 12:01:27 PM] check_for_empty_pn() - Customer record found for Customer ID: AP282 - Checking CONTACT_1 field [Wednesday 3rd of June 2026 12:01:27 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP282 - Value: (843) 902-9233 - No update needed [Wednesday 3rd of June 2026 12:01:27 PM] check_for_empty_pn() - END - Customer ID: AP282 | Empty PN: false [Wednesday 3rd of June 2026 12:01:27 PM] Fetching products from BigCommerce for Order ID: 1891 [Wednesday 3rd of June 2026 12:01:27 PM] BigCommerce API call successful for Order ID: 1891 [Wednesday 3rd of June 2026 12:01:27 PM] Products received: 1 item(s) [Wednesday 3rd of June 2026 12:01:27 PM] Processing product SKU: EFE40100 | Qty: 1 | Price: 119.9500 [Wednesday 3rd of June 2026 12:01:27 PM] get_mpn() - START - Product ID: 67477 [Wednesday 3rd of June 2026 12:01:27 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Wednesday 3rd of June 2026 12:01:27 PM] get_mpn() - BigCommerce API call successful for Product ID: 67477 [Wednesday 3rd of June 2026 12:01:27 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67477 [Wednesday 3rd of June 2026 12:01:27 PM] get_mpn() - END - Product ID: 67477 | MPN: [Wednesday 3rd of June 2026 12:01:27 PM] check_for_ebms_product() - START - SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:27 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40100%27 [Wednesday 3rd of June 2026 12:01:27 PM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:27 PM] check_for_ebms_product() - SKU: EFE40100 found in EBMS [Wednesday 3rd of June 2026 12:01:27 PM] check_for_ebms_product() - END - SKU: EFE40100 | Found: true [Wednesday 3rd of June 2026 12:01:27 PM] SKU EFE40100 found in EBMS - checking prices [Wednesday 3rd of June 2026 12:01:27 PM] obtain_current_prices() - START - SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:27 PM] obtain_current_prices() - Checking Motorstate for SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:27 PM] check_for_ms_product() - START - SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:27 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Wednesday 3rd of June 2026 12:01:28 PM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:28 PM] check_for_ms_product() - SKU: EFE40100 found in Motorstate [Wednesday 3rd of June 2026 12:01:28 PM] check_for_ms_product() - END - SKU: EFE40100 | Found: true [Wednesday 3rd of June 2026 12:01:28 PM] obtain_current_prices() - SKU: EFE40100 found in Motorstate - Fetching prices [Wednesday 3rd of June 2026 12:01:28 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40100 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Wednesday 3rd of June 2026 12:01:28 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Wednesday 3rd of June 2026 12:01:28 PM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Wednesday 3rd of June 2026 12:01:28 PM] obtain_current_prices() - END - SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:28 PM] SKU EFE40100 has existing EBMS prices - syncing BigCommerce price back (cost: 89.96, base: 119.95) [Wednesday 3rd of June 2026 12:01:28 PM] update_product_price() - START - Product ID: 67477 | Base: 119.95 | Cost: 89.96 [Wednesday 3rd of June 2026 12:01:28 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Wednesday 3rd of June 2026 12:01:28 PM] update_product_price() - PUT payload: {"price":119.9500000000000028421709430404007434844970703125,"cost_price":89.9599999999999937472239253111183643341064453125} [Wednesday 3rd of June 2026 12:01:28 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67477 [Wednesday 3rd of June 2026 12:01:28 PM] update_product_price() - Price updated successfully for Product ID: 67477 - Base: 119.95 | Cost: 89.96 [Wednesday 3rd of June 2026 12:01:28 PM] update_product_price() - END - Product ID: 67477 | Result: success [Wednesday 3rd of June 2026 12:01:28 PM] BigCommerce price updated for Product ID: 67477 [Wednesday 3rd of June 2026 12:01:28 PM] get_product_inventory() - START - SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:28 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Wednesday 3rd of June 2026 12:01:28 PM] get_product_inventory() - Motorstate API call successful for SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:28 PM] get_product_inventory() - Stock found for SKU: EFE40100 - Quantity: 5 | Running Total: 5 [Wednesday 3rd of June 2026 12:01:28 PM] get_product_inventory() - END - SKU: EFE40100 | Total: 5 [Wednesday 3rd of June 2026 12:01:28 PM] get_cf_id() - START - Product ID: 67477 [Wednesday 3rd of June 2026 12:01:28 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields [Wednesday 3rd of June 2026 12:01:29 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67477 [Wednesday 3rd of June 2026 12:01:29 PM] get_cf_id() - Custom field found for Product ID: 67477 | Field: online_stock_level | CF ID: 67367 [Wednesday 3rd of June 2026 12:01:29 PM] get_cf_id() - END - Product ID: 67477 | CF ID: 67367 [Wednesday 3rd of June 2026 12:01:29 PM] Updating inventory for SKU EFE40100 - stock: 5, CF ID: 67367 [Wednesday 3rd of June 2026 12:01:29 PM] update_product_inventory() - START - Product ID: 67477 | Stock: 5 | CF ID: 67367 [Wednesday 3rd of June 2026 12:01:29 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields/67367 [Wednesday 3rd of June 2026 12:01:29 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67477 | Stock: 5 [Wednesday 3rd of June 2026 12:01:29 PM] update_product_inventory() - END - Product ID: 67477 | Result: success [Wednesday 3rd of June 2026 12:01:29 PM] Inventory updated for SKU: EFE40100 [Wednesday 3rd of June 2026 12:01:29 PM] All products processed - Order details: [{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}] [Wednesday 3rd of June 2026 12:01:29 PM] Building payment record - Total: 150.0400 [Wednesday 3rd of June 2026 12:01:29 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1891","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"836 Lyman Ave","C_ADDRESS2":"","C_CITY":"Oak Park","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Warren Jepson","C_STATE":"IL","C_ZIP":"60304","ShippingAmount":"21.39","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1891 - Customer AP282","Details":[{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"150.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 12:01:29 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1891 [Wednesday 3rd of June 2026 12:01:29 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1891%27 [Wednesday 3rd of June 2026 12:01:30 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1891 [Wednesday 3rd of June 2026 12:01:30 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1891 found in EBMS [Wednesday 3rd of June 2026 12:01:30 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1891 | Found: true [Wednesday 3rd of June 2026 12:01:30 PM] Invoice AP1891 already exists in EBMS - patching [Wednesday 3rd of June 2026 12:01:30 PM] patch_ebms_invoice() - START - Invoice: AP1891 [Wednesday 3rd of June 2026 12:01:30 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1891","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"836 Lyman Ave","C_ADDRESS2":"","C_CITY":"Oak Park","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Warren Jepson","C_STATE":"IL","C_ZIP":"60304","ShippingAmount":"21.39","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1891 - Customer AP282","Details":[{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"150.04","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 12:01:30 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1891%27 [Wednesday 3rd of June 2026 12:01:30 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1891 [Wednesday 3rd of June 2026 12:01:30 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1891 [Wednesday 3rd of June 2026 12:01:30 PM] patch_ebms_invoice() - END - Invoice: AP1891 [Wednesday 3rd of June 2026 12:01:30 PM] Invoice AP1891 patched successfully [Wednesday 3rd of June 2026 12:01:30 PM] ORDER WEBHOOK COMPLETED - Order ID: 1891 | Invoice: AP1891 [Wednesday 3rd of June 2026 03:35:02 PM] ORDER WEBHOOK STARTED - Order ID: 1892 [Wednesday 3rd of June 2026 03:35:02 PM] Fetching customer data for Order ID: 1892 [Wednesday 3rd of June 2026 03:35:02 PM] get_order_customer_data() - START - Order ID: 1892 [Wednesday 3rd of June 2026 03:35:02 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1892 [Wednesday 3rd of June 2026 03:35:02 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1892 [Wednesday 3rd of June 2026 03:35:02 PM] get_order_customer_data() - Parsing order response for Order ID: 1892 [Wednesday 3rd of June 2026 03:35:02 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Japheus Sanders | Email: jaysanders1975@gmail.com | Total: 53.1800 | Shipping: 21.39 [Wednesday 3rd of June 2026 03:35:02 PM] get_order_customer_data() - END - Order ID: 1892 [Wednesday 3rd of June 2026 03:35:02 PM] Customer data received: {"id":0,"email":"jaysanders1975@gmail.com","address_1":"2812 Roundtree Dr","address_2":"","city":"Troy","state":"MI","country":"USA","zip":"48083","f_name":"Japheus ","l_name":"Sanders ","contact_5":"jaysanders1975@gmail.com","contact_1":"13137794448","contact_4":"Japheus Sanders "} [Wednesday 3rd of June 2026 03:35:02 PM] Fetching shipping info for Order ID: 1892 [Wednesday 3rd of June 2026 03:35:02 PM] get_order_shipping_info() - START - Order ID: 1892 [Wednesday 3rd of June 2026 03:35:02 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1892/shipping_addresses [Wednesday 3rd of June 2026 03:35:03 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1892 [Wednesday 3rd of June 2026 03:35:03 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1892 | Name: Japheus Sanders | Address: 2812 Roundtree Dr, Troy, Michigan, 48083 [Wednesday 3rd of June 2026 03:35:03 PM] get_order_shipping_info() - END - Order ID: 1892 [Wednesday 3rd of June 2026 03:35:03 PM] Shipping info received: {"id":1791,"order_id":1892,"first_name":"Japheus ","last_name":"Sanders ","company":"","street_1":"2812 Roundtree Dr","street_2":"","city":"Troy","zip":"48083","country":"United States","country_iso2":"US","state":"Michigan","email":"jaysanders1975@gmail.com","phone":"13137794448","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"21.3900","cost_ex_tax":"21.3900","cost_inc_tax":"21.3900","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1892\/shipping_addresses\/1791\/shipping_quotes","resource":"\/orders\/1892\/shipping_addresses\/1791\/shipping_quotes"},"form_fields":[]} [Wednesday 3rd of June 2026 03:35:03 PM] Resolved Customer ID: APONLINE [Wednesday 3rd of June 2026 03:35:03 PM] Building order object for Invoice: AP1892 [Wednesday 3rd of June 2026 03:35:03 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1892","ADDRESS1":"2812 Roundtree Dr","ADDRESS2":"","C_ADDRESS1":"2812 Roundtree Dr","C_ADDRESS2":"","C_CITY":"Troy","C_COUNTRY":"USA","C_EMAIL":"jaysanders1975@gmail.com","C_NAME":"Japheus Sanders ","C_STATE":"MI","C_ZIP":"48083","ShippingAmount":"21.39","CITY":"Troy","EMAIL":"jaysanders1975@gmail.com","ID":"APONLINE","NAME":"Japheus Sanders ","STATE":"MI","COUNTRY":"USA","ZIP":"48083","MEMO":"","DESCR":"BigCommerce Order - AP1892 - Customer APONLINE"} [Wednesday 3rd of June 2026 03:35:03 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 3rd of June 2026 03:35:03 PM] Fetching products from BigCommerce for Order ID: 1892 [Wednesday 3rd of June 2026 03:35:03 PM] BigCommerce API call successful for Order ID: 1892 [Wednesday 3rd of June 2026 03:35:03 PM] Products received: 1 item(s) [Wednesday 3rd of June 2026 03:35:03 PM] Processing product SKU: SLP30102 | Qty: 1 | Price: 29.9900 [Wednesday 3rd of June 2026 03:35:03 PM] get_mpn() - START - Product ID: 83160 [Wednesday 3rd of June 2026 03:35:03 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83160 [Wednesday 3rd of June 2026 03:35:03 PM] get_mpn() - BigCommerce API call successful for Product ID: 83160 [Wednesday 3rd of June 2026 03:35:03 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83160 [Wednesday 3rd of June 2026 03:35:03 PM] get_mpn() - END - Product ID: 83160 | MPN: [Wednesday 3rd of June 2026 03:35:03 PM] check_for_ebms_product() - START - SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:03 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27SLP30102%27 [Wednesday 3rd of June 2026 03:35:04 PM] check_for_ebms_product() - EBMS API call successful for SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:04 PM] check_for_ebms_product() - SKU: SLP30102 not found in EBMS [Wednesday 3rd of June 2026 03:35:04 PM] check_for_ebms_product() - END - SKU: SLP30102 | Found: false [Wednesday 3rd of June 2026 03:35:04 PM] SKU SLP30102 not found in EBMS - creating new part [Wednesday 3rd of June 2026 03:35:04 PM] get_product_desc() - START - Product ID: 83160 [Wednesday 3rd of June 2026 03:35:04 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83160 [Wednesday 3rd of June 2026 03:35:04 PM] get_product_desc() - BigCommerce API call successful for Product ID: 83160 [Wednesday 3rd of June 2026 03:35:04 PM] get_product_desc() - Description retrieved for Product ID: 83160 - Description: Spark Plug Socket - 13/16 in Wrench - 5/8 in Hex Spark Plug - Shorty - Header Clearance - Steel - Chrome - Each [Wednesday 3rd of June 2026 03:35:04 PM] get_product_desc() - END - Product ID: 83160 [Wednesday 3rd of June 2026 03:35:04 PM] get_ms_product() - START - SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:04 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=SLP30102 [Wednesday 3rd of June 2026 03:35:04 PM] get_ms_product() - Motorstate API call successful for SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:04 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: SLP30102 - Response: [{"Found":true,"PartNumber":"SLP30102","Product":{"PartNumber":"slp30102","VendorPartNumber":"30102","Status":1,"ShortDescription":"Spark-Plug Socket ","Quantity":0,"CustomerPrice":25.4915,"CustomerPriceNonPromotional":25.4915,"BasePrice":29.99,"ListPrice":29.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"SpecialOrderCharge":0.0,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"Works with headers","CanRegularBackOrder":true}}] [Wednesday 3rd of June 2026 03:35:04 PM] get_ms_product() - END - SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:04 PM] MS pricing found for SKU SLP30102 - base: 29.99, cost: 25.4915 [Wednesday 3rd of June 2026 03:35:04 PM] create_new_part() - START - SKU: SLP30102 | Base: 29.99 | Cost: 25.49 | Weight: 0.1500 | MPN: [Wednesday 3rd of June 2026 03:35:04 PM] create_new_part() - Description parsed - DESCR_1: Spark Plug Socket - 13/16 in Wrench - 5/8 in Hex Spark Plug - Shorty - Header Cl | DESCR_2: earance - Steel - Chrome - Each [Wednesday 3rd of June 2026 03:35:04 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Wednesday 3rd of June 2026 03:35:04 PM] create_new_part() - POST payload: {"ID":"SLP30102","DESCR_1":"Spark Plug Socket - 13\/16 in Wrench - 5\/8 in Hex Spark Plug - Shorty - Header Cl","DESCR_2":"earance - Steel - Chrome - Each","DESCR_3":"Spark Plug Socket - 13\/16 in Wrench - 5\/8 in Hex Spark Plug - Shorty - Header Clearance - Steel - Chrome - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"25.49","BASE":"29.99","WEIGHT":"0.1500","MFG_PART":"","TREE_ID":"603"} [Wednesday 3rd of June 2026 03:35:06 PM] create_new_part() - EBMS API call successful for SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:06 PM] create_new_part() - Part created successfully in EBMS - SKU: SLP30102 - {"id":"SLP30102","cost":"25.49","base":"29.99","description":"Spark Plug Socket - 13\/16 in Wrench - 5\/8 in Hex Spark Plug - Shorty - Header Clearance - Steel - Chrome - Each","tree_id":" 603"} [Wednesday 3rd of June 2026 03:35:06 PM] create_new_part() - Sending new part notification email for SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:06 PM] create_new_part() - Notification email sent successfully for SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:06 PM] create_new_part() - END - SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:06 PM] New part created in EBMS for SKU: SLP30102 [Wednesday 3rd of June 2026 03:35:06 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"SLP30102","M_QUAN_VIS":1,"UNIT":"29.99","UNIT_MEAS":"EA"}] [Wednesday 3rd of June 2026 03:35:06 PM] Building payment record - Total: 53.1800 [Wednesday 3rd of June 2026 03:35:06 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1892","ADDRESS1":"2812 Roundtree Dr","ADDRESS2":"","C_ADDRESS1":"2812 Roundtree Dr","C_ADDRESS2":"","C_CITY":"Troy","C_COUNTRY":"USA","C_EMAIL":"jaysanders1975@gmail.com","C_NAME":"Japheus Sanders ","C_STATE":"MI","C_ZIP":"48083","ShippingAmount":"21.39","CITY":"Troy","EMAIL":"jaysanders1975@gmail.com","ID":"APONLINE","NAME":"Japheus Sanders ","STATE":"MI","COUNTRY":"USA","ZIP":"48083","MEMO":"","DESCR":"BigCommerce Order - AP1892 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"SLP30102","M_QUAN_VIS":1,"UNIT":"29.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"53.18","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 03:35:06 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1892 [Wednesday 3rd of June 2026 03:35:06 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1892%27 [Wednesday 3rd of June 2026 03:35:07 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1892 [Wednesday 3rd of June 2026 03:35:07 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1892 not found in EBMS [Wednesday 3rd of June 2026 03:35:07 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1892 | Found: false [Wednesday 3rd of June 2026 03:35:07 PM] Invoice AP1892 does not exist in EBMS - creating [Wednesday 3rd of June 2026 03:35:07 PM] create_ebms_invoice() - START - Invoice: AP1892 [Wednesday 3rd of June 2026 03:35:07 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1892","ADDRESS1":"2812 Roundtree Dr","ADDRESS2":"","C_ADDRESS1":"2812 Roundtree Dr","C_ADDRESS2":"","C_CITY":"Troy","C_COUNTRY":"USA","C_EMAIL":"jaysanders1975@gmail.com","C_NAME":"Japheus Sanders ","C_STATE":"MI","C_ZIP":"48083","ShippingAmount":"21.39","CITY":"Troy","EMAIL":"jaysanders1975@gmail.com","ID":"APONLINE","NAME":"Japheus Sanders ","STATE":"MI","COUNTRY":"USA","ZIP":"48083","MEMO":"","DESCR":"BigCommerce Order - AP1892 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"SLP30102","M_QUAN_VIS":1,"UNIT":"29.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"53.18","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 03:35:07 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 3rd of June 2026 03:35:16 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1892 [Wednesday 3rd of June 2026 03:35:16 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1892 - Response: {"@odata.context":"http:\/\/localhost:52756\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"50564835-5450-3845-4c49-355443303030","AUTOID":"5HVPPTE8LI5TC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-31.78999999999999914734871708787977695465087890625,"BAL_CUST_X":-31.78999999999999914734871708787977695465087890625,"BALANCE":-31.78999999999999914734871708787977695465087890625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":1.8000000000000000444089209850062616169452667236328125,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":53.17999999999999971578290569595992565155029296875,"TOTAL_S_SO":29.989999999999998436805981327779591083526611328125,"TOTAL_SO":53.17999999999999971578290569595992565155029296875,"TOTAL_W":0,"TTLPROCPMT":53.17999999999999971578290569595992565155029296875,"TOTAL":21.3900000000000005684341886080801486968994140625,"FREIGHT":21.3900000000000005684341886080801486968994140625,"HANDLING":0,"SHIPPING":21.3900000000000005684341886080801486968994140625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"2812 Roundtree Dr","ADDRESS2":"","C_EMAIL":"jaysanders1975@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-03T00:00:00Z","CHECK_NO":" APBC","CITY":"Troy","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-03T00:00:00Z","E_DATE":"2026-06-03T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"jaysanders1975@gmail.com","IADDRESS":"2812 Roundtree Dr , Troy, MI 48083","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-03T00:00:00Z","INVOICE":"AP1892","MAN_TAX":true,"NAME":"Japheus Sanders","PHONE":"","PROCESS":"Default","STATE":"MI","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"48083","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"2812 Roundtree Dr","C_ADDRESS2":"","C_CITY":"Troy","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Japheus Sanders","C_STATE":"MI","C_ZIP":"48083","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1892 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-03T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 3rd of June 2026 03:35:16 PM] create_ebms_invoice() - END - Invoice: AP1892 [Wednesday 3rd of June 2026 03:35:16 PM] Invoice AP1892 created successfully [Wednesday 3rd of June 2026 03:35:16 PM] ORDER WEBHOOK COMPLETED - Order ID: 1892 | Invoice: AP1892 [Wednesday 3rd of June 2026 03:36:11 PM] ORDER WEBHOOK STARTED - Order ID: 1892 [Wednesday 3rd of June 2026 03:36:11 PM] Fetching customer data for Order ID: 1892 [Wednesday 3rd of June 2026 03:36:11 PM] get_order_customer_data() - START - Order ID: 1892 [Wednesday 3rd of June 2026 03:36:11 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1892 [Wednesday 3rd of June 2026 03:36:12 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] get_order_customer_data() - Parsing order response for Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Japheus Sanders | Email: jaysanders1975@gmail.com | Total: 53.1800 | Shipping: 21.39 [Wednesday 3rd of June 2026 03:36:12 PM] get_order_customer_data() - END - Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] Customer data received: {"id":0,"email":"jaysanders1975@gmail.com","address_1":"2812 Roundtree Dr","address_2":"","city":"Troy","state":"MI","country":"USA","zip":"48083","f_name":"Japheus ","l_name":"Sanders ","contact_5":"jaysanders1975@gmail.com","contact_1":"13137794448","contact_4":"Japheus Sanders "} [Wednesday 3rd of June 2026 03:36:12 PM] Fetching shipping info for Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] get_order_shipping_info() - START - Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1892/shipping_addresses [Wednesday 3rd of June 2026 03:36:12 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1892 | Name: Japheus Sanders | Address: 2812 Roundtree Dr, Troy, Michigan, 48083 [Wednesday 3rd of June 2026 03:36:12 PM] get_order_shipping_info() - END - Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] Shipping info received: {"id":1791,"order_id":1892,"first_name":"Japheus ","last_name":"Sanders ","company":"","street_1":"2812 Roundtree Dr","street_2":"","city":"Troy","zip":"48083","country":"United States","country_iso2":"US","state":"Michigan","email":"jaysanders1975@gmail.com","phone":"13137794448","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"21.3900","cost_ex_tax":"21.3900","cost_inc_tax":"21.3900","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1892\/shipping_addresses\/1791\/shipping_quotes","resource":"\/orders\/1892\/shipping_addresses\/1791\/shipping_quotes"},"form_fields":[]} [Wednesday 3rd of June 2026 03:36:12 PM] Resolved Customer ID: APONLINE [Wednesday 3rd of June 2026 03:36:12 PM] Building order object for Invoice: AP1892 [Wednesday 3rd of June 2026 03:36:12 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1892","ADDRESS1":"2812 Roundtree Dr","ADDRESS2":"","C_ADDRESS1":"2812 Roundtree Dr","C_ADDRESS2":"","C_CITY":"Troy","C_COUNTRY":"USA","C_EMAIL":"jaysanders1975@gmail.com","C_NAME":"Japheus Sanders ","C_STATE":"MI","C_ZIP":"48083","ShippingAmount":"21.39","CITY":"Troy","EMAIL":"jaysanders1975@gmail.com","ID":"APONLINE","NAME":"Japheus Sanders ","STATE":"MI","COUNTRY":"USA","ZIP":"48083","MEMO":"","DESCR":"BigCommerce Order - AP1892 - Customer APONLINE"} [Wednesday 3rd of June 2026 03:36:12 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 3rd of June 2026 03:36:12 PM] Fetching products from BigCommerce for Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] BigCommerce API call successful for Order ID: 1892 [Wednesday 3rd of June 2026 03:36:12 PM] Products received: 1 item(s) [Wednesday 3rd of June 2026 03:36:12 PM] Processing product SKU: SLP30102 | Qty: 1 | Price: 29.9900 [Wednesday 3rd of June 2026 03:36:12 PM] get_mpn() - START - Product ID: 83160 [Wednesday 3rd of June 2026 03:36:12 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83160 [Wednesday 3rd of June 2026 03:36:12 PM] get_mpn() - BigCommerce API call successful for Product ID: 83160 [Wednesday 3rd of June 2026 03:36:12 PM] get_mpn() - WARNING - MPN is empty for Product ID: 83160 [Wednesday 3rd of June 2026 03:36:12 PM] get_mpn() - END - Product ID: 83160 | MPN: [Wednesday 3rd of June 2026 03:36:12 PM] check_for_ebms_product() - START - SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:12 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27SLP30102%27 [Wednesday 3rd of June 2026 03:36:13 PM] check_for_ebms_product() - EBMS API call successful for SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] check_for_ebms_product() - SKU: SLP30102 found in EBMS [Wednesday 3rd of June 2026 03:36:13 PM] check_for_ebms_product() - END - SKU: SLP30102 | Found: true [Wednesday 3rd of June 2026 03:36:13 PM] SKU SLP30102 found in EBMS - checking prices [Wednesday 3rd of June 2026 03:36:13 PM] obtain_current_prices() - START - SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] obtain_current_prices() - Checking Motorstate for SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] check_for_ms_product() - START - SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] check_for_ms_product() - Motorstate API call successful for SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] check_for_ms_product() - SKU: SLP30102 found in Motorstate [Wednesday 3rd of June 2026 03:36:13 PM] check_for_ms_product() - END - SKU: SLP30102 | Found: true [Wednesday 3rd of June 2026 03:36:13 PM] obtain_current_prices() - SKU: SLP30102 found in Motorstate - Fetching prices [Wednesday 3rd of June 2026 03:36:13 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: SLP30102 - URL: https://api.motorstate.com/api/Product?partNumbers=SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: SLP30102 - Base: 29.99 | Cost: 25.49 [Wednesday 3rd of June 2026 03:36:13 PM] obtain_current_prices() - Returning Motorstate prices for SKU: SLP30102 - Base: 29.99 | Cost: 25.49 [Wednesday 3rd of June 2026 03:36:13 PM] obtain_current_prices() - END - SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] SKU SLP30102 has existing EBMS prices - syncing BigCommerce price back (cost: 25.49, base: 29.99) [Wednesday 3rd of June 2026 03:36:13 PM] update_product_price() - START - Product ID: 83160 | Base: 29.99 | Cost: 25.49 [Wednesday 3rd of June 2026 03:36:13 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83160 [Wednesday 3rd of June 2026 03:36:13 PM] update_product_price() - PUT payload: {"price":29.989999999999998436805981327779591083526611328125,"cost_price":25.489999999999998436805981327779591083526611328125} [Wednesday 3rd of June 2026 03:36:13 PM] update_product_price() - Attempt 1 of 6 for Product ID: 83160 [Wednesday 3rd of June 2026 03:36:13 PM] update_product_price() - Price updated successfully for Product ID: 83160 - Base: 29.99 | Cost: 25.49 [Wednesday 3rd of June 2026 03:36:13 PM] update_product_price() - END - Product ID: 83160 | Result: success [Wednesday 3rd of June 2026 03:36:13 PM] BigCommerce price updated for Product ID: 83160 [Wednesday 3rd of June 2026 03:36:13 PM] get_product_inventory() - START - SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] get_product_inventory() - Motorstate API call successful for SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:13 PM] get_product_inventory() - Stock found for SKU: SLP30102 - Quantity: 0 | Running Total: 0 [Wednesday 3rd of June 2026 03:36:13 PM] get_product_inventory() - END - SKU: SLP30102 | Total: 0 [Wednesday 3rd of June 2026 03:36:13 PM] get_cf_id() - START - Product ID: 83160 [Wednesday 3rd of June 2026 03:36:13 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83160/custom-fields [Wednesday 3rd of June 2026 03:36:14 PM] get_cf_id() - BigCommerce API call successful for Product ID: 83160 [Wednesday 3rd of June 2026 03:36:14 PM] get_cf_id() - Custom field found for Product ID: 83160 | Field: online_stock_level | CF ID: 83050 [Wednesday 3rd of June 2026 03:36:14 PM] get_cf_id() - END - Product ID: 83160 | CF ID: 83050 [Wednesday 3rd of June 2026 03:36:14 PM] Updating inventory for SKU SLP30102 - stock: 0, CF ID: 83050 [Wednesday 3rd of June 2026 03:36:14 PM] update_product_inventory() - START - Product ID: 83160 | Stock: 0 | CF ID: 83050 [Wednesday 3rd of June 2026 03:36:14 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/83160/custom-fields/83050 [Wednesday 3rd of June 2026 03:36:14 PM] update_product_inventory() - Inventory updated successfully for Product ID: 83160 | Stock: 0 [Wednesday 3rd of June 2026 03:36:14 PM] update_product_inventory() - END - Product ID: 83160 | Result: success [Wednesday 3rd of June 2026 03:36:14 PM] Inventory updated for SKU: SLP30102 [Wednesday 3rd of June 2026 03:36:14 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"SLP30102","M_QUAN_VIS":1,"UNIT":"29.99","UNIT_MEAS":"EA"}] [Wednesday 3rd of June 2026 03:36:14 PM] Building payment record - Total: 53.1800 [Wednesday 3rd of June 2026 03:36:14 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1892","ADDRESS1":"2812 Roundtree Dr","ADDRESS2":"","C_ADDRESS1":"2812 Roundtree Dr","C_ADDRESS2":"","C_CITY":"Troy","C_COUNTRY":"USA","C_EMAIL":"jaysanders1975@gmail.com","C_NAME":"Japheus Sanders ","C_STATE":"MI","C_ZIP":"48083","ShippingAmount":"21.39","CITY":"Troy","EMAIL":"jaysanders1975@gmail.com","ID":"APONLINE","NAME":"Japheus Sanders ","STATE":"MI","COUNTRY":"USA","ZIP":"48083","MEMO":"","DESCR":"BigCommerce Order - AP1892 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"SLP30102","M_QUAN_VIS":1,"UNIT":"29.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"53.18","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 03:36:14 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1892 [Wednesday 3rd of June 2026 03:36:14 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1892%27 [Wednesday 3rd of June 2026 03:36:15 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1892 [Wednesday 3rd of June 2026 03:36:15 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1892 found in EBMS [Wednesday 3rd of June 2026 03:36:15 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1892 | Found: true [Wednesday 3rd of June 2026 03:36:15 PM] Invoice AP1892 already exists in EBMS - patching [Wednesday 3rd of June 2026 03:36:15 PM] patch_ebms_invoice() - START - Invoice: AP1892 [Wednesday 3rd of June 2026 03:36:15 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1892","ADDRESS1":"2812 Roundtree Dr","ADDRESS2":"","C_ADDRESS1":"2812 Roundtree Dr","C_ADDRESS2":"","C_CITY":"Troy","C_COUNTRY":"USA","C_EMAIL":"jaysanders1975@gmail.com","C_NAME":"Japheus Sanders ","C_STATE":"MI","C_ZIP":"48083","ShippingAmount":"21.39","CITY":"Troy","EMAIL":"jaysanders1975@gmail.com","ID":"APONLINE","NAME":"Japheus Sanders ","STATE":"MI","COUNTRY":"USA","ZIP":"48083","MEMO":"","DESCR":"BigCommerce Order - AP1892 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"SLP30102","M_QUAN_VIS":1,"UNIT":"29.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"53.18","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 03:36:15 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1892%27 [Wednesday 3rd of June 2026 03:36:15 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1892 [Wednesday 3rd of June 2026 03:36:15 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1892 [Wednesday 3rd of June 2026 03:36:15 PM] patch_ebms_invoice() - END - Invoice: AP1892 [Wednesday 3rd of June 2026 03:36:15 PM] Invoice AP1892 patched successfully [Wednesday 3rd of June 2026 03:36:15 PM] ORDER WEBHOOK COMPLETED - Order ID: 1892 | Invoice: AP1892 [Wednesday 3rd of June 2026 04:25:28 PM] ORDER WEBHOOK STARTED - Order ID: 1893 [Wednesday 3rd of June 2026 04:25:28 PM] Fetching customer data for Order ID: 1893 [Wednesday 3rd of June 2026 04:25:28 PM] get_order_customer_data() - START - Order ID: 1893 [Wednesday 3rd of June 2026 04:25:28 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1893 [Wednesday 3rd of June 2026 04:25:28 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1893 [Wednesday 3rd of June 2026 04:25:28 PM] get_order_customer_data() - Parsing order response for Order ID: 1893 [Wednesday 3rd of June 2026 04:25:28 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Trey Sommers | Email: trey.sommers@gmail.com | Total: 38.8300 | Shipping: 21.39 [Wednesday 3rd of June 2026 04:25:28 PM] get_order_customer_data() - END - Order ID: 1893 [Wednesday 3rd of June 2026 04:25:28 PM] Customer data received: {"id":0,"email":"trey.sommers@gmail.com","address_1":"2957 Deerhaven Dr S ","address_2":"","city":"Cookeville","state":"TN","country":"USA","zip":"38506 ","f_name":"Trey","l_name":"Sommers","contact_5":"trey.sommers@gmail.com","contact_1":"7607159027","contact_4":"Trey Sommers"} [Wednesday 3rd of June 2026 04:25:28 PM] Fetching shipping info for Order ID: 1893 [Wednesday 3rd of June 2026 04:25:28 PM] get_order_shipping_info() - START - Order ID: 1893 [Wednesday 3rd of June 2026 04:25:28 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1893/shipping_addresses [Wednesday 3rd of June 2026 04:25:29 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1893 [Wednesday 3rd of June 2026 04:25:29 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1893 | Name: Trey Sommers | Address: 2957 Deerhaven Dr S , Cookeville, Tennessee, 38506 [Wednesday 3rd of June 2026 04:25:29 PM] get_order_shipping_info() - END - Order ID: 1893 [Wednesday 3rd of June 2026 04:25:29 PM] Shipping info received: {"id":1792,"order_id":1893,"first_name":"Trey","last_name":"Sommers","company":"","street_1":"2957 Deerhaven Dr S ","street_2":"","city":"Cookeville","zip":"38506 ","country":"United States","country_iso2":"US","state":"Tennessee","email":"trey.sommers@gmail.com","phone":"7607159027","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"21.3900","cost_ex_tax":"21.3900","cost_inc_tax":"23.4755","cost_tax":"2.0855","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1893\/shipping_addresses\/1792\/shipping_quotes","resource":"\/orders\/1893\/shipping_addresses\/1792\/shipping_quotes"},"form_fields":[]} [Wednesday 3rd of June 2026 04:25:29 PM] Resolved Customer ID: APONLINE [Wednesday 3rd of June 2026 04:25:29 PM] Building order object for Invoice: AP1893 [Wednesday 3rd of June 2026 04:25:29 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1893","ADDRESS1":"2957 Deerhaven Dr S ","ADDRESS2":"","C_ADDRESS1":"2957 Deerhaven Dr S ","C_ADDRESS2":"","C_CITY":"Cookeville","C_COUNTRY":"USA","C_EMAIL":"trey.sommers@gmail.com","C_NAME":"Trey Sommers","C_STATE":"TN","C_ZIP":"38506 ","ShippingAmount":"21.39","CITY":"Cookeville","EMAIL":"trey.sommers@gmail.com","ID":"APONLINE","NAME":"Trey Sommers","STATE":"TN","COUNTRY":"USA","ZIP":"38506 ","MEMO":"","DESCR":"BigCommerce Order - AP1893 - Customer APONLINE"} [Wednesday 3rd of June 2026 04:25:29 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 3rd of June 2026 04:25:29 PM] Fetching products from BigCommerce for Order ID: 1893 [Wednesday 3rd of June 2026 04:25:29 PM] BigCommerce API call successful for Order ID: 1893 [Wednesday 3rd of June 2026 04:25:29 PM] Products received: 1 item(s) [Wednesday 3rd of June 2026 04:25:29 PM] Processing product SKU: TUR70061 | Qty: 1 | Price: 13.9900 [Wednesday 3rd of June 2026 04:25:29 PM] get_mpn() - START - Product ID: 15047 [Wednesday 3rd of June 2026 04:25:29 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/15047 [Wednesday 3rd of June 2026 04:25:29 PM] get_mpn() - BigCommerce API call successful for Product ID: 15047 [Wednesday 3rd of June 2026 04:25:29 PM] get_mpn() - WARNING - MPN is empty for Product ID: 15047 [Wednesday 3rd of June 2026 04:25:29 PM] get_mpn() - END - Product ID: 15047 | MPN: [Wednesday 3rd of June 2026 04:25:29 PM] check_for_ebms_product() - START - SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:29 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27TUR70061%27 [Wednesday 3rd of June 2026 04:25:29 PM] check_for_ebms_product() - EBMS API call successful for SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:29 PM] check_for_ebms_product() - SKU: TUR70061 not found in EBMS [Wednesday 3rd of June 2026 04:25:29 PM] check_for_ebms_product() - END - SKU: TUR70061 | Found: false [Wednesday 3rd of June 2026 04:25:29 PM] SKU TUR70061 not found in EBMS - creating new part [Wednesday 3rd of June 2026 04:25:29 PM] get_product_desc() - START - Product ID: 15047 [Wednesday 3rd of June 2026 04:25:29 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/15047 [Wednesday 3rd of June 2026 04:25:30 PM] get_product_desc() - BigCommerce API call successful for Product ID: 15047 [Wednesday 3rd of June 2026 04:25:30 PM] get_product_desc() - Description retrieved for Product ID: 15047 - Description: Shifter Knob - T-Handle - Plastic - Cheetah Shifters - Each [Wednesday 3rd of June 2026 04:25:30 PM] get_product_desc() - END - Product ID: 15047 [Wednesday 3rd of June 2026 04:25:30 PM] get_ms_product() - START - SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:30 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TUR70061 [Wednesday 3rd of June 2026 04:25:30 PM] get_ms_product() - Motorstate API call successful for SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:30 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: TUR70061 - Response: [{"Found":true,"PartNumber":"TUR70061","Product":{"PartNumber":"tur70061","VendorPartNumber":"70061","Status":1,"ShortDescription":"T-Handle for Cheetah Shifter","Quantity":0,"CustomerPrice":12.804,"CustomerPriceNonPromotional":12.804,"BasePrice":13.2,"ListPrice":13.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Wednesday 3rd of June 2026 04:25:30 PM] get_ms_product() - END - SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:30 PM] MS pricing found for SKU TUR70061 - base: 13.99, cost: 12.804 [Wednesday 3rd of June 2026 04:25:30 PM] create_new_part() - START - SKU: TUR70061 | Base: 13.99 | Cost: 12.80 | Weight: 0.0700 | MPN: [Wednesday 3rd of June 2026 04:25:30 PM] create_new_part() - Description parsed - DESCR_1: Shifter Knob - T-Handle - Plastic - Cheetah Shifters - Each | DESCR_2: [Wednesday 3rd of June 2026 04:25:30 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Wednesday 3rd of June 2026 04:25:30 PM] create_new_part() - POST payload: {"ID":"TUR70061","DESCR_1":"Shifter Knob - T-Handle - Plastic - Cheetah Shifters - Each","DESCR_2":"","DESCR_3":"Shifter Knob - T-Handle - Plastic - Cheetah Shifters - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"12.80","BASE":"13.99","WEIGHT":"0.0700","MFG_PART":"","TREE_ID":"603"} [Wednesday 3rd of June 2026 04:25:32 PM] create_new_part() - EBMS API call successful for SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:32 PM] create_new_part() - Part created successfully in EBMS - SKU: TUR70061 - {"id":"TUR70061","cost":"12.80","base":"13.99","description":"Shifter Knob - T-Handle - Plastic - Cheetah Shifters - Each","tree_id":" 603"} [Wednesday 3rd of June 2026 04:25:32 PM] create_new_part() - Sending new part notification email for SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:32 PM] create_new_part() - Notification email sent successfully for SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:32 PM] create_new_part() - END - SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:32 PM] New part created in EBMS for SKU: TUR70061 [Wednesday 3rd of June 2026 04:25:32 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"TUR70061","M_QUAN_VIS":1,"UNIT":"13.99","UNIT_MEAS":"EA"}] [Wednesday 3rd of June 2026 04:25:32 PM] Building payment record - Total: 38.8300 [Wednesday 3rd of June 2026 04:25:32 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1893","ADDRESS1":"2957 Deerhaven Dr S ","ADDRESS2":"","C_ADDRESS1":"2957 Deerhaven Dr S ","C_ADDRESS2":"","C_CITY":"Cookeville","C_COUNTRY":"USA","C_EMAIL":"trey.sommers@gmail.com","C_NAME":"Trey Sommers","C_STATE":"TN","C_ZIP":"38506 ","ShippingAmount":"21.39","CITY":"Cookeville","EMAIL":"trey.sommers@gmail.com","ID":"APONLINE","NAME":"Trey Sommers","STATE":"TN","COUNTRY":"USA","ZIP":"38506 ","MEMO":"","DESCR":"BigCommerce Order - AP1893 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TUR70061","M_QUAN_VIS":1,"UNIT":"13.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"38.83","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 04:25:32 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1893 [Wednesday 3rd of June 2026 04:25:32 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1893%27 [Wednesday 3rd of June 2026 04:25:33 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1893 [Wednesday 3rd of June 2026 04:25:33 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1893 not found in EBMS [Wednesday 3rd of June 2026 04:25:33 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1893 | Found: false [Wednesday 3rd of June 2026 04:25:33 PM] Invoice AP1893 does not exist in EBMS - creating [Wednesday 3rd of June 2026 04:25:33 PM] create_ebms_invoice() - START - Invoice: AP1893 [Wednesday 3rd of June 2026 04:25:33 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1893","ADDRESS1":"2957 Deerhaven Dr S ","ADDRESS2":"","C_ADDRESS1":"2957 Deerhaven Dr S ","C_ADDRESS2":"","C_CITY":"Cookeville","C_COUNTRY":"USA","C_EMAIL":"trey.sommers@gmail.com","C_NAME":"Trey Sommers","C_STATE":"TN","C_ZIP":"38506 ","ShippingAmount":"21.39","CITY":"Cookeville","EMAIL":"trey.sommers@gmail.com","ID":"APONLINE","NAME":"Trey Sommers","STATE":"TN","COUNTRY":"USA","ZIP":"38506 ","MEMO":"","DESCR":"BigCommerce Order - AP1893 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TUR70061","M_QUAN_VIS":1,"UNIT":"13.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"38.83","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 04:25:33 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Wednesday 3rd of June 2026 04:25:41 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1893 [Wednesday 3rd of June 2026 04:25:41 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1893 - Response: {"@odata.context":"http:\/\/localhost:52756\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"33324e52-3945-3937-4d49-355443303030","AUTOID":"RN23E979MI5TC000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-15.3499999999999996447286321199499070644378662109375,"BAL_CUST_X":-15.3499999999999996447286321199499070644378662109375,"BALANCE":-15.3499999999999996447286321199499070644378662109375,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":3.45000000000000017763568394002504646778106689453125,"TAX":2.089999999999999857891452847979962825775146484375,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":38.8299999999999982946974341757595539093017578125,"TOTAL_S_SO":13.9900000000000002131628207280300557613372802734375,"TOTAL_SO":38.8299999999999982946974341757595539093017578125,"TOTAL_W":0,"TTLPROCPMT":38.8299999999999982946974341757595539093017578125,"TOTAL":23.480000000000000426325641456060111522674560546875,"FREIGHT":21.3900000000000005684341886080801486968994140625,"HANDLING":0,"SHIPPING":21.3900000000000005684341886080801486968994140625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"2957 Deerhaven Dr S","ADDRESS2":"","C_EMAIL":"trey.sommers@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-03T00:00:00Z","CHECK_NO":" APBC","CITY":"Cookeville","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-03T00:00:00Z","E_DATE":"2026-06-03T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"trey.sommers@gmail.com","IADDRESS":"2957 Deerhaven Dr S , Cookeville, TN 38506","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-03T00:00:00Z","INVOICE":"AP1893","MAN_TAX":true,"NAME":"Trey Sommers","PHONE":"","PROCESS":"Default","STATE":"TN","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"38506","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"2957 Deerhaven Dr S","C_ADDRESS2":"","C_CITY":"Cookeville","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Trey Sommers","C_STATE":"TN","C_ZIP":"38506","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1893 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-03T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Wednesday 3rd of June 2026 04:25:41 PM] create_ebms_invoice() - END - Invoice: AP1893 [Wednesday 3rd of June 2026 04:25:41 PM] Invoice AP1893 created successfully [Wednesday 3rd of June 2026 04:25:41 PM] ORDER WEBHOOK COMPLETED - Order ID: 1893 | Invoice: AP1893 [Wednesday 3rd of June 2026 04:26:38 PM] ORDER WEBHOOK STARTED - Order ID: 1893 [Wednesday 3rd of June 2026 04:26:38 PM] Fetching customer data for Order ID: 1893 [Wednesday 3rd of June 2026 04:26:38 PM] get_order_customer_data() - START - Order ID: 1893 [Wednesday 3rd of June 2026 04:26:38 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1893 [Wednesday 3rd of June 2026 04:26:39 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] get_order_customer_data() - Parsing order response for Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Trey Sommers | Email: trey.sommers@gmail.com | Total: 38.8300 | Shipping: 21.39 [Wednesday 3rd of June 2026 04:26:39 PM] get_order_customer_data() - END - Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] Customer data received: {"id":0,"email":"trey.sommers@gmail.com","address_1":"2957 Deerhaven Dr S ","address_2":"","city":"Cookeville","state":"TN","country":"USA","zip":"38506 ","f_name":"Trey","l_name":"Sommers","contact_5":"trey.sommers@gmail.com","contact_1":"7607159027","contact_4":"Trey Sommers"} [Wednesday 3rd of June 2026 04:26:39 PM] Fetching shipping info for Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] get_order_shipping_info() - START - Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1893/shipping_addresses [Wednesday 3rd of June 2026 04:26:39 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1893 | Name: Trey Sommers | Address: 2957 Deerhaven Dr S , Cookeville, Tennessee, 38506 [Wednesday 3rd of June 2026 04:26:39 PM] get_order_shipping_info() - END - Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] Shipping info received: {"id":1792,"order_id":1893,"first_name":"Trey","last_name":"Sommers","company":"","street_1":"2957 Deerhaven Dr S ","street_2":"","city":"Cookeville","zip":"38506 ","country":"United States","country_iso2":"US","state":"Tennessee","email":"trey.sommers@gmail.com","phone":"7607159027","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"21.3900","cost_ex_tax":"21.3900","cost_inc_tax":"23.4755","cost_tax":"2.0855","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1893\/shipping_addresses\/1792\/shipping_quotes","resource":"\/orders\/1893\/shipping_addresses\/1792\/shipping_quotes"},"form_fields":[]} [Wednesday 3rd of June 2026 04:26:39 PM] Resolved Customer ID: APONLINE [Wednesday 3rd of June 2026 04:26:39 PM] Building order object for Invoice: AP1893 [Wednesday 3rd of June 2026 04:26:39 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1893","ADDRESS1":"2957 Deerhaven Dr S ","ADDRESS2":"","C_ADDRESS1":"2957 Deerhaven Dr S ","C_ADDRESS2":"","C_CITY":"Cookeville","C_COUNTRY":"USA","C_EMAIL":"trey.sommers@gmail.com","C_NAME":"Trey Sommers","C_STATE":"TN","C_ZIP":"38506 ","ShippingAmount":"21.39","CITY":"Cookeville","EMAIL":"trey.sommers@gmail.com","ID":"APONLINE","NAME":"Trey Sommers","STATE":"TN","COUNTRY":"USA","ZIP":"38506 ","MEMO":"","DESCR":"BigCommerce Order - AP1893 - Customer APONLINE"} [Wednesday 3rd of June 2026 04:26:39 PM] Guest checkout detected (APONLINE) - skipping customer sync [Wednesday 3rd of June 2026 04:26:39 PM] Fetching products from BigCommerce for Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] BigCommerce API call successful for Order ID: 1893 [Wednesday 3rd of June 2026 04:26:39 PM] Products received: 1 item(s) [Wednesday 3rd of June 2026 04:26:39 PM] Processing product SKU: TUR70061 | Qty: 1 | Price: 13.9900 [Wednesday 3rd of June 2026 04:26:39 PM] get_mpn() - START - Product ID: 15047 [Wednesday 3rd of June 2026 04:26:39 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/15047 [Wednesday 3rd of June 2026 04:26:39 PM] get_mpn() - BigCommerce API call successful for Product ID: 15047 [Wednesday 3rd of June 2026 04:26:39 PM] get_mpn() - WARNING - MPN is empty for Product ID: 15047 [Wednesday 3rd of June 2026 04:26:39 PM] get_mpn() - END - Product ID: 15047 | MPN: [Wednesday 3rd of June 2026 04:26:39 PM] check_for_ebms_product() - START - SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:39 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27TUR70061%27 [Wednesday 3rd of June 2026 04:26:40 PM] check_for_ebms_product() - EBMS API call successful for SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] check_for_ebms_product() - SKU: TUR70061 found in EBMS [Wednesday 3rd of June 2026 04:26:40 PM] check_for_ebms_product() - END - SKU: TUR70061 | Found: true [Wednesday 3rd of June 2026 04:26:40 PM] SKU TUR70061 found in EBMS - checking prices [Wednesday 3rd of June 2026 04:26:40 PM] obtain_current_prices() - START - SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] obtain_current_prices() - Checking Motorstate for SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] check_for_ms_product() - START - SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] check_for_ms_product() - Motorstate API call successful for SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] check_for_ms_product() - SKU: TUR70061 found in Motorstate [Wednesday 3rd of June 2026 04:26:40 PM] check_for_ms_product() - END - SKU: TUR70061 | Found: true [Wednesday 3rd of June 2026 04:26:40 PM] obtain_current_prices() - SKU: TUR70061 found in Motorstate - Fetching prices [Wednesday 3rd of June 2026 04:26:40 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: TUR70061 - URL: https://api.motorstate.com/api/Product?partNumbers=TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: TUR70061 - Base: 13.99 | Cost: 12.80 [Wednesday 3rd of June 2026 04:26:40 PM] obtain_current_prices() - Returning Motorstate prices for SKU: TUR70061 - Base: 13.99 | Cost: 12.80 [Wednesday 3rd of June 2026 04:26:40 PM] obtain_current_prices() - END - SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] SKU TUR70061 has existing EBMS prices - syncing BigCommerce price back (cost: 12.80, base: 13.99) [Wednesday 3rd of June 2026 04:26:40 PM] update_product_price() - START - Product ID: 15047 | Base: 13.99 | Cost: 12.8 [Wednesday 3rd of June 2026 04:26:40 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/15047 [Wednesday 3rd of June 2026 04:26:40 PM] update_product_price() - PUT payload: {"price":13.9900000000000002131628207280300557613372802734375,"cost_price":12.800000000000000710542735760100185871124267578125} [Wednesday 3rd of June 2026 04:26:40 PM] update_product_price() - Attempt 1 of 6 for Product ID: 15047 [Wednesday 3rd of June 2026 04:26:40 PM] update_product_price() - Price updated successfully for Product ID: 15047 - Base: 13.99 | Cost: 12.8 [Wednesday 3rd of June 2026 04:26:40 PM] update_product_price() - END - Product ID: 15047 | Result: success [Wednesday 3rd of June 2026 04:26:40 PM] BigCommerce price updated for Product ID: 15047 [Wednesday 3rd of June 2026 04:26:40 PM] get_product_inventory() - START - SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] get_product_inventory() - Motorstate API call successful for SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:40 PM] get_product_inventory() - Stock found for SKU: TUR70061 - Quantity: 0 | Running Total: 0 [Wednesday 3rd of June 2026 04:26:40 PM] get_product_inventory() - END - SKU: TUR70061 | Total: 0 [Wednesday 3rd of June 2026 04:26:40 PM] get_cf_id() - START - Product ID: 15047 [Wednesday 3rd of June 2026 04:26:40 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/15047/custom-fields [Wednesday 3rd of June 2026 04:26:40 PM] get_cf_id() - BigCommerce API call successful for Product ID: 15047 [Wednesday 3rd of June 2026 04:26:40 PM] get_cf_id() - Custom field found for Product ID: 15047 | Field: online_stock_level | CF ID: 14937 [Wednesday 3rd of June 2026 04:26:40 PM] get_cf_id() - END - Product ID: 15047 | CF ID: 14937 [Wednesday 3rd of June 2026 04:26:40 PM] Updating inventory for SKU TUR70061 - stock: 0, CF ID: 14937 [Wednesday 3rd of June 2026 04:26:40 PM] update_product_inventory() - START - Product ID: 15047 | Stock: 0 | CF ID: 14937 [Wednesday 3rd of June 2026 04:26:40 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/15047/custom-fields/14937 [Wednesday 3rd of June 2026 04:26:41 PM] update_product_inventory() - Inventory updated successfully for Product ID: 15047 | Stock: 0 [Wednesday 3rd of June 2026 04:26:41 PM] update_product_inventory() - END - Product ID: 15047 | Result: success [Wednesday 3rd of June 2026 04:26:41 PM] Inventory updated for SKU: TUR70061 [Wednesday 3rd of June 2026 04:26:41 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"TUR70061","M_QUAN_VIS":1,"UNIT":"13.99","UNIT_MEAS":"EA"}] [Wednesday 3rd of June 2026 04:26:41 PM] Building payment record - Total: 38.8300 [Wednesday 3rd of June 2026 04:26:41 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1893","ADDRESS1":"2957 Deerhaven Dr S ","ADDRESS2":"","C_ADDRESS1":"2957 Deerhaven Dr S ","C_ADDRESS2":"","C_CITY":"Cookeville","C_COUNTRY":"USA","C_EMAIL":"trey.sommers@gmail.com","C_NAME":"Trey Sommers","C_STATE":"TN","C_ZIP":"38506 ","ShippingAmount":"21.39","CITY":"Cookeville","EMAIL":"trey.sommers@gmail.com","ID":"APONLINE","NAME":"Trey Sommers","STATE":"TN","COUNTRY":"USA","ZIP":"38506 ","MEMO":"","DESCR":"BigCommerce Order - AP1893 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TUR70061","M_QUAN_VIS":1,"UNIT":"13.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"38.83","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 04:26:41 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1893 [Wednesday 3rd of June 2026 04:26:41 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1893%27 [Wednesday 3rd of June 2026 04:26:42 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1893 [Wednesday 3rd of June 2026 04:26:42 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1893 found in EBMS [Wednesday 3rd of June 2026 04:26:42 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1893 | Found: true [Wednesday 3rd of June 2026 04:26:42 PM] Invoice AP1893 already exists in EBMS - patching [Wednesday 3rd of June 2026 04:26:42 PM] patch_ebms_invoice() - START - Invoice: AP1893 [Wednesday 3rd of June 2026 04:26:42 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1893","ADDRESS1":"2957 Deerhaven Dr S ","ADDRESS2":"","C_ADDRESS1":"2957 Deerhaven Dr S ","C_ADDRESS2":"","C_CITY":"Cookeville","C_COUNTRY":"USA","C_EMAIL":"trey.sommers@gmail.com","C_NAME":"Trey Sommers","C_STATE":"TN","C_ZIP":"38506 ","ShippingAmount":"21.39","CITY":"Cookeville","EMAIL":"trey.sommers@gmail.com","ID":"APONLINE","NAME":"Trey Sommers","STATE":"TN","COUNTRY":"USA","ZIP":"38506 ","MEMO":"","DESCR":"BigCommerce Order - AP1893 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TUR70061","M_QUAN_VIS":1,"UNIT":"13.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"38.83","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Wednesday 3rd of June 2026 04:26:42 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1893%27 [Wednesday 3rd of June 2026 04:26:42 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1893 [Wednesday 3rd of June 2026 04:26:42 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1893 [Wednesday 3rd of June 2026 04:26:42 PM] patch_ebms_invoice() - END - Invoice: AP1893 [Wednesday 3rd of June 2026 04:26:42 PM] Invoice AP1893 patched successfully [Wednesday 3rd of June 2026 04:26:42 PM] ORDER WEBHOOK COMPLETED - Order ID: 1893 | Invoice: AP1893