[Friday 9th of October 2026 11:15:58 PM] ORDER WEBHOOK STARTED - Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] Fetching customer data for Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] get_order_customer_data() - START - Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2351 [Friday 9th of October 2026 11:15:58 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] get_order_customer_data() - Parsing order response for Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: james masterson | Email: maddog651@yahoo.com | Total: 56.3600 | Shipping: 18.51 [Friday 9th of October 2026 11:15:58 PM] get_order_customer_data() - END - Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] Customer data received: {"id":0,"email":"maddog651@yahoo.com","address_1":"6819 Lakeview Cir","address_2":"","city":"Rowlett","state":"TX","country":"USA","zip":"75089","f_name":"james","l_name":"masterson","contact_5":"maddog651@yahoo.com","contact_1":"9724754145","contact_4":"james masterson"} [Friday 9th of October 2026 11:15:58 PM] Fetching shipping info for Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] get_order_shipping_info() - START - Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2351/shipping_addresses [Friday 9th of October 2026 11:15:58 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2351 | Name: james masterson | Address: 6819 Lakeview Cir, Rowlett, Texas, 75089 [Friday 9th of October 2026 11:15:58 PM] get_order_shipping_info() - END - Order ID: 2351 [Friday 9th of October 2026 11:15:58 PM] Shipping info received: {"id":2250,"order_id":2351,"first_name":"james","last_name":"masterson","company":"","street_1":"6819 Lakeview Cir","street_2":"","city":"Rowlett","zip":"75089","country":"United States","country_iso2":"US","state":"Texas","email":"maddog651@yahoo.com","phone":"9724754145","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"18.5100","cost_ex_tax":"18.5100","cost_inc_tax":"18.5100","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\/2351\/shipping_addresses\/2250\/shipping_quotes","resource":"\/orders\/2351\/shipping_addresses\/2250\/shipping_quotes"},"form_fields":[]} [Friday 9th of October 2026 11:15:58 PM] Resolved Customer ID: APONLINE [Friday 9th of October 2026 11:15:58 PM] Building order object for Invoice: AP2351 [Friday 9th of October 2026 11:15:58 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2351","ADDRESS1":"6819 Lakeview Cir","ADDRESS2":"","C_ADDRESS1":"6819 Lakeview Cir","C_ADDRESS2":"","C_CITY":"Rowlett","C_COUNTRY":"USA","C_EMAIL":"maddog651@yahoo.com","C_NAME":"james masterson","C_STATE":"TX","C_ZIP":"75089","ShippingAmount":"18.51","CITY":"Rowlett","EMAIL":"maddog651@yahoo.com","ID":"APONLINE","NAME":"james masterson","STATE":"TX","COUNTRY":"USA","ZIP":"75089","MEMO":"","DESCR":"BigCommerce Order - AP2351 - Customer APONLINE"} [Friday 9th of October 2026 11:15:58 PM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 9th of October 2026 11:15:58 PM] Fetching products from BigCommerce for Order ID: 2351 [Friday 9th of October 2026 11:15:59 PM] BigCommerce API call successful for Order ID: 2351 [Friday 9th of October 2026 11:15:59 PM] Products received: 1 item(s) [Friday 9th of October 2026 11:15:59 PM] Processing product SKU: MRG1933 | Qty: 1 | Price: 37.8500 [Friday 9th of October 2026 11:15:59 PM] get_mpn() - START - Product ID: 1497 [Friday 9th of October 2026 11:15:59 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1497 [Friday 9th of October 2026 11:15:59 PM] get_mpn() - BigCommerce API call successful for Product ID: 1497 [Friday 9th of October 2026 11:15:59 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1497 [Friday 9th of October 2026 11:15:59 PM] get_mpn() - END - Product ID: 1497 | MPN: [Friday 9th of October 2026 11:15:59 PM] check_for_ebms_product() - START - SKU: MRG1933 [Friday 9th of October 2026 11:15:59 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27MRG1933%27 [Friday 9th of October 2026 11:15:59 PM] check_for_ebms_product() - EBMS API call successful for SKU: MRG1933 [Friday 9th of October 2026 11:15:59 PM] check_for_ebms_product() - SKU: MRG1933 not found in EBMS [Friday 9th of October 2026 11:15:59 PM] check_for_ebms_product() - END - SKU: MRG1933 | Found: false [Friday 9th of October 2026 11:15:59 PM] SKU MRG1933 not found in EBMS - creating new part [Friday 9th of October 2026 11:15:59 PM] get_product_desc() - START - Product ID: 1497 [Friday 9th of October 2026 11:15:59 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1497 [Friday 9th of October 2026 11:15:59 PM] get_product_desc() - BigCommerce API call successful for Product ID: 1497 [Friday 9th of October 2026 11:15:59 PM] get_product_desc() - Description retrieved for Product ID: 1497 - Description: Carburetor Adapter - 1 in Thick - Open - Holley 2-Barrel to Square Bore - Gasket / Hardware - Aluminum - Natural - Each [Friday 9th of October 2026 11:15:59 PM] get_product_desc() - END - Product ID: 1497 [Friday 9th of October 2026 11:15:59 PM] get_ms_product() - START - SKU: MRG1933 [Friday 9th of October 2026 11:15:59 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=MRG1933 [Friday 9th of October 2026 11:15:59 PM] get_ms_product() - Motorstate API call successful for SKU: MRG1933 [Friday 9th of October 2026 11:15:59 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: MRG1933 - Response: [{"Found":true,"PartNumber":"MRG1933","Product":{"PartNumber":"mrg1933","VendorPartNumber":"1933","Status":1,"IsStocking":true,"ShortDescription":"Carb Adapter 2bbl-4bbl ","Quantity":2,"CustomerPrice":28.1499694,"CustomerPriceNonPromotional":28.1499694,"BasePrice":31.61,"ListPrice":37.85,"MapPrice":37.85,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"SpecialOrderCharge":10.0,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Friday 9th of October 2026 11:15:59 PM] get_ms_product() - END - SKU: MRG1933 [Friday 9th of October 2026 11:15:59 PM] MS pricing found for SKU MRG1933 - base: 37.85, cost: 28.1499694 [Friday 9th of October 2026 11:15:59 PM] create_new_part() - START - SKU: MRG1933 | Base: 37.85 | Cost: 28.15 | Weight: 1.5400 | MPN: [Friday 9th of October 2026 11:15:59 PM] create_new_part() - Description parsed - DESCR_1: Carburetor Adapter - 1 in Thick - Open - Holley 2-Barrel to Square Bore - Gasket | DESCR_2: / Hardware - Aluminum - Natural - Each [Friday 9th of October 2026 11:15:59 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Friday 9th of October 2026 11:15:59 PM] create_new_part() - POST payload: {"ID":"MRG1933","DESCR_1":"Carburetor Adapter - 1 in Thick - Open - Holley 2-Barrel to Square Bore - Gasket","DESCR_2":" \/ Hardware - Aluminum - Natural - Each","DESCR_3":"Carburetor Adapter - 1 in Thick - Open - Holley 2-Barrel to Square Bore - Gasket \/ Hardware - Aluminum - Natural - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"28.15","BASE":"37.85","WEIGHT":"1.5400","MFG_PART":"","TREE_ID":"603"} [Friday 9th of October 2026 11:16:02 PM] create_new_part() - EBMS API call successful for SKU: MRG1933 [Friday 9th of October 2026 11:16:02 PM] create_new_part() - Part created successfully in EBMS - SKU: MRG1933 - {"id":"MRG1933","cost":"28.15","base":"37.85","description":"Carburetor Adapter - 1 in Thick - Open - Holley 2-Barrel to Square Bore - Gasket \/ Hardware - Aluminum - Natural - Each","tree_id":" 603"} [Friday 9th of October 2026 11:16:02 PM] create_new_part() - Sending new part notification email for SKU: MRG1933 [Friday 9th of October 2026 11:16:02 PM] create_new_part() - Notification email sent successfully for SKU: MRG1933 [Friday 9th of October 2026 11:16:02 PM] create_new_part() - END - SKU: MRG1933 [Friday 9th of October 2026 11:16:02 PM] New part created in EBMS for SKU: MRG1933 [Friday 9th of October 2026 11:16:02 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"MRG1933","M_QUAN_VIS":1,"UNIT":"37.85","UNIT_MEAS":"EA"}] [Friday 9th of October 2026 11:16:02 PM] Building payment record - Total: 56.3600 [Friday 9th of October 2026 11:16:02 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2351","ADDRESS1":"6819 Lakeview Cir","ADDRESS2":"","C_ADDRESS1":"6819 Lakeview Cir","C_ADDRESS2":"","C_CITY":"Rowlett","C_COUNTRY":"USA","C_EMAIL":"maddog651@yahoo.com","C_NAME":"james masterson","C_STATE":"TX","C_ZIP":"75089","ShippingAmount":"18.51","CITY":"Rowlett","EMAIL":"maddog651@yahoo.com","ID":"APONLINE","NAME":"james masterson","STATE":"TX","COUNTRY":"USA","ZIP":"75089","MEMO":"","DESCR":"BigCommerce Order - AP2351 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"MRG1933","M_QUAN_VIS":1,"UNIT":"37.85","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"56.36","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 9th of October 2026 11:16:02 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2351 [Friday 9th of October 2026 11:16:02 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2351%27 [Friday 9th of October 2026 11:16:03 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2351 [Friday 9th of October 2026 11:16:03 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2351 not found in EBMS [Friday 9th of October 2026 11:16:03 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2351 | Found: false [Friday 9th of October 2026 11:16:03 PM] Invoice AP2351 does not exist in EBMS - creating [Friday 9th of October 2026 11:16:03 PM] create_ebms_invoice() - START - Invoice: AP2351 [Friday 9th of October 2026 11:16:03 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2351","ADDRESS1":"6819 Lakeview Cir","ADDRESS2":"","C_ADDRESS1":"6819 Lakeview Cir","C_ADDRESS2":"","C_CITY":"Rowlett","C_COUNTRY":"USA","C_EMAIL":"maddog651@yahoo.com","C_NAME":"james masterson","C_STATE":"TX","C_ZIP":"75089","ShippingAmount":"18.51","CITY":"Rowlett","EMAIL":"maddog651@yahoo.com","ID":"APONLINE","NAME":"james masterson","STATE":"TX","COUNTRY":"USA","ZIP":"75089","MEMO":"","DESCR":"BigCommerce Order - AP2351 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"MRG1933","M_QUAN_VIS":1,"UNIT":"37.85","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"56.36","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 9th of October 2026 11:16:03 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 9th of October 2026 11:16:09 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2351 [Friday 9th of October 2026 11:16:09 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2351 - Response: {"@odata.context":"http:\/\/localhost:57439\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"50424655-3353-4b4f-524d-463046303030","AUTOID":"UFBPS3OKRMF0F000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-37.85000000000000142108547152020037174224853515625,"BAL_CUST_X":-37.85000000000000142108547152020037174224853515625,"BALANCE":-37.85000000000000142108547152020037174224853515625,"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":56.3599999999999994315658113919198513031005859375,"TOTAL_S_SO":37.85000000000000142108547152020037174224853515625,"TOTAL_SO":56.3599999999999994315658113919198513031005859375,"TOTAL_W":0,"TTLPROCPMT":56.3599999999999994315658113919198513031005859375,"TOTAL":18.510000000000001563194018672220408916473388671875,"FREIGHT":18.510000000000001563194018672220408916473388671875,"HANDLING":0,"SHIPPING":18.510000000000001563194018672220408916473388671875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"6819 Lakeview Cir","ADDRESS2":"","C_EMAIL":"maddog651@yahoo.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-10-09T00:00:00Z","CHECK_NO":" APBC","CITY":"Rowlett","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-10-09T00:00:00Z","E_DATE":"2026-10-09T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"maddog651@yahoo.com","IADDRESS":"6819 Lakeview Cir , Rowlett, TX 75089","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-10-09T00:00:00Z","INVOICE":"AP2351","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"james masterson","PHONE":"","PROCESS":"Default","STATE":"TX","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"75089","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"6819 Lakeview Cir","C_ADDRESS2":"","C_CITY":"Rowlett","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"james masterson","C_STATE":"TX","C_ZIP":"75089","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2351 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-10-09T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 9th of October 2026 11:16:09 PM] create_ebms_invoice() - END - Invoice: AP2351 [Friday 9th of October 2026 11:16:09 PM] Invoice AP2351 created successfully [Friday 9th of October 2026 11:16:09 PM] ORDER WEBHOOK COMPLETED - Order ID: 2351 | Invoice: AP2351 [Friday 9th of October 2026 11:17:08 PM] ORDER WEBHOOK STARTED - Order ID: 2351 [Friday 9th of October 2026 11:17:08 PM] Fetching customer data for Order ID: 2351 [Friday 9th of October 2026 11:17:08 PM] get_order_customer_data() - START - Order ID: 2351 [Friday 9th of October 2026 11:17:08 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2351 [Friday 9th of October 2026 11:17:08 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2351 [Friday 9th of October 2026 11:17:08 PM] get_order_customer_data() - Parsing order response for Order ID: 2351 [Friday 9th of October 2026 11:17:08 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: james masterson | Email: maddog651@yahoo.com | Total: 56.3600 | Shipping: 18.51 [Friday 9th of October 2026 11:17:08 PM] get_order_customer_data() - END - Order ID: 2351 [Friday 9th of October 2026 11:17:08 PM] Customer data received: {"id":0,"email":"maddog651@yahoo.com","address_1":"6819 Lakeview Cir","address_2":"","city":"Rowlett","state":"TX","country":"USA","zip":"75089","f_name":"james","l_name":"masterson","contact_5":"maddog651@yahoo.com","contact_1":"9724754145","contact_4":"james masterson"} [Friday 9th of October 2026 11:17:08 PM] Fetching shipping info for Order ID: 2351 [Friday 9th of October 2026 11:17:08 PM] get_order_shipping_info() - START - Order ID: 2351 [Friday 9th of October 2026 11:17:08 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2351/shipping_addresses [Friday 9th of October 2026 11:17:09 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2351 [Friday 9th of October 2026 11:17:09 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2351 | Name: james masterson | Address: 6819 Lakeview Cir, Rowlett, Texas, 75089 [Friday 9th of October 2026 11:17:09 PM] get_order_shipping_info() - END - Order ID: 2351 [Friday 9th of October 2026 11:17:09 PM] Shipping info received: {"id":2250,"order_id":2351,"first_name":"james","last_name":"masterson","company":"","street_1":"6819 Lakeview Cir","street_2":"","city":"Rowlett","zip":"75089","country":"United States","country_iso2":"US","state":"Texas","email":"maddog651@yahoo.com","phone":"9724754145","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"18.5100","cost_ex_tax":"18.5100","cost_inc_tax":"18.5100","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\/2351\/shipping_addresses\/2250\/shipping_quotes","resource":"\/orders\/2351\/shipping_addresses\/2250\/shipping_quotes"},"form_fields":[]} [Friday 9th of October 2026 11:17:09 PM] Resolved Customer ID: APONLINE [Friday 9th of October 2026 11:17:09 PM] Building order object for Invoice: AP2351 [Friday 9th of October 2026 11:17:09 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2351","ADDRESS1":"6819 Lakeview Cir","ADDRESS2":"","C_ADDRESS1":"6819 Lakeview Cir","C_ADDRESS2":"","C_CITY":"Rowlett","C_COUNTRY":"USA","C_EMAIL":"maddog651@yahoo.com","C_NAME":"james masterson","C_STATE":"TX","C_ZIP":"75089","ShippingAmount":"18.51","CITY":"Rowlett","EMAIL":"maddog651@yahoo.com","ID":"APONLINE","NAME":"james masterson","STATE":"TX","COUNTRY":"USA","ZIP":"75089","MEMO":"","DESCR":"BigCommerce Order - AP2351 - Customer APONLINE"} [Friday 9th of October 2026 11:17:09 PM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 9th of October 2026 11:17:09 PM] Fetching products from BigCommerce for Order ID: 2351 [Friday 9th of October 2026 11:17:09 PM] BigCommerce API call successful for Order ID: 2351 [Friday 9th of October 2026 11:17:09 PM] Products received: 1 item(s) [Friday 9th of October 2026 11:17:09 PM] Processing product SKU: MRG1933 | Qty: 1 | Price: 37.8500 [Friday 9th of October 2026 11:17:09 PM] get_mpn() - START - Product ID: 1497 [Friday 9th of October 2026 11:17:09 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1497 [Friday 9th of October 2026 11:17:09 PM] get_mpn() - BigCommerce API call successful for Product ID: 1497 [Friday 9th of October 2026 11:17:09 PM] get_mpn() - WARNING - MPN is empty for Product ID: 1497 [Friday 9th of October 2026 11:17:09 PM] get_mpn() - END - Product ID: 1497 | MPN: [Friday 9th of October 2026 11:17:09 PM] check_for_ebms_product() - START - SKU: MRG1933 [Friday 9th of October 2026 11:17:09 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27MRG1933%27 [Friday 9th of October 2026 11:17:09 PM] check_for_ebms_product() - EBMS API call successful for SKU: MRG1933 [Friday 9th of October 2026 11:17:09 PM] check_for_ebms_product() - SKU: MRG1933 found in EBMS [Friday 9th of October 2026 11:17:09 PM] check_for_ebms_product() - END - SKU: MRG1933 | Found: true [Friday 9th of October 2026 11:17:09 PM] SKU MRG1933 found in EBMS - checking prices [Friday 9th of October 2026 11:17:09 PM] obtain_current_prices() - START - SKU: MRG1933 [Friday 9th of October 2026 11:17:09 PM] obtain_current_prices() - Checking Motorstate for SKU: MRG1933 [Friday 9th of October 2026 11:17:09 PM] check_for_ms_product() - START - SKU: MRG1933 [Friday 9th of October 2026 11:17:09 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=MRG1933 [Friday 9th of October 2026 11:17:10 PM] check_for_ms_product() - Motorstate API call successful for SKU: MRG1933 [Friday 9th of October 2026 11:17:10 PM] check_for_ms_product() - SKU: MRG1933 found in Motorstate [Friday 9th of October 2026 11:17:10 PM] check_for_ms_product() - END - SKU: MRG1933 | Found: true [Friday 9th of October 2026 11:17:10 PM] obtain_current_prices() - SKU: MRG1933 found in Motorstate - Fetching prices [Friday 9th of October 2026 11:17:10 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: MRG1933 - URL: https://api.motorstate.com/api/Product?partNumbers=MRG1933 [Friday 9th of October 2026 11:17:10 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: MRG1933 - Base: 37.85 | Cost: 28.15 [Friday 9th of October 2026 11:17:10 PM] obtain_current_prices() - Returning Motorstate prices for SKU: MRG1933 - Base: 37.85 | Cost: 28.15 [Friday 9th of October 2026 11:17:10 PM] obtain_current_prices() - END - SKU: MRG1933 [Friday 9th of October 2026 11:17:10 PM] SKU MRG1933 has existing EBMS prices - syncing BigCommerce price back (cost: 28.15, base: 37.85) [Friday 9th of October 2026 11:17:10 PM] update_product_price() - START - Product ID: 1497 | Base: 37.85 | Cost: 28.15 [Friday 9th of October 2026 11:17:10 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1497 [Friday 9th of October 2026 11:17:10 PM] update_product_price() - PUT payload: {"price":37.85000000000000142108547152020037174224853515625,"cost_price":28.14999999999999857891452847979962825775146484375} [Friday 9th of October 2026 11:17:10 PM] update_product_price() - Attempt 1 of 6 for Product ID: 1497 [Friday 9th of October 2026 11:17:10 PM] update_product_price() - Price updated successfully for Product ID: 1497 - Base: 37.85 | Cost: 28.15 [Friday 9th of October 2026 11:17:10 PM] update_product_price() - END - Product ID: 1497 | Result: success [Friday 9th of October 2026 11:17:10 PM] BigCommerce price updated for Product ID: 1497 [Friday 9th of October 2026 11:17:10 PM] get_product_inventory() - START - SKU: MRG1933 [Friday 9th of October 2026 11:17:10 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=MRG1933 [Friday 9th of October 2026 11:17:10 PM] get_product_inventory() - Motorstate API call successful for SKU: MRG1933 [Friday 9th of October 2026 11:17:10 PM] get_product_inventory() - Stock found for SKU: MRG1933 - Quantity: 2 | Running Total: 2 [Friday 9th of October 2026 11:17:10 PM] get_product_inventory() - END - SKU: MRG1933 | Total: 2 [Friday 9th of October 2026 11:17:10 PM] get_cf_id() - START - Product ID: 1497 [Friday 9th of October 2026 11:17:10 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1497/custom-fields [Friday 9th of October 2026 11:17:10 PM] get_cf_id() - BigCommerce API call successful for Product ID: 1497 [Friday 9th of October 2026 11:17:10 PM] get_cf_id() - Custom field found for Product ID: 1497 | Field: online_stock_level | CF ID: 1387 [Friday 9th of October 2026 11:17:10 PM] get_cf_id() - END - Product ID: 1497 | CF ID: 1387 [Friday 9th of October 2026 11:17:10 PM] Updating inventory for SKU MRG1933 - stock: 2, CF ID: 1387 [Friday 9th of October 2026 11:17:10 PM] update_product_inventory() - START - Product ID: 1497 | Stock: 2 | CF ID: 1387 [Friday 9th of October 2026 11:17:10 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/1497/custom-fields/1387 [Friday 9th of October 2026 11:17:10 PM] update_product_inventory() - Inventory updated successfully for Product ID: 1497 | Stock: 2 [Friday 9th of October 2026 11:17:10 PM] update_product_inventory() - END - Product ID: 1497 | Result: success [Friday 9th of October 2026 11:17:10 PM] Inventory updated for SKU: MRG1933 [Friday 9th of October 2026 11:17:10 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"MRG1933","M_QUAN_VIS":1,"UNIT":"37.85","UNIT_MEAS":"EA"}] [Friday 9th of October 2026 11:17:10 PM] Building payment record - Total: 56.3600 [Friday 9th of October 2026 11:17:10 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2351","ADDRESS1":"6819 Lakeview Cir","ADDRESS2":"","C_ADDRESS1":"6819 Lakeview Cir","C_ADDRESS2":"","C_CITY":"Rowlett","C_COUNTRY":"USA","C_EMAIL":"maddog651@yahoo.com","C_NAME":"james masterson","C_STATE":"TX","C_ZIP":"75089","ShippingAmount":"18.51","CITY":"Rowlett","EMAIL":"maddog651@yahoo.com","ID":"APONLINE","NAME":"james masterson","STATE":"TX","COUNTRY":"USA","ZIP":"75089","MEMO":"","DESCR":"BigCommerce Order - AP2351 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"MRG1933","M_QUAN_VIS":1,"UNIT":"37.85","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"56.36","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 9th of October 2026 11:17:10 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2351 [Friday 9th of October 2026 11:17:10 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2351%27 [Friday 9th of October 2026 11:17:11 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2351 [Friday 9th of October 2026 11:17:11 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2351 found in EBMS [Friday 9th of October 2026 11:17:11 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2351 | Found: true [Friday 9th of October 2026 11:17:11 PM] Invoice AP2351 already exists in EBMS - patching [Friday 9th of October 2026 11:17:11 PM] patch_ebms_invoice() - START - Invoice: AP2351 [Friday 9th of October 2026 11:17:11 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2351","ADDRESS1":"6819 Lakeview Cir","ADDRESS2":"","C_ADDRESS1":"6819 Lakeview Cir","C_ADDRESS2":"","C_CITY":"Rowlett","C_COUNTRY":"USA","C_EMAIL":"maddog651@yahoo.com","C_NAME":"james masterson","C_STATE":"TX","C_ZIP":"75089","ShippingAmount":"18.51","CITY":"Rowlett","EMAIL":"maddog651@yahoo.com","ID":"APONLINE","NAME":"james masterson","STATE":"TX","COUNTRY":"USA","ZIP":"75089","MEMO":"","DESCR":"BigCommerce Order - AP2351 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"MRG1933","M_QUAN_VIS":1,"UNIT":"37.85","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"56.36","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 9th of October 2026 11:17:11 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2351%27 [Friday 9th of October 2026 11:17:11 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2351 [Friday 9th of October 2026 11:17:11 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2351 [Friday 9th of October 2026 11:17:11 PM] patch_ebms_invoice() - END - Invoice: AP2351 [Friday 9th of October 2026 11:17:11 PM] Invoice AP2351 patched successfully [Friday 9th of October 2026 11:17:11 PM] ORDER WEBHOOK COMPLETED - Order ID: 2351 | Invoice: AP2351