[Tuesday 14th of July 2026 12:24:11 AM] add_customer() - START - Customer ID: 368 | Name: [Tuesday 14th of July 2026 12:24:11 AM] add_customer() - Customer payload: {"id":368,"address_count":0,"addresses":[],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"MichaelGreen80@mac.com","first_name":"Michael","last_name":"Greenfield","notes":"","phone":"","registration_ip_address":"98.116.86.217","tax_exempt_category":"","date_created":"2026-07-14T05:24:05Z","date_modified":"2026-07-14T05:24:05Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null} [Tuesday 14th of July 2026 12:24:11 AM] add_customer() - Customer fields parsed - ID: AP368 | Address: , , | Email: [Tuesday 14th of July 2026 12:24:11 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 14th of July 2026 12:24:11 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP368","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 14th of July 2026 12:24:13 AM] add_customer() - EBMS API call successful for Customer ID: AP368 [Tuesday 14th of July 2026 12:24:13 AM] add_customer() - Customer created successfully in EBMS - ID: AP368 - Response: {"@odata.context":"http:\/\/localhost:57789\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"39334731-5352-5037-4c46-473731303030","AUTOID":"1G39RS7PLFG71000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP368","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Tuesday 14th of July 2026 12:24:13 AM] add_customer() - END - Customer ID: AP368 [Tuesday 14th of July 2026 12:29:49 AM] ORDER WEBHOOK STARTED - Order ID: 1969 [Tuesday 14th of July 2026 12:29:49 AM] Fetching customer data for Order ID: 1969 [Tuesday 14th of July 2026 12:29:49 AM] get_order_customer_data() - START - Order ID: 1969 [Tuesday 14th of July 2026 12:29:49 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1969 [Tuesday 14th of July 2026 12:29:49 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1969 [Tuesday 14th of July 2026 12:29:49 AM] get_order_customer_data() - Parsing order response for Order ID: 1969 [Tuesday 14th of July 2026 12:29:49 AM] get_order_customer_data() - Customer object built - Customer ID: 368 | Name: Michael Greenfield | Email: MichaelGreen80@mac.com | Total: 102.8800 | Shipping: 12.93 [Tuesday 14th of July 2026 12:29:49 AM] get_order_customer_data() - END - Order ID: 1969 [Tuesday 14th of July 2026 12:29:49 AM] Customer data received: {"id":368,"email":"MichaelGreen80@mac.com","address_1":"76 Iroquois Rd","address_2":"","city":"Yonkers","state":"NY","country":"USA","zip":"10710","f_name":"Michael","l_name":"Greenfield","contact_5":"MichaelGreen80@mac.com","contact_1":"5166339230","contact_4":"Michael Greenfield"} [Tuesday 14th of July 2026 12:29:49 AM] Fetching shipping info for Order ID: 1969 [Tuesday 14th of July 2026 12:29:49 AM] get_order_shipping_info() - START - Order ID: 1969 [Tuesday 14th of July 2026 12:29:49 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1969/shipping_addresses [Tuesday 14th of July 2026 12:29:50 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1969 [Tuesday 14th of July 2026 12:29:50 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1969 | Name: Michael Greenfield | Address: 99 Doxsee Dr, Freeport, New York, 11520 [Tuesday 14th of July 2026 12:29:50 AM] get_order_shipping_info() - END - Order ID: 1969 [Tuesday 14th of July 2026 12:29:50 AM] Shipping info received: {"id":1868,"order_id":1969,"first_name":"Michael","last_name":"Greenfield","company":"","street_1":"99 Doxsee Dr","street_2":"","city":"Freeport","zip":"11520","country":"United States","country_iso2":"US","state":"New York","email":"MichaelGreen80@mac.com","phone":"5166339230","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"12.9300","cost_ex_tax":"12.9300","cost_inc_tax":"12.9300","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\/1969\/shipping_addresses\/1868\/shipping_quotes","resource":"\/orders\/1969\/shipping_addresses\/1868\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 12:29:50 AM] Resolved Customer ID: AP368 [Tuesday 14th of July 2026 12:29:50 AM] Building order object for Invoice: AP1969 [Tuesday 14th of July 2026 12:29:50 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1969","ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","C_ADDRESS1":"99 Doxsee Dr","C_ADDRESS2":"","C_CITY":"Freeport","C_COUNTRY":"USA","C_EMAIL":"MichaelGreen80@mac.com","C_NAME":"Michael Greenfield","C_STATE":"NY","C_ZIP":"11520","ShippingAmount":"12.93","CITY":"Yonkers","EMAIL":"MichaelGreen80@mac.com","ID":"AP368","NAME":"Michael Greenfield","STATE":"NY","COUNTRY":"USA","ZIP":"10710","MEMO":"","DESCR":"BigCommerce Order - AP1969 - Customer AP368"} [Tuesday 14th of July 2026 12:29:50 AM] Registered customer detected - checking EBMS for Customer ID: AP368 [Tuesday 14th of July 2026 12:29:50 AM] check_for_customer() - START - Customer ID: 368 [Tuesday 14th of July 2026 12:29:50 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP368%27 [Tuesday 14th of July 2026 12:29:50 AM] check_for_customer() - EBMS API call successful for Customer ID: 368 [Tuesday 14th of July 2026 12:29:50 AM] check_for_customer() - Customer ID: 368 found in EBMS [Tuesday 14th of July 2026 12:29:50 AM] check_for_customer() - END - Customer ID: 368 | Found: true [Tuesday 14th of July 2026 12:29:50 AM] Customer AP368 found in EBMS [Tuesday 14th of July 2026 12:29:50 AM] check_for_empty_info() - START - Customer ID: 368 [Tuesday 14th of July 2026 12:29:50 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP368%27 [Tuesday 14th of July 2026 12:29:50 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 368 [Tuesday 14th of July 2026 12:29:50 AM] check_for_empty_info() - Customer record found for Customer ID: 368 - Checking ADDRESS1 field [Tuesday 14th of July 2026 12:29:50 AM] check_for_empty_info() - ADDRESS1 is empty for Customer ID: 368 - Update needed [Tuesday 14th of July 2026 12:29:50 AM] check_for_empty_info() - END - Customer ID: 368 | Empty Info: true [Tuesday 14th of July 2026 12:29:50 AM] Empty info detected - updating customer record for AP368 [Tuesday 14th of July 2026 12:29:50 AM] update_customer() - START - Customer ID: 368 | Name: Michael Greenfield [Tuesday 14th of July 2026 12:29:50 AM] update_customer() - Customer payload: {"id":368,"email":"MichaelGreen80@mac.com","address_1":"76 Iroquois Rd","address_2":"","city":"Yonkers","state":"NY","country":"USA","zip":"10710","f_name":"Michael","l_name":"Greenfield","contact_5":"MichaelGreen80@mac.com","contact_1":"5166339230","contact_4":"Michael Greenfield"} [Tuesday 14th of July 2026 12:29:50 AM] update_customer() - Fetching EBMS autoid for Customer ID: 368 [Tuesday 14th of July 2026 12:29:50 AM] get_customer_autoid() - START - Customer ID: AP368 [Tuesday 14th of July 2026 12:29:50 AM] get_customer_autoid() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP368%27 [Tuesday 14th of July 2026 12:29:50 AM] get_customer_autoid() - EBMS API call successful for Customer ID: AP368 [Tuesday 14th of July 2026 12:29:50 AM] get_customer_autoid() - AUTOID retrieved for Customer ID: AP368 - AUTOID: 1G39RS7PLFG71000 [Tuesday 14th of July 2026 12:29:50 AM] get_customer_autoid() - END - Customer ID: AP368 | AUTOID: 1G39RS7PLFG71000 [Tuesday 14th of July 2026 12:29:50 AM] update_customer() - EBMS autoid retrieved: 1G39RS7PLFG71000 for Customer ID: 368 [Tuesday 14th of July 2026 12:29:50 AM] update_customer() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST('1G39RS7PLFG71000') [Tuesday 14th of July 2026 12:29:50 AM] update_customer() - PATCH payload: {"ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","CITY":"Yonkers","CONTACT_5":"MichaelGreen80@mac.com","CONTACT_1":"5166339230","CONTACT_4":"Michael Greenfield","COUNTRY":null,"F_NAME":"Michael","L_NAME":"Greenfield","STATE":"NY","ZIP":"10710"} [Tuesday 14th of July 2026 12:29:52 AM] update_customer() - EBMS API call successful for Customer ID: 368 [Tuesday 14th of July 2026 12:29:52 AM] update_customer() - Customer updated successfully in EBMS - Response: {"@odata.context":"http:\/\/localhost:57789\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"39334731-5352-5037-4c46-473731303030","AUTOID":"1G39RS7PLFG71000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Michael Greenfield","ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Yonkers","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"MichaelGreen80@mac.com","EMAIL_LIST":false,"F_NAME":"Michael","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP368","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Greenfield","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Michael Greenfield)","OUT_CITY":false,"PHONE":"(516) 633-9230","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"NY","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"10710","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(516) 633-9230","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Michael Greenfield","CONTACT_5":"MichaelGreen80@mac.com","EXTERNALID":""} [Tuesday 14th of July 2026 12:29:52 AM] update_customer() - END - Customer ID: 368 [Tuesday 14th of July 2026 12:29:52 AM] Customer record updated for AP368 [Tuesday 14th of July 2026 12:29:52 AM] check_for_empty_pn() - START - Customer ID: AP368 [Tuesday 14th of July 2026 12:29:52 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP368%27 [Tuesday 14th of July 2026 12:29:53 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP368 [Tuesday 14th of July 2026 12:29:53 AM] check_for_empty_pn() - Customer record found for Customer ID: AP368 - Checking CONTACT_1 field [Tuesday 14th of July 2026 12:29:53 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP368 - Value: (516) 633-9230 - No update needed [Tuesday 14th of July 2026 12:29:53 AM] check_for_empty_pn() - END - Customer ID: AP368 | Empty PN: false [Tuesday 14th of July 2026 12:29:53 AM] Fetching products from BigCommerce for Order ID: 1969 [Tuesday 14th of July 2026 12:29:53 AM] BigCommerce API call successful for Order ID: 1969 [Tuesday 14th of July 2026 12:29:53 AM] Products received: 1 item(s) [Tuesday 14th of July 2026 12:29:53 AM] Processing product SKU: EFE40050 | Qty: 1 | Price: 89.9500 [Tuesday 14th of July 2026 12:29:53 AM] get_mpn() - START - Product ID: 67476 [Tuesday 14th of July 2026 12:29:53 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67476 [Tuesday 14th of July 2026 12:29:53 AM] get_mpn() - BigCommerce API call successful for Product ID: 67476 [Tuesday 14th of July 2026 12:29:53 AM] get_mpn() - WARNING - MPN is empty for Product ID: 67476 [Tuesday 14th of July 2026 12:29:53 AM] get_mpn() - END - Product ID: 67476 | MPN: [Tuesday 14th of July 2026 12:29:53 AM] check_for_ebms_product() - START - SKU: EFE40050 [Tuesday 14th of July 2026 12:29:53 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40050%27 [Tuesday 14th of July 2026 12:29:53 AM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40050 [Tuesday 14th of July 2026 12:29:53 AM] check_for_ebms_product() - SKU: EFE40050 found in EBMS [Tuesday 14th of July 2026 12:29:53 AM] check_for_ebms_product() - END - SKU: EFE40050 | Found: true [Tuesday 14th of July 2026 12:29:53 AM] SKU EFE40050 found in EBMS - checking prices [Tuesday 14th of July 2026 12:29:53 AM] obtain_current_prices() - START - SKU: EFE40050 [Tuesday 14th of July 2026 12:29:53 AM] obtain_current_prices() - Checking Motorstate for SKU: EFE40050 [Tuesday 14th of July 2026 12:29:53 AM] check_for_ms_product() - START - SKU: EFE40050 [Tuesday 14th of July 2026 12:29:53 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40050 [Tuesday 14th of July 2026 12:29:53 AM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40050 [Tuesday 14th of July 2026 12:29:53 AM] check_for_ms_product() - SKU: EFE40050 found in Motorstate [Tuesday 14th of July 2026 12:29:53 AM] check_for_ms_product() - END - SKU: EFE40050 | Found: true [Tuesday 14th of July 2026 12:29:53 AM] obtain_current_prices() - SKU: EFE40050 found in Motorstate - Fetching prices [Tuesday 14th of July 2026 12:29:53 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40050 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40050 [Tuesday 14th of July 2026 12:29:54 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40050 - Base: 89.95 | Cost: 67.46 [Tuesday 14th of July 2026 12:29:54 AM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40050 - Base: 89.95 | Cost: 67.46 [Tuesday 14th of July 2026 12:29:54 AM] obtain_current_prices() - END - SKU: EFE40050 [Tuesday 14th of July 2026 12:29:54 AM] SKU EFE40050 has existing EBMS prices - syncing BigCommerce price back (cost: 67.46, base: 89.95) [Tuesday 14th of July 2026 12:29:54 AM] update_product_price() - START - Product ID: 67476 | Base: 89.95 | Cost: 67.46 [Tuesday 14th of July 2026 12:29:54 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67476 [Tuesday 14th of July 2026 12:29:54 AM] update_product_price() - PUT payload: {"price":89.9500000000000028421709430404007434844970703125,"cost_price":67.4599999999999937472239253111183643341064453125} [Tuesday 14th of July 2026 12:29:54 AM] update_product_price() - Attempt 1 of 6 for Product ID: 67476 [Tuesday 14th of July 2026 12:29:54 AM] update_product_price() - Price updated successfully for Product ID: 67476 - Base: 89.95 | Cost: 67.46 [Tuesday 14th of July 2026 12:29:54 AM] update_product_price() - END - Product ID: 67476 | Result: success [Tuesday 14th of July 2026 12:29:54 AM] BigCommerce price updated for Product ID: 67476 [Tuesday 14th of July 2026 12:29:54 AM] get_product_inventory() - START - SKU: EFE40050 [Tuesday 14th of July 2026 12:29:54 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40050 [Tuesday 14th of July 2026 12:29:54 AM] get_product_inventory() - Motorstate API call successful for SKU: EFE40050 [Tuesday 14th of July 2026 12:29:54 AM] get_product_inventory() - Stock found for SKU: EFE40050 - Quantity: 58 | Running Total: 58 [Tuesday 14th of July 2026 12:29:54 AM] get_product_inventory() - END - SKU: EFE40050 | Total: 58 [Tuesday 14th of July 2026 12:29:54 AM] get_cf_id() - START - Product ID: 67476 [Tuesday 14th of July 2026 12:29:54 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67476/custom-fields [Tuesday 14th of July 2026 12:29:54 AM] get_cf_id() - BigCommerce API call successful for Product ID: 67476 [Tuesday 14th of July 2026 12:29:54 AM] get_cf_id() - Custom field found for Product ID: 67476 | Field: online_stock_level | CF ID: 67366 [Tuesday 14th of July 2026 12:29:54 AM] get_cf_id() - END - Product ID: 67476 | CF ID: 67366 [Tuesday 14th of July 2026 12:29:54 AM] Updating inventory for SKU EFE40050 - stock: 58, CF ID: 67366 [Tuesday 14th of July 2026 12:29:54 AM] update_product_inventory() - START - Product ID: 67476 | Stock: 58 | CF ID: 67366 [Tuesday 14th of July 2026 12:29:54 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67476/custom-fields/67366 [Tuesday 14th of July 2026 12:29:54 AM] update_product_inventory() - Inventory updated successfully for Product ID: 67476 | Stock: 58 [Tuesday 14th of July 2026 12:29:54 AM] update_product_inventory() - END - Product ID: 67476 | Result: success [Tuesday 14th of July 2026 12:29:54 AM] Inventory updated for SKU: EFE40050 [Tuesday 14th of July 2026 12:29:54 AM] All products processed - Order details: [{"ID":"AP368","INVEN":"EFE40050","M_QUAN_VIS":1,"UNIT":"89.95","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 12:29:54 AM] Building payment record - Total: 102.8800 [Tuesday 14th of July 2026 12:29:54 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1969","ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","C_ADDRESS1":"99 Doxsee Dr","C_ADDRESS2":"","C_CITY":"Freeport","C_COUNTRY":"USA","C_EMAIL":"MichaelGreen80@mac.com","C_NAME":"Michael Greenfield","C_STATE":"NY","C_ZIP":"11520","ShippingAmount":"12.93","CITY":"Yonkers","EMAIL":"MichaelGreen80@mac.com","ID":"AP368","NAME":"Michael Greenfield","STATE":"NY","COUNTRY":"USA","ZIP":"10710","MEMO":"","DESCR":"BigCommerce Order - AP1969 - Customer AP368","Details":[{"ID":"AP368","INVEN":"EFE40050","M_QUAN_VIS":1,"UNIT":"89.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"102.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 12:29:54 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1969 [Tuesday 14th of July 2026 12:29:54 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1969%27 [Tuesday 14th of July 2026 12:29:55 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1969 [Tuesday 14th of July 2026 12:29:55 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1969 not found in EBMS [Tuesday 14th of July 2026 12:29:55 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1969 | Found: false [Tuesday 14th of July 2026 12:29:55 AM] Invoice AP1969 does not exist in EBMS - creating [Tuesday 14th of July 2026 12:29:55 AM] create_ebms_invoice() - START - Invoice: AP1969 [Tuesday 14th of July 2026 12:29:55 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1969","ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","C_ADDRESS1":"99 Doxsee Dr","C_ADDRESS2":"","C_CITY":"Freeport","C_COUNTRY":"USA","C_EMAIL":"MichaelGreen80@mac.com","C_NAME":"Michael Greenfield","C_STATE":"NY","C_ZIP":"11520","ShippingAmount":"12.93","CITY":"Yonkers","EMAIL":"MichaelGreen80@mac.com","ID":"AP368","NAME":"Michael Greenfield","STATE":"NY","COUNTRY":"USA","ZIP":"10710","MEMO":"","DESCR":"BigCommerce Order - AP1969 - Customer AP368","Details":[{"ID":"AP368","INVEN":"EFE40050","M_QUAN_VIS":1,"UNIT":"89.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"102.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 12:29:55 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 14th of July 2026 12:30:01 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1969 [Tuesday 14th of July 2026 12:30:01 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1969 - Response: {"@odata.context":"http:\/\/localhost:57789\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4b4d3149-4e47-5355-4c46-473731303030","AUTOID":"I1MKGNUSLFG71000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-89.9500000000000028421709430404007434844970703125,"BAL_CUST_X":-89.9500000000000028421709430404007434844970703125,"BALANCE":-89.9500000000000028421709430404007434844970703125,"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":102.8799999999999954525264911353588104248046875,"TOTAL_S_SO":89.9500000000000028421709430404007434844970703125,"TOTAL_SO":102.8799999999999954525264911353588104248046875,"TOTAL_W":0,"TTLPROCPMT":102.8799999999999954525264911353588104248046875,"TOTAL":12.92999999999999971578290569595992565155029296875,"FREIGHT":12.92999999999999971578290569595992565155029296875,"HANDLING":0,"SHIPPING":12.92999999999999971578290569595992565155029296875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","C_EMAIL":"MichaelGreen80@mac.com","C_PHONE":"(516) 633-9230","CCNTCT_AID":"MH7PGSJUABA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-07-14T00:00:00Z","CHECK_NO":" APBC","CITY":"Yonkers","CNTCT_AID":"MH7PGSJUABA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-07-14T00:00:00Z","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"MichaelGreen80@mac.com","IADDRESS":"99 Doxsee Dr , Freeport, NY 11520","ID":"AP368","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-14T00:00:00Z","INVOICE":"AP1969","MAN_TAX":false,"NAME":"Michael Greenfield","PHONE":"","PROCESS":"Default","STATE":"NY","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"10710","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"99 Doxsee Dr","C_ADDRESS2":"","C_CITY":"Freeport","C_COUNTRY":"USA","C_ID":"AP368","C_NAME":"Michael Greenfield","C_STATE":"NY","C_ZIP":"11520","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1969 - Customer AP368","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-14T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 14th of July 2026 12:30:01 AM] create_ebms_invoice() - END - Invoice: AP1969 [Tuesday 14th of July 2026 12:30:01 AM] Invoice AP1969 created successfully [Tuesday 14th of July 2026 12:30:01 AM] ORDER WEBHOOK COMPLETED - Order ID: 1969 | Invoice: AP1969 [Tuesday 14th of July 2026 12:30:59 AM] ORDER WEBHOOK STARTED - Order ID: 1969 [Tuesday 14th of July 2026 12:30:59 AM] Fetching customer data for Order ID: 1969 [Tuesday 14th of July 2026 12:30:59 AM] get_order_customer_data() - START - Order ID: 1969 [Tuesday 14th of July 2026 12:30:59 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1969 [Tuesday 14th of July 2026 12:31:00 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1969 [Tuesday 14th of July 2026 12:31:00 AM] get_order_customer_data() - Parsing order response for Order ID: 1969 [Tuesday 14th of July 2026 12:31:00 AM] get_order_customer_data() - Customer object built - Customer ID: 368 | Name: Michael Greenfield | Email: MichaelGreen80@mac.com | Total: 102.8800 | Shipping: 12.93 [Tuesday 14th of July 2026 12:31:00 AM] get_order_customer_data() - END - Order ID: 1969 [Tuesday 14th of July 2026 12:31:00 AM] Customer data received: {"id":368,"email":"MichaelGreen80@mac.com","address_1":"76 Iroquois Rd","address_2":"","city":"Yonkers","state":"NY","country":"USA","zip":"10710","f_name":"Michael","l_name":"Greenfield","contact_5":"MichaelGreen80@mac.com","contact_1":"5166339230","contact_4":"Michael Greenfield"} [Tuesday 14th of July 2026 12:31:00 AM] Fetching shipping info for Order ID: 1969 [Tuesday 14th of July 2026 12:31:00 AM] get_order_shipping_info() - START - Order ID: 1969 [Tuesday 14th of July 2026 12:31:00 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1969/shipping_addresses [Tuesday 14th of July 2026 12:31:00 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1969 [Tuesday 14th of July 2026 12:31:00 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1969 | Name: Michael Greenfield | Address: 99 Doxsee Dr, Freeport, New York, 11520 [Tuesday 14th of July 2026 12:31:00 AM] get_order_shipping_info() - END - Order ID: 1969 [Tuesday 14th of July 2026 12:31:00 AM] Shipping info received: {"id":1868,"order_id":1969,"first_name":"Michael","last_name":"Greenfield","company":"","street_1":"99 Doxsee Dr","street_2":"","city":"Freeport","zip":"11520","country":"United States","country_iso2":"US","state":"New York","email":"MichaelGreen80@mac.com","phone":"5166339230","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"12.9300","cost_ex_tax":"12.9300","cost_inc_tax":"12.9300","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\/1969\/shipping_addresses\/1868\/shipping_quotes","resource":"\/orders\/1969\/shipping_addresses\/1868\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 12:31:00 AM] Resolved Customer ID: AP368 [Tuesday 14th of July 2026 12:31:00 AM] Building order object for Invoice: AP1969 [Tuesday 14th of July 2026 12:31:00 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1969","ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","C_ADDRESS1":"99 Doxsee Dr","C_ADDRESS2":"","C_CITY":"Freeport","C_COUNTRY":"USA","C_EMAIL":"MichaelGreen80@mac.com","C_NAME":"Michael Greenfield","C_STATE":"NY","C_ZIP":"11520","ShippingAmount":"12.93","CITY":"Yonkers","EMAIL":"MichaelGreen80@mac.com","ID":"AP368","NAME":"Michael Greenfield","STATE":"NY","COUNTRY":"USA","ZIP":"10710","MEMO":"","DESCR":"BigCommerce Order - AP1969 - Customer AP368"} [Tuesday 14th of July 2026 12:31:00 AM] Registered customer detected - checking EBMS for Customer ID: AP368 [Tuesday 14th of July 2026 12:31:00 AM] check_for_customer() - START - Customer ID: 368 [Tuesday 14th of July 2026 12:31:00 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP368%27 [Tuesday 14th of July 2026 12:31:00 AM] check_for_customer() - EBMS API call successful for Customer ID: 368 [Tuesday 14th of July 2026 12:31:00 AM] check_for_customer() - Customer ID: 368 found in EBMS [Tuesday 14th of July 2026 12:31:00 AM] check_for_customer() - END - Customer ID: 368 | Found: true [Tuesday 14th of July 2026 12:31:00 AM] Customer AP368 found in EBMS [Tuesday 14th of July 2026 12:31:00 AM] check_for_empty_info() - START - Customer ID: 368 [Tuesday 14th of July 2026 12:31:00 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP368%27 [Tuesday 14th of July 2026 12:31:00 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 368 [Tuesday 14th of July 2026 12:31:00 AM] check_for_empty_info() - Customer record found for Customer ID: 368 - Checking ADDRESS1 field [Tuesday 14th of July 2026 12:31:00 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 368 - No update needed [Tuesday 14th of July 2026 12:31:00 AM] check_for_empty_info() - END - Customer ID: 368 | Empty Info: false [Tuesday 14th of July 2026 12:31:00 AM] check_for_empty_pn() - START - Customer ID: AP368 [Tuesday 14th of July 2026 12:31:00 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP368%27 [Tuesday 14th of July 2026 12:31:01 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP368 [Tuesday 14th of July 2026 12:31:01 AM] check_for_empty_pn() - Customer record found for Customer ID: AP368 - Checking CONTACT_1 field [Tuesday 14th of July 2026 12:31:01 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP368 - Value: (516) 633-9230 - No update needed [Tuesday 14th of July 2026 12:31:01 AM] check_for_empty_pn() - END - Customer ID: AP368 | Empty PN: false [Tuesday 14th of July 2026 12:31:01 AM] Fetching products from BigCommerce for Order ID: 1969 [Tuesday 14th of July 2026 12:31:01 AM] BigCommerce API call successful for Order ID: 1969 [Tuesday 14th of July 2026 12:31:01 AM] Products received: 1 item(s) [Tuesday 14th of July 2026 12:31:01 AM] Processing product SKU: EFE40050 | Qty: 1 | Price: 89.9500 [Tuesday 14th of July 2026 12:31:01 AM] get_mpn() - START - Product ID: 67476 [Tuesday 14th of July 2026 12:31:01 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67476 [Tuesday 14th of July 2026 12:31:01 AM] get_mpn() - BigCommerce API call successful for Product ID: 67476 [Tuesday 14th of July 2026 12:31:01 AM] get_mpn() - WARNING - MPN is empty for Product ID: 67476 [Tuesday 14th of July 2026 12:31:01 AM] get_mpn() - END - Product ID: 67476 | MPN: [Tuesday 14th of July 2026 12:31:01 AM] check_for_ebms_product() - START - SKU: EFE40050 [Tuesday 14th of July 2026 12:31:01 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40050%27 [Tuesday 14th of July 2026 12:31:01 AM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40050 [Tuesday 14th of July 2026 12:31:01 AM] check_for_ebms_product() - SKU: EFE40050 found in EBMS [Tuesday 14th of July 2026 12:31:01 AM] check_for_ebms_product() - END - SKU: EFE40050 | Found: true [Tuesday 14th of July 2026 12:31:01 AM] SKU EFE40050 found in EBMS - checking prices [Tuesday 14th of July 2026 12:31:01 AM] obtain_current_prices() - START - SKU: EFE40050 [Tuesday 14th of July 2026 12:31:01 AM] obtain_current_prices() - Checking Motorstate for SKU: EFE40050 [Tuesday 14th of July 2026 12:31:01 AM] check_for_ms_product() - START - SKU: EFE40050 [Tuesday 14th of July 2026 12:31:01 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40050 [Tuesday 14th of July 2026 12:31:01 AM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40050 [Tuesday 14th of July 2026 12:31:01 AM] check_for_ms_product() - SKU: EFE40050 found in Motorstate [Tuesday 14th of July 2026 12:31:01 AM] check_for_ms_product() - END - SKU: EFE40050 | Found: true [Tuesday 14th of July 2026 12:31:01 AM] obtain_current_prices() - SKU: EFE40050 found in Motorstate - Fetching prices [Tuesday 14th of July 2026 12:31:01 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40050 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40050 [Tuesday 14th of July 2026 12:31:02 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40050 - Base: 89.95 | Cost: 67.46 [Tuesday 14th of July 2026 12:31:02 AM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40050 - Base: 89.95 | Cost: 67.46 [Tuesday 14th of July 2026 12:31:02 AM] obtain_current_prices() - END - SKU: EFE40050 [Tuesday 14th of July 2026 12:31:02 AM] SKU EFE40050 has existing EBMS prices - syncing BigCommerce price back (cost: 67.46, base: 89.95) [Tuesday 14th of July 2026 12:31:02 AM] update_product_price() - START - Product ID: 67476 | Base: 89.95 | Cost: 67.46 [Tuesday 14th of July 2026 12:31:02 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67476 [Tuesday 14th of July 2026 12:31:02 AM] update_product_price() - PUT payload: {"price":89.9500000000000028421709430404007434844970703125,"cost_price":67.4599999999999937472239253111183643341064453125} [Tuesday 14th of July 2026 12:31:02 AM] update_product_price() - Attempt 1 of 6 for Product ID: 67476 [Tuesday 14th of July 2026 12:31:02 AM] update_product_price() - Price updated successfully for Product ID: 67476 - Base: 89.95 | Cost: 67.46 [Tuesday 14th of July 2026 12:31:02 AM] update_product_price() - END - Product ID: 67476 | Result: success [Tuesday 14th of July 2026 12:31:02 AM] BigCommerce price updated for Product ID: 67476 [Tuesday 14th of July 2026 12:31:02 AM] get_product_inventory() - START - SKU: EFE40050 [Tuesday 14th of July 2026 12:31:02 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40050 [Tuesday 14th of July 2026 12:31:02 AM] get_product_inventory() - Motorstate API call successful for SKU: EFE40050 [Tuesday 14th of July 2026 12:31:02 AM] get_product_inventory() - Stock found for SKU: EFE40050 - Quantity: 58 | Running Total: 58 [Tuesday 14th of July 2026 12:31:02 AM] get_product_inventory() - END - SKU: EFE40050 | Total: 58 [Tuesday 14th of July 2026 12:31:02 AM] get_cf_id() - START - Product ID: 67476 [Tuesday 14th of July 2026 12:31:02 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67476/custom-fields [Tuesday 14th of July 2026 12:31:02 AM] get_cf_id() - BigCommerce API call successful for Product ID: 67476 [Tuesday 14th of July 2026 12:31:02 AM] get_cf_id() - Custom field found for Product ID: 67476 | Field: online_stock_level | CF ID: 67366 [Tuesday 14th of July 2026 12:31:02 AM] get_cf_id() - END - Product ID: 67476 | CF ID: 67366 [Tuesday 14th of July 2026 12:31:02 AM] Updating inventory for SKU EFE40050 - stock: 58, CF ID: 67366 [Tuesday 14th of July 2026 12:31:02 AM] update_product_inventory() - START - Product ID: 67476 | Stock: 58 | CF ID: 67366 [Tuesday 14th of July 2026 12:31:02 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67476/custom-fields/67366 [Tuesday 14th of July 2026 12:31:02 AM] update_product_inventory() - Inventory updated successfully for Product ID: 67476 | Stock: 58 [Tuesday 14th of July 2026 12:31:02 AM] update_product_inventory() - END - Product ID: 67476 | Result: success [Tuesday 14th of July 2026 12:31:02 AM] Inventory updated for SKU: EFE40050 [Tuesday 14th of July 2026 12:31:02 AM] All products processed - Order details: [{"ID":"AP368","INVEN":"EFE40050","M_QUAN_VIS":1,"UNIT":"89.95","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 12:31:02 AM] Building payment record - Total: 102.8800 [Tuesday 14th of July 2026 12:31:02 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1969","ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","C_ADDRESS1":"99 Doxsee Dr","C_ADDRESS2":"","C_CITY":"Freeport","C_COUNTRY":"USA","C_EMAIL":"MichaelGreen80@mac.com","C_NAME":"Michael Greenfield","C_STATE":"NY","C_ZIP":"11520","ShippingAmount":"12.93","CITY":"Yonkers","EMAIL":"MichaelGreen80@mac.com","ID":"AP368","NAME":"Michael Greenfield","STATE":"NY","COUNTRY":"USA","ZIP":"10710","MEMO":"","DESCR":"BigCommerce Order - AP1969 - Customer AP368","Details":[{"ID":"AP368","INVEN":"EFE40050","M_QUAN_VIS":1,"UNIT":"89.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"102.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 12:31:02 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1969 [Tuesday 14th of July 2026 12:31:02 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1969%27 [Tuesday 14th of July 2026 12:31:03 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1969 [Tuesday 14th of July 2026 12:31:03 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1969 found in EBMS [Tuesday 14th of July 2026 12:31:03 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1969 | Found: true [Tuesday 14th of July 2026 12:31:03 AM] Invoice AP1969 already exists in EBMS - patching [Tuesday 14th of July 2026 12:31:03 AM] patch_ebms_invoice() - START - Invoice: AP1969 [Tuesday 14th of July 2026 12:31:03 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1969","ADDRESS1":"76 Iroquois Rd","ADDRESS2":"","C_ADDRESS1":"99 Doxsee Dr","C_ADDRESS2":"","C_CITY":"Freeport","C_COUNTRY":"USA","C_EMAIL":"MichaelGreen80@mac.com","C_NAME":"Michael Greenfield","C_STATE":"NY","C_ZIP":"11520","ShippingAmount":"12.93","CITY":"Yonkers","EMAIL":"MichaelGreen80@mac.com","ID":"AP368","NAME":"Michael Greenfield","STATE":"NY","COUNTRY":"USA","ZIP":"10710","MEMO":"","DESCR":"BigCommerce Order - AP1969 - Customer AP368","Details":[{"ID":"AP368","INVEN":"EFE40050","M_QUAN_VIS":1,"UNIT":"89.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"102.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 12:31:03 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1969%27 [Tuesday 14th of July 2026 12:31:03 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1969 [Tuesday 14th of July 2026 12:31:03 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1969 [Tuesday 14th of July 2026 12:31:03 AM] patch_ebms_invoice() - END - Invoice: AP1969 [Tuesday 14th of July 2026 12:31:03 AM] Invoice AP1969 patched successfully [Tuesday 14th of July 2026 12:31:03 AM] ORDER WEBHOOK COMPLETED - Order ID: 1969 | Invoice: AP1969 [Tuesday 14th of July 2026 09:07:46 AM] ORDER WEBHOOK STARTED - Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] Fetching customer data for Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] get_order_customer_data() - START - Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1974 [Tuesday 14th of July 2026 09:07:46 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] get_order_customer_data() - Parsing order response for Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: James Haskins | Email: haskins_diesel@yahoo.com | Total: 137.3300 | Shipping: 20.27 [Tuesday 14th of July 2026 09:07:46 AM] get_order_customer_data() - END - Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] Customer data received: {"id":0,"email":"haskins_diesel@yahoo.com","address_1":"185 Sand Creek Trail","address_2":"","city":"Gray","state":"GA","country":"USA","zip":"31032","f_name":"James ","l_name":"Haskins ","contact_5":"haskins_diesel@yahoo.com","contact_1":"4788088395","contact_4":"James Haskins "} [Tuesday 14th of July 2026 09:07:46 AM] Fetching shipping info for Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] get_order_shipping_info() - START - Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1974/shipping_addresses [Tuesday 14th of July 2026 09:07:46 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1974 | Name: James Haskins | Address: 185 Sand Creek Trail, Gray, Georgia, 31032 [Tuesday 14th of July 2026 09:07:46 AM] get_order_shipping_info() - END - Order ID: 1974 [Tuesday 14th of July 2026 09:07:46 AM] Shipping info received: {"id":1873,"order_id":1974,"first_name":"James ","last_name":"Haskins ","company":"","street_1":"185 Sand Creek Trail","street_2":"","city":"Gray","zip":"31032","country":"United States","country_iso2":"US","state":"Georgia","email":"haskins_diesel@yahoo.com","phone":"4788088395","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"20.2700","cost_ex_tax":"20.2700","cost_inc_tax":"20.2700","cost_tax":"0.0000","cost_tax_class_id":2,"base_handling_cost":"0.0000","handling_cost_ex_tax":"0.0000","handling_cost_inc_tax":"0.0000","handling_cost_tax":"0.0000","handling_cost_tax_class_id":2,"shipping_zone_id":3,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1974\/shipping_addresses\/1873\/shipping_quotes","resource":"\/orders\/1974\/shipping_addresses\/1873\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 09:07:46 AM] Resolved Customer ID: APONLINE [Tuesday 14th of July 2026 09:07:46 AM] Building order object for Invoice: AP1974 [Tuesday 14th of July 2026 09:07:46 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1974","ADDRESS1":"185 Sand Creek Trail","ADDRESS2":"","C_ADDRESS1":"185 Sand Creek Trail","C_ADDRESS2":"","C_CITY":"Gray","C_COUNTRY":"USA","C_EMAIL":"haskins_diesel@yahoo.com","C_NAME":"James Haskins ","C_STATE":"GA","C_ZIP":"31032","ShippingAmount":"20.27","CITY":"Gray","EMAIL":"haskins_diesel@yahoo.com","ID":"APONLINE","NAME":"James Haskins ","STATE":"GA","COUNTRY":"USA","ZIP":"31032","MEMO":"","DESCR":"BigCommerce Order - AP1974 - Customer APONLINE"} [Tuesday 14th of July 2026 09:07:46 AM] Guest checkout detected (APONLINE) - skipping customer sync [Tuesday 14th of July 2026 09:07:46 AM] Fetching products from BigCommerce for Order ID: 1974 [Tuesday 14th of July 2026 09:07:47 AM] BigCommerce API call successful for Order ID: 1974 [Tuesday 14th of July 2026 09:07:47 AM] Products received: 1 item(s) [Tuesday 14th of July 2026 09:07:47 AM] Processing product SKU: APPBS1-BOX | Qty: 2 | Price: 58.5300 [Tuesday 14th of July 2026 09:07:47 AM] get_mpn() - START - Product ID: 112 [Tuesday 14th of July 2026 09:07:47 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/112 [Tuesday 14th of July 2026 09:07:47 AM] get_mpn() - BigCommerce API call successful for Product ID: 112 [Tuesday 14th of July 2026 09:07:47 AM] get_mpn() - WARNING - MPN is empty for Product ID: 112 [Tuesday 14th of July 2026 09:07:47 AM] get_mpn() - END - Product ID: 112 | MPN: [Tuesday 14th of July 2026 09:07:47 AM] check_for_ebms_product() - START - SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPBS1-BOX%27 [Tuesday 14th of July 2026 09:07:47 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] check_for_ebms_product() - SKU: APPBS1-BOX found in EBMS [Tuesday 14th of July 2026 09:07:47 AM] check_for_ebms_product() - END - SKU: APPBS1-BOX | Found: true [Tuesday 14th of July 2026 09:07:47 AM] SKU APPBS1-BOX found in EBMS - checking prices [Tuesday 14th of July 2026 09:07:47 AM] obtain_current_prices() - START - SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] obtain_current_prices() - Checking Motorstate for SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] check_for_ms_product() - START - SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] check_for_ms_product() - SKU: APPBS1-BOX not found in Motorstate [Tuesday 14th of July 2026 09:07:47 AM] check_for_ms_product() - END - SKU: APPBS1-BOX | Found: false [Tuesday 14th of July 2026 09:07:47 AM] obtain_current_prices() - SKU: APPBS1-BOX not found in Motorstate - Skipping to EBMS [Tuesday 14th of July 2026 09:07:47 AM] obtain_current_prices() - Checking EBMS for SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] check_for_ebms_product() - START - SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:47 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPBS1-BOX%27 [Tuesday 14th of July 2026 09:07:48 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:48 AM] check_for_ebms_product() - SKU: APPBS1-BOX found in EBMS [Tuesday 14th of July 2026 09:07:48 AM] check_for_ebms_product() - END - SKU: APPBS1-BOX | Found: true [Tuesday 14th of July 2026 09:07:48 AM] obtain_current_prices() - SKU: APPBS1-BOX found in EBMS - Fetching prices [Tuesday 14th of July 2026 09:07:48 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPBS1-BOX - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPBS1-BOX%27 [Tuesday 14th of July 2026 09:07:48 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPBS1-BOX - Base: 58.53 | Cost: 5.38 [Tuesday 14th of July 2026 09:07:48 AM] obtain_current_prices() - END - SKU: APPBS1-BOX | Final prices - Base: 58.53 | Cost: 5.38 [Tuesday 14th of July 2026 09:07:48 AM] SKU APPBS1-BOX has existing EBMS prices - syncing BigCommerce price back (cost: 5.38, base: 58.53) [Tuesday 14th of July 2026 09:07:48 AM] update_product_price() - START - Product ID: 112 | Base: 58.53 | Cost: 5.38 [Tuesday 14th of July 2026 09:07:48 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/112 [Tuesday 14th of July 2026 09:07:48 AM] update_product_price() - PUT payload: {"price":58.530000000000001136868377216160297393798828125,"cost_price":5.37999999999999989341858963598497211933135986328125} [Tuesday 14th of July 2026 09:07:48 AM] update_product_price() - Attempt 1 of 6 for Product ID: 112 [Tuesday 14th of July 2026 09:07:48 AM] update_product_price() - Price updated successfully for Product ID: 112 - Base: 58.53 | Cost: 5.38 [Tuesday 14th of July 2026 09:07:48 AM] update_product_price() - END - Product ID: 112 | Result: success [Tuesday 14th of July 2026 09:07:48 AM] BigCommerce price updated for Product ID: 112 [Tuesday 14th of July 2026 09:07:48 AM] get_product_inventory() - START - SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:48 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPBS1-BOX [Tuesday 14th of July 2026 09:07:48 AM] get_product_inventory() - Motorstate API call successful for SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:48 AM] get_product_inventory() - SKU: APPBS1-BOX not found in Motorstate response item [Tuesday 14th of July 2026 09:07:48 AM] get_product_inventory() - END - SKU: APPBS1-BOX | Total: 0 [Tuesday 14th of July 2026 09:07:48 AM] get_cf_id() - START - Product ID: 112 [Tuesday 14th of July 2026 09:07:48 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/112/custom-fields [Tuesday 14th of July 2026 09:07:49 AM] get_cf_id() - BigCommerce API call successful for Product ID: 112 [Tuesday 14th of July 2026 09:07:49 AM] get_cf_id() - Custom field found for Product ID: 112 | Field: online_stock_level | CF ID: 2 [Tuesday 14th of July 2026 09:07:49 AM] get_cf_id() - END - Product ID: 112 | CF ID: 2 [Tuesday 14th of July 2026 09:07:49 AM] Updating inventory for SKU APPBS1-BOX - stock: 0, CF ID: 2 [Tuesday 14th of July 2026 09:07:49 AM] update_product_inventory() - START - Product ID: 112 | Stock: 0 | CF ID: 2 [Tuesday 14th of July 2026 09:07:49 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/112/custom-fields/2 [Tuesday 14th of July 2026 09:07:49 AM] update_product_inventory() - Inventory updated successfully for Product ID: 112 | Stock: 0 [Tuesday 14th of July 2026 09:07:49 AM] update_product_inventory() - END - Product ID: 112 | Result: success [Tuesday 14th of July 2026 09:07:49 AM] Inventory updated for SKU: APPBS1-BOX [Tuesday 14th of July 2026 09:07:49 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"APPBS1-BOX","M_QUAN_VIS":2,"UNIT":"58.53","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 09:07:49 AM] Building payment record - Total: 137.3300 [Tuesday 14th of July 2026 09:07:49 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1974","ADDRESS1":"185 Sand Creek Trail","ADDRESS2":"","C_ADDRESS1":"185 Sand Creek Trail","C_ADDRESS2":"","C_CITY":"Gray","C_COUNTRY":"USA","C_EMAIL":"haskins_diesel@yahoo.com","C_NAME":"James Haskins ","C_STATE":"GA","C_ZIP":"31032","ShippingAmount":"20.27","CITY":"Gray","EMAIL":"haskins_diesel@yahoo.com","ID":"APONLINE","NAME":"James Haskins ","STATE":"GA","COUNTRY":"USA","ZIP":"31032","MEMO":"","DESCR":"BigCommerce Order - AP1974 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPBS1-BOX","M_QUAN_VIS":2,"UNIT":"58.53","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"137.33","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 09:07:49 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1974 [Tuesday 14th of July 2026 09:07:49 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1974%27 [Tuesday 14th of July 2026 09:07:49 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1974 [Tuesday 14th of July 2026 09:07:49 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1974 not found in EBMS [Tuesday 14th of July 2026 09:07:49 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1974 | Found: false [Tuesday 14th of July 2026 09:07:49 AM] Invoice AP1974 does not exist in EBMS - creating [Tuesday 14th of July 2026 09:07:49 AM] create_ebms_invoice() - START - Invoice: AP1974 [Tuesday 14th of July 2026 09:07:49 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1974","ADDRESS1":"185 Sand Creek Trail","ADDRESS2":"","C_ADDRESS1":"185 Sand Creek Trail","C_ADDRESS2":"","C_CITY":"Gray","C_COUNTRY":"USA","C_EMAIL":"haskins_diesel@yahoo.com","C_NAME":"James Haskins ","C_STATE":"GA","C_ZIP":"31032","ShippingAmount":"20.27","CITY":"Gray","EMAIL":"haskins_diesel@yahoo.com","ID":"APONLINE","NAME":"James Haskins ","STATE":"GA","COUNTRY":"USA","ZIP":"31032","MEMO":"","DESCR":"BigCommerce Order - AP1974 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"APPBS1-BOX","M_QUAN_VIS":2,"UNIT":"58.53","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"137.33","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 09:07:49 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 14th of July 2026 09:07:56 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1974 [Tuesday 14th of July 2026 09:07:56 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1974 - Response: {"@odata.context":"http:\/\/localhost:64367\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4839484c-4f35-5039-5445-534739303030","AUTOID":"LH9H5O9PTESG9000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-117.06000000000000227373675443232059478759765625,"BAL_CUST_X":-117.06000000000000227373675443232059478759765625,"BALANCE":-117.06000000000000227373675443232059478759765625,"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":137.330000000000012505552149377763271331787109375,"TOTAL_S_SO":117.06000000000000227373675443232059478759765625,"TOTAL_SO":137.330000000000012505552149377763271331787109375,"TOTAL_W":0,"TTLPROCPMT":137.330000000000012505552149377763271331787109375,"TOTAL":20.269999999999999573674358543939888477325439453125,"FREIGHT":20.269999999999999573674358543939888477325439453125,"HANDLING":0,"SHIPPING":20.269999999999999573674358543939888477325439453125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"185 Sand Creek Trail","ADDRESS2":"","C_EMAIL":"haskins_diesel@yahoo.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-07-14T00:00:00Z","CHECK_NO":" APBC","CITY":"Gray","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-07-14T00:00:00Z","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"haskins_diesel@yahoo.com","IADDRESS":"185 Sand Creek Trail , Gray, GA 31032","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-14T00:00:00Z","INVOICE":"AP1974","MAN_TAX":false,"NAME":"James Haskins","PHONE":"","PROCESS":"Default","STATE":"GA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"31032","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"185 Sand Creek Trail","C_ADDRESS2":"","C_CITY":"Gray","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"James Haskins","C_STATE":"GA","C_ZIP":"31032","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1974 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-14T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 14th of July 2026 09:07:56 AM] create_ebms_invoice() - END - Invoice: AP1974 [Tuesday 14th of July 2026 09:07:56 AM] Invoice AP1974 created successfully [Tuesday 14th of July 2026 09:07:56 AM] ORDER WEBHOOK COMPLETED - Order ID: 1974 | Invoice: AP1974 [Tuesday 14th of July 2026 09:53:55 AM] ORDER WEBHOOK STARTED - Order ID: 1975 [Tuesday 14th of July 2026 09:53:55 AM] Fetching customer data for Order ID: 1975 [Tuesday 14th of July 2026 09:53:55 AM] get_order_customer_data() - START - Order ID: 1975 [Tuesday 14th of July 2026 09:53:55 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1975 [Tuesday 14th of July 2026 09:53:55 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1975 [Tuesday 14th of July 2026 09:53:55 AM] get_order_customer_data() - Parsing order response for Order ID: 1975 [Tuesday 14th of July 2026 09:53:55 AM] get_order_customer_data() - Customer object built - Customer ID: 349 | Name: Kurt Macklin | Email: ktnj4088@gmail.com | Total: 132.5200 | Shipping: 12.93 [Tuesday 14th of July 2026 09:53:55 AM] get_order_customer_data() - END - Order ID: 1975 [Tuesday 14th of July 2026 09:53:55 AM] Customer data received: {"id":349,"email":"ktnj4088@gmail.com","address_1":"108 North Wiles Street","address_2":"","city":"Macon","state":"IL","country":"USA","zip":"62544","f_name":"Kurt","l_name":"Macklin","contact_5":"ktnj4088@gmail.com","contact_1":"12176207286","contact_4":"Kurt Macklin"} [Tuesday 14th of July 2026 09:53:55 AM] Fetching shipping info for Order ID: 1975 [Tuesday 14th of July 2026 09:53:55 AM] get_order_shipping_info() - START - Order ID: 1975 [Tuesday 14th of July 2026 09:53:55 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1975/shipping_addresses [Tuesday 14th of July 2026 09:53:56 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1975 [Tuesday 14th of July 2026 09:53:56 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1975 | Name: Kurt Macklin | Address: 1809 Industrial Park Drive, Normal, Illinois, 61761 [Tuesday 14th of July 2026 09:53:56 AM] get_order_shipping_info() - END - Order ID: 1975 [Tuesday 14th of July 2026 09:53:56 AM] Shipping info received: {"id":1874,"order_id":1975,"first_name":"Kurt","last_name":"Macklin","company":"","street_1":"1809 Industrial Park Drive","street_2":"","city":"Normal","zip":"61761","country":"United States","country_iso2":"US","state":"Illinois","email":"ktnj4088@gmail.com","phone":"2176207286","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"12.9300","cost_ex_tax":"12.9300","cost_inc_tax":"12.9300","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\/1975\/shipping_addresses\/1874\/shipping_quotes","resource":"\/orders\/1975\/shipping_addresses\/1874\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 09:53:56 AM] Resolved Customer ID: AP349 [Tuesday 14th of July 2026 09:53:56 AM] Building order object for Invoice: AP1975 [Tuesday 14th of July 2026 09:53:56 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1975","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","C_ADDRESS1":"1809 Industrial Park Drive","C_ADDRESS2":"","C_CITY":"Normal","C_COUNTRY":"USA","C_EMAIL":"ktnj4088@gmail.com","C_NAME":"Kurt Macklin","C_STATE":"IL","C_ZIP":"61761","ShippingAmount":"12.93","CITY":"Macon","EMAIL":"ktnj4088@gmail.com","ID":"AP349","NAME":"Kurt Macklin","STATE":"IL","COUNTRY":"USA","ZIP":"62544","MEMO":"","DESCR":"BigCommerce Order - AP1975 - Customer AP349"} [Tuesday 14th of July 2026 09:53:56 AM] Registered customer detected - checking EBMS for Customer ID: AP349 [Tuesday 14th of July 2026 09:53:56 AM] check_for_customer() - START - Customer ID: 349 [Tuesday 14th of July 2026 09:53:56 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP349%27 [Tuesday 14th of July 2026 09:53:56 AM] check_for_customer() - EBMS API call successful for Customer ID: 349 [Tuesday 14th of July 2026 09:53:56 AM] check_for_customer() - Customer ID: 349 not found in EBMS [Tuesday 14th of July 2026 09:53:56 AM] check_for_customer() - END - Customer ID: 349 | Found: false [Tuesday 14th of July 2026 09:53:56 AM] Customer AP349 not found in EBMS - creating new customer record [Tuesday 14th of July 2026 09:53:56 AM] add_customer() - START - Customer ID: 349 | Name: Kurt Macklin [Tuesday 14th of July 2026 09:53:56 AM] add_customer() - Customer payload: {"id":349,"email":"ktnj4088@gmail.com","address_1":"108 North Wiles Street","address_2":"","city":"Macon","state":"IL","country":"USA","zip":"62544","f_name":"Kurt","l_name":"Macklin","contact_5":"ktnj4088@gmail.com","contact_1":"12176207286","contact_4":"Kurt Macklin"} [Tuesday 14th of July 2026 09:53:56 AM] add_customer() - Customer fields parsed - ID: AP349 | Address: 108 North Wiles Street, Macon, IL 62544 | Email: ktnj4088@gmail.com [Tuesday 14th of July 2026 09:53:56 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 14th of July 2026 09:53:56 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","CITY":"Macon","CONTACT_5":"ktnj4088@gmail.com","CONTACT_1":"12176207286","CONTACT_4":"Kurt Macklin","COUNTRY":"USA","F_NAME":"Kurt","ID":"AP349","L_NAME":"Macklin","STATE":"IL","ZIP":"62544"} [Tuesday 14th of July 2026 09:53:57 AM] add_customer() - EBMS API call successful for Customer ID: AP349 [Tuesday 14th of July 2026 09:53:57 AM] add_customer() - Customer created successfully in EBMS - ID: AP349 - Response: {"@odata.context":"http:\/\/localhost:64367\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"36503034-4344-4e38-5545-534739303030","AUTOID":"40P6DC8NUESG9000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Kurt Macklin","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Macon","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"ktnj4088@gmail.com","EMAIL_LIST":false,"F_NAME":"Kurt","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP349","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Macklin","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Kurt Macklin)","OUT_CITY":false,"PHONE":"1 (217) 620-7286","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"IL","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"62544","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"1 (217) 620-7286","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Kurt Macklin","CONTACT_5":"ktnj4088@gmail.com","EXTERNALID":""} [Tuesday 14th of July 2026 09:53:57 AM] add_customer() - END - Customer ID: AP349 [Tuesday 14th of July 2026 09:53:57 AM] New customer record created for AP349 [Tuesday 14th of July 2026 09:53:57 AM] Fetching products from BigCommerce for Order ID: 1975 [Tuesday 14th of July 2026 09:53:57 AM] BigCommerce API call successful for Order ID: 1975 [Tuesday 14th of July 2026 09:53:57 AM] Products received: 1 item(s) [Tuesday 14th of July 2026 09:53:57 AM] Processing product SKU: ULTHB46031 | Qty: 1 | Price: 110.9900 [Tuesday 14th of July 2026 09:53:57 AM] get_mpn() - START - Product ID: 71692 [Tuesday 14th of July 2026 09:53:57 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/71692 [Tuesday 14th of July 2026 09:53:58 AM] get_mpn() - BigCommerce API call successful for Product ID: 71692 [Tuesday 14th of July 2026 09:53:58 AM] get_mpn() - WARNING - MPN is empty for Product ID: 71692 [Tuesday 14th of July 2026 09:53:58 AM] get_mpn() - END - Product ID: 71692 | MPN: [Tuesday 14th of July 2026 09:53:58 AM] check_for_ebms_product() - START - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ULTHB46031%27 [Tuesday 14th of July 2026 09:53:58 AM] check_for_ebms_product() - EBMS API call successful for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] check_for_ebms_product() - SKU: ULTHB46031 found in EBMS [Tuesday 14th of July 2026 09:53:58 AM] check_for_ebms_product() - END - SKU: ULTHB46031 | Found: true [Tuesday 14th of July 2026 09:53:58 AM] SKU ULTHB46031 found in EBMS - checking prices [Tuesday 14th of July 2026 09:53:58 AM] obtain_current_prices() - START - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] obtain_current_prices() - Checking Motorstate for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] check_for_ms_product() - START - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] check_for_ms_product() - Motorstate API call successful for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] check_for_ms_product() - SKU: ULTHB46031 found in Motorstate [Tuesday 14th of July 2026 09:53:58 AM] check_for_ms_product() - END - SKU: ULTHB46031 | Found: true [Tuesday 14th of July 2026 09:53:58 AM] obtain_current_prices() - SKU: ULTHB46031 found in Motorstate - Fetching prices [Tuesday 14th of July 2026 09:53:58 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ULTHB46031 - URL: https://api.motorstate.com/api/Product?partNumbers=ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: ULTHB46031 - Base: 110.99 | Cost: 95.44 [Tuesday 14th of July 2026 09:53:58 AM] obtain_current_prices() - Returning Motorstate prices for SKU: ULTHB46031 - Base: 110.99 | Cost: 95.44 [Tuesday 14th of July 2026 09:53:58 AM] obtain_current_prices() - END - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] SKU ULTHB46031 has existing EBMS prices - syncing BigCommerce price back (cost: 95.44, base: 110.99) [Tuesday 14th of July 2026 09:53:58 AM] update_product_price() - START - Product ID: 71692 | Base: 110.99 | Cost: 95.44 [Tuesday 14th of July 2026 09:53:58 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/71692 [Tuesday 14th of July 2026 09:53:58 AM] update_product_price() - PUT payload: {"price":110.9899999999999948840923025272786617279052734375,"cost_price":95.43999999999999772626324556767940521240234375} [Tuesday 14th of July 2026 09:53:58 AM] update_product_price() - Attempt 1 of 6 for Product ID: 71692 [Tuesday 14th of July 2026 09:53:58 AM] update_product_price() - Price updated successfully for Product ID: 71692 - Base: 110.99 | Cost: 95.44 [Tuesday 14th of July 2026 09:53:58 AM] update_product_price() - END - Product ID: 71692 | Result: success [Tuesday 14th of July 2026 09:53:58 AM] BigCommerce price updated for Product ID: 71692 [Tuesday 14th of July 2026 09:53:58 AM] get_product_inventory() - START - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:58 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ULTHB46031 [Tuesday 14th of July 2026 09:53:59 AM] get_product_inventory() - Motorstate API call successful for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:59 AM] get_product_inventory() - Stock found for SKU: ULTHB46031 - Quantity: 18 | Running Total: 18 [Tuesday 14th of July 2026 09:53:59 AM] get_product_inventory() - END - SKU: ULTHB46031 | Total: 18 [Tuesday 14th of July 2026 09:53:59 AM] get_cf_id() - START - Product ID: 71692 [Tuesday 14th of July 2026 09:53:59 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/71692/custom-fields [Tuesday 14th of July 2026 09:53:59 AM] get_cf_id() - BigCommerce API call successful for Product ID: 71692 [Tuesday 14th of July 2026 09:53:59 AM] get_cf_id() - Custom field found for Product ID: 71692 | Field: online_stock_level | CF ID: 71582 [Tuesday 14th of July 2026 09:53:59 AM] get_cf_id() - END - Product ID: 71692 | CF ID: 71582 [Tuesday 14th of July 2026 09:53:59 AM] Updating inventory for SKU ULTHB46031 - stock: 18, CF ID: 71582 [Tuesday 14th of July 2026 09:53:59 AM] update_product_inventory() - START - Product ID: 71692 | Stock: 18 | CF ID: 71582 [Tuesday 14th of July 2026 09:53:59 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/71692/custom-fields/71582 [Tuesday 14th of July 2026 09:53:59 AM] update_product_inventory() - Inventory updated successfully for Product ID: 71692 | Stock: 18 [Tuesday 14th of July 2026 09:53:59 AM] update_product_inventory() - END - Product ID: 71692 | Result: success [Tuesday 14th of July 2026 09:53:59 AM] Inventory updated for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:53:59 AM] All products processed - Order details: [{"ID":"AP349","INVEN":"ULTHB46031","M_QUAN_VIS":1,"UNIT":"110.99","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 09:53:59 AM] Building payment record - Total: 132.5200 [Tuesday 14th of July 2026 09:53:59 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1975","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","C_ADDRESS1":"1809 Industrial Park Drive","C_ADDRESS2":"","C_CITY":"Normal","C_COUNTRY":"USA","C_EMAIL":"ktnj4088@gmail.com","C_NAME":"Kurt Macklin","C_STATE":"IL","C_ZIP":"61761","ShippingAmount":"12.93","CITY":"Macon","EMAIL":"ktnj4088@gmail.com","ID":"AP349","NAME":"Kurt Macklin","STATE":"IL","COUNTRY":"USA","ZIP":"62544","MEMO":"","DESCR":"BigCommerce Order - AP1975 - Customer AP349","Details":[{"ID":"AP349","INVEN":"ULTHB46031","M_QUAN_VIS":1,"UNIT":"110.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"132.52","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 09:53:59 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1975 [Tuesday 14th of July 2026 09:53:59 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1975%27 [Tuesday 14th of July 2026 09:53:59 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1975 [Tuesday 14th of July 2026 09:53:59 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1975 not found in EBMS [Tuesday 14th of July 2026 09:53:59 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1975 | Found: false [Tuesday 14th of July 2026 09:53:59 AM] Invoice AP1975 does not exist in EBMS - creating [Tuesday 14th of July 2026 09:53:59 AM] create_ebms_invoice() - START - Invoice: AP1975 [Tuesday 14th of July 2026 09:53:59 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1975","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","C_ADDRESS1":"1809 Industrial Park Drive","C_ADDRESS2":"","C_CITY":"Normal","C_COUNTRY":"USA","C_EMAIL":"ktnj4088@gmail.com","C_NAME":"Kurt Macklin","C_STATE":"IL","C_ZIP":"61761","ShippingAmount":"12.93","CITY":"Macon","EMAIL":"ktnj4088@gmail.com","ID":"AP349","NAME":"Kurt Macklin","STATE":"IL","COUNTRY":"USA","ZIP":"62544","MEMO":"","DESCR":"BigCommerce Order - AP1975 - Customer AP349","Details":[{"ID":"AP349","INVEN":"ULTHB46031","M_QUAN_VIS":1,"UNIT":"110.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"132.52","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 09:53:59 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 14th of July 2026 09:54:05 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1975 [Tuesday 14th of July 2026 09:54:05 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1975 - Response: {"@odata.context":"http:\/\/localhost:64367\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"5232484c-444c-4e39-5545-534739303030","AUTOID":"LH2RLD9NUESG9000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-119.590000000000003410605131648480892181396484375,"BAL_CUST_X":-119.590000000000003410605131648480892181396484375,"BALANCE":-119.590000000000003410605131648480892181396484375,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":8.5999999999999996447286321199499070644378662109375,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":132.520000000000010231815394945442676544189453125,"TOTAL_S_SO":110.9899999999999948840923025272786617279052734375,"TOTAL_SO":132.520000000000010231815394945442676544189453125,"TOTAL_W":0,"TTLPROCPMT":132.520000000000010231815394945442676544189453125,"TOTAL":12.92999999999999971578290569595992565155029296875,"FREIGHT":12.92999999999999971578290569595992565155029296875,"HANDLING":0,"SHIPPING":12.92999999999999971578290569595992565155029296875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","C_EMAIL":"ktnj4088@gmail.com","C_PHONE":"12176207286","CCNTCT_AID":"H0B960NGMBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-07-14T00:00:00Z","CHECK_NO":" APBC","CITY":"Macon","CNTCT_AID":"H0B960NGMBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-07-14T00:00:00Z","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"ktnj4088@gmail.com","IADDRESS":"1809 Industrial Park Drive , Normal, IL 61761","ID":"AP349","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-14T00:00:00Z","INVOICE":"AP1975","MAN_TAX":true,"NAME":"Kurt Macklin","PHONE":"","PROCESS":"Default","STATE":"IL","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"62544","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1809 Industrial Park Drive","C_ADDRESS2":"","C_CITY":"Normal","C_COUNTRY":"USA","C_ID":"AP349","C_NAME":"Kurt Macklin","C_STATE":"IL","C_ZIP":"61761","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1975 - Customer AP349","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-14T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 14th of July 2026 09:54:05 AM] create_ebms_invoice() - END - Invoice: AP1975 [Tuesday 14th of July 2026 09:54:05 AM] Invoice AP1975 created successfully [Tuesday 14th of July 2026 09:54:05 AM] ORDER WEBHOOK COMPLETED - Order ID: 1975 | Invoice: AP1975 [Tuesday 14th of July 2026 09:55:05 AM] ORDER WEBHOOK STARTED - Order ID: 1975 [Tuesday 14th of July 2026 09:55:05 AM] Fetching customer data for Order ID: 1975 [Tuesday 14th of July 2026 09:55:05 AM] get_order_customer_data() - START - Order ID: 1975 [Tuesday 14th of July 2026 09:55:05 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1975 [Tuesday 14th of July 2026 09:55:06 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1975 [Tuesday 14th of July 2026 09:55:06 AM] get_order_customer_data() - Parsing order response for Order ID: 1975 [Tuesday 14th of July 2026 09:55:06 AM] get_order_customer_data() - Customer object built - Customer ID: 349 | Name: Kurt Macklin | Email: ktnj4088@gmail.com | Total: 132.5200 | Shipping: 12.93 [Tuesday 14th of July 2026 09:55:06 AM] get_order_customer_data() - END - Order ID: 1975 [Tuesday 14th of July 2026 09:55:06 AM] Customer data received: {"id":349,"email":"ktnj4088@gmail.com","address_1":"108 North Wiles Street","address_2":"","city":"Macon","state":"IL","country":"USA","zip":"62544","f_name":"Kurt","l_name":"Macklin","contact_5":"ktnj4088@gmail.com","contact_1":"12176207286","contact_4":"Kurt Macklin"} [Tuesday 14th of July 2026 09:55:06 AM] Fetching shipping info for Order ID: 1975 [Tuesday 14th of July 2026 09:55:06 AM] get_order_shipping_info() - START - Order ID: 1975 [Tuesday 14th of July 2026 09:55:06 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1975/shipping_addresses [Tuesday 14th of July 2026 09:55:06 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1975 [Tuesday 14th of July 2026 09:55:06 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1975 | Name: Kurt Macklin | Address: 1809 Industrial Park Drive, Normal, Illinois, 61761 [Tuesday 14th of July 2026 09:55:06 AM] get_order_shipping_info() - END - Order ID: 1975 [Tuesday 14th of July 2026 09:55:06 AM] Shipping info received: {"id":1874,"order_id":1975,"first_name":"Kurt","last_name":"Macklin","company":"","street_1":"1809 Industrial Park Drive","street_2":"","city":"Normal","zip":"61761","country":"United States","country_iso2":"US","state":"Illinois","email":"ktnj4088@gmail.com","phone":"2176207286","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"12.9300","cost_ex_tax":"12.9300","cost_inc_tax":"12.9300","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\/1975\/shipping_addresses\/1874\/shipping_quotes","resource":"\/orders\/1975\/shipping_addresses\/1874\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 09:55:06 AM] Resolved Customer ID: AP349 [Tuesday 14th of July 2026 09:55:06 AM] Building order object for Invoice: AP1975 [Tuesday 14th of July 2026 09:55:06 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1975","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","C_ADDRESS1":"1809 Industrial Park Drive","C_ADDRESS2":"","C_CITY":"Normal","C_COUNTRY":"USA","C_EMAIL":"ktnj4088@gmail.com","C_NAME":"Kurt Macklin","C_STATE":"IL","C_ZIP":"61761","ShippingAmount":"12.93","CITY":"Macon","EMAIL":"ktnj4088@gmail.com","ID":"AP349","NAME":"Kurt Macklin","STATE":"IL","COUNTRY":"USA","ZIP":"62544","MEMO":"","DESCR":"BigCommerce Order - AP1975 - Customer AP349"} [Tuesday 14th of July 2026 09:55:06 AM] Registered customer detected - checking EBMS for Customer ID: AP349 [Tuesday 14th of July 2026 09:55:06 AM] check_for_customer() - START - Customer ID: 349 [Tuesday 14th of July 2026 09:55:06 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP349%27 [Tuesday 14th of July 2026 09:55:06 AM] check_for_customer() - EBMS API call successful for Customer ID: 349 [Tuesday 14th of July 2026 09:55:06 AM] check_for_customer() - Customer ID: 349 found in EBMS [Tuesday 14th of July 2026 09:55:06 AM] check_for_customer() - END - Customer ID: 349 | Found: true [Tuesday 14th of July 2026 09:55:06 AM] Customer AP349 found in EBMS [Tuesday 14th of July 2026 09:55:06 AM] check_for_empty_info() - START - Customer ID: 349 [Tuesday 14th of July 2026 09:55:06 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP349%27 [Tuesday 14th of July 2026 09:55:06 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 349 [Tuesday 14th of July 2026 09:55:06 AM] check_for_empty_info() - Customer record found for Customer ID: 349 - Checking ADDRESS1 field [Tuesday 14th of July 2026 09:55:06 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 349 - No update needed [Tuesday 14th of July 2026 09:55:06 AM] check_for_empty_info() - END - Customer ID: 349 | Empty Info: false [Tuesday 14th of July 2026 09:55:06 AM] check_for_empty_pn() - START - Customer ID: AP349 [Tuesday 14th of July 2026 09:55:06 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP349%27 [Tuesday 14th of July 2026 09:55:07 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP349 [Tuesday 14th of July 2026 09:55:07 AM] check_for_empty_pn() - Customer record found for Customer ID: AP349 - Checking CONTACT_1 field [Tuesday 14th of July 2026 09:55:07 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP349 - Value: 1 (217) 620-7286 - No update needed [Tuesday 14th of July 2026 09:55:07 AM] check_for_empty_pn() - END - Customer ID: AP349 | Empty PN: false [Tuesday 14th of July 2026 09:55:07 AM] Fetching products from BigCommerce for Order ID: 1975 [Tuesday 14th of July 2026 09:55:07 AM] BigCommerce API call successful for Order ID: 1975 [Tuesday 14th of July 2026 09:55:07 AM] Products received: 1 item(s) [Tuesday 14th of July 2026 09:55:07 AM] Processing product SKU: ULTHB46031 | Qty: 1 | Price: 110.9900 [Tuesday 14th of July 2026 09:55:07 AM] get_mpn() - START - Product ID: 71692 [Tuesday 14th of July 2026 09:55:07 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/71692 [Tuesday 14th of July 2026 09:55:07 AM] get_mpn() - BigCommerce API call successful for Product ID: 71692 [Tuesday 14th of July 2026 09:55:07 AM] get_mpn() - WARNING - MPN is empty for Product ID: 71692 [Tuesday 14th of July 2026 09:55:07 AM] get_mpn() - END - Product ID: 71692 | MPN: [Tuesday 14th of July 2026 09:55:07 AM] check_for_ebms_product() - START - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:07 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ULTHB46031%27 [Tuesday 14th of July 2026 09:55:07 AM] check_for_ebms_product() - EBMS API call successful for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:07 AM] check_for_ebms_product() - SKU: ULTHB46031 found in EBMS [Tuesday 14th of July 2026 09:55:07 AM] check_for_ebms_product() - END - SKU: ULTHB46031 | Found: true [Tuesday 14th of July 2026 09:55:07 AM] SKU ULTHB46031 found in EBMS - checking prices [Tuesday 14th of July 2026 09:55:07 AM] obtain_current_prices() - START - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:07 AM] obtain_current_prices() - Checking Motorstate for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:07 AM] check_for_ms_product() - START - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:07 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ULTHB46031 [Tuesday 14th of July 2026 09:55:08 AM] check_for_ms_product() - Motorstate API call successful for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:08 AM] check_for_ms_product() - SKU: ULTHB46031 found in Motorstate [Tuesday 14th of July 2026 09:55:08 AM] check_for_ms_product() - END - SKU: ULTHB46031 | Found: true [Tuesday 14th of July 2026 09:55:08 AM] obtain_current_prices() - SKU: ULTHB46031 found in Motorstate - Fetching prices [Tuesday 14th of July 2026 09:55:08 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ULTHB46031 - URL: https://api.motorstate.com/api/Product?partNumbers=ULTHB46031 [Tuesday 14th of July 2026 09:55:08 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: ULTHB46031 - Base: 110.99 | Cost: 95.44 [Tuesday 14th of July 2026 09:55:08 AM] obtain_current_prices() - Returning Motorstate prices for SKU: ULTHB46031 - Base: 110.99 | Cost: 95.44 [Tuesday 14th of July 2026 09:55:08 AM] obtain_current_prices() - END - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:08 AM] SKU ULTHB46031 has existing EBMS prices - syncing BigCommerce price back (cost: 95.44, base: 110.99) [Tuesday 14th of July 2026 09:55:08 AM] update_product_price() - START - Product ID: 71692 | Base: 110.99 | Cost: 95.44 [Tuesday 14th of July 2026 09:55:08 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/71692 [Tuesday 14th of July 2026 09:55:08 AM] update_product_price() - PUT payload: {"price":110.9899999999999948840923025272786617279052734375,"cost_price":95.43999999999999772626324556767940521240234375} [Tuesday 14th of July 2026 09:55:08 AM] update_product_price() - Attempt 1 of 6 for Product ID: 71692 [Tuesday 14th of July 2026 09:55:08 AM] update_product_price() - Price updated successfully for Product ID: 71692 - Base: 110.99 | Cost: 95.44 [Tuesday 14th of July 2026 09:55:08 AM] update_product_price() - END - Product ID: 71692 | Result: success [Tuesday 14th of July 2026 09:55:08 AM] BigCommerce price updated for Product ID: 71692 [Tuesday 14th of July 2026 09:55:08 AM] get_product_inventory() - START - SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:08 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ULTHB46031 [Tuesday 14th of July 2026 09:55:08 AM] get_product_inventory() - Motorstate API call successful for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:08 AM] get_product_inventory() - Stock found for SKU: ULTHB46031 - Quantity: 18 | Running Total: 18 [Tuesday 14th of July 2026 09:55:08 AM] get_product_inventory() - END - SKU: ULTHB46031 | Total: 18 [Tuesday 14th of July 2026 09:55:08 AM] get_cf_id() - START - Product ID: 71692 [Tuesday 14th of July 2026 09:55:08 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/71692/custom-fields [Tuesday 14th of July 2026 09:55:08 AM] get_cf_id() - BigCommerce API call successful for Product ID: 71692 [Tuesday 14th of July 2026 09:55:08 AM] get_cf_id() - Custom field found for Product ID: 71692 | Field: online_stock_level | CF ID: 71582 [Tuesday 14th of July 2026 09:55:08 AM] get_cf_id() - END - Product ID: 71692 | CF ID: 71582 [Tuesday 14th of July 2026 09:55:08 AM] Updating inventory for SKU ULTHB46031 - stock: 18, CF ID: 71582 [Tuesday 14th of July 2026 09:55:08 AM] update_product_inventory() - START - Product ID: 71692 | Stock: 18 | CF ID: 71582 [Tuesday 14th of July 2026 09:55:08 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/71692/custom-fields/71582 [Tuesday 14th of July 2026 09:55:08 AM] update_product_inventory() - Inventory updated successfully for Product ID: 71692 | Stock: 18 [Tuesday 14th of July 2026 09:55:08 AM] update_product_inventory() - END - Product ID: 71692 | Result: success [Tuesday 14th of July 2026 09:55:08 AM] Inventory updated for SKU: ULTHB46031 [Tuesday 14th of July 2026 09:55:08 AM] All products processed - Order details: [{"ID":"AP349","INVEN":"ULTHB46031","M_QUAN_VIS":1,"UNIT":"110.99","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 09:55:08 AM] Building payment record - Total: 132.5200 [Tuesday 14th of July 2026 09:55:08 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1975","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","C_ADDRESS1":"1809 Industrial Park Drive","C_ADDRESS2":"","C_CITY":"Normal","C_COUNTRY":"USA","C_EMAIL":"ktnj4088@gmail.com","C_NAME":"Kurt Macklin","C_STATE":"IL","C_ZIP":"61761","ShippingAmount":"12.93","CITY":"Macon","EMAIL":"ktnj4088@gmail.com","ID":"AP349","NAME":"Kurt Macklin","STATE":"IL","COUNTRY":"USA","ZIP":"62544","MEMO":"","DESCR":"BigCommerce Order - AP1975 - Customer AP349","Details":[{"ID":"AP349","INVEN":"ULTHB46031","M_QUAN_VIS":1,"UNIT":"110.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"132.52","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 09:55:08 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1975 [Tuesday 14th of July 2026 09:55:08 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1975%27 [Tuesday 14th of July 2026 09:55:09 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1975 [Tuesday 14th of July 2026 09:55:09 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1975 found in EBMS [Tuesday 14th of July 2026 09:55:09 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1975 | Found: true [Tuesday 14th of July 2026 09:55:09 AM] Invoice AP1975 already exists in EBMS - patching [Tuesday 14th of July 2026 09:55:09 AM] patch_ebms_invoice() - START - Invoice: AP1975 [Tuesday 14th of July 2026 09:55:09 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1975","ADDRESS1":"108 North Wiles Street","ADDRESS2":"","C_ADDRESS1":"1809 Industrial Park Drive","C_ADDRESS2":"","C_CITY":"Normal","C_COUNTRY":"USA","C_EMAIL":"ktnj4088@gmail.com","C_NAME":"Kurt Macklin","C_STATE":"IL","C_ZIP":"61761","ShippingAmount":"12.93","CITY":"Macon","EMAIL":"ktnj4088@gmail.com","ID":"AP349","NAME":"Kurt Macklin","STATE":"IL","COUNTRY":"USA","ZIP":"62544","MEMO":"","DESCR":"BigCommerce Order - AP1975 - Customer AP349","Details":[{"ID":"AP349","INVEN":"ULTHB46031","M_QUAN_VIS":1,"UNIT":"110.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"132.52","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 09:55:09 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1975%27 [Tuesday 14th of July 2026 09:55:09 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1975 [Tuesday 14th of July 2026 09:55:09 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1975 [Tuesday 14th of July 2026 09:55:09 AM] patch_ebms_invoice() - END - Invoice: AP1975 [Tuesday 14th of July 2026 09:55:09 AM] Invoice AP1975 patched successfully [Tuesday 14th of July 2026 09:55:09 AM] ORDER WEBHOOK COMPLETED - Order ID: 1975 | Invoice: AP1975 [Tuesday 14th of July 2026 01:17:21 PM] ORDER WEBHOOK STARTED - Order ID: 1976 [Tuesday 14th of July 2026 01:17:21 PM] Fetching customer data for Order ID: 1976 [Tuesday 14th of July 2026 01:17:21 PM] get_order_customer_data() - START - Order ID: 1976 [Tuesday 14th of July 2026 01:17:21 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1976 [Tuesday 14th of July 2026 01:17:21 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1976 [Tuesday 14th of July 2026 01:17:21 PM] get_order_customer_data() - Parsing order response for Order ID: 1976 [Tuesday 14th of July 2026 01:17:21 PM] get_order_customer_data() - Customer object built - Customer ID: 54 | Name: Eric Vaughan | Email: 36latemodel@gmail.com | Total: 168.3800 | Shipping: 21.23 [Tuesday 14th of July 2026 01:17:21 PM] get_order_customer_data() - END - Order ID: 1976 [Tuesday 14th of July 2026 01:17:21 PM] Customer data received: {"id":54,"email":"36latemodel@gmail.com","address_1":"608 North 2nd St","address_2":"","city":"Fairbury","state":"IL","country":"USA","zip":"61739","f_name":"Eric","l_name":"Vaughan","contact_5":"36latemodel@gmail.com","contact_1":"8158481241","contact_4":"Eric Vaughan"} [Tuesday 14th of July 2026 01:17:21 PM] Fetching shipping info for Order ID: 1976 [Tuesday 14th of July 2026 01:17:21 PM] get_order_shipping_info() - START - Order ID: 1976 [Tuesday 14th of July 2026 01:17:21 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1976/shipping_addresses [Tuesday 14th of July 2026 01:17:22 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1976 [Tuesday 14th of July 2026 01:17:22 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1976 | Name: Eric Vaughan | Address: 608 North 2nd St, Fairbury, Illinois, 61739 [Tuesday 14th of July 2026 01:17:22 PM] get_order_shipping_info() - END - Order ID: 1976 [Tuesday 14th of July 2026 01:17:22 PM] Shipping info received: {"id":1875,"order_id":1976,"first_name":"Eric","last_name":"Vaughan","company":"","street_1":"608 North 2nd St","street_2":"","city":"Fairbury","zip":"61739","country":"United States","country_iso2":"US","state":"Illinois","email":"36latemodel@gmail.com","phone":"8158481241","items_total":5,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"21.2300","cost_ex_tax":"21.2300","cost_inc_tax":"21.2300","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\/1976\/shipping_addresses\/1875\/shipping_quotes","resource":"\/orders\/1976\/shipping_addresses\/1875\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 01:17:22 PM] Resolved Customer ID: AP54 [Tuesday 14th of July 2026 01:17:22 PM] Building order object for Invoice: AP1976 [Tuesday 14th of July 2026 01:17:22 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1976","ADDRESS1":"608 North 2nd St","ADDRESS2":"","C_ADDRESS1":"608 North 2nd St","C_ADDRESS2":"","C_CITY":"Fairbury","C_COUNTRY":"USA","C_EMAIL":"36latemodel@gmail.com","C_NAME":"Eric Vaughan","C_STATE":"IL","C_ZIP":"61739","ShippingAmount":"21.23","CITY":"Fairbury","EMAIL":"36latemodel@gmail.com","ID":"AP54","NAME":"Eric Vaughan","STATE":"IL","COUNTRY":"USA","ZIP":"61739","MEMO":"Order #1963 has been cancelled and refunded, the spacers have been added to this order and it will ship out today 7-14-26","DESCR":"BigCommerce Order - AP1976 - Customer AP54"} [Tuesday 14th of July 2026 01:17:22 PM] Registered customer detected - checking EBMS for Customer ID: AP54 [Tuesday 14th of July 2026 01:17:22 PM] check_for_customer() - START - Customer ID: 54 [Tuesday 14th of July 2026 01:17:22 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP54%27 [Tuesday 14th of July 2026 01:17:22 PM] check_for_customer() - EBMS API call successful for Customer ID: 54 [Tuesday 14th of July 2026 01:17:22 PM] check_for_customer() - Customer ID: 54 found in EBMS [Tuesday 14th of July 2026 01:17:22 PM] check_for_customer() - END - Customer ID: 54 | Found: true [Tuesday 14th of July 2026 01:17:22 PM] Customer AP54 found in EBMS [Tuesday 14th of July 2026 01:17:22 PM] check_for_empty_info() - START - Customer ID: 54 [Tuesday 14th of July 2026 01:17:22 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP54%27 [Tuesday 14th of July 2026 01:17:22 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 54 [Tuesday 14th of July 2026 01:17:22 PM] check_for_empty_info() - Customer record found for Customer ID: 54 - Checking ADDRESS1 field [Tuesday 14th of July 2026 01:17:22 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 54 - No update needed [Tuesday 14th of July 2026 01:17:22 PM] check_for_empty_info() - END - Customer ID: 54 | Empty Info: false [Tuesday 14th of July 2026 01:17:22 PM] check_for_empty_pn() - START - Customer ID: AP54 [Tuesday 14th of July 2026 01:17:22 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP54%27 [Tuesday 14th of July 2026 01:17:23 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP54 [Tuesday 14th of July 2026 01:17:23 PM] check_for_empty_pn() - Customer record found for Customer ID: AP54 - Checking CONTACT_1 field [Tuesday 14th of July 2026 01:17:23 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP54 - Value: (815) 848-1241 - No update needed [Tuesday 14th of July 2026 01:17:23 PM] check_for_empty_pn() - END - Customer ID: AP54 | Empty PN: false [Tuesday 14th of July 2026 01:17:23 PM] Fetching products from BigCommerce for Order ID: 1976 [Tuesday 14th of July 2026 01:17:23 PM] BigCommerce API call successful for Order ID: 1976 [Tuesday 14th of July 2026 01:17:23 PM] Products received: 3 item(s) [Tuesday 14th of July 2026 01:17:23 PM] Processing product SKU: WEHWM325 | Qty: 2 | Price: 16.9900 [Tuesday 14th of July 2026 01:17:23 PM] get_mpn() - START - Product ID: 74101 [Tuesday 14th of July 2026 01:17:23 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/74101 [Tuesday 14th of July 2026 01:17:23 PM] get_mpn() - BigCommerce API call successful for Product ID: 74101 [Tuesday 14th of July 2026 01:17:23 PM] get_mpn() - WARNING - MPN is empty for Product ID: 74101 [Tuesday 14th of July 2026 01:17:23 PM] get_mpn() - END - Product ID: 74101 | MPN: [Tuesday 14th of July 2026 01:17:23 PM] check_for_ebms_product() - START - SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:23 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WEHWM325%27 [Tuesday 14th of July 2026 01:17:23 PM] check_for_ebms_product() - EBMS API call successful for SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:23 PM] check_for_ebms_product() - SKU: WEHWM325 found in EBMS [Tuesday 14th of July 2026 01:17:23 PM] check_for_ebms_product() - END - SKU: WEHWM325 | Found: true [Tuesday 14th of July 2026 01:17:23 PM] SKU WEHWM325 found in EBMS - checking prices [Tuesday 14th of July 2026 01:17:23 PM] obtain_current_prices() - START - SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:23 PM] obtain_current_prices() - Checking Motorstate for SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:23 PM] check_for_ms_product() - START - SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:23 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM325 [Tuesday 14th of July 2026 01:17:24 PM] check_for_ms_product() - Motorstate API call successful for SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:24 PM] check_for_ms_product() - SKU: WEHWM325 found in Motorstate [Tuesday 14th of July 2026 01:17:24 PM] check_for_ms_product() - END - SKU: WEHWM325 | Found: true [Tuesday 14th of July 2026 01:17:24 PM] obtain_current_prices() - SKU: WEHWM325 found in Motorstate - Fetching prices [Tuesday 14th of July 2026 01:17:24 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WEHWM325 - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM325 [Tuesday 14th of July 2026 01:17:24 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WEHWM325 - Base: 16.99 | Cost: 11.99 [Tuesday 14th of July 2026 01:17:24 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WEHWM325 - Base: 16.99 | Cost: 11.99 [Tuesday 14th of July 2026 01:17:24 PM] obtain_current_prices() - END - SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:24 PM] SKU WEHWM325 has existing EBMS prices - syncing BigCommerce price back (cost: 11.99, base: 16.99) [Tuesday 14th of July 2026 01:17:24 PM] update_product_price() - START - Product ID: 74101 | Base: 16.99 | Cost: 11.99 [Tuesday 14th of July 2026 01:17:24 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/74101 [Tuesday 14th of July 2026 01:17:24 PM] update_product_price() - PUT payload: {"price":16.989999999999998436805981327779591083526611328125,"cost_price":11.9900000000000002131628207280300557613372802734375} [Tuesday 14th of July 2026 01:17:24 PM] update_product_price() - Attempt 1 of 6 for Product ID: 74101 [Tuesday 14th of July 2026 01:17:24 PM] update_product_price() - Price updated successfully for Product ID: 74101 - Base: 16.99 | Cost: 11.99 [Tuesday 14th of July 2026 01:17:24 PM] update_product_price() - END - Product ID: 74101 | Result: success [Tuesday 14th of July 2026 01:17:24 PM] BigCommerce price updated for Product ID: 74101 [Tuesday 14th of July 2026 01:17:24 PM] get_product_inventory() - START - SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:24 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM325 [Tuesday 14th of July 2026 01:17:24 PM] get_product_inventory() - Motorstate API call successful for SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:24 PM] get_product_inventory() - Stock found for SKU: WEHWM325 - Quantity: 100 | Running Total: 100 [Tuesday 14th of July 2026 01:17:24 PM] get_product_inventory() - END - SKU: WEHWM325 | Total: 100 [Tuesday 14th of July 2026 01:17:24 PM] get_cf_id() - START - Product ID: 74101 [Tuesday 14th of July 2026 01:17:24 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/74101/custom-fields [Tuesday 14th of July 2026 01:17:24 PM] get_cf_id() - BigCommerce API call successful for Product ID: 74101 [Tuesday 14th of July 2026 01:17:24 PM] get_cf_id() - Custom field found for Product ID: 74101 | Field: online_stock_level | CF ID: 73991 [Tuesday 14th of July 2026 01:17:24 PM] get_cf_id() - END - Product ID: 74101 | CF ID: 73991 [Tuesday 14th of July 2026 01:17:24 PM] Updating inventory for SKU WEHWM325 - stock: 100, CF ID: 73991 [Tuesday 14th of July 2026 01:17:24 PM] update_product_inventory() - START - Product ID: 74101 | Stock: 100 | CF ID: 73991 [Tuesday 14th of July 2026 01:17:24 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/74101/custom-fields/73991 [Tuesday 14th of July 2026 01:17:25 PM] update_product_inventory() - Inventory updated successfully for Product ID: 74101 | Stock: 100 [Tuesday 14th of July 2026 01:17:25 PM] update_product_inventory() - END - Product ID: 74101 | Result: success [Tuesday 14th of July 2026 01:17:25 PM] Inventory updated for SKU: WEHWM325 [Tuesday 14th of July 2026 01:17:25 PM] Processing product SKU: WEHWM303F | Qty: 1 | Price: 55.9900 [Tuesday 14th of July 2026 01:17:25 PM] get_mpn() - START - Product ID: 6938 [Tuesday 14th of July 2026 01:17:25 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/6938 [Tuesday 14th of July 2026 01:17:25 PM] get_mpn() - BigCommerce API call successful for Product ID: 6938 [Tuesday 14th of July 2026 01:17:25 PM] get_mpn() - WARNING - MPN is empty for Product ID: 6938 [Tuesday 14th of July 2026 01:17:25 PM] get_mpn() - END - Product ID: 6938 | MPN: [Tuesday 14th of July 2026 01:17:25 PM] check_for_ebms_product() - START - SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WEHWM303F%27 [Tuesday 14th of July 2026 01:17:25 PM] check_for_ebms_product() - EBMS API call successful for SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] check_for_ebms_product() - SKU: WEHWM303F found in EBMS [Tuesday 14th of July 2026 01:17:25 PM] check_for_ebms_product() - END - SKU: WEHWM303F | Found: true [Tuesday 14th of July 2026 01:17:25 PM] SKU WEHWM303F found in EBMS - checking prices [Tuesday 14th of July 2026 01:17:25 PM] obtain_current_prices() - START - SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] obtain_current_prices() - Checking Motorstate for SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] check_for_ms_product() - START - SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] check_for_ms_product() - Motorstate API call successful for SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] check_for_ms_product() - SKU: WEHWM303F found in Motorstate [Tuesday 14th of July 2026 01:17:25 PM] check_for_ms_product() - END - SKU: WEHWM303F | Found: true [Tuesday 14th of July 2026 01:17:25 PM] obtain_current_prices() - SKU: WEHWM303F found in Motorstate - Fetching prices [Tuesday 14th of July 2026 01:17:25 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WEHWM303F - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WEHWM303F - Base: 55.99 | Cost: 39.99 [Tuesday 14th of July 2026 01:17:25 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WEHWM303F - Base: 55.99 | Cost: 39.99 [Tuesday 14th of July 2026 01:17:25 PM] obtain_current_prices() - END - SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:25 PM] SKU WEHWM303F has existing EBMS prices - syncing BigCommerce price back (cost: 39.99, base: 55.99) [Tuesday 14th of July 2026 01:17:25 PM] update_product_price() - START - Product ID: 6938 | Base: 55.99 | Cost: 39.99 [Tuesday 14th of July 2026 01:17:25 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/6938 [Tuesday 14th of July 2026 01:17:25 PM] update_product_price() - PUT payload: {"price":55.99000000000000198951966012828052043914794921875,"cost_price":39.99000000000000198951966012828052043914794921875} [Tuesday 14th of July 2026 01:17:25 PM] update_product_price() - Attempt 1 of 6 for Product ID: 6938 [Tuesday 14th of July 2026 01:17:26 PM] update_product_price() - Price updated successfully for Product ID: 6938 - Base: 55.99 | Cost: 39.99 [Tuesday 14th of July 2026 01:17:26 PM] update_product_price() - END - Product ID: 6938 | Result: success [Tuesday 14th of July 2026 01:17:26 PM] BigCommerce price updated for Product ID: 6938 [Tuesday 14th of July 2026 01:17:26 PM] get_product_inventory() - START - SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:26 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM303F [Tuesday 14th of July 2026 01:17:26 PM] get_product_inventory() - Motorstate API call successful for SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:26 PM] get_product_inventory() - Stock found for SKU: WEHWM303F - Quantity: 13 | Running Total: 13 [Tuesday 14th of July 2026 01:17:26 PM] get_product_inventory() - END - SKU: WEHWM303F | Total: 13 [Tuesday 14th of July 2026 01:17:26 PM] get_cf_id() - START - Product ID: 6938 [Tuesday 14th of July 2026 01:17:26 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/6938/custom-fields [Tuesday 14th of July 2026 01:17:26 PM] get_cf_id() - BigCommerce API call successful for Product ID: 6938 [Tuesday 14th of July 2026 01:17:26 PM] get_cf_id() - Custom field found for Product ID: 6938 | Field: online_stock_level | CF ID: 6828 [Tuesday 14th of July 2026 01:17:26 PM] get_cf_id() - END - Product ID: 6938 | CF ID: 6828 [Tuesday 14th of July 2026 01:17:26 PM] Updating inventory for SKU WEHWM303F - stock: 13, CF ID: 6828 [Tuesday 14th of July 2026 01:17:26 PM] update_product_inventory() - START - Product ID: 6938 | Stock: 13 | CF ID: 6828 [Tuesday 14th of July 2026 01:17:26 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/6938/custom-fields/6828 [Tuesday 14th of July 2026 01:17:26 PM] update_product_inventory() - Inventory updated successfully for Product ID: 6938 | Stock: 13 [Tuesday 14th of July 2026 01:17:26 PM] update_product_inventory() - END - Product ID: 6938 | Result: success [Tuesday 14th of July 2026 01:17:26 PM] Inventory updated for SKU: WEHWM303F [Tuesday 14th of July 2026 01:17:26 PM] Processing product SKU: APPALL56288-1 | Qty: 2 | Price: 23.3000 [Tuesday 14th of July 2026 01:17:26 PM] get_mpn() - START - Product ID: 0 [Tuesday 14th of July 2026 01:17:26 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/0 [Tuesday 14th of July 2026 01:17:26 PM] get_mpn() - BigCommerce API call successful for Product ID: 0 [Tuesday 14th of July 2026 01:17:26 PM] get_mpn() - WARNING - MPN field not found in response for Product ID: 0 - Returning null [Tuesday 14th of July 2026 01:17:26 PM] check_for_ebms_product() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:26 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPALL56288-1%27 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ebms_product() - EBMS API call successful for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ebms_product() - SKU: APPALL56288-1 found in EBMS [Tuesday 14th of July 2026 01:17:27 PM] check_for_ebms_product() - END - SKU: APPALL56288-1 | Found: true [Tuesday 14th of July 2026 01:17:27 PM] SKU APPALL56288-1 found in EBMS - checking prices [Tuesday 14th of July 2026 01:17:27 PM] obtain_current_prices() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] obtain_current_prices() - Checking Motorstate for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ms_product() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ms_product() - Motorstate API call successful for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ms_product() - SKU: APPALL56288-1 not found in Motorstate [Tuesday 14th of July 2026 01:17:27 PM] check_for_ms_product() - END - SKU: APPALL56288-1 | Found: false [Tuesday 14th of July 2026 01:17:27 PM] obtain_current_prices() - SKU: APPALL56288-1 not found in Motorstate - Skipping to EBMS [Tuesday 14th of July 2026 01:17:27 PM] obtain_current_prices() - Checking EBMS for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ebms_product() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPALL56288-1%27 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ebms_product() - EBMS API call successful for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:27 PM] check_for_ebms_product() - SKU: APPALL56288-1 found in EBMS [Tuesday 14th of July 2026 01:17:27 PM] check_for_ebms_product() - END - SKU: APPALL56288-1 | Found: true [Tuesday 14th of July 2026 01:17:27 PM] obtain_current_prices() - SKU: APPALL56288-1 found in EBMS - Fetching prices [Tuesday 14th of July 2026 01:17:27 PM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPALL56288-1 - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPALL56288-1%27 [Tuesday 14th of July 2026 01:17:28 PM] obtain_current_prices() - EBMS prices retrieved for SKU: APPALL56288-1 - Base: 23.30 | Cost: 14.29 [Tuesday 14th of July 2026 01:17:28 PM] obtain_current_prices() - END - SKU: APPALL56288-1 | Final prices - Base: 23.30 | Cost: 14.29 [Tuesday 14th of July 2026 01:17:28 PM] SKU APPALL56288-1 has existing EBMS prices - syncing BigCommerce price back (cost: 0.00, base: 23.30) [Tuesday 14th of July 2026 01:17:28 PM] update_product_price() - START - Product ID: 0 | Base: 23.3 | Cost: 0 [Tuesday 14th of July 2026 01:17:28 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/0 [Tuesday 14th of July 2026 01:17:28 PM] update_product_price() - PUT payload: {"price":23.300000000000000710542735760100185871124267578125,"cost_price":0.0} [Tuesday 14th of July 2026 01:17:28 PM] update_product_price() - Attempt 1 of 6 for Product ID: 0 [Tuesday 14th of July 2026 01:17:28 PM] update_product_price() - ERROR - HTTP 422 for Product ID: 0 - Payload: {"price":23.300000000000000710542735760100185871124267578125,"cost_price":0.0} - Response: {"status":422,"title":"The field id is required when updating a product.","type":"https://developer.bigcommerce.com/api-docs/getting-started/api-status-codes"} [Tuesday 14th of July 2026 01:17:28 PM] update_product_price() - END - Product ID: 0 | Result: failed [Tuesday 14th of July 2026 01:17:28 PM] BigCommerce price updated for Product ID: 0 [Tuesday 14th of July 2026 01:17:28 PM] get_product_inventory() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:28 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPALL56288-1 [Tuesday 14th of July 2026 01:17:28 PM] get_product_inventory() - Motorstate API call successful for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:28 PM] get_product_inventory() - SKU: APPALL56288-1 not found in Motorstate response item [Tuesday 14th of July 2026 01:17:28 PM] get_product_inventory() - END - SKU: APPALL56288-1 | Total: 0 [Tuesday 14th of July 2026 01:17:28 PM] get_cf_id() - START - Product ID: 0 [Tuesday 14th of July 2026 01:17:28 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/0/custom-fields [Tuesday 14th of July 2026 01:17:28 PM] get_cf_id() - BigCommerce API call successful for Product ID: 0 [Tuesday 14th of July 2026 01:17:28 PM] get_cf_id() - WARNING - No custom fields found for Product ID: 0 [Tuesday 14th of July 2026 01:17:28 PM] get_cf_id() - END - Product ID: 0 | CF ID: null [Tuesday 14th of July 2026 01:17:28 PM] Updating inventory for SKU APPALL56288-1 - stock: 0, CF ID: [Tuesday 14th of July 2026 01:17:28 PM] update_product_inventory() - START - Product ID: 0 | Stock: 0 | CF ID: [Tuesday 14th of July 2026 01:17:28 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/0/custom-fields/ [Tuesday 14th of July 2026 01:17:28 PM] update_product_inventory() - Inventory updated successfully for Product ID: 0 | Stock: 0 [Tuesday 14th of July 2026 01:17:28 PM] update_product_inventory() - END - Product ID: 0 | Result: success [Tuesday 14th of July 2026 01:17:28 PM] Inventory updated for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:17:28 PM] All products processed - Order details: [{"ID":"AP54","INVEN":"WEHWM325","M_QUAN_VIS":2,"UNIT":"16.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"WEHWM303F","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"APPALL56288-1","M_QUAN_VIS":2,"UNIT":"23.30","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 01:17:28 PM] Building payment record - Total: 168.3800 [Tuesday 14th of July 2026 01:17:28 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1976","ADDRESS1":"608 North 2nd St","ADDRESS2":"","C_ADDRESS1":"608 North 2nd St","C_ADDRESS2":"","C_CITY":"Fairbury","C_COUNTRY":"USA","C_EMAIL":"36latemodel@gmail.com","C_NAME":"Eric Vaughan","C_STATE":"IL","C_ZIP":"61739","ShippingAmount":"21.23","CITY":"Fairbury","EMAIL":"36latemodel@gmail.com","ID":"AP54","NAME":"Eric Vaughan","STATE":"IL","COUNTRY":"USA","ZIP":"61739","MEMO":"Order #1963 has been cancelled and refunded, the spacers have been added to this order and it will ship out today 7-14-26","DESCR":"BigCommerce Order - AP1976 - Customer AP54","Details":[{"ID":"AP54","INVEN":"WEHWM325","M_QUAN_VIS":2,"UNIT":"16.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"WEHWM303F","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"APPALL56288-1","M_QUAN_VIS":2,"UNIT":"23.30","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.38","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 01:17:28 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1976 [Tuesday 14th of July 2026 01:17:28 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1976%27 [Tuesday 14th of July 2026 01:17:29 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1976 [Tuesday 14th of July 2026 01:17:29 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1976 not found in EBMS [Tuesday 14th of July 2026 01:17:29 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1976 | Found: false [Tuesday 14th of July 2026 01:17:29 PM] Invoice AP1976 does not exist in EBMS - creating [Tuesday 14th of July 2026 01:17:29 PM] create_ebms_invoice() - START - Invoice: AP1976 [Tuesday 14th of July 2026 01:17:29 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1976","ADDRESS1":"608 North 2nd St","ADDRESS2":"","C_ADDRESS1":"608 North 2nd St","C_ADDRESS2":"","C_CITY":"Fairbury","C_COUNTRY":"USA","C_EMAIL":"36latemodel@gmail.com","C_NAME":"Eric Vaughan","C_STATE":"IL","C_ZIP":"61739","ShippingAmount":"21.23","CITY":"Fairbury","EMAIL":"36latemodel@gmail.com","ID":"AP54","NAME":"Eric Vaughan","STATE":"IL","COUNTRY":"USA","ZIP":"61739","MEMO":"Order #1963 has been cancelled and refunded, the spacers have been added to this order and it will ship out today 7-14-26","DESCR":"BigCommerce Order - AP1976 - Customer AP54","Details":[{"ID":"AP54","INVEN":"WEHWM325","M_QUAN_VIS":2,"UNIT":"16.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"WEHWM303F","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"APPALL56288-1","M_QUAN_VIS":2,"UNIT":"23.30","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.38","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 01:17:29 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 14th of July 2026 01:17:37 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1976 [Tuesday 14th of July 2026 01:17:37 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1976 - Response: {"@odata.context":"http:\/\/localhost:64367\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4a394b36-4a43-5246-3246-534739303030","AUTOID":"6K9JCJFR2FSG9000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-147.150000000000005684341886080801486968994140625,"BAL_CUST_X":-147.150000000000005684341886080801486968994140625,"BALANCE":-147.150000000000005684341886080801486968994140625,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":10.5800000000000000710542735760100185871124267578125,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":168.3799999999999954525264911353588104248046875,"TOTAL_S_SO":136.56999999999999317878973670303821563720703125,"TOTAL_SO":168.3799999999999954525264911353588104248046875,"TOTAL_W":0,"TTLPROCPMT":168.3799999999999954525264911353588104248046875,"TOTAL":21.230000000000000426325641456060111522674560546875,"FREIGHT":21.230000000000000426325641456060111522674560546875,"HANDLING":0,"SHIPPING":21.230000000000000426325641456060111522674560546875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"608 North 2nd St","ADDRESS2":"","C_EMAIL":"36latemodel@gmail.com","C_PHONE":"(815) 848-1241","CCNTCT_AID":"7JNIGG36ECMT5E91","CHARGE":"Due on Receipt","CHECK_DATE":"2026-07-14T00:00:00Z","CHECK_NO":" APBC","CITY":"Fairbury","CNTCT_AID":"7JNIGG36ECMT5E91","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-07-14T00:00:00Z","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"36latemodel@gmail.com","IADDRESS":"608 North 2nd St , Fairbury, IL 61739","ID":"AP54","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-14T00:00:00Z","INVOICE":"AP1976","MAN_TAX":true,"NAME":"Eric Vaughan","PHONE":"","PROCESS":"Default","STATE":"IL","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"61739","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"608 North 2nd St","C_ADDRESS2":"","C_CITY":"Fairbury","C_COUNTRY":"USA","C_ID":"AP54","C_NAME":"Eric Vaughan","C_STATE":"IL","C_ZIP":"61739","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1976 - Customer AP54","INTERNALNT":"","JOB_ID":"","MEMO":"Order #1963 has been cancelled and refunded, the spacers have been added to this order and it will ship out today 7-14-26","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-14T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 14th of July 2026 01:17:37 PM] create_ebms_invoice() - END - Invoice: AP1976 [Tuesday 14th of July 2026 01:17:37 PM] Invoice AP1976 created successfully [Tuesday 14th of July 2026 01:17:37 PM] ORDER WEBHOOK COMPLETED - Order ID: 1976 | Invoice: AP1976 [Tuesday 14th of July 2026 01:18:31 PM] ORDER WEBHOOK STARTED - Order ID: 1976 [Tuesday 14th of July 2026 01:18:31 PM] Fetching customer data for Order ID: 1976 [Tuesday 14th of July 2026 01:18:31 PM] get_order_customer_data() - START - Order ID: 1976 [Tuesday 14th of July 2026 01:18:31 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1976 [Tuesday 14th of July 2026 01:18:32 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1976 [Tuesday 14th of July 2026 01:18:32 PM] get_order_customer_data() - Parsing order response for Order ID: 1976 [Tuesday 14th of July 2026 01:18:32 PM] get_order_customer_data() - Customer object built - Customer ID: 54 | Name: Eric Vaughan | Email: 36latemodel@gmail.com | Total: 168.3800 | Shipping: 21.23 [Tuesday 14th of July 2026 01:18:32 PM] get_order_customer_data() - END - Order ID: 1976 [Tuesday 14th of July 2026 01:18:32 PM] Customer data received: {"id":54,"email":"36latemodel@gmail.com","address_1":"608 North 2nd St","address_2":"","city":"Fairbury","state":"IL","country":"USA","zip":"61739","f_name":"Eric","l_name":"Vaughan","contact_5":"36latemodel@gmail.com","contact_1":"8158481241","contact_4":"Eric Vaughan"} [Tuesday 14th of July 2026 01:18:32 PM] Fetching shipping info for Order ID: 1976 [Tuesday 14th of July 2026 01:18:32 PM] get_order_shipping_info() - START - Order ID: 1976 [Tuesday 14th of July 2026 01:18:32 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1976/shipping_addresses [Tuesday 14th of July 2026 01:18:32 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1976 [Tuesday 14th of July 2026 01:18:32 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1976 | Name: Eric Vaughan | Address: 608 North 2nd St, Fairbury, Illinois, 61739 [Tuesday 14th of July 2026 01:18:32 PM] get_order_shipping_info() - END - Order ID: 1976 [Tuesday 14th of July 2026 01:18:32 PM] Shipping info received: {"id":1875,"order_id":1976,"first_name":"Eric","last_name":"Vaughan","company":"","street_1":"608 North 2nd St","street_2":"","city":"Fairbury","zip":"61739","country":"United States","country_iso2":"US","state":"Illinois","email":"36latemodel@gmail.com","phone":"8158481241","items_total":5,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"21.2300","cost_ex_tax":"21.2300","cost_inc_tax":"21.2300","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\/1976\/shipping_addresses\/1875\/shipping_quotes","resource":"\/orders\/1976\/shipping_addresses\/1875\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 01:18:32 PM] Resolved Customer ID: AP54 [Tuesday 14th of July 2026 01:18:32 PM] Building order object for Invoice: AP1976 [Tuesday 14th of July 2026 01:18:32 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1976","ADDRESS1":"608 North 2nd St","ADDRESS2":"","C_ADDRESS1":"608 North 2nd St","C_ADDRESS2":"","C_CITY":"Fairbury","C_COUNTRY":"USA","C_EMAIL":"36latemodel@gmail.com","C_NAME":"Eric Vaughan","C_STATE":"IL","C_ZIP":"61739","ShippingAmount":"21.23","CITY":"Fairbury","EMAIL":"36latemodel@gmail.com","ID":"AP54","NAME":"Eric Vaughan","STATE":"IL","COUNTRY":"USA","ZIP":"61739","MEMO":"Order #1963 has been cancelled and refunded, the spacers have been added to this order and it will ship out today 7-14-26","DESCR":"BigCommerce Order - AP1976 - Customer AP54"} [Tuesday 14th of July 2026 01:18:32 PM] Registered customer detected - checking EBMS for Customer ID: AP54 [Tuesday 14th of July 2026 01:18:32 PM] check_for_customer() - START - Customer ID: 54 [Tuesday 14th of July 2026 01:18:32 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP54%27 [Tuesday 14th of July 2026 01:18:32 PM] check_for_customer() - EBMS API call successful for Customer ID: 54 [Tuesday 14th of July 2026 01:18:32 PM] check_for_customer() - Customer ID: 54 found in EBMS [Tuesday 14th of July 2026 01:18:32 PM] check_for_customer() - END - Customer ID: 54 | Found: true [Tuesday 14th of July 2026 01:18:32 PM] Customer AP54 found in EBMS [Tuesday 14th of July 2026 01:18:32 PM] check_for_empty_info() - START - Customer ID: 54 [Tuesday 14th of July 2026 01:18:32 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP54%27 [Tuesday 14th of July 2026 01:18:32 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 54 [Tuesday 14th of July 2026 01:18:32 PM] check_for_empty_info() - Customer record found for Customer ID: 54 - Checking ADDRESS1 field [Tuesday 14th of July 2026 01:18:32 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 54 - No update needed [Tuesday 14th of July 2026 01:18:32 PM] check_for_empty_info() - END - Customer ID: 54 | Empty Info: false [Tuesday 14th of July 2026 01:18:32 PM] check_for_empty_pn() - START - Customer ID: AP54 [Tuesday 14th of July 2026 01:18:32 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP54%27 [Tuesday 14th of July 2026 01:18:33 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP54 [Tuesday 14th of July 2026 01:18:33 PM] check_for_empty_pn() - Customer record found for Customer ID: AP54 - Checking CONTACT_1 field [Tuesday 14th of July 2026 01:18:33 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP54 - Value: (815) 848-1241 - No update needed [Tuesday 14th of July 2026 01:18:33 PM] check_for_empty_pn() - END - Customer ID: AP54 | Empty PN: false [Tuesday 14th of July 2026 01:18:33 PM] Fetching products from BigCommerce for Order ID: 1976 [Tuesday 14th of July 2026 01:18:33 PM] BigCommerce API call successful for Order ID: 1976 [Tuesday 14th of July 2026 01:18:33 PM] Products received: 3 item(s) [Tuesday 14th of July 2026 01:18:33 PM] Processing product SKU: WEHWM325 | Qty: 2 | Price: 16.9900 [Tuesday 14th of July 2026 01:18:33 PM] get_mpn() - START - Product ID: 74101 [Tuesday 14th of July 2026 01:18:33 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/74101 [Tuesday 14th of July 2026 01:18:33 PM] get_mpn() - BigCommerce API call successful for Product ID: 74101 [Tuesday 14th of July 2026 01:18:33 PM] get_mpn() - WARNING - MPN is empty for Product ID: 74101 [Tuesday 14th of July 2026 01:18:33 PM] get_mpn() - END - Product ID: 74101 | MPN: [Tuesday 14th of July 2026 01:18:33 PM] check_for_ebms_product() - START - SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:33 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WEHWM325%27 [Tuesday 14th of July 2026 01:18:33 PM] check_for_ebms_product() - EBMS API call successful for SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:33 PM] check_for_ebms_product() - SKU: WEHWM325 found in EBMS [Tuesday 14th of July 2026 01:18:33 PM] check_for_ebms_product() - END - SKU: WEHWM325 | Found: true [Tuesday 14th of July 2026 01:18:33 PM] SKU WEHWM325 found in EBMS - checking prices [Tuesday 14th of July 2026 01:18:33 PM] obtain_current_prices() - START - SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:33 PM] obtain_current_prices() - Checking Motorstate for SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:33 PM] check_for_ms_product() - START - SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:33 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM325 [Tuesday 14th of July 2026 01:18:34 PM] check_for_ms_product() - Motorstate API call successful for SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:34 PM] check_for_ms_product() - SKU: WEHWM325 found in Motorstate [Tuesday 14th of July 2026 01:18:34 PM] check_for_ms_product() - END - SKU: WEHWM325 | Found: true [Tuesday 14th of July 2026 01:18:34 PM] obtain_current_prices() - SKU: WEHWM325 found in Motorstate - Fetching prices [Tuesday 14th of July 2026 01:18:34 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WEHWM325 - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM325 [Tuesday 14th of July 2026 01:18:34 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WEHWM325 - Base: 16.99 | Cost: 11.99 [Tuesday 14th of July 2026 01:18:34 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WEHWM325 - Base: 16.99 | Cost: 11.99 [Tuesday 14th of July 2026 01:18:34 PM] obtain_current_prices() - END - SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:34 PM] SKU WEHWM325 has existing EBMS prices - syncing BigCommerce price back (cost: 11.99, base: 16.99) [Tuesday 14th of July 2026 01:18:34 PM] update_product_price() - START - Product ID: 74101 | Base: 16.99 | Cost: 11.99 [Tuesday 14th of July 2026 01:18:34 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/74101 [Tuesday 14th of July 2026 01:18:34 PM] update_product_price() - PUT payload: {"price":16.989999999999998436805981327779591083526611328125,"cost_price":11.9900000000000002131628207280300557613372802734375} [Tuesday 14th of July 2026 01:18:34 PM] update_product_price() - Attempt 1 of 6 for Product ID: 74101 [Tuesday 14th of July 2026 01:18:34 PM] update_product_price() - Price updated successfully for Product ID: 74101 - Base: 16.99 | Cost: 11.99 [Tuesday 14th of July 2026 01:18:34 PM] update_product_price() - END - Product ID: 74101 | Result: success [Tuesday 14th of July 2026 01:18:34 PM] BigCommerce price updated for Product ID: 74101 [Tuesday 14th of July 2026 01:18:34 PM] get_product_inventory() - START - SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:34 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM325 [Tuesday 14th of July 2026 01:18:34 PM] get_product_inventory() - Motorstate API call successful for SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:34 PM] get_product_inventory() - Stock found for SKU: WEHWM325 - Quantity: 100 | Running Total: 100 [Tuesday 14th of July 2026 01:18:34 PM] get_product_inventory() - END - SKU: WEHWM325 | Total: 100 [Tuesday 14th of July 2026 01:18:34 PM] get_cf_id() - START - Product ID: 74101 [Tuesday 14th of July 2026 01:18:34 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/74101/custom-fields [Tuesday 14th of July 2026 01:18:35 PM] get_cf_id() - BigCommerce API call successful for Product ID: 74101 [Tuesday 14th of July 2026 01:18:35 PM] get_cf_id() - Custom field found for Product ID: 74101 | Field: online_stock_level | CF ID: 73991 [Tuesday 14th of July 2026 01:18:35 PM] get_cf_id() - END - Product ID: 74101 | CF ID: 73991 [Tuesday 14th of July 2026 01:18:35 PM] Updating inventory for SKU WEHWM325 - stock: 100, CF ID: 73991 [Tuesday 14th of July 2026 01:18:35 PM] update_product_inventory() - START - Product ID: 74101 | Stock: 100 | CF ID: 73991 [Tuesday 14th of July 2026 01:18:35 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/74101/custom-fields/73991 [Tuesday 14th of July 2026 01:18:35 PM] update_product_inventory() - Inventory updated successfully for Product ID: 74101 | Stock: 100 [Tuesday 14th of July 2026 01:18:35 PM] update_product_inventory() - END - Product ID: 74101 | Result: success [Tuesday 14th of July 2026 01:18:35 PM] Inventory updated for SKU: WEHWM325 [Tuesday 14th of July 2026 01:18:35 PM] Processing product SKU: WEHWM303F | Qty: 1 | Price: 55.9900 [Tuesday 14th of July 2026 01:18:35 PM] get_mpn() - START - Product ID: 6938 [Tuesday 14th of July 2026 01:18:35 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/6938 [Tuesday 14th of July 2026 01:18:35 PM] get_mpn() - BigCommerce API call successful for Product ID: 6938 [Tuesday 14th of July 2026 01:18:35 PM] get_mpn() - WARNING - MPN is empty for Product ID: 6938 [Tuesday 14th of July 2026 01:18:35 PM] get_mpn() - END - Product ID: 6938 | MPN: [Tuesday 14th of July 2026 01:18:35 PM] check_for_ebms_product() - START - SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:35 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WEHWM303F%27 [Tuesday 14th of July 2026 01:18:35 PM] check_for_ebms_product() - EBMS API call successful for SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:35 PM] check_for_ebms_product() - SKU: WEHWM303F found in EBMS [Tuesday 14th of July 2026 01:18:35 PM] check_for_ebms_product() - END - SKU: WEHWM303F | Found: true [Tuesday 14th of July 2026 01:18:35 PM] SKU WEHWM303F found in EBMS - checking prices [Tuesday 14th of July 2026 01:18:35 PM] obtain_current_prices() - START - SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:35 PM] obtain_current_prices() - Checking Motorstate for SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:35 PM] check_for_ms_product() - START - SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:35 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM303F [Tuesday 14th of July 2026 01:18:35 PM] check_for_ms_product() - Motorstate API call successful for SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:35 PM] check_for_ms_product() - SKU: WEHWM303F found in Motorstate [Tuesday 14th of July 2026 01:18:35 PM] check_for_ms_product() - END - SKU: WEHWM303F | Found: true [Tuesday 14th of July 2026 01:18:35 PM] obtain_current_prices() - SKU: WEHWM303F found in Motorstate - Fetching prices [Tuesday 14th of July 2026 01:18:35 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WEHWM303F - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM303F [Tuesday 14th of July 2026 01:18:36 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WEHWM303F - Base: 55.99 | Cost: 39.99 [Tuesday 14th of July 2026 01:18:36 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WEHWM303F - Base: 55.99 | Cost: 39.99 [Tuesday 14th of July 2026 01:18:36 PM] obtain_current_prices() - END - SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:36 PM] SKU WEHWM303F has existing EBMS prices - syncing BigCommerce price back (cost: 39.99, base: 55.99) [Tuesday 14th of July 2026 01:18:36 PM] update_product_price() - START - Product ID: 6938 | Base: 55.99 | Cost: 39.99 [Tuesday 14th of July 2026 01:18:36 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/6938 [Tuesday 14th of July 2026 01:18:36 PM] update_product_price() - PUT payload: {"price":55.99000000000000198951966012828052043914794921875,"cost_price":39.99000000000000198951966012828052043914794921875} [Tuesday 14th of July 2026 01:18:36 PM] update_product_price() - Attempt 1 of 6 for Product ID: 6938 [Tuesday 14th of July 2026 01:18:36 PM] update_product_price() - Price updated successfully for Product ID: 6938 - Base: 55.99 | Cost: 39.99 [Tuesday 14th of July 2026 01:18:36 PM] update_product_price() - END - Product ID: 6938 | Result: success [Tuesday 14th of July 2026 01:18:36 PM] BigCommerce price updated for Product ID: 6938 [Tuesday 14th of July 2026 01:18:36 PM] get_product_inventory() - START - SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:36 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM303F [Tuesday 14th of July 2026 01:18:36 PM] get_product_inventory() - Motorstate API call successful for SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:36 PM] get_product_inventory() - Stock found for SKU: WEHWM303F - Quantity: 13 | Running Total: 13 [Tuesday 14th of July 2026 01:18:36 PM] get_product_inventory() - END - SKU: WEHWM303F | Total: 13 [Tuesday 14th of July 2026 01:18:36 PM] get_cf_id() - START - Product ID: 6938 [Tuesday 14th of July 2026 01:18:36 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/6938/custom-fields [Tuesday 14th of July 2026 01:18:36 PM] get_cf_id() - BigCommerce API call successful for Product ID: 6938 [Tuesday 14th of July 2026 01:18:36 PM] get_cf_id() - Custom field found for Product ID: 6938 | Field: online_stock_level | CF ID: 6828 [Tuesday 14th of July 2026 01:18:36 PM] get_cf_id() - END - Product ID: 6938 | CF ID: 6828 [Tuesday 14th of July 2026 01:18:36 PM] Updating inventory for SKU WEHWM303F - stock: 13, CF ID: 6828 [Tuesday 14th of July 2026 01:18:36 PM] update_product_inventory() - START - Product ID: 6938 | Stock: 13 | CF ID: 6828 [Tuesday 14th of July 2026 01:18:36 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/6938/custom-fields/6828 [Tuesday 14th of July 2026 01:18:36 PM] update_product_inventory() - Inventory updated successfully for Product ID: 6938 | Stock: 13 [Tuesday 14th of July 2026 01:18:36 PM] update_product_inventory() - END - Product ID: 6938 | Result: success [Tuesday 14th of July 2026 01:18:36 PM] Inventory updated for SKU: WEHWM303F [Tuesday 14th of July 2026 01:18:36 PM] Processing product SKU: APPALL56288-1 | Qty: 2 | Price: 23.3000 [Tuesday 14th of July 2026 01:18:36 PM] get_mpn() - START - Product ID: 0 [Tuesday 14th of July 2026 01:18:36 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/0 [Tuesday 14th of July 2026 01:18:36 PM] get_mpn() - BigCommerce API call successful for Product ID: 0 [Tuesday 14th of July 2026 01:18:36 PM] get_mpn() - WARNING - MPN field not found in response for Product ID: 0 - Returning null [Tuesday 14th of July 2026 01:18:36 PM] check_for_ebms_product() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:36 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPALL56288-1%27 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ebms_product() - EBMS API call successful for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ebms_product() - SKU: APPALL56288-1 found in EBMS [Tuesday 14th of July 2026 01:18:37 PM] check_for_ebms_product() - END - SKU: APPALL56288-1 | Found: true [Tuesday 14th of July 2026 01:18:37 PM] SKU APPALL56288-1 found in EBMS - checking prices [Tuesday 14th of July 2026 01:18:37 PM] obtain_current_prices() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] obtain_current_prices() - Checking Motorstate for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ms_product() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ms_product() - Motorstate API call successful for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ms_product() - SKU: APPALL56288-1 not found in Motorstate [Tuesday 14th of July 2026 01:18:37 PM] check_for_ms_product() - END - SKU: APPALL56288-1 | Found: false [Tuesday 14th of July 2026 01:18:37 PM] obtain_current_prices() - SKU: APPALL56288-1 not found in Motorstate - Skipping to EBMS [Tuesday 14th of July 2026 01:18:37 PM] obtain_current_prices() - Checking EBMS for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ebms_product() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPALL56288-1%27 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ebms_product() - EBMS API call successful for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:37 PM] check_for_ebms_product() - SKU: APPALL56288-1 found in EBMS [Tuesday 14th of July 2026 01:18:37 PM] check_for_ebms_product() - END - SKU: APPALL56288-1 | Found: true [Tuesday 14th of July 2026 01:18:37 PM] obtain_current_prices() - SKU: APPALL56288-1 found in EBMS - Fetching prices [Tuesday 14th of July 2026 01:18:37 PM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPALL56288-1 - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPALL56288-1%27 [Tuesday 14th of July 2026 01:18:38 PM] obtain_current_prices() - EBMS prices retrieved for SKU: APPALL56288-1 - Base: 23.30 | Cost: 14.29 [Tuesday 14th of July 2026 01:18:38 PM] obtain_current_prices() - END - SKU: APPALL56288-1 | Final prices - Base: 23.30 | Cost: 14.29 [Tuesday 14th of July 2026 01:18:38 PM] SKU APPALL56288-1 has existing EBMS prices - syncing BigCommerce price back (cost: 0.00, base: 23.30) [Tuesday 14th of July 2026 01:18:38 PM] update_product_price() - START - Product ID: 0 | Base: 23.3 | Cost: 0 [Tuesday 14th of July 2026 01:18:38 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/0 [Tuesday 14th of July 2026 01:18:38 PM] update_product_price() - PUT payload: {"price":23.300000000000000710542735760100185871124267578125,"cost_price":0.0} [Tuesday 14th of July 2026 01:18:38 PM] update_product_price() - Attempt 1 of 6 for Product ID: 0 [Tuesday 14th of July 2026 01:18:38 PM] update_product_price() - ERROR - HTTP 422 for Product ID: 0 - Payload: {"price":23.300000000000000710542735760100185871124267578125,"cost_price":0.0} - Response: {"status":422,"title":"The field id is required when updating a product.","type":"https://developer.bigcommerce.com/api-docs/getting-started/api-status-codes"} [Tuesday 14th of July 2026 01:18:38 PM] update_product_price() - END - Product ID: 0 | Result: failed [Tuesday 14th of July 2026 01:18:38 PM] BigCommerce price updated for Product ID: 0 [Tuesday 14th of July 2026 01:18:38 PM] get_product_inventory() - START - SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:38 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPALL56288-1 [Tuesday 14th of July 2026 01:18:38 PM] get_product_inventory() - Motorstate API call successful for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:38 PM] get_product_inventory() - SKU: APPALL56288-1 not found in Motorstate response item [Tuesday 14th of July 2026 01:18:38 PM] get_product_inventory() - END - SKU: APPALL56288-1 | Total: 0 [Tuesday 14th of July 2026 01:18:38 PM] get_cf_id() - START - Product ID: 0 [Tuesday 14th of July 2026 01:18:38 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/0/custom-fields [Tuesday 14th of July 2026 01:18:38 PM] get_cf_id() - BigCommerce API call successful for Product ID: 0 [Tuesday 14th of July 2026 01:18:38 PM] get_cf_id() - WARNING - No custom fields found for Product ID: 0 [Tuesday 14th of July 2026 01:18:38 PM] get_cf_id() - END - Product ID: 0 | CF ID: null [Tuesday 14th of July 2026 01:18:38 PM] Updating inventory for SKU APPALL56288-1 - stock: 0, CF ID: [Tuesday 14th of July 2026 01:18:38 PM] update_product_inventory() - START - Product ID: 0 | Stock: 0 | CF ID: [Tuesday 14th of July 2026 01:18:38 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/0/custom-fields/ [Tuesday 14th of July 2026 01:18:38 PM] update_product_inventory() - Inventory updated successfully for Product ID: 0 | Stock: 0 [Tuesday 14th of July 2026 01:18:38 PM] update_product_inventory() - END - Product ID: 0 | Result: success [Tuesday 14th of July 2026 01:18:38 PM] Inventory updated for SKU: APPALL56288-1 [Tuesday 14th of July 2026 01:18:38 PM] All products processed - Order details: [{"ID":"AP54","INVEN":"WEHWM325","M_QUAN_VIS":2,"UNIT":"16.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"WEHWM303F","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"APPALL56288-1","M_QUAN_VIS":2,"UNIT":"23.30","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 01:18:38 PM] Building payment record - Total: 168.3800 [Tuesday 14th of July 2026 01:18:38 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1976","ADDRESS1":"608 North 2nd St","ADDRESS2":"","C_ADDRESS1":"608 North 2nd St","C_ADDRESS2":"","C_CITY":"Fairbury","C_COUNTRY":"USA","C_EMAIL":"36latemodel@gmail.com","C_NAME":"Eric Vaughan","C_STATE":"IL","C_ZIP":"61739","ShippingAmount":"21.23","CITY":"Fairbury","EMAIL":"36latemodel@gmail.com","ID":"AP54","NAME":"Eric Vaughan","STATE":"IL","COUNTRY":"USA","ZIP":"61739","MEMO":"Order #1963 has been cancelled and refunded, the spacers have been added to this order and it will ship out today 7-14-26","DESCR":"BigCommerce Order - AP1976 - Customer AP54","Details":[{"ID":"AP54","INVEN":"WEHWM325","M_QUAN_VIS":2,"UNIT":"16.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"WEHWM303F","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"APPALL56288-1","M_QUAN_VIS":2,"UNIT":"23.30","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.38","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 01:18:38 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1976 [Tuesday 14th of July 2026 01:18:38 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1976%27 [Tuesday 14th of July 2026 01:18:39 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1976 [Tuesday 14th of July 2026 01:18:39 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1976 found in EBMS [Tuesday 14th of July 2026 01:18:39 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1976 | Found: true [Tuesday 14th of July 2026 01:18:39 PM] Invoice AP1976 already exists in EBMS - patching [Tuesday 14th of July 2026 01:18:39 PM] patch_ebms_invoice() - START - Invoice: AP1976 [Tuesday 14th of July 2026 01:18:39 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1976","ADDRESS1":"608 North 2nd St","ADDRESS2":"","C_ADDRESS1":"608 North 2nd St","C_ADDRESS2":"","C_CITY":"Fairbury","C_COUNTRY":"USA","C_EMAIL":"36latemodel@gmail.com","C_NAME":"Eric Vaughan","C_STATE":"IL","C_ZIP":"61739","ShippingAmount":"21.23","CITY":"Fairbury","EMAIL":"36latemodel@gmail.com","ID":"AP54","NAME":"Eric Vaughan","STATE":"IL","COUNTRY":"USA","ZIP":"61739","MEMO":"Order #1963 has been cancelled and refunded, the spacers have been added to this order and it will ship out today 7-14-26","DESCR":"BigCommerce Order - AP1976 - Customer AP54","Details":[{"ID":"AP54","INVEN":"WEHWM325","M_QUAN_VIS":2,"UNIT":"16.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"WEHWM303F","M_QUAN_VIS":1,"UNIT":"55.99","UNIT_MEAS":"EA"},{"ID":"AP54","INVEN":"APPALL56288-1","M_QUAN_VIS":2,"UNIT":"23.30","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"168.38","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 01:18:39 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1976%27 [Tuesday 14th of July 2026 01:18:39 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1976 [Tuesday 14th of July 2026 01:18:39 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1976 [Tuesday 14th of July 2026 01:18:39 PM] patch_ebms_invoice() - END - Invoice: AP1976 [Tuesday 14th of July 2026 01:18:39 PM] Invoice AP1976 patched successfully [Tuesday 14th of July 2026 01:18:39 PM] ORDER WEBHOOK COMPLETED - Order ID: 1976 | Invoice: AP1976 [Tuesday 14th of July 2026 04:11:19 PM] ORDER WEBHOOK STARTED - Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] Fetching customer data for Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] get_order_customer_data() - START - Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1977 [Tuesday 14th of July 2026 04:11:19 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] get_order_customer_data() - Parsing order response for Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: thomas whalen | Email: nosmithfieldautobody@gmail.com | Total: 101.3300 | Shipping: 59.35 [Tuesday 14th of July 2026 04:11:19 PM] get_order_customer_data() - END - Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] Customer data received: {"id":0,"email":"nosmithfieldautobody@gmail.com","address_1":"770 Eddie Dowling Hwy","address_2":"770 Eddie Dowling Hwy","city":"North Smithfield","state":"RI","country":"USA","zip":"02896-8258","f_name":"thomas","l_name":"whalen","contact_5":"nosmithfieldautobody@gmail.com","contact_1":"4014131818","contact_4":"thomas whalen"} [Tuesday 14th of July 2026 04:11:19 PM] Fetching shipping info for Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] get_order_shipping_info() - START - Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1977/shipping_addresses [Tuesday 14th of July 2026 04:11:19 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1977 | Name: thomas whalen | Address: 770 Eddie Dowling Hwy, North Smithfield, Rhode Island, 02896-8258 [Tuesday 14th of July 2026 04:11:19 PM] get_order_shipping_info() - END - Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] Shipping info received: {"id":1876,"order_id":1977,"first_name":"thomas","last_name":"whalen","company":"north smithfield auto body","street_1":"770 Eddie Dowling Hwy","street_2":"770 Eddie Dowling Hwy","city":"North Smithfield","zip":"02896-8258","country":"United States","country_iso2":"US","state":"Rhode Island","email":"nosmithfieldautobody@gmail.com","phone":"4014131818","items_total":2,"items_shipped":0,"shipping_method":"FedEx 1-Day","base_cost":"59.3500","cost_ex_tax":"59.3500","cost_inc_tax":"59.3500","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\/1977\/shipping_addresses\/1876\/shipping_quotes","resource":"\/orders\/1977\/shipping_addresses\/1876\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 04:11:19 PM] Resolved Customer ID: APONLINE [Tuesday 14th of July 2026 04:11:19 PM] Building order object for Invoice: AP1977 [Tuesday 14th of July 2026 04:11:19 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1977","ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","C_ADDRESS1":"770 Eddie Dowling Hwy","C_ADDRESS2":"770 Eddie Dowling Hwy","C_CITY":"North Smithfield","C_COUNTRY":"USA","C_EMAIL":"nosmithfieldautobody@gmail.com","C_NAME":"thomas whalen","C_STATE":"RI","C_ZIP":"02896-8258","ShippingAmount":"59.35","CITY":"North Smithfield","EMAIL":"nosmithfieldautobody@gmail.com","ID":"APONLINE","NAME":"thomas whalen","STATE":"RI","COUNTRY":"USA","ZIP":"02896-8258","MEMO":"","DESCR":"BigCommerce Order - AP1977 - Customer APONLINE"} [Tuesday 14th of July 2026 04:11:19 PM] Guest checkout detected (APONLINE) - skipping customer sync [Tuesday 14th of July 2026 04:11:19 PM] Fetching products from BigCommerce for Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] BigCommerce API call successful for Order ID: 1977 [Tuesday 14th of July 2026 04:11:19 PM] Products received: 2 item(s) [Tuesday 14th of July 2026 04:11:19 PM] Processing product SKU: TFS4650C | Qty: 1 | Price: 25.9900 [Tuesday 14th of July 2026 04:11:19 PM] get_mpn() - START - Product ID: 8007 [Tuesday 14th of July 2026 04:11:19 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8007 [Tuesday 14th of July 2026 04:11:19 PM] get_mpn() - BigCommerce API call successful for Product ID: 8007 [Tuesday 14th of July 2026 04:11:19 PM] get_mpn() - WARNING - MPN is empty for Product ID: 8007 [Tuesday 14th of July 2026 04:11:19 PM] get_mpn() - END - Product ID: 8007 | MPN: [Tuesday 14th of July 2026 04:11:19 PM] check_for_ebms_product() - START - SKU: TFS4650C [Tuesday 14th of July 2026 04:11:19 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27TFS4650C%27 [Tuesday 14th of July 2026 04:11:20 PM] check_for_ebms_product() - EBMS API call successful for SKU: TFS4650C [Tuesday 14th of July 2026 04:11:20 PM] check_for_ebms_product() - SKU: TFS4650C not found in EBMS [Tuesday 14th of July 2026 04:11:20 PM] check_for_ebms_product() - END - SKU: TFS4650C | Found: false [Tuesday 14th of July 2026 04:11:20 PM] SKU TFS4650C not found in EBMS - creating new part [Tuesday 14th of July 2026 04:11:20 PM] get_product_desc() - START - Product ID: 8007 [Tuesday 14th of July 2026 04:11:20 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8007 [Tuesday 14th of July 2026 04:11:20 PM] get_product_desc() - BigCommerce API call successful for Product ID: 8007 [Tuesday 14th of July 2026 04:11:20 PM] get_product_desc() - Description retrieved for Product ID: 8007 - Description: Brake Booster Bracket - Steel - Black Powder Coat - Various GM 1967-72 - Kit [Tuesday 14th of July 2026 04:11:20 PM] get_product_desc() - END - Product ID: 8007 [Tuesday 14th of July 2026 04:11:20 PM] get_ms_product() - START - SKU: TFS4650C [Tuesday 14th of July 2026 04:11:20 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TFS4650C [Tuesday 14th of July 2026 04:11:21 PM] get_ms_product() - Motorstate API call successful for SKU: TFS4650C [Tuesday 14th of July 2026 04:11:21 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: TFS4650C - Response: [{"Found":true,"PartNumber":"TFS4650C","Product":{"PartNumber":"tfs4650c","VendorPartNumber":"4650C","Status":1,"IsStocking":true,"ShortDescription":"Booster Bracket GM 67-72 Black Powder Coat","Quantity":5,"CustomerPrice":21.6899722,"CustomerPriceNonPromotional":21.6899722,"BasePrice":26.26,"ListPrice":25.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"SpecialOrderCharge":7.5,"DropShipCharge":5.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Tuesday 14th of July 2026 04:11:21 PM] get_ms_product() - END - SKU: TFS4650C [Tuesday 14th of July 2026 04:11:21 PM] MS pricing found for SKU TFS4650C - base: 25.99, cost: 21.6899722 [Tuesday 14th of July 2026 04:11:21 PM] create_new_part() - START - SKU: TFS4650C | Base: 25.99 | Cost: 21.69 | Weight: 0.6000 | MPN: [Tuesday 14th of July 2026 04:11:21 PM] create_new_part() - Description parsed - DESCR_1: Brake Booster Bracket - Steel - Black Powder Coat - Various GM 1967-72 - Kit | DESCR_2: [Tuesday 14th of July 2026 04:11:21 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Tuesday 14th of July 2026 04:11:21 PM] create_new_part() - POST payload: {"ID":"TFS4650C","DESCR_1":"Brake Booster Bracket - Steel - Black Powder Coat - Various GM 1967-72 - Kit","DESCR_2":"","DESCR_3":"Brake Booster Bracket - Steel - Black Powder Coat - Various GM 1967-72 - Kit","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"21.69","BASE":"25.99","WEIGHT":"0.6000","MFG_PART":"","TREE_ID":"603"} [Tuesday 14th of July 2026 04:11:23 PM] create_new_part() - EBMS API call successful for SKU: TFS4650C [Tuesday 14th of July 2026 04:11:23 PM] create_new_part() - Part created successfully in EBMS - SKU: TFS4650C - {"id":"TFS4650C","cost":"21.69","base":"25.99","description":"Brake Booster Bracket - Steel - Black Powder Coat - Various GM 1967-72 - Kit","tree_id":" 603"} [Tuesday 14th of July 2026 04:11:23 PM] create_new_part() - Sending new part notification email for SKU: TFS4650C [Tuesday 14th of July 2026 04:11:23 PM] create_new_part() - Notification email sent successfully for SKU: TFS4650C [Tuesday 14th of July 2026 04:11:23 PM] create_new_part() - END - SKU: TFS4650C [Tuesday 14th of July 2026 04:11:23 PM] New part created in EBMS for SKU: TFS4650C [Tuesday 14th of July 2026 04:11:23 PM] Processing product SKU: TFS4652B | Qty: 1 | Price: 15.9900 [Tuesday 14th of July 2026 04:11:23 PM] get_mpn() - START - Product ID: 8012 [Tuesday 14th of July 2026 04:11:23 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8012 [Tuesday 14th of July 2026 04:11:23 PM] get_mpn() - BigCommerce API call successful for Product ID: 8012 [Tuesday 14th of July 2026 04:11:23 PM] get_mpn() - WARNING - MPN is empty for Product ID: 8012 [Tuesday 14th of July 2026 04:11:23 PM] get_mpn() - END - Product ID: 8012 | MPN: [Tuesday 14th of July 2026 04:11:23 PM] check_for_ebms_product() - START - SKU: TFS4652B [Tuesday 14th of July 2026 04:11:23 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27TFS4652B%27 [Tuesday 14th of July 2026 04:11:23 PM] check_for_ebms_product() - EBMS API call successful for SKU: TFS4652B [Tuesday 14th of July 2026 04:11:23 PM] check_for_ebms_product() - SKU: TFS4652B not found in EBMS [Tuesday 14th of July 2026 04:11:23 PM] check_for_ebms_product() - END - SKU: TFS4652B | Found: false [Tuesday 14th of July 2026 04:11:23 PM] SKU TFS4652B not found in EBMS - creating new part [Tuesday 14th of July 2026 04:11:23 PM] get_product_desc() - START - Product ID: 8012 [Tuesday 14th of July 2026 04:11:23 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8012 [Tuesday 14th of July 2026 04:11:23 PM] get_product_desc() - BigCommerce API call successful for Product ID: 8012 [Tuesday 14th of July 2026 04:11:23 PM] get_product_desc() - Description retrieved for Product ID: 8012 - Description: Brake Booster Bracket - Steel - Cadmium - Various GM 1955-58 - Kit [Tuesday 14th of July 2026 04:11:23 PM] get_product_desc() - END - Product ID: 8012 [Tuesday 14th of July 2026 04:11:23 PM] get_ms_product() - START - SKU: TFS4652B [Tuesday 14th of July 2026 04:11:23 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TFS4652B [Tuesday 14th of July 2026 04:11:24 PM] get_ms_product() - Motorstate API call successful for SKU: TFS4652B [Tuesday 14th of July 2026 04:11:24 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: TFS4652B - Response: [{"Found":true,"PartNumber":"TFS4652B","Product":{"PartNumber":"tfs4652b","VendorPartNumber":"4652B","Status":1,"IsStocking":true,"ShortDescription":"Booster Bracket GM 55-58 Gold Zinc","Quantity":50,"CustomerPrice":10.1304,"CustomerPriceNonPromotional":10.1304,"BasePrice":12.06,"ListPrice":15.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"SpecialOrderCharge":7.5,"DropShipCharge":5.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Tuesday 14th of July 2026 04:11:24 PM] get_ms_product() - END - SKU: TFS4652B [Tuesday 14th of July 2026 04:11:24 PM] MS pricing found for SKU TFS4652B - base: 15.99, cost: 10.1304 [Tuesday 14th of July 2026 04:11:24 PM] create_new_part() - START - SKU: TFS4652B | Base: 15.99 | Cost: 10.13 | Weight: 0.8600 | MPN: [Tuesday 14th of July 2026 04:11:24 PM] create_new_part() - Description parsed - DESCR_1: Brake Booster Bracket - Steel - Cadmium - Various GM 1955-58 - Kit | DESCR_2: [Tuesday 14th of July 2026 04:11:24 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Tuesday 14th of July 2026 04:11:24 PM] create_new_part() - POST payload: {"ID":"TFS4652B","DESCR_1":"Brake Booster Bracket - Steel - Cadmium - Various GM 1955-58 - Kit","DESCR_2":"","DESCR_3":"Brake Booster Bracket - Steel - Cadmium - Various GM 1955-58 - Kit","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"10.13","BASE":"15.99","WEIGHT":"0.8600","MFG_PART":"","TREE_ID":"603"} [Tuesday 14th of July 2026 04:11:25 PM] create_new_part() - EBMS API call successful for SKU: TFS4652B [Tuesday 14th of July 2026 04:11:25 PM] create_new_part() - Part created successfully in EBMS - SKU: TFS4652B - {"id":"TFS4652B","cost":"10.13","base":"15.99","description":"Brake Booster Bracket - Steel - Cadmium - Various GM 1955-58 - Kit","tree_id":" 603"} [Tuesday 14th of July 2026 04:11:25 PM] create_new_part() - Sending new part notification email for SKU: TFS4652B [Tuesday 14th of July 2026 04:11:26 PM] create_new_part() - Notification email sent successfully for SKU: TFS4652B [Tuesday 14th of July 2026 04:11:26 PM] create_new_part() - END - SKU: TFS4652B [Tuesday 14th of July 2026 04:11:26 PM] New part created in EBMS for SKU: TFS4652B [Tuesday 14th of July 2026 04:11:26 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"TFS4650C","M_QUAN_VIS":1,"UNIT":"25.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"TFS4652B","M_QUAN_VIS":1,"UNIT":"15.99","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 04:11:26 PM] Building payment record - Total: 101.3300 [Tuesday 14th of July 2026 04:11:26 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1977","ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","C_ADDRESS1":"770 Eddie Dowling Hwy","C_ADDRESS2":"770 Eddie Dowling Hwy","C_CITY":"North Smithfield","C_COUNTRY":"USA","C_EMAIL":"nosmithfieldautobody@gmail.com","C_NAME":"thomas whalen","C_STATE":"RI","C_ZIP":"02896-8258","ShippingAmount":"59.35","CITY":"North Smithfield","EMAIL":"nosmithfieldautobody@gmail.com","ID":"APONLINE","NAME":"thomas whalen","STATE":"RI","COUNTRY":"USA","ZIP":"02896-8258","MEMO":"","DESCR":"BigCommerce Order - AP1977 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TFS4650C","M_QUAN_VIS":1,"UNIT":"25.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"TFS4652B","M_QUAN_VIS":1,"UNIT":"15.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"101.33","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 04:11:26 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1977 [Tuesday 14th of July 2026 04:11:26 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1977%27 [Tuesday 14th of July 2026 04:11:26 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1977 [Tuesday 14th of July 2026 04:11:26 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1977 not found in EBMS [Tuesday 14th of July 2026 04:11:26 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1977 | Found: false [Tuesday 14th of July 2026 04:11:26 PM] Invoice AP1977 does not exist in EBMS - creating [Tuesday 14th of July 2026 04:11:26 PM] create_ebms_invoice() - START - Invoice: AP1977 [Tuesday 14th of July 2026 04:11:26 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1977","ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","C_ADDRESS1":"770 Eddie Dowling Hwy","C_ADDRESS2":"770 Eddie Dowling Hwy","C_CITY":"North Smithfield","C_COUNTRY":"USA","C_EMAIL":"nosmithfieldautobody@gmail.com","C_NAME":"thomas whalen","C_STATE":"RI","C_ZIP":"02896-8258","ShippingAmount":"59.35","CITY":"North Smithfield","EMAIL":"nosmithfieldautobody@gmail.com","ID":"APONLINE","NAME":"thomas whalen","STATE":"RI","COUNTRY":"USA","ZIP":"02896-8258","MEMO":"","DESCR":"BigCommerce Order - AP1977 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"TFS4650C","M_QUAN_VIS":1,"UNIT":"25.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"TFS4652B","M_QUAN_VIS":1,"UNIT":"15.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"101.33","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 04:11:26 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 14th of July 2026 04:11:36 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1977 [Tuesday 14th of July 2026 04:11:36 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1977 - Response: {"@odata.context":"http:\/\/localhost:64367\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"51564656-5253-4346-3646-534739303030","AUTOID":"VFVQSRFC6FSG9000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-41.97999999999999687361196265555918216705322265625,"BAL_CUST_X":-41.97999999999999687361196265555918216705322265625,"BALANCE":-41.97999999999999687361196265555918216705322265625,"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":101.3299999999999982946974341757595539093017578125,"TOTAL_S_SO":41.97999999999999687361196265555918216705322265625,"TOTAL_SO":101.3299999999999982946974341757595539093017578125,"TOTAL_W":0,"TTLPROCPMT":101.3299999999999982946974341757595539093017578125,"TOTAL":59.35000000000000142108547152020037174224853515625,"FREIGHT":59.35000000000000142108547152020037174224853515625,"HANDLING":0,"SHIPPING":59.35000000000000142108547152020037174224853515625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","C_EMAIL":"nosmithfieldautobody@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-07-14T00:00:00Z","CHECK_NO":" APBC","CITY":"North Smithfield","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-07-14T00:00:00Z","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"nosmithfieldautobody@gmail.com","IADDRESS":"770 Eddie Dowling Hwy 770 Eddie Dowling Hwy, North Smithfield, RI 02896-8258","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-07-14T00:00:00Z","INVOICE":"AP1977","MAN_TAX":false,"NAME":"thomas whalen","PHONE":"","PROCESS":"Default","STATE":"RI","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"02896-8258","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"770 Eddie Dowling Hwy","C_ADDRESS2":"770 Eddie Dowling Hwy","C_CITY":"North Smithfield","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"thomas whalen","C_STATE":"RI","C_ZIP":"02896-8258","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1977 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-07-14T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 14th of July 2026 04:11:36 PM] create_ebms_invoice() - END - Invoice: AP1977 [Tuesday 14th of July 2026 04:11:36 PM] Invoice AP1977 created successfully [Tuesday 14th of July 2026 04:11:36 PM] ORDER WEBHOOK COMPLETED - Order ID: 1977 | Invoice: AP1977 [Tuesday 14th of July 2026 04:12:07 PM] add_customer() - START - Customer ID: 369 | Name: [Tuesday 14th of July 2026 04:12:07 PM] add_customer() - Customer payload: {"id":369,"address_count":1,"addresses":[{"id":454,"address1":"770 Eddie Dowling Hwy","address2":"770 Eddie Dowling Hwy","address_type":"residential","city":"North Smithfield","company":"north smithfield auto body","country":"United States","country_code":"US","customer_id":369,"first_name":"thomas","last_name":"whalen","phone":"4014131818","postal_code":"02896-8258","state_or_province":"Rhode Island","form_fields":[]}],"authentication":{"force_password_reset":false},"company":"north smithfield auto body","customer_group_id":0,"email":"nosmithfieldautobody@gmail.com","first_name":"thomas","last_name":"whalen","notes":"","phone":"4014131818","registration_ip_address":"70.183.163.4","tax_exempt_category":"","date_created":"2026-07-14T21:12:01Z","date_modified":"2026-07-14T21:12:01Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":false,"origin_channel_id":1,"channel_ids":null,"consent":{"allow":[],"deny":[]}} [Tuesday 14th of July 2026 04:12:07 PM] add_customer() - Customer fields parsed - ID: AP369 | Address: , , | Email: [Tuesday 14th of July 2026 04:12:07 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 14th of July 2026 04:12:07 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP369","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 14th of July 2026 04:12:09 PM] add_customer() - EBMS API call successful for Customer ID: AP369 [Tuesday 14th of July 2026 04:12:09 PM] add_customer() - Customer created successfully in EBMS - ID: AP369 - Response: {"@odata.context":"http:\/\/localhost:64367\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"43304446-4e43-4354-3646-534739303030","AUTOID":"FD0CCNTC6FSG9000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP369","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Tuesday 14th of July 2026 04:12:09 PM] add_customer() - END - Customer ID: AP369 [Tuesday 14th of July 2026 04:12:26 PM] ORDER WEBHOOK STARTED - Order ID: 1977 [Tuesday 14th of July 2026 04:12:26 PM] Fetching customer data for Order ID: 1977 [Tuesday 14th of July 2026 04:12:26 PM] get_order_customer_data() - START - Order ID: 1977 [Tuesday 14th of July 2026 04:12:26 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1977 [Tuesday 14th of July 2026 04:12:26 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1977 [Tuesday 14th of July 2026 04:12:26 PM] get_order_customer_data() - Parsing order response for Order ID: 1977 [Tuesday 14th of July 2026 04:12:26 PM] get_order_customer_data() - Customer object built - Customer ID: 369 | Name: thomas whalen | Email: nosmithfieldautobody@gmail.com | Total: 101.3300 | Shipping: 59.35 [Tuesday 14th of July 2026 04:12:26 PM] get_order_customer_data() - END - Order ID: 1977 [Tuesday 14th of July 2026 04:12:26 PM] Customer data received: {"id":369,"email":"nosmithfieldautobody@gmail.com","address_1":"770 Eddie Dowling Hwy","address_2":"770 Eddie Dowling Hwy","city":"North Smithfield","state":"RI","country":"USA","zip":"02896-8258","f_name":"thomas","l_name":"whalen","contact_5":"nosmithfieldautobody@gmail.com","contact_1":"4014131818","contact_4":"thomas whalen"} [Tuesday 14th of July 2026 04:12:26 PM] Fetching shipping info for Order ID: 1977 [Tuesday 14th of July 2026 04:12:26 PM] get_order_shipping_info() - START - Order ID: 1977 [Tuesday 14th of July 2026 04:12:26 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1977/shipping_addresses [Tuesday 14th of July 2026 04:12:27 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1977 [Tuesday 14th of July 2026 04:12:27 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1977 | Name: thomas whalen | Address: 770 Eddie Dowling Hwy, North Smithfield, Rhode Island, 02896-8258 [Tuesday 14th of July 2026 04:12:27 PM] get_order_shipping_info() - END - Order ID: 1977 [Tuesday 14th of July 2026 04:12:27 PM] Shipping info received: {"id":1876,"order_id":1977,"first_name":"thomas","last_name":"whalen","company":"north smithfield auto body","street_1":"770 Eddie Dowling Hwy","street_2":"770 Eddie Dowling Hwy","city":"North Smithfield","zip":"02896-8258","country":"United States","country_iso2":"US","state":"Rhode Island","email":"nosmithfieldautobody@gmail.com","phone":"4014131818","items_total":2,"items_shipped":0,"shipping_method":"FedEx 1-Day","base_cost":"59.3500","cost_ex_tax":"59.3500","cost_inc_tax":"59.3500","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\/1977\/shipping_addresses\/1876\/shipping_quotes","resource":"\/orders\/1977\/shipping_addresses\/1876\/shipping_quotes"},"form_fields":[]} [Tuesday 14th of July 2026 04:12:27 PM] Resolved Customer ID: AP369 [Tuesday 14th of July 2026 04:12:27 PM] Building order object for Invoice: AP1977 [Tuesday 14th of July 2026 04:12:27 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1977","ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","C_ADDRESS1":"770 Eddie Dowling Hwy","C_ADDRESS2":"770 Eddie Dowling Hwy","C_CITY":"North Smithfield","C_COUNTRY":"USA","C_EMAIL":"nosmithfieldautobody@gmail.com","C_NAME":"thomas whalen","C_STATE":"RI","C_ZIP":"02896-8258","ShippingAmount":"59.35","CITY":"North Smithfield","EMAIL":"nosmithfieldautobody@gmail.com","ID":"AP369","NAME":"thomas whalen","STATE":"RI","COUNTRY":"USA","ZIP":"02896-8258","MEMO":"","DESCR":"BigCommerce Order - AP1977 - Customer AP369"} [Tuesday 14th of July 2026 04:12:27 PM] Registered customer detected - checking EBMS for Customer ID: AP369 [Tuesday 14th of July 2026 04:12:27 PM] check_for_customer() - START - Customer ID: 369 [Tuesday 14th of July 2026 04:12:27 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP369%27 [Tuesday 14th of July 2026 04:12:27 PM] check_for_customer() - EBMS API call successful for Customer ID: 369 [Tuesday 14th of July 2026 04:12:27 PM] check_for_customer() - Customer ID: 369 found in EBMS [Tuesday 14th of July 2026 04:12:27 PM] check_for_customer() - END - Customer ID: 369 | Found: true [Tuesday 14th of July 2026 04:12:27 PM] Customer AP369 found in EBMS [Tuesday 14th of July 2026 04:12:27 PM] check_for_empty_info() - START - Customer ID: 369 [Tuesday 14th of July 2026 04:12:27 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP369%27 [Tuesday 14th of July 2026 04:12:27 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 369 [Tuesday 14th of July 2026 04:12:27 PM] check_for_empty_info() - Customer record found for Customer ID: 369 - Checking ADDRESS1 field [Tuesday 14th of July 2026 04:12:27 PM] check_for_empty_info() - ADDRESS1 is empty for Customer ID: 369 - Update needed [Tuesday 14th of July 2026 04:12:27 PM] check_for_empty_info() - END - Customer ID: 369 | Empty Info: true [Tuesday 14th of July 2026 04:12:27 PM] Empty info detected - updating customer record for AP369 [Tuesday 14th of July 2026 04:12:27 PM] update_customer() - START - Customer ID: 369 | Name: thomas whalen [Tuesday 14th of July 2026 04:12:27 PM] update_customer() - Customer payload: {"id":369,"email":"nosmithfieldautobody@gmail.com","address_1":"770 Eddie Dowling Hwy","address_2":"770 Eddie Dowling Hwy","city":"North Smithfield","state":"RI","country":"USA","zip":"02896-8258","f_name":"thomas","l_name":"whalen","contact_5":"nosmithfieldautobody@gmail.com","contact_1":"4014131818","contact_4":"thomas whalen"} [Tuesday 14th of July 2026 04:12:27 PM] update_customer() - Fetching EBMS autoid for Customer ID: 369 [Tuesday 14th of July 2026 04:12:27 PM] get_customer_autoid() - START - Customer ID: AP369 [Tuesday 14th of July 2026 04:12:27 PM] get_customer_autoid() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP369%27 [Tuesday 14th of July 2026 04:12:27 PM] get_customer_autoid() - EBMS API call successful for Customer ID: AP369 [Tuesday 14th of July 2026 04:12:27 PM] get_customer_autoid() - AUTOID retrieved for Customer ID: AP369 - AUTOID: FD0CCNTC6FSG9000 [Tuesday 14th of July 2026 04:12:27 PM] get_customer_autoid() - END - Customer ID: AP369 | AUTOID: FD0CCNTC6FSG9000 [Tuesday 14th of July 2026 04:12:27 PM] update_customer() - EBMS autoid retrieved: FD0CCNTC6FSG9000 for Customer ID: 369 [Tuesday 14th of July 2026 04:12:27 PM] update_customer() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST('FD0CCNTC6FSG9000') [Tuesday 14th of July 2026 04:12:27 PM] update_customer() - PATCH payload: {"ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","CITY":"North Smithfield","CONTACT_5":"nosmithfieldautobody@gmail.com","CONTACT_1":"4014131818","CONTACT_4":"thomas whalen","COUNTRY":null,"F_NAME":"thomas","L_NAME":"whalen","STATE":"RI","ZIP":"02896-8258"} [Tuesday 14th of July 2026 04:12:29 PM] update_customer() - EBMS API call successful for Customer ID: 369 [Tuesday 14th of July 2026 04:12:29 PM] update_customer() - Customer updated successfully in EBMS - Response: {"@odata.context":"http:\/\/localhost:64367\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"43304446-4e43-4354-3646-534739303030","AUTOID":"FD0CCNTC6FSG9000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"thomas whalen","ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"North Smithfield","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"nosmithfieldautobody@gmail.com","EMAIL_LIST":false,"F_NAME":"thomas","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP369","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"whalen","MAIL_LIST":false,"MEMO":"","NAMESTR":"(thomas whalen)","OUT_CITY":false,"PHONE":"(401) 413-1818","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"RI","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"02896-8258","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(401) 413-1818","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"thomas whalen","CONTACT_5":"nosmithfieldautobody@gmail.com","EXTERNALID":""} [Tuesday 14th of July 2026 04:12:29 PM] update_customer() - END - Customer ID: 369 [Tuesday 14th of July 2026 04:12:29 PM] Customer record updated for AP369 [Tuesday 14th of July 2026 04:12:29 PM] check_for_empty_pn() - START - Customer ID: AP369 [Tuesday 14th of July 2026 04:12:29 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP369%27 [Tuesday 14th of July 2026 04:12:30 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP369 [Tuesday 14th of July 2026 04:12:30 PM] check_for_empty_pn() - Customer record found for Customer ID: AP369 - Checking CONTACT_1 field [Tuesday 14th of July 2026 04:12:30 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP369 - Value: (401) 413-1818 - No update needed [Tuesday 14th of July 2026 04:12:30 PM] check_for_empty_pn() - END - Customer ID: AP369 | Empty PN: false [Tuesday 14th of July 2026 04:12:30 PM] Fetching products from BigCommerce for Order ID: 1977 [Tuesday 14th of July 2026 04:12:30 PM] BigCommerce API call successful for Order ID: 1977 [Tuesday 14th of July 2026 04:12:30 PM] Products received: 2 item(s) [Tuesday 14th of July 2026 04:12:30 PM] Processing product SKU: TFS4650C | Qty: 1 | Price: 25.9900 [Tuesday 14th of July 2026 04:12:30 PM] get_mpn() - START - Product ID: 8007 [Tuesday 14th of July 2026 04:12:30 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8007 [Tuesday 14th of July 2026 04:12:30 PM] get_mpn() - BigCommerce API call successful for Product ID: 8007 [Tuesday 14th of July 2026 04:12:30 PM] get_mpn() - WARNING - MPN is empty for Product ID: 8007 [Tuesday 14th of July 2026 04:12:30 PM] get_mpn() - END - Product ID: 8007 | MPN: [Tuesday 14th of July 2026 04:12:30 PM] check_for_ebms_product() - START - SKU: TFS4650C [Tuesday 14th of July 2026 04:12:30 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27TFS4650C%27 [Tuesday 14th of July 2026 04:12:30 PM] check_for_ebms_product() - EBMS API call successful for SKU: TFS4650C [Tuesday 14th of July 2026 04:12:30 PM] check_for_ebms_product() - SKU: TFS4650C found in EBMS [Tuesday 14th of July 2026 04:12:30 PM] check_for_ebms_product() - END - SKU: TFS4650C | Found: true [Tuesday 14th of July 2026 04:12:30 PM] SKU TFS4650C found in EBMS - checking prices [Tuesday 14th of July 2026 04:12:30 PM] obtain_current_prices() - START - SKU: TFS4650C [Tuesday 14th of July 2026 04:12:30 PM] obtain_current_prices() - Checking Motorstate for SKU: TFS4650C [Tuesday 14th of July 2026 04:12:30 PM] check_for_ms_product() - START - SKU: TFS4650C [Tuesday 14th of July 2026 04:12:30 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TFS4650C [Tuesday 14th of July 2026 04:12:30 PM] check_for_ms_product() - Motorstate API call successful for SKU: TFS4650C [Tuesday 14th of July 2026 04:12:30 PM] check_for_ms_product() - SKU: TFS4650C found in Motorstate [Tuesday 14th of July 2026 04:12:30 PM] check_for_ms_product() - END - SKU: TFS4650C | Found: true [Tuesday 14th of July 2026 04:12:30 PM] obtain_current_prices() - SKU: TFS4650C found in Motorstate - Fetching prices [Tuesday 14th of July 2026 04:12:30 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: TFS4650C - URL: https://api.motorstate.com/api/Product?partNumbers=TFS4650C [Tuesday 14th of July 2026 04:12:31 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: TFS4650C - Base: 25.99 | Cost: 21.69 [Tuesday 14th of July 2026 04:12:31 PM] obtain_current_prices() - Returning Motorstate prices for SKU: TFS4650C - Base: 25.99 | Cost: 21.69 [Tuesday 14th of July 2026 04:12:31 PM] obtain_current_prices() - END - SKU: TFS4650C [Tuesday 14th of July 2026 04:12:31 PM] SKU TFS4650C has existing EBMS prices - syncing BigCommerce price back (cost: 21.69, base: 25.99) [Tuesday 14th of July 2026 04:12:31 PM] update_product_price() - START - Product ID: 8007 | Base: 25.99 | Cost: 21.69 [Tuesday 14th of July 2026 04:12:31 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8007 [Tuesday 14th of July 2026 04:12:31 PM] update_product_price() - PUT payload: {"price":25.989999999999998436805981327779591083526611328125,"cost_price":21.690000000000001278976924368180334568023681640625} [Tuesday 14th of July 2026 04:12:31 PM] update_product_price() - Attempt 1 of 6 for Product ID: 8007 [Tuesday 14th of July 2026 04:12:31 PM] update_product_price() - Price updated successfully for Product ID: 8007 - Base: 25.99 | Cost: 21.69 [Tuesday 14th of July 2026 04:12:31 PM] update_product_price() - END - Product ID: 8007 | Result: success [Tuesday 14th of July 2026 04:12:31 PM] BigCommerce price updated for Product ID: 8007 [Tuesday 14th of July 2026 04:12:31 PM] get_product_inventory() - START - SKU: TFS4650C [Tuesday 14th of July 2026 04:12:31 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TFS4650C [Tuesday 14th of July 2026 04:12:31 PM] get_product_inventory() - Motorstate API call successful for SKU: TFS4650C [Tuesday 14th of July 2026 04:12:31 PM] get_product_inventory() - Stock found for SKU: TFS4650C - Quantity: 5 | Running Total: 5 [Tuesday 14th of July 2026 04:12:31 PM] get_product_inventory() - END - SKU: TFS4650C | Total: 5 [Tuesday 14th of July 2026 04:12:31 PM] get_cf_id() - START - Product ID: 8007 [Tuesday 14th of July 2026 04:12:31 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8007/custom-fields [Tuesday 14th of July 2026 04:12:31 PM] get_cf_id() - BigCommerce API call successful for Product ID: 8007 [Tuesday 14th of July 2026 04:12:31 PM] get_cf_id() - Custom field found for Product ID: 8007 | Field: online_stock_level | CF ID: 7897 [Tuesday 14th of July 2026 04:12:31 PM] get_cf_id() - END - Product ID: 8007 | CF ID: 7897 [Tuesday 14th of July 2026 04:12:31 PM] Updating inventory for SKU TFS4650C - stock: 5, CF ID: 7897 [Tuesday 14th of July 2026 04:12:31 PM] update_product_inventory() - START - Product ID: 8007 | Stock: 5 | CF ID: 7897 [Tuesday 14th of July 2026 04:12:31 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8007/custom-fields/7897 [Tuesday 14th of July 2026 04:12:31 PM] update_product_inventory() - Inventory updated successfully for Product ID: 8007 | Stock: 5 [Tuesday 14th of July 2026 04:12:31 PM] update_product_inventory() - END - Product ID: 8007 | Result: success [Tuesday 14th of July 2026 04:12:31 PM] Inventory updated for SKU: TFS4650C [Tuesday 14th of July 2026 04:12:31 PM] Processing product SKU: TFS4652B | Qty: 1 | Price: 15.9900 [Tuesday 14th of July 2026 04:12:31 PM] get_mpn() - START - Product ID: 8012 [Tuesday 14th of July 2026 04:12:31 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8012 [Tuesday 14th of July 2026 04:12:32 PM] get_mpn() - BigCommerce API call successful for Product ID: 8012 [Tuesday 14th of July 2026 04:12:32 PM] get_mpn() - WARNING - MPN is empty for Product ID: 8012 [Tuesday 14th of July 2026 04:12:32 PM] get_mpn() - END - Product ID: 8012 | MPN: [Tuesday 14th of July 2026 04:12:32 PM] check_for_ebms_product() - START - SKU: TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27TFS4652B%27 [Tuesday 14th of July 2026 04:12:32 PM] check_for_ebms_product() - EBMS API call successful for SKU: TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] check_for_ebms_product() - SKU: TFS4652B found in EBMS [Tuesday 14th of July 2026 04:12:32 PM] check_for_ebms_product() - END - SKU: TFS4652B | Found: true [Tuesday 14th of July 2026 04:12:32 PM] SKU TFS4652B found in EBMS - checking prices [Tuesday 14th of July 2026 04:12:32 PM] obtain_current_prices() - START - SKU: TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] obtain_current_prices() - Checking Motorstate for SKU: TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] check_for_ms_product() - START - SKU: TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] check_for_ms_product() - Motorstate API call successful for SKU: TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] check_for_ms_product() - SKU: TFS4652B found in Motorstate [Tuesday 14th of July 2026 04:12:32 PM] check_for_ms_product() - END - SKU: TFS4652B | Found: true [Tuesday 14th of July 2026 04:12:32 PM] obtain_current_prices() - SKU: TFS4652B found in Motorstate - Fetching prices [Tuesday 14th of July 2026 04:12:32 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: TFS4652B - URL: https://api.motorstate.com/api/Product?partNumbers=TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: TFS4652B - Base: 15.99 | Cost: 10.13 [Tuesday 14th of July 2026 04:12:32 PM] obtain_current_prices() - Returning Motorstate prices for SKU: TFS4652B - Base: 15.99 | Cost: 10.13 [Tuesday 14th of July 2026 04:12:32 PM] obtain_current_prices() - END - SKU: TFS4652B [Tuesday 14th of July 2026 04:12:32 PM] SKU TFS4652B has existing EBMS prices - syncing BigCommerce price back (cost: 10.13, base: 15.99) [Tuesday 14th of July 2026 04:12:32 PM] update_product_price() - START - Product ID: 8012 | Base: 15.99 | Cost: 10.13 [Tuesday 14th of July 2026 04:12:32 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8012 [Tuesday 14th of July 2026 04:12:32 PM] update_product_price() - PUT payload: {"price":15.9900000000000002131628207280300557613372802734375,"cost_price":10.1300000000000007815970093361102044582366943359375} [Tuesday 14th of July 2026 04:12:32 PM] update_product_price() - Attempt 1 of 6 for Product ID: 8012 [Tuesday 14th of July 2026 04:12:33 PM] update_product_price() - Price updated successfully for Product ID: 8012 - Base: 15.99 | Cost: 10.13 [Tuesday 14th of July 2026 04:12:33 PM] update_product_price() - END - Product ID: 8012 | Result: success [Tuesday 14th of July 2026 04:12:33 PM] BigCommerce price updated for Product ID: 8012 [Tuesday 14th of July 2026 04:12:33 PM] get_product_inventory() - START - SKU: TFS4652B [Tuesday 14th of July 2026 04:12:33 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=TFS4652B [Tuesday 14th of July 2026 04:12:33 PM] get_product_inventory() - Motorstate API call successful for SKU: TFS4652B [Tuesday 14th of July 2026 04:12:33 PM] get_product_inventory() - Stock found for SKU: TFS4652B - Quantity: 50 | Running Total: 50 [Tuesday 14th of July 2026 04:12:33 PM] get_product_inventory() - END - SKU: TFS4652B | Total: 50 [Tuesday 14th of July 2026 04:12:33 PM] get_cf_id() - START - Product ID: 8012 [Tuesday 14th of July 2026 04:12:33 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8012/custom-fields [Tuesday 14th of July 2026 04:12:33 PM] get_cf_id() - BigCommerce API call successful for Product ID: 8012 [Tuesday 14th of July 2026 04:12:33 PM] get_cf_id() - Custom field found for Product ID: 8012 | Field: online_stock_level | CF ID: 7902 [Tuesday 14th of July 2026 04:12:33 PM] get_cf_id() - END - Product ID: 8012 | CF ID: 7902 [Tuesday 14th of July 2026 04:12:33 PM] Updating inventory for SKU TFS4652B - stock: 50, CF ID: 7902 [Tuesday 14th of July 2026 04:12:33 PM] update_product_inventory() - START - Product ID: 8012 | Stock: 50 | CF ID: 7902 [Tuesday 14th of July 2026 04:12:33 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/8012/custom-fields/7902 [Tuesday 14th of July 2026 04:12:33 PM] update_product_inventory() - Inventory updated successfully for Product ID: 8012 | Stock: 50 [Tuesday 14th of July 2026 04:12:33 PM] update_product_inventory() - END - Product ID: 8012 | Result: success [Tuesday 14th of July 2026 04:12:33 PM] Inventory updated for SKU: TFS4652B [Tuesday 14th of July 2026 04:12:33 PM] All products processed - Order details: [{"ID":"AP369","INVEN":"TFS4650C","M_QUAN_VIS":1,"UNIT":"25.99","UNIT_MEAS":"EA"},{"ID":"AP369","INVEN":"TFS4652B","M_QUAN_VIS":1,"UNIT":"15.99","UNIT_MEAS":"EA"}] [Tuesday 14th of July 2026 04:12:33 PM] Building payment record - Total: 101.3300 [Tuesday 14th of July 2026 04:12:33 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1977","ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","C_ADDRESS1":"770 Eddie Dowling Hwy","C_ADDRESS2":"770 Eddie Dowling Hwy","C_CITY":"North Smithfield","C_COUNTRY":"USA","C_EMAIL":"nosmithfieldautobody@gmail.com","C_NAME":"thomas whalen","C_STATE":"RI","C_ZIP":"02896-8258","ShippingAmount":"59.35","CITY":"North Smithfield","EMAIL":"nosmithfieldautobody@gmail.com","ID":"AP369","NAME":"thomas whalen","STATE":"RI","COUNTRY":"USA","ZIP":"02896-8258","MEMO":"","DESCR":"BigCommerce Order - AP1977 - Customer AP369","Details":[{"ID":"AP369","INVEN":"TFS4650C","M_QUAN_VIS":1,"UNIT":"25.99","UNIT_MEAS":"EA"},{"ID":"AP369","INVEN":"TFS4652B","M_QUAN_VIS":1,"UNIT":"15.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"101.33","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 04:12:33 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1977 [Tuesday 14th of July 2026 04:12:33 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1977%27 [Tuesday 14th of July 2026 04:12:34 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1977 [Tuesday 14th of July 2026 04:12:34 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1977 found in EBMS [Tuesday 14th of July 2026 04:12:34 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1977 | Found: true [Tuesday 14th of July 2026 04:12:34 PM] Invoice AP1977 already exists in EBMS - patching [Tuesday 14th of July 2026 04:12:34 PM] patch_ebms_invoice() - START - Invoice: AP1977 [Tuesday 14th of July 2026 04:12:34 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1977","ADDRESS1":"770 Eddie Dowling Hwy","ADDRESS2":"770 Eddie Dowling Hwy","C_ADDRESS1":"770 Eddie Dowling Hwy","C_ADDRESS2":"770 Eddie Dowling Hwy","C_CITY":"North Smithfield","C_COUNTRY":"USA","C_EMAIL":"nosmithfieldautobody@gmail.com","C_NAME":"thomas whalen","C_STATE":"RI","C_ZIP":"02896-8258","ShippingAmount":"59.35","CITY":"North Smithfield","EMAIL":"nosmithfieldautobody@gmail.com","ID":"AP369","NAME":"thomas whalen","STATE":"RI","COUNTRY":"USA","ZIP":"02896-8258","MEMO":"","DESCR":"BigCommerce Order - AP1977 - Customer AP369","Details":[{"ID":"AP369","INVEN":"TFS4650C","M_QUAN_VIS":1,"UNIT":"25.99","UNIT_MEAS":"EA"},{"ID":"AP369","INVEN":"TFS4652B","M_QUAN_VIS":1,"UNIT":"15.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"101.33","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 14th of July 2026 04:12:34 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1977%27 [Tuesday 14th of July 2026 04:12:34 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1977 [Tuesday 14th of July 2026 04:12:34 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1977 [Tuesday 14th of July 2026 04:12:34 PM] patch_ebms_invoice() - END - Invoice: AP1977 [Tuesday 14th of July 2026 04:12:34 PM] Invoice AP1977 patched successfully [Tuesday 14th of July 2026 04:12:34 PM] ORDER WEBHOOK COMPLETED - Order ID: 1977 | Invoice: AP1977 [Tuesday 14th of July 2026 08:41:15 PM] add_customer() - START - Customer ID: 370 | Name: [Tuesday 14th of July 2026 08:41:15 PM] add_customer() - Customer payload: {"id":370,"address_count":1,"addresses":[{"id":455,"address1":"307 North Nebraska Street","address2":"Unit D","address_type":"residential","city":"Marine","company":"","country":"United States","country_code":"US","customer_id":370,"first_name":"Ethan","last_name":"Stuckwisch","phone":"6183650377","postal_code":"62061","state_or_province":"Illinois","form_fields":[]}],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"estuckwisch@gmail.com","first_name":"Ethan","last_name":"Stuckwisch","notes":"","phone":"6183650377","registration_ip_address":"71.10.168.122","tax_exempt_category":"","date_created":"2026-07-15T01:41:13Z","date_modified":"2026-07-15T01:41:13Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":true,"origin_channel_id":1,"channel_ids":null,"consent":{"allow":[],"deny":[]}} [Tuesday 14th of July 2026 08:41:15 PM] add_customer() - Customer fields parsed - ID: AP370 | Address: , , | Email: [Tuesday 14th of July 2026 08:41:15 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 14th of July 2026 08:41:15 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP370","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 14th of July 2026 08:41:16 PM] add_customer() - EBMS API call successful for Customer ID: AP370 [Tuesday 14th of July 2026 08:41:16 PM] add_customer() - Customer created successfully in EBMS - ID: AP370 - Response: {"@odata.context":"http:\/\/localhost:64367\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"39524f4d-494c-524f-4246-534739303030","AUTOID":"MOR9LIORBFSG9000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-07-14T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP370","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Tuesday 14th of July 2026 08:41:16 PM] add_customer() - END - Customer ID: AP370