[Monday 28th of September 2026 12:30:38 AM] add_customer() - START - Customer ID: 601 | Name: Stanley Moore [Monday 28th of September 2026 12:30:38 AM] add_customer() - Customer payload: {"id":601,"email":"danielalbe.rston33748+ajs2@gmail.com","address_1":"9667 Ernest Motorway Suite 744","address_2":"","city":"New Matthew","state":"MT","country":"USA","zip":"65849","f_name":"Stanley","l_name":"Moore","contact_5":"danielalbe.rston33748+ajs2@gmail.com","contact_1":"0260603444","contact_4":"Stanley Moore"} [Monday 28th of September 2026 12:30:38 AM] add_customer() - Customer fields parsed - ID: AP601 | Address: 9667 Ernest Motorway Suite 744, New Matthew, MT 65849 | Email: danielalbe.rston33748+ajs2@gmail.com [Monday 28th of September 2026 12:30:38 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 28th of September 2026 12:30:38 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"9667 Ernest Motorway Suite 744","ADDRESS2":"","CITY":"New Matthew","CONTACT_5":"danielalbe.rston33748+ajs2@gmail.com","CONTACT_1":"0260603444","CONTACT_4":"Stanley Moore","COUNTRY":"USA","F_NAME":"Stanley","ID":"AP601","L_NAME":"Moore","STATE":"MT","ZIP":"65849"} [Monday 28th of September 2026 12:30:39 AM] add_customer() - EBMS API call successful for Customer ID: AP601 [Monday 28th of September 2026 12:30:39 AM] add_customer() - Customer created successfully in EBMS - ID: AP601 - Response: {"@odata.context":"http:\/\/localhost:52253\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4b4d5143-4642-4242-4837-343934303030","AUTOID":"CQMKBFBBH7494000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Stanley Moore","ADDRESS1":"9667 Ernest Motorway Suite 744","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"New Matthew","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"danielalbe.rston33748+ajs2@gmail.com","EMAIL_LIST":false,"F_NAME":"Stanley","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP601","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Moore","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Stanley Moore)","OUT_CITY":false,"PHONE":"(026) 060-3444","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"MT","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"65849","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(026) 060-3444","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Stanley Moore","CONTACT_5":"danielalbe.rston33748+ajs2@gmail.com","EXTERNALID":""} [Monday 28th of September 2026 12:30:39 AM] add_customer() - END - Customer ID: AP601 [Monday 28th of September 2026 08:07:26 AM] ORDER WEBHOOK STARTED - Order ID: 2303 [Monday 28th of September 2026 08:07:26 AM] Fetching customer data for Order ID: 2303 [Monday 28th of September 2026 08:07:26 AM] get_order_customer_data() - START - Order ID: 2303 [Monday 28th of September 2026 08:07:26 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2303 [Monday 28th of September 2026 08:07:26 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2303 [Monday 28th of September 2026 08:07:26 AM] get_order_customer_data() - Parsing order response for Order ID: 2303 [Monday 28th of September 2026 08:07:26 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: David Yarnall | Email: a1dryinc@gmail.com | Total: 245.4700 | Shipping: 23.59 [Monday 28th of September 2026 08:07:26 AM] get_order_customer_data() - END - Order ID: 2303 [Monday 28th of September 2026 08:07:26 AM] Customer data received: {"id":0,"email":"a1dryinc@gmail.com","address_1":"4623 Magnolia Ave.","address_2":"","city":"Oakford","state":"PA","country":"USA","zip":"19053","f_name":"David","l_name":"Yarnall","contact_5":"a1dryinc@gmail.com","contact_1":"2677845686","contact_4":"David Yarnall"} [Monday 28th of September 2026 08:07:26 AM] Fetching shipping info for Order ID: 2303 [Monday 28th of September 2026 08:07:26 AM] get_order_shipping_info() - START - Order ID: 2303 [Monday 28th of September 2026 08:07:26 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2303/shipping_addresses [Monday 28th of September 2026 08:07:27 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2303 [Monday 28th of September 2026 08:07:27 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2303 | Name: David Yarnall | Address: 4623 Magnolia Ave., Oakford, Pennsylvania, 19053 [Monday 28th of September 2026 08:07:27 AM] get_order_shipping_info() - END - Order ID: 2303 [Monday 28th of September 2026 08:07:27 AM] Shipping info received: {"id":2202,"order_id":2303,"first_name":"David","last_name":"Yarnall","company":"","street_1":"4623 Magnolia Ave.","street_2":"","city":"Oakford","zip":"19053","country":"United States","country_iso2":"US","state":"Pennsylvania","email":"a1dryinc@gmail.com","phone":"2677845686","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.5900","cost_ex_tax":"23.5900","cost_inc_tax":"25.0054","cost_tax":"1.4154","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\/2303\/shipping_addresses\/2202\/shipping_quotes","resource":"\/orders\/2303\/shipping_addresses\/2202\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 08:07:27 AM] Resolved Customer ID: APONLINE [Monday 28th of September 2026 08:07:27 AM] Building order object for Invoice: AP2303 [Monday 28th of September 2026 08:07:27 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2303","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","C_ADDRESS1":"4623 Magnolia Ave.","C_ADDRESS2":"","C_CITY":"Oakford","C_COUNTRY":"USA","C_EMAIL":"a1dryinc@gmail.com","C_NAME":"David Yarnall","C_STATE":"PA","C_ZIP":"19053","ShippingAmount":"23.59","CITY":"Oakford","EMAIL":"a1dryinc@gmail.com","ID":"APONLINE","NAME":"David Yarnall","STATE":"PA","COUNTRY":"USA","ZIP":"19053","MEMO":"","DESCR":"BigCommerce Order - AP2303 - Customer APONLINE"} [Monday 28th of September 2026 08:07:27 AM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 28th of September 2026 08:07:27 AM] Fetching products from BigCommerce for Order ID: 2303 [Monday 28th of September 2026 08:07:27 AM] BigCommerce API call successful for Order ID: 2303 [Monday 28th of September 2026 08:07:27 AM] Products received: 1 item(s) [Monday 28th of September 2026 08:07:27 AM] Processing product SKU: FRDM6582-LE302SBK | Qty: 1 | Price: 207.9900 [Monday 28th of September 2026 08:07:27 AM] get_mpn() - START - Product ID: 23043 [Monday 28th of September 2026 08:07:27 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/23043 [Monday 28th of September 2026 08:07:27 AM] get_mpn() - BigCommerce API call successful for Product ID: 23043 [Monday 28th of September 2026 08:07:27 AM] get_mpn() - WARNING - MPN is empty for Product ID: 23043 [Monday 28th of September 2026 08:07:27 AM] get_mpn() - END - Product ID: 23043 | MPN: [Monday 28th of September 2026 08:07:27 AM] check_for_ebms_product() - START - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:27 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27FRDM6582-LE302SBK%27 [Monday 28th of September 2026 08:07:28 AM] check_for_ebms_product() - EBMS API call successful for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:28 AM] check_for_ebms_product() - SKU: FRDM6582-LE302SBK found in EBMS [Monday 28th of September 2026 08:07:28 AM] check_for_ebms_product() - END - SKU: FRDM6582-LE302SBK | Found: true [Monday 28th of September 2026 08:07:28 AM] SKU FRDM6582-LE302SBK found in EBMS - checking prices [Monday 28th of September 2026 08:07:28 AM] obtain_current_prices() - START - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:28 AM] obtain_current_prices() - Checking Motorstate for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:28 AM] check_for_ms_product() - START - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:28 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:28 AM] check_for_ms_product() - Motorstate API call successful for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:28 AM] check_for_ms_product() - SKU: FRDM6582-LE302SBK found in Motorstate [Monday 28th of September 2026 08:07:28 AM] check_for_ms_product() - END - SKU: FRDM6582-LE302SBK | Found: true [Monday 28th of September 2026 08:07:28 AM] obtain_current_prices() - SKU: FRDM6582-LE302SBK found in Motorstate - Fetching prices [Monday 28th of September 2026 08:07:28 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: FRDM6582-LE302SBK - URL: https://api.motorstate.com/api/Product?partNumbers=FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:28 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: FRDM6582-LE302SBK - Base: 207.99 | Cost: 187.03 [Monday 28th of September 2026 08:07:28 AM] obtain_current_prices() - Returning Motorstate prices for SKU: FRDM6582-LE302SBK - Base: 207.99 | Cost: 187.03 [Monday 28th of September 2026 08:07:28 AM] obtain_current_prices() - END - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:28 AM] SKU FRDM6582-LE302SBK has existing EBMS prices - syncing BigCommerce price back (cost: 187.03, base: 207.99) [Monday 28th of September 2026 08:07:28 AM] update_product_price() - START - Product ID: 23043 | Base: 207.99 | Cost: 187.03 [Monday 28th of September 2026 08:07:28 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/23043 [Monday 28th of September 2026 08:07:28 AM] update_product_price() - PUT payload: {"price":207.990000000000009094947017729282379150390625,"cost_price":187.030000000000001136868377216160297393798828125} [Monday 28th of September 2026 08:07:28 AM] update_product_price() - Attempt 1 of 6 for Product ID: 23043 [Monday 28th of September 2026 08:07:29 AM] update_product_price() - Price updated successfully for Product ID: 23043 - Base: 207.99 | Cost: 187.03 [Monday 28th of September 2026 08:07:29 AM] update_product_price() - END - Product ID: 23043 | Result: success [Monday 28th of September 2026 08:07:29 AM] BigCommerce price updated for Product ID: 23043 [Monday 28th of September 2026 08:07:29 AM] get_product_inventory() - START - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:29 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:29 AM] get_product_inventory() - Motorstate API call successful for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:29 AM] get_product_inventory() - Stock found for SKU: FRDM6582-LE302SBK - Quantity: 1 | Running Total: 1 [Monday 28th of September 2026 08:07:29 AM] get_product_inventory() - END - SKU: FRDM6582-LE302SBK | Total: 1 [Monday 28th of September 2026 08:07:29 AM] get_cf_id() - START - Product ID: 23043 [Monday 28th of September 2026 08:07:29 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/23043/custom-fields [Monday 28th of September 2026 08:07:29 AM] get_cf_id() - BigCommerce API call successful for Product ID: 23043 [Monday 28th of September 2026 08:07:29 AM] get_cf_id() - Custom field found for Product ID: 23043 | Field: online_stock_level | CF ID: 22933 [Monday 28th of September 2026 08:07:29 AM] get_cf_id() - END - Product ID: 23043 | CF ID: 22933 [Monday 28th of September 2026 08:07:29 AM] Updating inventory for SKU FRDM6582-LE302SBK - stock: 1, CF ID: 22933 [Monday 28th of September 2026 08:07:29 AM] update_product_inventory() - START - Product ID: 23043 | Stock: 1 | CF ID: 22933 [Monday 28th of September 2026 08:07:29 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/23043/custom-fields/22933 [Monday 28th of September 2026 08:07:29 AM] update_product_inventory() - Inventory updated successfully for Product ID: 23043 | Stock: 1 [Monday 28th of September 2026 08:07:29 AM] update_product_inventory() - END - Product ID: 23043 | Result: success [Monday 28th of September 2026 08:07:29 AM] Inventory updated for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:07:29 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"FRDM6582-LE302SBK","M_QUAN_VIS":1,"UNIT":"207.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 08:07:29 AM] Building payment record - Total: 245.4700 [Monday 28th of September 2026 08:07:29 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2303","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","C_ADDRESS1":"4623 Magnolia Ave.","C_ADDRESS2":"","C_CITY":"Oakford","C_COUNTRY":"USA","C_EMAIL":"a1dryinc@gmail.com","C_NAME":"David Yarnall","C_STATE":"PA","C_ZIP":"19053","ShippingAmount":"23.59","CITY":"Oakford","EMAIL":"a1dryinc@gmail.com","ID":"APONLINE","NAME":"David Yarnall","STATE":"PA","COUNTRY":"USA","ZIP":"19053","MEMO":"","DESCR":"BigCommerce Order - AP2303 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"FRDM6582-LE302SBK","M_QUAN_VIS":1,"UNIT":"207.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"245.47","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 08:07:29 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2303 [Monday 28th of September 2026 08:07:29 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2303%27 [Monday 28th of September 2026 08:07:29 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2303 [Monday 28th of September 2026 08:07:29 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2303 not found in EBMS [Monday 28th of September 2026 08:07:29 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2303 | Found: false [Monday 28th of September 2026 08:07:29 AM] Invoice AP2303 does not exist in EBMS - creating [Monday 28th of September 2026 08:07:29 AM] create_ebms_invoice() - START - Invoice: AP2303 [Monday 28th of September 2026 08:07:29 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2303","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","C_ADDRESS1":"4623 Magnolia Ave.","C_ADDRESS2":"","C_CITY":"Oakford","C_COUNTRY":"USA","C_EMAIL":"a1dryinc@gmail.com","C_NAME":"David Yarnall","C_STATE":"PA","C_ZIP":"19053","ShippingAmount":"23.59","CITY":"Oakford","EMAIL":"a1dryinc@gmail.com","ID":"APONLINE","NAME":"David Yarnall","STATE":"PA","COUNTRY":"USA","ZIP":"19053","MEMO":"","DESCR":"BigCommerce Order - AP2303 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"FRDM6582-LE302SBK","M_QUAN_VIS":1,"UNIT":"207.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"245.47","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 08:07:29 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 28th of September 2026 08:07:38 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2303 [Monday 28th of September 2026 08:07:38 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2303 - Response: {"@odata.context":"http:\/\/localhost:50494\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"56355444-4a39-4951-5144-305632303030","AUTOID":"DT5V9JQIQD0V2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-220.460000000000007958078640513122081756591796875,"BAL_CUST_X":-220.460000000000007958078640513122081756591796875,"BALANCE":-220.460000000000007958078640513122081756591796875,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":13.8900000000000005684341886080801486968994140625,"TAX":1.4199999999999999289457264239899814128875732421875,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":245.469999999999998863131622783839702606201171875,"TOTAL_S_SO":207.990000000000009094947017729282379150390625,"TOTAL_SO":245.469999999999998863131622783839702606201171875,"TOTAL_W":0,"TTLPROCPMT":245.469999999999998863131622783839702606201171875,"TOTAL":25.010000000000001563194018672220408916473388671875,"FREIGHT":23.589999999999999857891452847979962825775146484375,"HANDLING":0,"SHIPPING":23.589999999999999857891452847979962825775146484375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","C_EMAIL":"a1dryinc@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-28T00:00:00Z","CHECK_NO":" APBC","CITY":"Oakford","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-28T00:00:00Z","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"a1dryinc@gmail.com","IADDRESS":"4623 Magnolia Ave. , Oakford, PA 19053","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-28T00:00:00Z","INVOICE":"AP2303","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"David Yarnall","PHONE":"","PROCESS":"Default","STATE":"PA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"19053","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"4623 Magnolia Ave.","C_ADDRESS2":"","C_CITY":"Oakford","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"David Yarnall","C_STATE":"PA","C_ZIP":"19053","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2303 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-28T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 28th of September 2026 08:07:38 AM] create_ebms_invoice() - END - Invoice: AP2303 [Monday 28th of September 2026 08:07:38 AM] Invoice AP2303 created successfully [Monday 28th of September 2026 08:07:38 AM] ORDER WEBHOOK COMPLETED - Order ID: 2303 | Invoice: AP2303 [Monday 28th of September 2026 08:07:42 AM] add_customer() - START - Customer ID: 602 | Name: David Yarnall [Monday 28th of September 2026 08:07:42 AM] add_customer() - Customer payload: {"id":602,"email":"a1dryinc@gmail.com","address_1":"4623 Magnolia Ave.","address_2":"","city":"Oakford","state":"PA","country":"USA","zip":"19053","f_name":"David","l_name":"Yarnall","contact_5":"a1dryinc@gmail.com","contact_1":"2677845686","contact_4":"David Yarnall"} [Monday 28th of September 2026 08:07:42 AM] add_customer() - Customer fields parsed - ID: AP602 | Address: 4623 Magnolia Ave., Oakford, PA 19053 | Email: a1dryinc@gmail.com [Monday 28th of September 2026 08:07:42 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 28th of September 2026 08:07:42 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","CITY":"Oakford","CONTACT_5":"a1dryinc@gmail.com","CONTACT_1":"2677845686","CONTACT_4":"David Yarnall","COUNTRY":"USA","F_NAME":"David","ID":"AP602","L_NAME":"Yarnall","STATE":"PA","ZIP":"19053"} [Monday 28th of September 2026 08:07:43 AM] add_customer() - EBMS API call successful for Customer ID: AP602 [Monday 28th of September 2026 08:07:43 AM] add_customer() - Customer created successfully in EBMS - ID: AP602 - Response: {"@odata.context":"http:\/\/localhost:50494\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"50464d43-4f42-4955-5144-305632303030","AUTOID":"CMFPBOUIQD0V2000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"David Yarnall","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Oakford","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"a1dryinc@gmail.com","EMAIL_LIST":false,"F_NAME":"David","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP602","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Yarnall","MAIL_LIST":false,"MEMO":"","NAMESTR":"(David Yarnall)","OUT_CITY":false,"PHONE":"(267) 784-5686","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"PA","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"19053","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(267) 784-5686","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"David Yarnall","CONTACT_5":"a1dryinc@gmail.com","EXTERNALID":""} [Monday 28th of September 2026 08:07:43 AM] add_customer() - END - Customer ID: AP602 [Monday 28th of September 2026 08:08:36 AM] ORDER WEBHOOK STARTED - Order ID: 2303 [Monday 28th of September 2026 08:08:36 AM] Fetching customer data for Order ID: 2303 [Monday 28th of September 2026 08:08:36 AM] get_order_customer_data() - START - Order ID: 2303 [Monday 28th of September 2026 08:08:36 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2303 [Monday 28th of September 2026 08:08:37 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2303 [Monday 28th of September 2026 08:08:37 AM] get_order_customer_data() - Parsing order response for Order ID: 2303 [Monday 28th of September 2026 08:08:37 AM] get_order_customer_data() - Customer object built - Customer ID: 602 | Name: David Yarnall | Email: a1dryinc@gmail.com | Total: 245.4700 | Shipping: 23.59 [Monday 28th of September 2026 08:08:37 AM] get_order_customer_data() - END - Order ID: 2303 [Monday 28th of September 2026 08:08:37 AM] Customer data received: {"id":602,"email":"a1dryinc@gmail.com","address_1":"4623 Magnolia Ave.","address_2":"","city":"Oakford","state":"PA","country":"USA","zip":"19053","f_name":"David","l_name":"Yarnall","contact_5":"a1dryinc@gmail.com","contact_1":"2677845686","contact_4":"David Yarnall"} [Monday 28th of September 2026 08:08:37 AM] Fetching shipping info for Order ID: 2303 [Monday 28th of September 2026 08:08:37 AM] get_order_shipping_info() - START - Order ID: 2303 [Monday 28th of September 2026 08:08:37 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2303/shipping_addresses [Monday 28th of September 2026 08:08:37 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2303 [Monday 28th of September 2026 08:08:37 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2303 | Name: David Yarnall | Address: 4623 Magnolia Ave., Oakford, Pennsylvania, 19053 [Monday 28th of September 2026 08:08:37 AM] get_order_shipping_info() - END - Order ID: 2303 [Monday 28th of September 2026 08:08:37 AM] Shipping info received: {"id":2202,"order_id":2303,"first_name":"David","last_name":"Yarnall","company":"","street_1":"4623 Magnolia Ave.","street_2":"","city":"Oakford","zip":"19053","country":"United States","country_iso2":"US","state":"Pennsylvania","email":"a1dryinc@gmail.com","phone":"2677845686","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"23.5900","cost_ex_tax":"23.5900","cost_inc_tax":"25.0054","cost_tax":"1.4154","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\/2303\/shipping_addresses\/2202\/shipping_quotes","resource":"\/orders\/2303\/shipping_addresses\/2202\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 08:08:37 AM] Resolved Customer ID: AP602 [Monday 28th of September 2026 08:08:37 AM] Building order object for Invoice: AP2303 [Monday 28th of September 2026 08:08:37 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2303","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","C_ADDRESS1":"4623 Magnolia Ave.","C_ADDRESS2":"","C_CITY":"Oakford","C_COUNTRY":"USA","C_EMAIL":"a1dryinc@gmail.com","C_NAME":"David Yarnall","C_STATE":"PA","C_ZIP":"19053","ShippingAmount":"23.59","CITY":"Oakford","EMAIL":"a1dryinc@gmail.com","ID":"AP602","NAME":"David Yarnall","STATE":"PA","COUNTRY":"USA","ZIP":"19053","MEMO":"","DESCR":"BigCommerce Order - AP2303 - Customer AP602"} [Monday 28th of September 2026 08:08:37 AM] Registered customer detected - checking EBMS for Customer ID: AP602 [Monday 28th of September 2026 08:08:37 AM] check_for_customer() - START - Customer ID: 602 [Monday 28th of September 2026 08:08:37 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP602%27 [Monday 28th of September 2026 08:08:37 AM] check_for_customer() - EBMS API call successful for Customer ID: 602 [Monday 28th of September 2026 08:08:37 AM] check_for_customer() - Customer ID: 602 found in EBMS [Monday 28th of September 2026 08:08:37 AM] check_for_customer() - END - Customer ID: 602 | Found: true [Monday 28th of September 2026 08:08:37 AM] Customer AP602 found in EBMS [Monday 28th of September 2026 08:08:37 AM] check_for_empty_info() - START - Customer ID: 602 [Monday 28th of September 2026 08:08:37 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP602%27 [Monday 28th of September 2026 08:08:37 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 602 [Monday 28th of September 2026 08:08:37 AM] check_for_empty_info() - Customer record found for Customer ID: 602 - Checking ADDRESS1 field [Monday 28th of September 2026 08:08:37 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 602 - No update needed [Monday 28th of September 2026 08:08:37 AM] check_for_empty_info() - END - Customer ID: 602 | Empty Info: false [Monday 28th of September 2026 08:08:37 AM] check_for_empty_pn() - START - Customer ID: AP602 [Monday 28th of September 2026 08:08:37 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP602%27 [Monday 28th of September 2026 08:08:38 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP602 [Monday 28th of September 2026 08:08:38 AM] check_for_empty_pn() - Customer record found for Customer ID: AP602 - Checking CONTACT_1 field [Monday 28th of September 2026 08:08:38 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP602 - Value: (267) 784-5686 - No update needed [Monday 28th of September 2026 08:08:38 AM] check_for_empty_pn() - END - Customer ID: AP602 | Empty PN: false [Monday 28th of September 2026 08:08:38 AM] Fetching products from BigCommerce for Order ID: 2303 [Monday 28th of September 2026 08:08:38 AM] BigCommerce API call successful for Order ID: 2303 [Monday 28th of September 2026 08:08:38 AM] Products received: 1 item(s) [Monday 28th of September 2026 08:08:38 AM] Processing product SKU: FRDM6582-LE302SBK | Qty: 1 | Price: 207.9900 [Monday 28th of September 2026 08:08:38 AM] get_mpn() - START - Product ID: 23043 [Monday 28th of September 2026 08:08:38 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/23043 [Monday 28th of September 2026 08:08:38 AM] get_mpn() - BigCommerce API call successful for Product ID: 23043 [Monday 28th of September 2026 08:08:38 AM] get_mpn() - WARNING - MPN is empty for Product ID: 23043 [Monday 28th of September 2026 08:08:38 AM] get_mpn() - END - Product ID: 23043 | MPN: [Monday 28th of September 2026 08:08:38 AM] check_for_ebms_product() - START - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:38 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27FRDM6582-LE302SBK%27 [Monday 28th of September 2026 08:08:38 AM] check_for_ebms_product() - EBMS API call successful for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:38 AM] check_for_ebms_product() - SKU: FRDM6582-LE302SBK found in EBMS [Monday 28th of September 2026 08:08:38 AM] check_for_ebms_product() - END - SKU: FRDM6582-LE302SBK | Found: true [Monday 28th of September 2026 08:08:38 AM] SKU FRDM6582-LE302SBK found in EBMS - checking prices [Monday 28th of September 2026 08:08:38 AM] obtain_current_prices() - START - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:38 AM] obtain_current_prices() - Checking Motorstate for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:38 AM] check_for_ms_product() - START - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:38 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:38 AM] check_for_ms_product() - Motorstate API call successful for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:38 AM] check_for_ms_product() - SKU: FRDM6582-LE302SBK found in Motorstate [Monday 28th of September 2026 08:08:38 AM] check_for_ms_product() - END - SKU: FRDM6582-LE302SBK | Found: true [Monday 28th of September 2026 08:08:38 AM] obtain_current_prices() - SKU: FRDM6582-LE302SBK found in Motorstate - Fetching prices [Monday 28th of September 2026 08:08:38 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: FRDM6582-LE302SBK - URL: https://api.motorstate.com/api/Product?partNumbers=FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:39 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: FRDM6582-LE302SBK - Base: 207.99 | Cost: 187.03 [Monday 28th of September 2026 08:08:39 AM] obtain_current_prices() - Returning Motorstate prices for SKU: FRDM6582-LE302SBK - Base: 207.99 | Cost: 187.03 [Monday 28th of September 2026 08:08:39 AM] obtain_current_prices() - END - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:39 AM] SKU FRDM6582-LE302SBK has existing EBMS prices - syncing BigCommerce price back (cost: 187.03, base: 207.99) [Monday 28th of September 2026 08:08:39 AM] update_product_price() - START - Product ID: 23043 | Base: 207.99 | Cost: 187.03 [Monday 28th of September 2026 08:08:39 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/23043 [Monday 28th of September 2026 08:08:39 AM] update_product_price() - PUT payload: {"price":207.990000000000009094947017729282379150390625,"cost_price":187.030000000000001136868377216160297393798828125} [Monday 28th of September 2026 08:08:39 AM] update_product_price() - Attempt 1 of 6 for Product ID: 23043 [Monday 28th of September 2026 08:08:39 AM] update_product_price() - Price updated successfully for Product ID: 23043 - Base: 207.99 | Cost: 187.03 [Monday 28th of September 2026 08:08:39 AM] update_product_price() - END - Product ID: 23043 | Result: success [Monday 28th of September 2026 08:08:39 AM] BigCommerce price updated for Product ID: 23043 [Monday 28th of September 2026 08:08:39 AM] get_product_inventory() - START - SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:39 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:39 AM] get_product_inventory() - Motorstate API call successful for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:39 AM] get_product_inventory() - Stock found for SKU: FRDM6582-LE302SBK - Quantity: 1 | Running Total: 1 [Monday 28th of September 2026 08:08:39 AM] get_product_inventory() - END - SKU: FRDM6582-LE302SBK | Total: 1 [Monday 28th of September 2026 08:08:39 AM] get_cf_id() - START - Product ID: 23043 [Monday 28th of September 2026 08:08:39 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/23043/custom-fields [Monday 28th of September 2026 08:08:39 AM] get_cf_id() - BigCommerce API call successful for Product ID: 23043 [Monday 28th of September 2026 08:08:39 AM] get_cf_id() - Custom field found for Product ID: 23043 | Field: online_stock_level | CF ID: 22933 [Monday 28th of September 2026 08:08:39 AM] get_cf_id() - END - Product ID: 23043 | CF ID: 22933 [Monday 28th of September 2026 08:08:39 AM] Updating inventory for SKU FRDM6582-LE302SBK - stock: 1, CF ID: 22933 [Monday 28th of September 2026 08:08:39 AM] update_product_inventory() - START - Product ID: 23043 | Stock: 1 | CF ID: 22933 [Monday 28th of September 2026 08:08:39 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/23043/custom-fields/22933 [Monday 28th of September 2026 08:08:40 AM] update_product_inventory() - Inventory updated successfully for Product ID: 23043 | Stock: 1 [Monday 28th of September 2026 08:08:40 AM] update_product_inventory() - END - Product ID: 23043 | Result: success [Monday 28th of September 2026 08:08:40 AM] Inventory updated for SKU: FRDM6582-LE302SBK [Monday 28th of September 2026 08:08:40 AM] All products processed - Order details: [{"ID":"AP602","INVEN":"FRDM6582-LE302SBK","M_QUAN_VIS":1,"UNIT":"207.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 08:08:40 AM] Building payment record - Total: 245.4700 [Monday 28th of September 2026 08:08:40 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2303","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","C_ADDRESS1":"4623 Magnolia Ave.","C_ADDRESS2":"","C_CITY":"Oakford","C_COUNTRY":"USA","C_EMAIL":"a1dryinc@gmail.com","C_NAME":"David Yarnall","C_STATE":"PA","C_ZIP":"19053","ShippingAmount":"23.59","CITY":"Oakford","EMAIL":"a1dryinc@gmail.com","ID":"AP602","NAME":"David Yarnall","STATE":"PA","COUNTRY":"USA","ZIP":"19053","MEMO":"","DESCR":"BigCommerce Order - AP2303 - Customer AP602","Details":[{"ID":"AP602","INVEN":"FRDM6582-LE302SBK","M_QUAN_VIS":1,"UNIT":"207.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"245.47","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 08:08:40 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2303 [Monday 28th of September 2026 08:08:40 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2303%27 [Monday 28th of September 2026 08:08:40 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2303 [Monday 28th of September 2026 08:08:40 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2303 found in EBMS [Monday 28th of September 2026 08:08:40 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2303 | Found: true [Monday 28th of September 2026 08:08:40 AM] Invoice AP2303 already exists in EBMS - patching [Monday 28th of September 2026 08:08:40 AM] patch_ebms_invoice() - START - Invoice: AP2303 [Monday 28th of September 2026 08:08:40 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2303","ADDRESS1":"4623 Magnolia Ave.","ADDRESS2":"","C_ADDRESS1":"4623 Magnolia Ave.","C_ADDRESS2":"","C_CITY":"Oakford","C_COUNTRY":"USA","C_EMAIL":"a1dryinc@gmail.com","C_NAME":"David Yarnall","C_STATE":"PA","C_ZIP":"19053","ShippingAmount":"23.59","CITY":"Oakford","EMAIL":"a1dryinc@gmail.com","ID":"AP602","NAME":"David Yarnall","STATE":"PA","COUNTRY":"USA","ZIP":"19053","MEMO":"","DESCR":"BigCommerce Order - AP2303 - Customer AP602","Details":[{"ID":"AP602","INVEN":"FRDM6582-LE302SBK","M_QUAN_VIS":1,"UNIT":"207.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"245.47","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 08:08:40 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2303%27 [Monday 28th of September 2026 08:08:40 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2303 [Monday 28th of September 2026 08:08:40 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2303 [Monday 28th of September 2026 08:08:40 AM] patch_ebms_invoice() - END - Invoice: AP2303 [Monday 28th of September 2026 08:08:40 AM] Invoice AP2303 patched successfully [Monday 28th of September 2026 08:08:40 AM] ORDER WEBHOOK COMPLETED - Order ID: 2303 | Invoice: AP2303 [Monday 28th of September 2026 09:52:23 AM] add_customer() - START - Customer ID: 603 | Name: Terrence Garcia [Monday 28th of September 2026 09:52:23 AM] add_customer() - Customer payload: {"id":603,"email":"danielalbe.rston33748+kdahv@gmail.com","address_1":"317 Hughes Burg","address_2":"","city":"West Taylor","state":"AZ","country":"USA","zip":"90867","f_name":"Terrence","l_name":"Garcia","contact_5":"danielalbe.rston33748+kdahv@gmail.com","contact_1":"9757625715","contact_4":"Terrence Garcia"} [Monday 28th of September 2026 09:52:23 AM] add_customer() - Customer fields parsed - ID: AP603 | Address: 317 Hughes Burg, West Taylor, AZ 90867 | Email: danielalbe.rston33748+kdahv@gmail.com [Monday 28th of September 2026 09:52:23 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 28th of September 2026 09:52:23 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"317 Hughes Burg","ADDRESS2":"","CITY":"West Taylor","CONTACT_5":"danielalbe.rston33748+kdahv@gmail.com","CONTACT_1":"9757625715","CONTACT_4":"Terrence Garcia","COUNTRY":"USA","F_NAME":"Terrence","ID":"AP603","L_NAME":"Garcia","STATE":"AZ","ZIP":"90867"} [Monday 28th of September 2026 09:52:24 AM] add_customer() - EBMS API call successful for Customer ID: AP603 [Monday 28th of September 2026 09:52:24 AM] add_customer() - Customer created successfully in EBMS - ID: AP603 - Response: {"@odata.context":"http:\/\/localhost:50494\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"334d5133-5145-4d55-5344-305632303030","AUTOID":"3QM3EQUMSD0V2000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Terrence Garcia","ADDRESS1":"317 Hughes Burg","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"West Taylor","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"danielalbe.rston33748+kdahv@gmail.com","EMAIL_LIST":false,"F_NAME":"Terrence","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP603","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Garcia","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Terrence Garcia)","OUT_CITY":false,"PHONE":"(975) 762-5715","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"AZ","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"90867","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(975) 762-5715","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Terrence Garcia","CONTACT_5":"danielalbe.rston33748+kdahv@gmail.com","EXTERNALID":""} [Monday 28th of September 2026 09:52:24 AM] add_customer() - END - Customer ID: AP603 [Monday 28th of September 2026 10:13:49 AM] add_customer() - START - Customer ID: 604 | Name: Stephanie Burch [Monday 28th of September 2026 10:13:49 AM] add_customer() - Customer payload: {"id":604,"email":"daniel.alberston33748+gj9gfv@gmail.com","address_1":"542 Heather Place Suite 205","address_2":"","city":"Port Brittanystad","state":"GA","country":"USA","zip":"98776","f_name":"Stephanie","l_name":"Burch","contact_5":"daniel.alberston33748+gj9gfv@gmail.com","contact_1":"7288471954","contact_4":"Stephanie Burch"} [Monday 28th of September 2026 10:13:49 AM] add_customer() - Customer fields parsed - ID: AP604 | Address: 542 Heather Place Suite 205, Port Brittanystad, GA 98776 | Email: daniel.alberston33748+gj9gfv@gmail.com [Monday 28th of September 2026 10:13:49 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 28th of September 2026 10:13:49 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"542 Heather Place Suite 205","ADDRESS2":"","CITY":"Port Brittanystad","CONTACT_5":"daniel.alberston33748+gj9gfv@gmail.com","CONTACT_1":"7288471954","CONTACT_4":"Stephanie Burch","COUNTRY":"USA","F_NAME":"Stephanie","ID":"AP604","L_NAME":"Burch","STATE":"GA","ZIP":"98776"} [Monday 28th of September 2026 10:13:50 AM] add_customer() - EBMS API call successful for Customer ID: AP604 [Monday 28th of September 2026 10:13:50 AM] add_customer() - Customer created successfully in EBMS - ID: AP604 - Response: {"@odata.context":"http:\/\/localhost:50494\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"38554141-424b-3453-5444-305632303030","AUTOID":"AAU8KBS4TD0V2000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Stephanie Burch","ADDRESS1":"542 Heather Place Suite 205","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Port Brittanystad","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"daniel.alberston33748+gj9gfv@gmail.com","EMAIL_LIST":false,"F_NAME":"Stephanie","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP604","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Burch","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Stephanie Burch)","OUT_CITY":false,"PHONE":"(728) 847-1954","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"GA","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"98776","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(728) 847-1954","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Stephanie Burch","CONTACT_5":"daniel.alberston33748+gj9gfv@gmail.com","EXTERNALID":""} [Monday 28th of September 2026 10:13:50 AM] add_customer() - END - Customer ID: AP604 [Monday 28th of September 2026 10:29:21 AM] add_customer() - START - Customer ID: 605 | Name: Ashley Alvarez [Monday 28th of September 2026 10:29:21 AM] add_customer() - Customer payload: {"id":605,"email":"john_ackerson+8hnht@hotmail.com","address_1":"1430 Kim Pines Suite 444","address_2":"","city":"West Dustinborough","state":"SD","country":"USA","zip":"20973","f_name":"Ashley","l_name":"Alvarez","contact_5":"john_ackerson+8hnht@hotmail.com","contact_1":"1423582451","contact_4":"Ashley Alvarez"} [Monday 28th of September 2026 10:29:21 AM] add_customer() - Customer fields parsed - ID: AP605 | Address: 1430 Kim Pines Suite 444, West Dustinborough, SD 20973 | Email: john_ackerson+8hnht@hotmail.com [Monday 28th of September 2026 10:29:21 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Monday 28th of September 2026 10:29:21 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"1430 Kim Pines Suite 444","ADDRESS2":"","CITY":"West Dustinborough","CONTACT_5":"john_ackerson+8hnht@hotmail.com","CONTACT_1":"1423582451","CONTACT_4":"Ashley Alvarez","COUNTRY":"USA","F_NAME":"Ashley","ID":"AP605","L_NAME":"Alvarez","STATE":"SD","ZIP":"20973"} [Monday 28th of September 2026 10:29:23 AM] add_customer() - EBMS API call successful for Customer ID: AP605 [Monday 28th of September 2026 10:29:23 AM] add_customer() - Customer created successfully in EBMS - ID: AP605 - Response: {"@odata.context":"http:\/\/localhost:50494\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"4a413331-4a39-4556-5444-305632303030","AUTOID":"13AJ9JVETD0V2000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Ashley Alvarez","ADDRESS1":"1430 Kim Pines Suite 444","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"West Dustinborough","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"john_ackerson+8hnht@hotmail.com","EMAIL_LIST":false,"F_NAME":"Ashley","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP605","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Alvarez","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Ashley Alvarez)","OUT_CITY":false,"PHONE":"(142) 358-2451","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"SD","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"20973","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(142) 358-2451","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Ashley Alvarez","CONTACT_5":"john_ackerson+8hnht@hotmail.com","EXTERNALID":""} [Monday 28th of September 2026 10:29:23 AM] add_customer() - END - Customer ID: AP605 [Monday 28th of September 2026 11:03:14 AM] ORDER WEBHOOK STARTED - Order ID: 2304 [Monday 28th of September 2026 11:03:14 AM] Fetching customer data for Order ID: 2304 [Monday 28th of September 2026 11:03:14 AM] get_order_customer_data() - START - Order ID: 2304 [Monday 28th of September 2026 11:03:14 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2304 [Monday 28th of September 2026 11:03:14 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:03:14 AM] get_order_customer_data() - Parsing order response for Order ID: 2304 [Monday 28th of September 2026 11:03:14 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Allan Edidin | Email: aedidin@gmail.com | Total: 26.5100 | Shipping: 22.52 [Monday 28th of September 2026 11:03:14 AM] get_order_customer_data() - END - Order ID: 2304 [Monday 28th of September 2026 11:03:14 AM] Customer data received: {"id":0,"email":"aedidin@gmail.com","address_1":"1770 S Post Oak Lane","address_2":"","city":"Hosuton","state":"TX","country":"USA","zip":"77056","f_name":"Allan","l_name":"Edidin","contact_5":"aedidin@gmail.com","contact_1":"650-384-3965","contact_4":"Allan Edidin"} [Monday 28th of September 2026 11:03:14 AM] Fetching shipping info for Order ID: 2304 [Monday 28th of September 2026 11:03:14 AM] get_order_shipping_info() - START - Order ID: 2304 [Monday 28th of September 2026 11:03:14 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2304/shipping_addresses [Monday 28th of September 2026 11:03:15 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:03:15 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2304 | Name: Allan Edidin | Address: 290 Pink Street, Cooperstown, New York, 13326 [Monday 28th of September 2026 11:03:15 AM] get_order_shipping_info() - END - Order ID: 2304 [Monday 28th of September 2026 11:03:15 AM] Shipping info received: {"id":2203,"order_id":2304,"first_name":"Allan","last_name":"Edidin","company":"","street_1":"290 Pink Street","street_2":"","city":"Cooperstown","zip":"13326","country":"United States","country_iso2":"US","state":"New York","email":"aedidin@gmail.com","phone":"650-384-3965","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"22.5200","cost_ex_tax":"22.5200","cost_inc_tax":"22.5200","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\/2304\/shipping_addresses\/2203\/shipping_quotes","resource":"\/orders\/2304\/shipping_addresses\/2203\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 11:03:15 AM] Resolved Customer ID: APONLINE [Monday 28th of September 2026 11:03:15 AM] Building order object for Invoice: AP2304 [Monday 28th of September 2026 11:03:15 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE"} [Monday 28th of September 2026 11:03:15 AM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 28th of September 2026 11:03:15 AM] Fetching products from BigCommerce for Order ID: 2304 [Monday 28th of September 2026 11:03:15 AM] BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:03:15 AM] Products received: 1 item(s) [Monday 28th of September 2026 11:03:15 AM] Processing product SKU: ALL18565 | Qty: 1 | Price: 3.9900 [Monday 28th of September 2026 11:03:15 AM] get_mpn() - START - Product ID: 39779 [Monday 28th of September 2026 11:03:15 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779 [Monday 28th of September 2026 11:03:15 AM] get_mpn() - BigCommerce API call successful for Product ID: 39779 [Monday 28th of September 2026 11:03:15 AM] get_mpn() - WARNING - MPN is empty for Product ID: 39779 [Monday 28th of September 2026 11:03:15 AM] get_mpn() - END - Product ID: 39779 | MPN: [Monday 28th of September 2026 11:03:15 AM] check_for_ebms_product() - START - SKU: ALL18565 [Monday 28th of September 2026 11:03:15 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL18565%27 [Monday 28th of September 2026 11:03:16 AM] check_for_ebms_product() - EBMS API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:03:16 AM] check_for_ebms_product() - SKU: ALL18565 found in EBMS [Monday 28th of September 2026 11:03:16 AM] check_for_ebms_product() - END - SKU: ALL18565 | Found: true [Monday 28th of September 2026 11:03:16 AM] SKU ALL18565 found in EBMS - checking prices [Monday 28th of September 2026 11:03:16 AM] obtain_current_prices() - START - SKU: ALL18565 [Monday 28th of September 2026 11:03:16 AM] obtain_current_prices() - Checking Motorstate for SKU: ALL18565 [Monday 28th of September 2026 11:03:16 AM] check_for_ms_product() - START - SKU: ALL18565 [Monday 28th of September 2026 11:03:16 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:03:16 AM] check_for_ms_product() - Motorstate API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:03:16 AM] check_for_ms_product() - SKU: ALL18565 found in Motorstate [Monday 28th of September 2026 11:03:16 AM] check_for_ms_product() - END - SKU: ALL18565 | Found: true [Monday 28th of September 2026 11:03:16 AM] obtain_current_prices() - SKU: ALL18565 found in Motorstate - Fetching prices [Monday 28th of September 2026 11:03:16 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL18565 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:03:16 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL18565 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:03:16 AM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL18565 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:03:16 AM] obtain_current_prices() - END - SKU: ALL18565 [Monday 28th of September 2026 11:03:16 AM] SKU ALL18565 has existing EBMS prices - syncing BigCommerce price back (cost: 2.25, base: 3.99) [Monday 28th of September 2026 11:03:16 AM] update_product_price() - START - Product ID: 39779 | Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:03:16 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779 [Monday 28th of September 2026 11:03:16 AM] update_product_price() - PUT payload: {"price":3.9900000000000002131628207280300557613372802734375,"cost_price":2.25} [Monday 28th of September 2026 11:03:16 AM] update_product_price() - Attempt 1 of 6 for Product ID: 39779 [Monday 28th of September 2026 11:03:17 AM] update_product_price() - Price updated successfully for Product ID: 39779 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:03:17 AM] update_product_price() - END - Product ID: 39779 | Result: success [Monday 28th of September 2026 11:03:17 AM] BigCommerce price updated for Product ID: 39779 [Monday 28th of September 2026 11:03:17 AM] get_product_inventory() - START - SKU: ALL18565 [Monday 28th of September 2026 11:03:17 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:03:20 AM] get_product_inventory() - Motorstate API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:03:20 AM] get_product_inventory() - Stock found for SKU: ALL18565 - Quantity: 100 | Running Total: 100 [Monday 28th of September 2026 11:03:20 AM] get_product_inventory() - END - SKU: ALL18565 | Total: 100 [Monday 28th of September 2026 11:03:20 AM] get_cf_id() - START - Product ID: 39779 [Monday 28th of September 2026 11:03:20 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779/custom-fields [Monday 28th of September 2026 11:03:20 AM] get_cf_id() - BigCommerce API call successful for Product ID: 39779 [Monday 28th of September 2026 11:03:20 AM] get_cf_id() - Custom field found for Product ID: 39779 | Field: online_stock_level | CF ID: 39669 [Monday 28th of September 2026 11:03:20 AM] get_cf_id() - END - Product ID: 39779 | CF ID: 39669 [Monday 28th of September 2026 11:03:20 AM] Updating inventory for SKU ALL18565 - stock: 100, CF ID: 39669 [Monday 28th of September 2026 11:03:20 AM] update_product_inventory() - START - Product ID: 39779 | Stock: 100 | CF ID: 39669 [Monday 28th of September 2026 11:03:20 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779/custom-fields/39669 [Monday 28th of September 2026 11:03:21 AM] update_product_inventory() - Inventory updated successfully for Product ID: 39779 | Stock: 100 [Monday 28th of September 2026 11:03:21 AM] update_product_inventory() - END - Product ID: 39779 | Result: success [Monday 28th of September 2026 11:03:21 AM] Inventory updated for SKU: ALL18565 [Monday 28th of September 2026 11:03:21 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 11:03:21 AM] Building payment record - Total: 26.5100 [Monday 28th of September 2026 11:03:21 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"26.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 11:03:21 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2304 [Monday 28th of September 2026 11:03:21 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2304%27 [Monday 28th of September 2026 11:03:21 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2304 [Monday 28th of September 2026 11:03:21 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2304 not found in EBMS [Monday 28th of September 2026 11:03:21 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2304 | Found: false [Monday 28th of September 2026 11:03:21 AM] Invoice AP2304 does not exist in EBMS - creating [Monday 28th of September 2026 11:03:21 AM] create_ebms_invoice() - START - Invoice: AP2304 [Monday 28th of September 2026 11:03:21 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"26.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 11:03:21 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 28th of September 2026 11:03:27 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2304 [Monday 28th of September 2026 11:03:27 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2304 - Response: {"@odata.context":"http:\/\/localhost:50494\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"494c4638-304a-3532-5544-305632303030","AUTOID":"8FLIJ025UD0V2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-3.9900000000000002131628207280300557613372802734375,"BAL_CUST_X":-3.9900000000000002131628207280300557613372802734375,"BALANCE":-3.9900000000000002131628207280300557613372802734375,"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":26.510000000000001563194018672220408916473388671875,"TOTAL_S_SO":3.9900000000000002131628207280300557613372802734375,"TOTAL_SO":26.510000000000001563194018672220408916473388671875,"TOTAL_W":0,"TTLPROCPMT":26.510000000000001563194018672220408916473388671875,"TOTAL":22.519999999999999573674358543939888477325439453125,"FREIGHT":22.519999999999999573674358543939888477325439453125,"HANDLING":0,"SHIPPING":22.519999999999999573674358543939888477325439453125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_EMAIL":"aedidin@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-28T00:00:00Z","CHECK_NO":" APBC","CITY":"Hosuton","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-28T00:00:00Z","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"aedidin@gmail.com","IADDRESS":"290 Pink Street , Cooperstown, NY 13326","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-28T00:00:00Z","INVOICE":"AP2304","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Allan Edidin","PHONE":"","PROCESS":"Default","STATE":"TX","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"77056","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-28T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 28th of September 2026 11:03:27 AM] create_ebms_invoice() - END - Invoice: AP2304 [Monday 28th of September 2026 11:03:27 AM] Invoice AP2304 created successfully [Monday 28th of September 2026 11:03:27 AM] ORDER WEBHOOK COMPLETED - Order ID: 2304 | Invoice: AP2304 [Monday 28th of September 2026 11:04:24 AM] ORDER WEBHOOK STARTED - Order ID: 2304 [Monday 28th of September 2026 11:04:24 AM] Fetching customer data for Order ID: 2304 [Monday 28th of September 2026 11:04:24 AM] get_order_customer_data() - START - Order ID: 2304 [Monday 28th of September 2026 11:04:24 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2304 [Monday 28th of September 2026 11:04:24 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:04:24 AM] get_order_customer_data() - Parsing order response for Order ID: 2304 [Monday 28th of September 2026 11:04:24 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Allan Edidin | Email: aedidin@gmail.com | Total: 26.5100 | Shipping: 22.52 [Monday 28th of September 2026 11:04:24 AM] get_order_customer_data() - END - Order ID: 2304 [Monday 28th of September 2026 11:04:24 AM] Customer data received: {"id":0,"email":"aedidin@gmail.com","address_1":"1770 S Post Oak Lane","address_2":"","city":"Hosuton","state":"TX","country":"USA","zip":"77056","f_name":"Allan","l_name":"Edidin","contact_5":"aedidin@gmail.com","contact_1":"650-384-3965","contact_4":"Allan Edidin"} [Monday 28th of September 2026 11:04:24 AM] Fetching shipping info for Order ID: 2304 [Monday 28th of September 2026 11:04:24 AM] get_order_shipping_info() - START - Order ID: 2304 [Monday 28th of September 2026 11:04:24 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2304/shipping_addresses [Monday 28th of September 2026 11:04:25 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:04:25 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2304 | Name: Allan Edidin | Address: 290 Pink Street, Cooperstown, New York, 13326 [Monday 28th of September 2026 11:04:25 AM] get_order_shipping_info() - END - Order ID: 2304 [Monday 28th of September 2026 11:04:25 AM] Shipping info received: {"id":2203,"order_id":2304,"first_name":"Allan","last_name":"Edidin","company":"","street_1":"290 Pink Street","street_2":"","city":"Cooperstown","zip":"13326","country":"United States","country_iso2":"US","state":"New York","email":"aedidin@gmail.com","phone":"650-384-3965","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"22.5200","cost_ex_tax":"22.5200","cost_inc_tax":"22.5200","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\/2304\/shipping_addresses\/2203\/shipping_quotes","resource":"\/orders\/2304\/shipping_addresses\/2203\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 11:04:25 AM] Resolved Customer ID: APONLINE [Monday 28th of September 2026 11:04:25 AM] Building order object for Invoice: AP2304 [Monday 28th of September 2026 11:04:25 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE"} [Monday 28th of September 2026 11:04:25 AM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 28th of September 2026 11:04:25 AM] Fetching products from BigCommerce for Order ID: 2304 [Monday 28th of September 2026 11:04:25 AM] BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:04:25 AM] Products received: 1 item(s) [Monday 28th of September 2026 11:04:25 AM] Processing product SKU: ALL18565 | Qty: 1 | Price: 3.9900 [Monday 28th of September 2026 11:04:25 AM] get_mpn() - START - Product ID: 39779 [Monday 28th of September 2026 11:04:25 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779 [Monday 28th of September 2026 11:04:25 AM] get_mpn() - BigCommerce API call successful for Product ID: 39779 [Monday 28th of September 2026 11:04:25 AM] get_mpn() - WARNING - MPN is empty for Product ID: 39779 [Monday 28th of September 2026 11:04:25 AM] get_mpn() - END - Product ID: 39779 | MPN: [Monday 28th of September 2026 11:04:25 AM] check_for_ebms_product() - START - SKU: ALL18565 [Monday 28th of September 2026 11:04:25 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL18565%27 [Monday 28th of September 2026 11:04:26 AM] check_for_ebms_product() - EBMS API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:04:26 AM] check_for_ebms_product() - SKU: ALL18565 found in EBMS [Monday 28th of September 2026 11:04:26 AM] check_for_ebms_product() - END - SKU: ALL18565 | Found: true [Monday 28th of September 2026 11:04:26 AM] SKU ALL18565 found in EBMS - checking prices [Monday 28th of September 2026 11:04:26 AM] obtain_current_prices() - START - SKU: ALL18565 [Monday 28th of September 2026 11:04:26 AM] obtain_current_prices() - Checking Motorstate for SKU: ALL18565 [Monday 28th of September 2026 11:04:26 AM] check_for_ms_product() - START - SKU: ALL18565 [Monday 28th of September 2026 11:04:26 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:04:34 AM] check_for_ms_product() - Motorstate API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:04:34 AM] check_for_ms_product() - SKU: ALL18565 found in Motorstate [Monday 28th of September 2026 11:04:34 AM] check_for_ms_product() - END - SKU: ALL18565 | Found: true [Monday 28th of September 2026 11:04:34 AM] obtain_current_prices() - SKU: ALL18565 found in Motorstate - Fetching prices [Monday 28th of September 2026 11:04:34 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL18565 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:04:36 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL18565 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:04:36 AM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL18565 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:04:36 AM] obtain_current_prices() - END - SKU: ALL18565 [Monday 28th of September 2026 11:04:36 AM] SKU ALL18565 has existing EBMS prices - syncing BigCommerce price back (cost: 2.25, base: 3.99) [Monday 28th of September 2026 11:04:36 AM] update_product_price() - START - Product ID: 39779 | Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:04:36 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779 [Monday 28th of September 2026 11:04:36 AM] update_product_price() - PUT payload: {"price":3.9900000000000002131628207280300557613372802734375,"cost_price":2.25} [Monday 28th of September 2026 11:04:36 AM] update_product_price() - Attempt 1 of 6 for Product ID: 39779 [Monday 28th of September 2026 11:04:36 AM] update_product_price() - Price updated successfully for Product ID: 39779 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:04:36 AM] update_product_price() - END - Product ID: 39779 | Result: success [Monday 28th of September 2026 11:04:36 AM] BigCommerce price updated for Product ID: 39779 [Monday 28th of September 2026 11:04:36 AM] get_product_inventory() - START - SKU: ALL18565 [Monday 28th of September 2026 11:04:36 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:04:36 AM] get_product_inventory() - Motorstate API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:04:36 AM] get_product_inventory() - Stock found for SKU: ALL18565 - Quantity: 100 | Running Total: 100 [Monday 28th of September 2026 11:04:36 AM] get_product_inventory() - END - SKU: ALL18565 | Total: 100 [Monday 28th of September 2026 11:04:36 AM] get_cf_id() - START - Product ID: 39779 [Monday 28th of September 2026 11:04:36 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779/custom-fields [Monday 28th of September 2026 11:04:36 AM] get_cf_id() - BigCommerce API call successful for Product ID: 39779 [Monday 28th of September 2026 11:04:36 AM] get_cf_id() - Custom field found for Product ID: 39779 | Field: online_stock_level | CF ID: 39669 [Monday 28th of September 2026 11:04:36 AM] get_cf_id() - END - Product ID: 39779 | CF ID: 39669 [Monday 28th of September 2026 11:04:36 AM] Updating inventory for SKU ALL18565 - stock: 100, CF ID: 39669 [Monday 28th of September 2026 11:04:36 AM] update_product_inventory() - START - Product ID: 39779 | Stock: 100 | CF ID: 39669 [Monday 28th of September 2026 11:04:36 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779/custom-fields/39669 [Monday 28th of September 2026 11:04:37 AM] update_product_inventory() - Inventory updated successfully for Product ID: 39779 | Stock: 100 [Monday 28th of September 2026 11:04:37 AM] update_product_inventory() - END - Product ID: 39779 | Result: success [Monday 28th of September 2026 11:04:37 AM] Inventory updated for SKU: ALL18565 [Monday 28th of September 2026 11:04:37 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 11:04:37 AM] Building payment record - Total: 26.5100 [Monday 28th of September 2026 11:04:37 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"26.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 11:04:37 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2304 [Monday 28th of September 2026 11:04:37 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2304%27 [Monday 28th of September 2026 11:04:37 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2304 [Monday 28th of September 2026 11:04:37 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2304 found in EBMS [Monday 28th of September 2026 11:04:37 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2304 | Found: true [Monday 28th of September 2026 11:04:37 AM] Invoice AP2304 already exists in EBMS - patching [Monday 28th of September 2026 11:04:37 AM] patch_ebms_invoice() - START - Invoice: AP2304 [Monday 28th of September 2026 11:04:37 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"26.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 11:04:37 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2304%27 [Monday 28th of September 2026 11:04:38 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2304 [Monday 28th of September 2026 11:04:38 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2304 [Monday 28th of September 2026 11:04:38 AM] patch_ebms_invoice() - END - Invoice: AP2304 [Monday 28th of September 2026 11:04:38 AM] Invoice AP2304 patched successfully [Monday 28th of September 2026 11:04:38 AM] ORDER WEBHOOK COMPLETED - Order ID: 2304 | Invoice: AP2304 [Monday 28th of September 2026 11:07:14 AM] ORDER WEBHOOK STARTED - Order ID: 2304 [Monday 28th of September 2026 11:07:14 AM] Fetching customer data for Order ID: 2304 [Monday 28th of September 2026 11:07:14 AM] get_order_customer_data() - START - Order ID: 2304 [Monday 28th of September 2026 11:07:14 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2304 [Monday 28th of September 2026 11:07:15 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] get_order_customer_data() - Parsing order response for Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Allan Edidin | Email: aedidin@gmail.com | Total: 26.5100 | Shipping: 22.52 [Monday 28th of September 2026 11:07:15 AM] get_order_customer_data() - END - Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] Customer data received: {"id":0,"email":"aedidin@gmail.com","address_1":"1770 S Post Oak Lane","address_2":"","city":"Hosuton","state":"TX","country":"USA","zip":"77056","f_name":"Allan","l_name":"Edidin","contact_5":"aedidin@gmail.com","contact_1":"650-384-3965","contact_4":"Allan Edidin"} [Monday 28th of September 2026 11:07:15 AM] Fetching shipping info for Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] get_order_shipping_info() - START - Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2304/shipping_addresses [Monday 28th of September 2026 11:07:15 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2304 | Name: Allan Edidin | Address: 290 Pink Street, Cooperstown, New York, 13326 [Monday 28th of September 2026 11:07:15 AM] get_order_shipping_info() - END - Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] Shipping info received: {"id":2203,"order_id":2304,"first_name":"Allan","last_name":"Edidin","company":"","street_1":"290 Pink Street","street_2":"","city":"Cooperstown","zip":"13326","country":"United States","country_iso2":"US","state":"New York","email":"aedidin@gmail.com","phone":"650-384-3965","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"22.5200","cost_ex_tax":"22.5200","cost_inc_tax":"22.5200","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\/2304\/shipping_addresses\/2203\/shipping_quotes","resource":"\/orders\/2304\/shipping_addresses\/2203\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 11:07:15 AM] Resolved Customer ID: APONLINE [Monday 28th of September 2026 11:07:15 AM] Building order object for Invoice: AP2304 [Monday 28th of September 2026 11:07:15 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE"} [Monday 28th of September 2026 11:07:15 AM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 28th of September 2026 11:07:15 AM] Fetching products from BigCommerce for Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] BigCommerce API call successful for Order ID: 2304 [Monday 28th of September 2026 11:07:15 AM] Products received: 1 item(s) [Monday 28th of September 2026 11:07:15 AM] Processing product SKU: ALL18565 | Qty: 1 | Price: 3.9900 [Monday 28th of September 2026 11:07:15 AM] get_mpn() - START - Product ID: 39779 [Monday 28th of September 2026 11:07:15 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779 [Monday 28th of September 2026 11:07:16 AM] get_mpn() - BigCommerce API call successful for Product ID: 39779 [Monday 28th of September 2026 11:07:16 AM] get_mpn() - WARNING - MPN is empty for Product ID: 39779 [Monday 28th of September 2026 11:07:16 AM] get_mpn() - END - Product ID: 39779 | MPN: [Monday 28th of September 2026 11:07:16 AM] check_for_ebms_product() - START - SKU: ALL18565 [Monday 28th of September 2026 11:07:16 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL18565%27 [Monday 28th of September 2026 11:07:16 AM] check_for_ebms_product() - EBMS API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:07:16 AM] check_for_ebms_product() - SKU: ALL18565 found in EBMS [Monday 28th of September 2026 11:07:16 AM] check_for_ebms_product() - END - SKU: ALL18565 | Found: true [Monday 28th of September 2026 11:07:16 AM] SKU ALL18565 found in EBMS - checking prices [Monday 28th of September 2026 11:07:16 AM] obtain_current_prices() - START - SKU: ALL18565 [Monday 28th of September 2026 11:07:16 AM] obtain_current_prices() - Checking Motorstate for SKU: ALL18565 [Monday 28th of September 2026 11:07:16 AM] check_for_ms_product() - START - SKU: ALL18565 [Monday 28th of September 2026 11:07:16 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:07:16 AM] check_for_ms_product() - Motorstate API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:07:16 AM] check_for_ms_product() - SKU: ALL18565 found in Motorstate [Monday 28th of September 2026 11:07:16 AM] check_for_ms_product() - END - SKU: ALL18565 | Found: true [Monday 28th of September 2026 11:07:16 AM] obtain_current_prices() - SKU: ALL18565 found in Motorstate - Fetching prices [Monday 28th of September 2026 11:07:16 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL18565 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:07:16 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL18565 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:07:16 AM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL18565 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:07:16 AM] obtain_current_prices() - END - SKU: ALL18565 [Monday 28th of September 2026 11:07:16 AM] SKU ALL18565 has existing EBMS prices - syncing BigCommerce price back (cost: 2.25, base: 3.99) [Monday 28th of September 2026 11:07:16 AM] update_product_price() - START - Product ID: 39779 | Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:07:16 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779 [Monday 28th of September 2026 11:07:16 AM] update_product_price() - PUT payload: {"price":3.9900000000000002131628207280300557613372802734375,"cost_price":2.25} [Monday 28th of September 2026 11:07:16 AM] update_product_price() - Attempt 1 of 6 for Product ID: 39779 [Monday 28th of September 2026 11:07:17 AM] update_product_price() - Price updated successfully for Product ID: 39779 - Base: 3.99 | Cost: 2.25 [Monday 28th of September 2026 11:07:17 AM] update_product_price() - END - Product ID: 39779 | Result: success [Monday 28th of September 2026 11:07:17 AM] BigCommerce price updated for Product ID: 39779 [Monday 28th of September 2026 11:07:17 AM] get_product_inventory() - START - SKU: ALL18565 [Monday 28th of September 2026 11:07:17 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL18565 [Monday 28th of September 2026 11:07:17 AM] get_product_inventory() - Motorstate API call successful for SKU: ALL18565 [Monday 28th of September 2026 11:07:17 AM] get_product_inventory() - Stock found for SKU: ALL18565 - Quantity: 100 | Running Total: 100 [Monday 28th of September 2026 11:07:17 AM] get_product_inventory() - END - SKU: ALL18565 | Total: 100 [Monday 28th of September 2026 11:07:17 AM] get_cf_id() - START - Product ID: 39779 [Monday 28th of September 2026 11:07:17 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779/custom-fields [Monday 28th of September 2026 11:07:17 AM] get_cf_id() - BigCommerce API call successful for Product ID: 39779 [Monday 28th of September 2026 11:07:17 AM] get_cf_id() - Custom field found for Product ID: 39779 | Field: online_stock_level | CF ID: 39669 [Monday 28th of September 2026 11:07:17 AM] get_cf_id() - END - Product ID: 39779 | CF ID: 39669 [Monday 28th of September 2026 11:07:17 AM] Updating inventory for SKU ALL18565 - stock: 100, CF ID: 39669 [Monday 28th of September 2026 11:07:17 AM] update_product_inventory() - START - Product ID: 39779 | Stock: 100 | CF ID: 39669 [Monday 28th of September 2026 11:07:17 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/39779/custom-fields/39669 [Monday 28th of September 2026 11:07:17 AM] update_product_inventory() - Inventory updated successfully for Product ID: 39779 | Stock: 100 [Monday 28th of September 2026 11:07:17 AM] update_product_inventory() - END - Product ID: 39779 | Result: success [Monday 28th of September 2026 11:07:17 AM] Inventory updated for SKU: ALL18565 [Monday 28th of September 2026 11:07:17 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 11:07:17 AM] Building payment record - Total: 26.5100 [Monday 28th of September 2026 11:07:17 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"26.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 11:07:17 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2304 [Monday 28th of September 2026 11:07:17 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2304%27 [Monday 28th of September 2026 11:07:18 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2304 [Monday 28th of September 2026 11:07:18 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2304 found in EBMS [Monday 28th of September 2026 11:07:18 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2304 | Found: true [Monday 28th of September 2026 11:07:18 AM] Invoice AP2304 already exists in EBMS - patching [Monday 28th of September 2026 11:07:18 AM] patch_ebms_invoice() - START - Invoice: AP2304 [Monday 28th of September 2026 11:07:18 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2304","ADDRESS1":"1770 S Post Oak Lane","ADDRESS2":"","C_ADDRESS1":"290 Pink Street","C_ADDRESS2":"","C_CITY":"Cooperstown","C_COUNTRY":"USA","C_EMAIL":"aedidin@gmail.com","C_NAME":"Allan Edidin","C_STATE":"NY","C_ZIP":"13326","ShippingAmount":"22.52","CITY":"Hosuton","EMAIL":"aedidin@gmail.com","ID":"APONLINE","NAME":"Allan Edidin","STATE":"TX","COUNTRY":"USA","ZIP":"77056","MEMO":"","DESCR":"BigCommerce Order - AP2304 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL18565","M_QUAN_VIS":1,"UNIT":"3.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"26.51","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 11:07:18 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2304%27 [Monday 28th of September 2026 11:07:18 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2304 [Monday 28th of September 2026 11:07:18 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2304 [Monday 28th of September 2026 11:07:18 AM] patch_ebms_invoice() - END - Invoice: AP2304 [Monday 28th of September 2026 11:07:18 AM] Invoice AP2304 patched successfully [Monday 28th of September 2026 11:07:18 AM] ORDER WEBHOOK COMPLETED - Order ID: 2304 | Invoice: AP2304 [Monday 28th of September 2026 12:56:12 PM] ORDER WEBHOOK STARTED - Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] Fetching customer data for Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] get_order_customer_data() - START - Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2305 [Monday 28th of September 2026 12:56:12 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] get_order_customer_data() - Parsing order response for Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Fernando Mendoza Lugo | Email: roofer7896@gmail.com | Total: 128.7900 | Shipping: 22.80 [Monday 28th of September 2026 12:56:12 PM] get_order_customer_data() - END - Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] Customer data received: {"id":0,"email":"roofer7896@gmail.com","address_1":"8478 Long Lake Rd","address_2":"","city":"Mounds View","state":"MN","country":"USA","zip":"55112-6105","f_name":"Fernando","l_name":"Mendoza Lugo","contact_5":"roofer7896@gmail.com","contact_1":"6122827327","contact_4":"Fernando Mendoza Lugo"} [Monday 28th of September 2026 12:56:12 PM] Fetching shipping info for Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] get_order_shipping_info() - START - Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2305/shipping_addresses [Monday 28th of September 2026 12:56:12 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2305 | Name: Fernando Mendoza Lugo | Address: 8478 Long Lake Rd, Mounds View, Minnesota, 55112-6105 [Monday 28th of September 2026 12:56:12 PM] get_order_shipping_info() - END - Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] Shipping info received: {"id":2204,"order_id":2305,"first_name":"Fernando","last_name":"Mendoza Lugo","company":"","street_1":"8478 Long Lake Rd","street_2":"","city":"Mounds View","zip":"55112-6105","country":"United States","country_iso2":"US","state":"Minnesota","email":"roofer7896@gmail.com","phone":"6122827327","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"22.8000","cost_ex_tax":"22.8000","cost_inc_tax":"22.8000","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\/2305\/shipping_addresses\/2204\/shipping_quotes","resource":"\/orders\/2305\/shipping_addresses\/2204\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 12:56:12 PM] Resolved Customer ID: APONLINE [Monday 28th of September 2026 12:56:12 PM] Building order object for Invoice: AP2305 [Monday 28th of September 2026 12:56:12 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2305","ADDRESS1":"8478 Long Lake Rd","ADDRESS2":"","C_ADDRESS1":"8478 Long Lake Rd","C_ADDRESS2":"","C_CITY":"Mounds View","C_COUNTRY":"USA","C_EMAIL":"roofer7896@gmail.com","C_NAME":"Fernando Mendoza Lugo","C_STATE":"MN","C_ZIP":"55112-6105","ShippingAmount":"22.80","CITY":"Mounds View","EMAIL":"roofer7896@gmail.com","ID":"APONLINE","NAME":"Fernando Mendoza Lugo","STATE":"MN","COUNTRY":"USA","ZIP":"55112-6105","MEMO":"","DESCR":"BigCommerce Order - AP2305 - Customer APONLINE"} [Monday 28th of September 2026 12:56:12 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 28th of September 2026 12:56:12 PM] Fetching products from BigCommerce for Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] BigCommerce API call successful for Order ID: 2305 [Monday 28th of September 2026 12:56:12 PM] Products received: 1 item(s) [Monday 28th of September 2026 12:56:12 PM] Processing product SKU: BAS47SF375 | Qty: 1 | Price: 105.9900 [Monday 28th of September 2026 12:56:12 PM] get_mpn() - START - Product ID: 86632 [Monday 28th of September 2026 12:56:12 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/86632 [Monday 28th of September 2026 12:56:13 PM] get_mpn() - BigCommerce API call successful for Product ID: 86632 [Monday 28th of September 2026 12:56:13 PM] get_mpn() - WARNING - MPN is empty for Product ID: 86632 [Monday 28th of September 2026 12:56:13 PM] get_mpn() - END - Product ID: 86632 | MPN: [Monday 28th of September 2026 12:56:13 PM] check_for_ebms_product() - START - SKU: BAS47SF375 [Monday 28th of September 2026 12:56:13 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27BAS47SF375%27 [Monday 28th of September 2026 12:56:13 PM] check_for_ebms_product() - EBMS API call successful for SKU: BAS47SF375 [Monday 28th of September 2026 12:56:13 PM] check_for_ebms_product() - SKU: BAS47SF375 not found in EBMS [Monday 28th of September 2026 12:56:13 PM] check_for_ebms_product() - END - SKU: BAS47SF375 | Found: false [Monday 28th of September 2026 12:56:13 PM] SKU BAS47SF375 not found in EBMS - creating new part [Monday 28th of September 2026 12:56:13 PM] get_product_desc() - START - Product ID: 86632 [Monday 28th of September 2026 12:56:13 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/86632 [Monday 28th of September 2026 12:56:14 PM] get_product_desc() - BigCommerce API call successful for Product ID: 86632 [Monday 28th of September 2026 12:56:14 PM] get_product_desc() - Description retrieved for Product ID: 86632 - Description: Wheel - 8 Spoke D-Hole Lightweight - 14 x 7 in - 3.750 in Backspace - 5 x 4.50 in Bolt Pattern - Steel - Black Powder Coat - Each [Monday 28th of September 2026 12:56:14 PM] get_product_desc() - END - Product ID: 86632 [Monday 28th of September 2026 12:56:14 PM] get_ms_product() - START - SKU: BAS47SF375 [Monday 28th of September 2026 12:56:14 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=BAS47SF375 [Monday 28th of September 2026 12:56:14 PM] get_ms_product() - Motorstate API call successful for SKU: BAS47SF375 [Monday 28th of September 2026 12:56:14 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: BAS47SF375 - Response: [{"Found":true,"PartNumber":"BAS47SF375","Product":{"PartNumber":"bas47sf375","VendorPartNumber":"47SF375","Status":1,"IsStocking":true,"ShortDescription":"14x7 5x4.5in 3.75in BS Black","Quantity":13,"CustomerPrice":81.9902986,"CustomerPriceNonPromotional":81.9902986,"BasePrice":94.57,"ListPrice":105.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":3.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Monday 28th of September 2026 12:56:14 PM] get_ms_product() - END - SKU: BAS47SF375 [Monday 28th of September 2026 12:56:14 PM] MS pricing found for SKU BAS47SF375 - base: 105.99, cost: 81.9902986 [Monday 28th of September 2026 12:56:14 PM] create_new_part() - START - SKU: BAS47SF375 | Base: 105.99 | Cost: 81.99 | Weight: 17.9500 | MPN: [Monday 28th of September 2026 12:56:14 PM] create_new_part() - Description parsed - DESCR_1: Wheel - 8 Spoke D-Hole Lightweight - 14 x 7 in - 3.750 in Backspace - 5 x 4.50 i | DESCR_2: n Bolt Pattern - Steel - Black Powder Coat - Each [Monday 28th of September 2026 12:56:14 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Monday 28th of September 2026 12:56:14 PM] create_new_part() - POST payload: {"ID":"BAS47SF375","DESCR_1":"Wheel - 8 Spoke D-Hole Lightweight - 14 x 7 in - 3.750 in Backspace - 5 x 4.50 i","DESCR_2":"n Bolt Pattern - Steel - Black Powder Coat - Each","DESCR_3":"Wheel - 8 Spoke D-Hole Lightweight - 14 x 7 in - 3.750 in Backspace - 5 x 4.50 in Bolt Pattern - Steel - Black Powder Coat - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"81.99","BASE":"105.99","WEIGHT":"17.9500","MFG_PART":"","TREE_ID":"603"} [Monday 28th of September 2026 12:56:16 PM] create_new_part() - EBMS API call successful for SKU: BAS47SF375 [Monday 28th of September 2026 12:56:16 PM] create_new_part() - Part created successfully in EBMS - SKU: BAS47SF375 - {"id":"BAS47SF375","cost":"81.99","base":"105.99","description":"Wheel - 8 Spoke D-Hole Lightweight - 14 x 7 in - 3.750 in Backspace - 5 x 4.50 in Bolt Pattern - Steel - Black Powder Coat - Each","tree_id":" 603"} [Monday 28th of September 2026 12:56:16 PM] create_new_part() - Sending new part notification email for SKU: BAS47SF375 [Monday 28th of September 2026 12:56:16 PM] create_new_part() - Notification email sent successfully for SKU: BAS47SF375 [Monday 28th of September 2026 12:56:16 PM] create_new_part() - END - SKU: BAS47SF375 [Monday 28th of September 2026 12:56:16 PM] New part created in EBMS for SKU: BAS47SF375 [Monday 28th of September 2026 12:56:16 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"BAS47SF375","M_QUAN_VIS":1,"UNIT":"105.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 12:56:16 PM] Building payment record - Total: 128.7900 [Monday 28th of September 2026 12:56:16 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2305","ADDRESS1":"8478 Long Lake Rd","ADDRESS2":"","C_ADDRESS1":"8478 Long Lake Rd","C_ADDRESS2":"","C_CITY":"Mounds View","C_COUNTRY":"USA","C_EMAIL":"roofer7896@gmail.com","C_NAME":"Fernando Mendoza Lugo","C_STATE":"MN","C_ZIP":"55112-6105","ShippingAmount":"22.80","CITY":"Mounds View","EMAIL":"roofer7896@gmail.com","ID":"APONLINE","NAME":"Fernando Mendoza Lugo","STATE":"MN","COUNTRY":"USA","ZIP":"55112-6105","MEMO":"","DESCR":"BigCommerce Order - AP2305 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"BAS47SF375","M_QUAN_VIS":1,"UNIT":"105.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"128.79","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 12:56:16 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2305 [Monday 28th of September 2026 12:56:16 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2305%27 [Monday 28th of September 2026 12:56:17 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2305 [Monday 28th of September 2026 12:56:17 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2305 not found in EBMS [Monday 28th of September 2026 12:56:17 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2305 | Found: false [Monday 28th of September 2026 12:56:17 PM] Invoice AP2305 does not exist in EBMS - creating [Monday 28th of September 2026 12:56:17 PM] create_ebms_invoice() - START - Invoice: AP2305 [Monday 28th of September 2026 12:56:17 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2305","ADDRESS1":"8478 Long Lake Rd","ADDRESS2":"","C_ADDRESS1":"8478 Long Lake Rd","C_ADDRESS2":"","C_CITY":"Mounds View","C_COUNTRY":"USA","C_EMAIL":"roofer7896@gmail.com","C_NAME":"Fernando Mendoza Lugo","C_STATE":"MN","C_ZIP":"55112-6105","ShippingAmount":"22.80","CITY":"Mounds View","EMAIL":"roofer7896@gmail.com","ID":"APONLINE","NAME":"Fernando Mendoza Lugo","STATE":"MN","COUNTRY":"USA","ZIP":"55112-6105","MEMO":"","DESCR":"BigCommerce Order - AP2305 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"BAS47SF375","M_QUAN_VIS":1,"UNIT":"105.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"128.79","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 12:56:17 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 28th of September 2026 12:56:23 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2305 [Monday 28th of September 2026 12:56:23 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2305 - Response: {"@odata.context":"http:\/\/localhost:50494\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"38333655-4946-4544-3045-305632303030","AUTOID":"U638FIDE0E0V2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-105.9899999999999948840923025272786617279052734375,"BAL_CUST_X":-105.9899999999999948840923025272786617279052734375,"BALANCE":-105.9899999999999948840923025272786617279052734375,"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":128.789999999999992041921359486877918243408203125,"TOTAL_S_SO":105.9899999999999948840923025272786617279052734375,"TOTAL_SO":128.789999999999992041921359486877918243408203125,"TOTAL_W":0,"TTLPROCPMT":128.789999999999992041921359486877918243408203125,"TOTAL":22.800000000000000710542735760100185871124267578125,"FREIGHT":22.800000000000000710542735760100185871124267578125,"HANDLING":0,"SHIPPING":22.800000000000000710542735760100185871124267578125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"8478 Long Lake Rd","ADDRESS2":"","C_EMAIL":"roofer7896@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-28T00:00:00Z","CHECK_NO":" APBC","CITY":"Mounds View","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-28T00:00:00Z","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"roofer7896@gmail.com","IADDRESS":"8478 Long Lake Rd , Mounds View, MN 55112-6105","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-28T00:00:00Z","INVOICE":"AP2305","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Fernando Mendoza Lugo","PHONE":"","PROCESS":"Default","STATE":"MN","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"55112-6105","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"8478 Long Lake Rd","C_ADDRESS2":"","C_CITY":"Mounds View","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Fernando Mendoza Lugo","C_STATE":"MN","C_ZIP":"55112-6105","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2305 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-28T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 28th of September 2026 12:56:23 PM] create_ebms_invoice() - END - Invoice: AP2305 [Monday 28th of September 2026 12:56:23 PM] Invoice AP2305 created successfully [Monday 28th of September 2026 12:56:23 PM] ORDER WEBHOOK COMPLETED - Order ID: 2305 | Invoice: AP2305 [Monday 28th of September 2026 12:58:00 PM] ORDER WEBHOOK STARTED - Order ID: 2305 [Monday 28th of September 2026 12:58:00 PM] Fetching customer data for Order ID: 2305 [Monday 28th of September 2026 12:58:00 PM] get_order_customer_data() - START - Order ID: 2305 [Monday 28th of September 2026 12:58:00 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2305 [Monday 28th of September 2026 12:58:01 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] get_order_customer_data() - Parsing order response for Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Fernando Mendoza Lugo | Email: roofer7896@gmail.com | Total: 128.7900 | Shipping: 22.80 [Monday 28th of September 2026 12:58:01 PM] get_order_customer_data() - END - Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] Customer data received: {"id":0,"email":"roofer7896@gmail.com","address_1":"8478 Long Lake Rd","address_2":"","city":"Mounds View","state":"MN","country":"USA","zip":"55112-6105","f_name":"Fernando","l_name":"Mendoza Lugo","contact_5":"roofer7896@gmail.com","contact_1":"6122827327","contact_4":"Fernando Mendoza Lugo"} [Monday 28th of September 2026 12:58:01 PM] Fetching shipping info for Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] get_order_shipping_info() - START - Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2305/shipping_addresses [Monday 28th of September 2026 12:58:01 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2305 | Name: Fernando Mendoza Lugo | Address: 8478 Long Lake Rd, Mounds View, Minnesota, 55112-6105 [Monday 28th of September 2026 12:58:01 PM] get_order_shipping_info() - END - Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] Shipping info received: {"id":2204,"order_id":2305,"first_name":"Fernando","last_name":"Mendoza Lugo","company":"","street_1":"8478 Long Lake Rd","street_2":"","city":"Mounds View","zip":"55112-6105","country":"United States","country_iso2":"US","state":"Minnesota","email":"roofer7896@gmail.com","phone":"6122827327","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"22.8000","cost_ex_tax":"22.8000","cost_inc_tax":"22.8000","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\/2305\/shipping_addresses\/2204\/shipping_quotes","resource":"\/orders\/2305\/shipping_addresses\/2204\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 12:58:01 PM] Resolved Customer ID: APONLINE [Monday 28th of September 2026 12:58:01 PM] Building order object for Invoice: AP2305 [Monday 28th of September 2026 12:58:01 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2305","ADDRESS1":"8478 Long Lake Rd","ADDRESS2":"","C_ADDRESS1":"8478 Long Lake Rd","C_ADDRESS2":"","C_CITY":"Mounds View","C_COUNTRY":"USA","C_EMAIL":"roofer7896@gmail.com","C_NAME":"Fernando Mendoza Lugo","C_STATE":"MN","C_ZIP":"55112-6105","ShippingAmount":"22.80","CITY":"Mounds View","EMAIL":"roofer7896@gmail.com","ID":"APONLINE","NAME":"Fernando Mendoza Lugo","STATE":"MN","COUNTRY":"USA","ZIP":"55112-6105","MEMO":"","DESCR":"BigCommerce Order - AP2305 - Customer APONLINE"} [Monday 28th of September 2026 12:58:01 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 28th of September 2026 12:58:01 PM] Fetching products from BigCommerce for Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] BigCommerce API call successful for Order ID: 2305 [Monday 28th of September 2026 12:58:01 PM] Products received: 1 item(s) [Monday 28th of September 2026 12:58:01 PM] Processing product SKU: BAS47SF375 | Qty: 1 | Price: 105.9900 [Monday 28th of September 2026 12:58:01 PM] get_mpn() - START - Product ID: 86632 [Monday 28th of September 2026 12:58:01 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/86632 [Monday 28th of September 2026 12:58:01 PM] get_mpn() - BigCommerce API call successful for Product ID: 86632 [Monday 28th of September 2026 12:58:01 PM] get_mpn() - WARNING - MPN is empty for Product ID: 86632 [Monday 28th of September 2026 12:58:01 PM] get_mpn() - END - Product ID: 86632 | MPN: [Monday 28th of September 2026 12:58:01 PM] check_for_ebms_product() - START - SKU: BAS47SF375 [Monday 28th of September 2026 12:58:01 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27BAS47SF375%27 [Monday 28th of September 2026 12:58:02 PM] check_for_ebms_product() - EBMS API call successful for SKU: BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] check_for_ebms_product() - SKU: BAS47SF375 found in EBMS [Monday 28th of September 2026 12:58:02 PM] check_for_ebms_product() - END - SKU: BAS47SF375 | Found: true [Monday 28th of September 2026 12:58:02 PM] SKU BAS47SF375 found in EBMS - checking prices [Monday 28th of September 2026 12:58:02 PM] obtain_current_prices() - START - SKU: BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] obtain_current_prices() - Checking Motorstate for SKU: BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] check_for_ms_product() - START - SKU: BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] check_for_ms_product() - Motorstate API call successful for SKU: BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] check_for_ms_product() - SKU: BAS47SF375 found in Motorstate [Monday 28th of September 2026 12:58:02 PM] check_for_ms_product() - END - SKU: BAS47SF375 | Found: true [Monday 28th of September 2026 12:58:02 PM] obtain_current_prices() - SKU: BAS47SF375 found in Motorstate - Fetching prices [Monday 28th of September 2026 12:58:02 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: BAS47SF375 - URL: https://api.motorstate.com/api/Product?partNumbers=BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: BAS47SF375 - Base: 105.99 | Cost: 81.99 [Monday 28th of September 2026 12:58:02 PM] obtain_current_prices() - Returning Motorstate prices for SKU: BAS47SF375 - Base: 105.99 | Cost: 81.99 [Monday 28th of September 2026 12:58:02 PM] obtain_current_prices() - END - SKU: BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] SKU BAS47SF375 has existing EBMS prices - syncing BigCommerce price back (cost: 81.99, base: 105.99) [Monday 28th of September 2026 12:58:02 PM] update_product_price() - START - Product ID: 86632 | Base: 105.99 | Cost: 81.99 [Monday 28th of September 2026 12:58:02 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/86632 [Monday 28th of September 2026 12:58:02 PM] update_product_price() - PUT payload: {"price":105.9899999999999948840923025272786617279052734375,"cost_price":81.9899999999999948840923025272786617279052734375} [Monday 28th of September 2026 12:58:02 PM] update_product_price() - Attempt 1 of 6 for Product ID: 86632 [Monday 28th of September 2026 12:58:02 PM] update_product_price() - Price updated successfully for Product ID: 86632 - Base: 105.99 | Cost: 81.99 [Monday 28th of September 2026 12:58:02 PM] update_product_price() - END - Product ID: 86632 | Result: success [Monday 28th of September 2026 12:58:02 PM] BigCommerce price updated for Product ID: 86632 [Monday 28th of September 2026 12:58:02 PM] get_product_inventory() - START - SKU: BAS47SF375 [Monday 28th of September 2026 12:58:02 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=BAS47SF375 [Monday 28th of September 2026 12:58:03 PM] get_product_inventory() - Motorstate API call successful for SKU: BAS47SF375 [Monday 28th of September 2026 12:58:03 PM] get_product_inventory() - Stock found for SKU: BAS47SF375 - Quantity: 13 | Running Total: 13 [Monday 28th of September 2026 12:58:03 PM] get_product_inventory() - END - SKU: BAS47SF375 | Total: 13 [Monday 28th of September 2026 12:58:03 PM] get_cf_id() - START - Product ID: 86632 [Monday 28th of September 2026 12:58:03 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/86632/custom-fields [Monday 28th of September 2026 12:58:03 PM] get_cf_id() - BigCommerce API call successful for Product ID: 86632 [Monday 28th of September 2026 12:58:03 PM] get_cf_id() - Custom field found for Product ID: 86632 | Field: online_stock_level | CF ID: 86522 [Monday 28th of September 2026 12:58:03 PM] get_cf_id() - END - Product ID: 86632 | CF ID: 86522 [Monday 28th of September 2026 12:58:03 PM] Updating inventory for SKU BAS47SF375 - stock: 13, CF ID: 86522 [Monday 28th of September 2026 12:58:03 PM] update_product_inventory() - START - Product ID: 86632 | Stock: 13 | CF ID: 86522 [Monday 28th of September 2026 12:58:03 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/86632/custom-fields/86522 [Monday 28th of September 2026 12:58:03 PM] update_product_inventory() - Inventory updated successfully for Product ID: 86632 | Stock: 13 [Monday 28th of September 2026 12:58:03 PM] update_product_inventory() - END - Product ID: 86632 | Result: success [Monday 28th of September 2026 12:58:03 PM] Inventory updated for SKU: BAS47SF375 [Monday 28th of September 2026 12:58:03 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"BAS47SF375","M_QUAN_VIS":1,"UNIT":"105.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 12:58:03 PM] Building payment record - Total: 128.7900 [Monday 28th of September 2026 12:58:03 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2305","ADDRESS1":"8478 Long Lake Rd","ADDRESS2":"","C_ADDRESS1":"8478 Long Lake Rd","C_ADDRESS2":"","C_CITY":"Mounds View","C_COUNTRY":"USA","C_EMAIL":"roofer7896@gmail.com","C_NAME":"Fernando Mendoza Lugo","C_STATE":"MN","C_ZIP":"55112-6105","ShippingAmount":"22.80","CITY":"Mounds View","EMAIL":"roofer7896@gmail.com","ID":"APONLINE","NAME":"Fernando Mendoza Lugo","STATE":"MN","COUNTRY":"USA","ZIP":"55112-6105","MEMO":"","DESCR":"BigCommerce Order - AP2305 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"BAS47SF375","M_QUAN_VIS":1,"UNIT":"105.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"128.79","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 12:58:03 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2305 [Monday 28th of September 2026 12:58:03 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2305%27 [Monday 28th of September 2026 12:58:04 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2305 [Monday 28th of September 2026 12:58:04 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2305 found in EBMS [Monday 28th of September 2026 12:58:04 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2305 | Found: true [Monday 28th of September 2026 12:58:04 PM] Invoice AP2305 already exists in EBMS - patching [Monday 28th of September 2026 12:58:04 PM] patch_ebms_invoice() - START - Invoice: AP2305 [Monday 28th of September 2026 12:58:04 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2305","ADDRESS1":"8478 Long Lake Rd","ADDRESS2":"","C_ADDRESS1":"8478 Long Lake Rd","C_ADDRESS2":"","C_CITY":"Mounds View","C_COUNTRY":"USA","C_EMAIL":"roofer7896@gmail.com","C_NAME":"Fernando Mendoza Lugo","C_STATE":"MN","C_ZIP":"55112-6105","ShippingAmount":"22.80","CITY":"Mounds View","EMAIL":"roofer7896@gmail.com","ID":"APONLINE","NAME":"Fernando Mendoza Lugo","STATE":"MN","COUNTRY":"USA","ZIP":"55112-6105","MEMO":"","DESCR":"BigCommerce Order - AP2305 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"BAS47SF375","M_QUAN_VIS":1,"UNIT":"105.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"128.79","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 12:58:04 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2305%27 [Monday 28th of September 2026 12:58:04 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2305 [Monday 28th of September 2026 12:58:04 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2305 [Monday 28th of September 2026 12:58:04 PM] patch_ebms_invoice() - END - Invoice: AP2305 [Monday 28th of September 2026 12:58:04 PM] Invoice AP2305 patched successfully [Monday 28th of September 2026 12:58:04 PM] ORDER WEBHOOK COMPLETED - Order ID: 2305 | Invoice: AP2305 [Monday 28th of September 2026 03:43:12 PM] ORDER WEBHOOK STARTED - Order ID: 2307 [Monday 28th of September 2026 03:43:12 PM] Fetching customer data for Order ID: 2307 [Monday 28th of September 2026 03:43:12 PM] get_order_customer_data() - START - Order ID: 2307 [Monday 28th of September 2026 03:43:12 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2307 [Monday 28th of September 2026 03:43:13 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] get_order_customer_data() - Parsing order response for Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Philip Kaplan | Email: philipvkaplan@gmail.com | Total: 36.2600 | Shipping: 18.25 [Monday 28th of September 2026 03:43:13 PM] get_order_customer_data() - END - Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] Customer data received: {"id":0,"email":"philipvkaplan@gmail.com","address_1":"4441 Via Corta","address_2":"","city":"Brighton ","state":"MI","country":"USA","zip":"48114","f_name":"Philip ","l_name":"Kaplan ","contact_5":"philipvkaplan@gmail.com","contact_1":"3136130803","contact_4":"Philip Kaplan "} [Monday 28th of September 2026 03:43:13 PM] Fetching shipping info for Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] get_order_shipping_info() - START - Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2307/shipping_addresses [Monday 28th of September 2026 03:43:13 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2307 | Name: Philip Kaplan | Address: 4441 Via Corta, Brighton , Michigan, 48114 [Monday 28th of September 2026 03:43:13 PM] get_order_shipping_info() - END - Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] Shipping info received: {"id":2206,"order_id":2307,"first_name":"Philip ","last_name":"Kaplan ","company":"","street_1":"4441 Via Corta","street_2":"","city":"Brighton ","zip":"48114","country":"United States","country_iso2":"US","state":"Michigan","email":"philipvkaplan@gmail.com","phone":"3136130803","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"18.2500","cost_ex_tax":"18.2500","cost_inc_tax":"18.2500","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\/2307\/shipping_addresses\/2206\/shipping_quotes","resource":"\/orders\/2307\/shipping_addresses\/2206\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 03:43:13 PM] Resolved Customer ID: APONLINE [Monday 28th of September 2026 03:43:13 PM] Building order object for Invoice: AP2307 [Monday 28th of September 2026 03:43:13 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2307","ADDRESS1":"4441 Via Corta","ADDRESS2":"","C_ADDRESS1":"4441 Via Corta","C_ADDRESS2":"","C_CITY":"Brighton ","C_COUNTRY":"USA","C_EMAIL":"philipvkaplan@gmail.com","C_NAME":"Philip Kaplan ","C_STATE":"MI","C_ZIP":"48114","ShippingAmount":"18.25","CITY":"Brighton ","EMAIL":"philipvkaplan@gmail.com","ID":"APONLINE","NAME":"Philip Kaplan ","STATE":"MI","COUNTRY":"USA","ZIP":"48114","MEMO":"","DESCR":"BigCommerce Order - AP2307 - Customer APONLINE"} [Monday 28th of September 2026 03:43:13 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 28th of September 2026 03:43:13 PM] Fetching products from BigCommerce for Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] BigCommerce API call successful for Order ID: 2307 [Monday 28th of September 2026 03:43:13 PM] Products received: 1 item(s) [Monday 28th of September 2026 03:43:13 PM] Processing product SKU: SHEDAP1690 | Qty: 1 | Price: 16.9900 [Monday 28th of September 2026 03:43:13 PM] get_mpn() - START - Product ID: 67058 [Monday 28th of September 2026 03:43:13 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67058 [Monday 28th of September 2026 03:43:13 PM] get_mpn() - BigCommerce API call successful for Product ID: 67058 [Monday 28th of September 2026 03:43:13 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67058 [Monday 28th of September 2026 03:43:13 PM] get_mpn() - END - Product ID: 67058 | MPN: [Monday 28th of September 2026 03:43:13 PM] check_for_ebms_product() - START - SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:13 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27SHEDAP1690%27 [Monday 28th of September 2026 03:43:14 PM] check_for_ebms_product() - EBMS API call successful for SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:14 PM] check_for_ebms_product() - SKU: SHEDAP1690 not found in EBMS [Monday 28th of September 2026 03:43:14 PM] check_for_ebms_product() - END - SKU: SHEDAP1690 | Found: false [Monday 28th of September 2026 03:43:14 PM] SKU SHEDAP1690 not found in EBMS - creating new part [Monday 28th of September 2026 03:43:14 PM] get_product_desc() - START - Product ID: 67058 [Monday 28th of September 2026 03:43:14 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67058 [Monday 28th of September 2026 03:43:14 PM] get_product_desc() - BigCommerce API call successful for Product ID: 67058 [Monday 28th of September 2026 03:43:14 PM] get_product_desc() - Description retrieved for Product ID: 67058 - Description: Paint - Dupli-Color - Self-Etching Primer - Flat Green - 12.00 oz Aerosol - Each [Monday 28th of September 2026 03:43:14 PM] get_product_desc() - END - Product ID: 67058 [Monday 28th of September 2026 03:43:14 PM] get_ms_product() - START - SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:14 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=SHEDAP1690 [Monday 28th of September 2026 03:43:14 PM] get_ms_product() - Motorstate API call successful for SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:14 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: SHEDAP1690 - Response: [{"Found":true,"PartNumber":"SHEDAP1690","Product":{"PartNumber":"shedap1690","VendorPartNumber":"DAP1690","Status":1,"IsStocking":true,"ShortDescription":"Self Etching Primer 12oz Green","Quantity":59,"CustomerPrice":10.9000566,"CustomerPriceNonPromotional":10.9000566,"BasePrice":13.77,"ListPrice":16.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":false,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Monday 28th of September 2026 03:43:14 PM] get_ms_product() - END - SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:14 PM] MS pricing found for SKU SHEDAP1690 - base: 16.99, cost: 10.9000566 [Monday 28th of September 2026 03:43:14 PM] create_new_part() - START - SKU: SHEDAP1690 | Base: 16.99 | Cost: 10.90 | Weight: 1.0000 | MPN: [Monday 28th of September 2026 03:43:14 PM] create_new_part() - Description parsed - DESCR_1: Paint - Dupli-Color - Self-Etching Primer - Flat Green - 12.00 oz Aerosol - Each | DESCR_2: [Monday 28th of September 2026 03:43:14 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Monday 28th of September 2026 03:43:14 PM] create_new_part() - POST payload: {"ID":"SHEDAP1690","DESCR_1":"Paint - Dupli-Color - Self-Etching Primer - Flat Green - 12.00 oz Aerosol - Each","DESCR_2":"","DESCR_3":"Paint - Dupli-Color - Self-Etching Primer - Flat Green - 12.00 oz Aerosol - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"10.90","BASE":"16.99","WEIGHT":"1.0000","MFG_PART":"","TREE_ID":"603"} [Monday 28th of September 2026 03:43:16 PM] create_new_part() - EBMS API call successful for SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:16 PM] create_new_part() - Part created successfully in EBMS - SKU: SHEDAP1690 - {"id":"SHEDAP1690","cost":"10.90","base":"16.99","description":"Paint - Dupli-Color - Self-Etching Primer - Flat Green - 12.00 oz Aerosol - Each","tree_id":" 603"} [Monday 28th of September 2026 03:43:16 PM] create_new_part() - Sending new part notification email for SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:17 PM] create_new_part() - Notification email sent successfully for SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:17 PM] create_new_part() - END - SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:17 PM] New part created in EBMS for SKU: SHEDAP1690 [Monday 28th of September 2026 03:43:17 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"SHEDAP1690","M_QUAN_VIS":1,"UNIT":"16.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 03:43:17 PM] Building payment record - Total: 36.2600 [Monday 28th of September 2026 03:43:17 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2307","ADDRESS1":"4441 Via Corta","ADDRESS2":"","C_ADDRESS1":"4441 Via Corta","C_ADDRESS2":"","C_CITY":"Brighton ","C_COUNTRY":"USA","C_EMAIL":"philipvkaplan@gmail.com","C_NAME":"Philip Kaplan ","C_STATE":"MI","C_ZIP":"48114","ShippingAmount":"18.25","CITY":"Brighton ","EMAIL":"philipvkaplan@gmail.com","ID":"APONLINE","NAME":"Philip Kaplan ","STATE":"MI","COUNTRY":"USA","ZIP":"48114","MEMO":"","DESCR":"BigCommerce Order - AP2307 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"SHEDAP1690","M_QUAN_VIS":1,"UNIT":"16.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"36.26","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 03:43:17 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2307 [Monday 28th of September 2026 03:43:17 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2307%27 [Monday 28th of September 2026 03:43:17 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2307 [Monday 28th of September 2026 03:43:17 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2307 not found in EBMS [Monday 28th of September 2026 03:43:17 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2307 | Found: false [Monday 28th of September 2026 03:43:17 PM] Invoice AP2307 does not exist in EBMS - creating [Monday 28th of September 2026 03:43:17 PM] create_ebms_invoice() - START - Invoice: AP2307 [Monday 28th of September 2026 03:43:17 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2307","ADDRESS1":"4441 Via Corta","ADDRESS2":"","C_ADDRESS1":"4441 Via Corta","C_ADDRESS2":"","C_CITY":"Brighton ","C_COUNTRY":"USA","C_EMAIL":"philipvkaplan@gmail.com","C_NAME":"Philip Kaplan ","C_STATE":"MI","C_ZIP":"48114","ShippingAmount":"18.25","CITY":"Brighton ","EMAIL":"philipvkaplan@gmail.com","ID":"APONLINE","NAME":"Philip Kaplan ","STATE":"MI","COUNTRY":"USA","ZIP":"48114","MEMO":"","DESCR":"BigCommerce Order - AP2307 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"SHEDAP1690","M_QUAN_VIS":1,"UNIT":"16.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"36.26","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 03:43:17 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Monday 28th of September 2026 03:43:26 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2307 [Monday 28th of September 2026 03:43:26 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2307 - Response: {"@odata.context":"http:\/\/localhost:50494\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"474f474b-3052-5154-3345-305632303030","AUTOID":"KGOGR0TQ3E0V2000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-18.010000000000001563194018672220408916473388671875,"BAL_CUST_X":-18.010000000000001563194018672220408916473388671875,"BALANCE":-18.010000000000001563194018672220408916473388671875,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":1.020000000000000017763568394002504646778106689453125,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":36.25999999999999801048033987171947956085205078125,"TOTAL_S_SO":16.989999999999998436805981327779591083526611328125,"TOTAL_SO":36.25999999999999801048033987171947956085205078125,"TOTAL_W":0,"TTLPROCPMT":36.25999999999999801048033987171947956085205078125,"TOTAL":18.25,"FREIGHT":18.25,"HANDLING":0,"SHIPPING":18.25,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"4441 Via Corta","ADDRESS2":"","C_EMAIL":"philipvkaplan@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-28T00:00:00Z","CHECK_NO":" APBC","CITY":"Brighton","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-28T00:00:00Z","E_DATE":"2026-09-28T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"philipvkaplan@gmail.com","IADDRESS":"4441 Via Corta , Brighton, MI 48114","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-28T00:00:00Z","INVOICE":"AP2307","MAN_FREIGH":true,"MAN_TAX":true,"NAME":"Philip Kaplan","PHONE":"","PROCESS":"Default","STATE":"MI","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"48114","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"4441 Via Corta","C_ADDRESS2":"","C_CITY":"Brighton","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Philip Kaplan","C_STATE":"MI","C_ZIP":"48114","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2307 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-28T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Monday 28th of September 2026 03:43:26 PM] create_ebms_invoice() - END - Invoice: AP2307 [Monday 28th of September 2026 03:43:26 PM] Invoice AP2307 created successfully [Monday 28th of September 2026 03:43:26 PM] ORDER WEBHOOK COMPLETED - Order ID: 2307 | Invoice: AP2307 [Monday 28th of September 2026 03:44:22 PM] ORDER WEBHOOK STARTED - Order ID: 2307 [Monday 28th of September 2026 03:44:22 PM] Fetching customer data for Order ID: 2307 [Monday 28th of September 2026 03:44:22 PM] get_order_customer_data() - START - Order ID: 2307 [Monday 28th of September 2026 03:44:22 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2307 [Monday 28th of September 2026 03:44:23 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] get_order_customer_data() - Parsing order response for Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Philip Kaplan | Email: philipvkaplan@gmail.com | Total: 36.2600 | Shipping: 18.25 [Monday 28th of September 2026 03:44:23 PM] get_order_customer_data() - END - Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] Customer data received: {"id":0,"email":"philipvkaplan@gmail.com","address_1":"4441 Via Corta","address_2":"","city":"Brighton ","state":"MI","country":"USA","zip":"48114","f_name":"Philip ","l_name":"Kaplan ","contact_5":"philipvkaplan@gmail.com","contact_1":"3136130803","contact_4":"Philip Kaplan "} [Monday 28th of September 2026 03:44:23 PM] Fetching shipping info for Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] get_order_shipping_info() - START - Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2307/shipping_addresses [Monday 28th of September 2026 03:44:23 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2307 | Name: Philip Kaplan | Address: 4441 Via Corta, Brighton , Michigan, 48114 [Monday 28th of September 2026 03:44:23 PM] get_order_shipping_info() - END - Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] Shipping info received: {"id":2206,"order_id":2307,"first_name":"Philip ","last_name":"Kaplan ","company":"","street_1":"4441 Via Corta","street_2":"","city":"Brighton ","zip":"48114","country":"United States","country_iso2":"US","state":"Michigan","email":"philipvkaplan@gmail.com","phone":"3136130803","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"18.2500","cost_ex_tax":"18.2500","cost_inc_tax":"18.2500","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\/2307\/shipping_addresses\/2206\/shipping_quotes","resource":"\/orders\/2307\/shipping_addresses\/2206\/shipping_quotes"},"form_fields":[]} [Monday 28th of September 2026 03:44:23 PM] Resolved Customer ID: APONLINE [Monday 28th of September 2026 03:44:23 PM] Building order object for Invoice: AP2307 [Monday 28th of September 2026 03:44:23 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2307","ADDRESS1":"4441 Via Corta","ADDRESS2":"","C_ADDRESS1":"4441 Via Corta","C_ADDRESS2":"","C_CITY":"Brighton ","C_COUNTRY":"USA","C_EMAIL":"philipvkaplan@gmail.com","C_NAME":"Philip Kaplan ","C_STATE":"MI","C_ZIP":"48114","ShippingAmount":"18.25","CITY":"Brighton ","EMAIL":"philipvkaplan@gmail.com","ID":"APONLINE","NAME":"Philip Kaplan ","STATE":"MI","COUNTRY":"USA","ZIP":"48114","MEMO":"","DESCR":"BigCommerce Order - AP2307 - Customer APONLINE"} [Monday 28th of September 2026 03:44:23 PM] Guest checkout detected (APONLINE) - skipping customer sync [Monday 28th of September 2026 03:44:23 PM] Fetching products from BigCommerce for Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] BigCommerce API call successful for Order ID: 2307 [Monday 28th of September 2026 03:44:23 PM] Products received: 1 item(s) [Monday 28th of September 2026 03:44:23 PM] Processing product SKU: SHEDAP1690 | Qty: 1 | Price: 16.9900 [Monday 28th of September 2026 03:44:23 PM] get_mpn() - START - Product ID: 67058 [Monday 28th of September 2026 03:44:23 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67058 [Monday 28th of September 2026 03:44:23 PM] get_mpn() - BigCommerce API call successful for Product ID: 67058 [Monday 28th of September 2026 03:44:23 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67058 [Monday 28th of September 2026 03:44:23 PM] get_mpn() - END - Product ID: 67058 | MPN: [Monday 28th of September 2026 03:44:23 PM] check_for_ebms_product() - START - SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:23 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27SHEDAP1690%27 [Monday 28th of September 2026 03:44:24 PM] check_for_ebms_product() - EBMS API call successful for SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] check_for_ebms_product() - SKU: SHEDAP1690 found in EBMS [Monday 28th of September 2026 03:44:24 PM] check_for_ebms_product() - END - SKU: SHEDAP1690 | Found: true [Monday 28th of September 2026 03:44:24 PM] SKU SHEDAP1690 found in EBMS - checking prices [Monday 28th of September 2026 03:44:24 PM] obtain_current_prices() - START - SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] obtain_current_prices() - Checking Motorstate for SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] check_for_ms_product() - START - SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] check_for_ms_product() - Motorstate API call successful for SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] check_for_ms_product() - SKU: SHEDAP1690 found in Motorstate [Monday 28th of September 2026 03:44:24 PM] check_for_ms_product() - END - SKU: SHEDAP1690 | Found: true [Monday 28th of September 2026 03:44:24 PM] obtain_current_prices() - SKU: SHEDAP1690 found in Motorstate - Fetching prices [Monday 28th of September 2026 03:44:24 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: SHEDAP1690 - URL: https://api.motorstate.com/api/Product?partNumbers=SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: SHEDAP1690 - Base: 16.99 | Cost: 10.90 [Monday 28th of September 2026 03:44:24 PM] obtain_current_prices() - Returning Motorstate prices for SKU: SHEDAP1690 - Base: 16.99 | Cost: 10.90 [Monday 28th of September 2026 03:44:24 PM] obtain_current_prices() - END - SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] SKU SHEDAP1690 has existing EBMS prices - syncing BigCommerce price back (cost: 10.90, base: 16.99) [Monday 28th of September 2026 03:44:24 PM] update_product_price() - START - Product ID: 67058 | Base: 16.99 | Cost: 10.9 [Monday 28th of September 2026 03:44:24 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67058 [Monday 28th of September 2026 03:44:24 PM] update_product_price() - PUT payload: {"price":16.989999999999998436805981327779591083526611328125,"cost_price":10.9000000000000003552713678800500929355621337890625} [Monday 28th of September 2026 03:44:24 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67058 [Monday 28th of September 2026 03:44:24 PM] update_product_price() - Price updated successfully for Product ID: 67058 - Base: 16.99 | Cost: 10.9 [Monday 28th of September 2026 03:44:24 PM] update_product_price() - END - Product ID: 67058 | Result: success [Monday 28th of September 2026 03:44:24 PM] BigCommerce price updated for Product ID: 67058 [Monday 28th of September 2026 03:44:24 PM] get_product_inventory() - START - SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] get_product_inventory() - Motorstate API call successful for SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:24 PM] get_product_inventory() - Stock found for SKU: SHEDAP1690 - Quantity: 59 | Running Total: 59 [Monday 28th of September 2026 03:44:24 PM] get_product_inventory() - END - SKU: SHEDAP1690 | Total: 59 [Monday 28th of September 2026 03:44:24 PM] get_cf_id() - START - Product ID: 67058 [Monday 28th of September 2026 03:44:24 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67058/custom-fields [Monday 28th of September 2026 03:44:25 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67058 [Monday 28th of September 2026 03:44:25 PM] get_cf_id() - Custom field found for Product ID: 67058 | Field: online_stock_level | CF ID: 66948 [Monday 28th of September 2026 03:44:25 PM] get_cf_id() - END - Product ID: 67058 | CF ID: 66948 [Monday 28th of September 2026 03:44:25 PM] Updating inventory for SKU SHEDAP1690 - stock: 59, CF ID: 66948 [Monday 28th of September 2026 03:44:25 PM] update_product_inventory() - START - Product ID: 67058 | Stock: 59 | CF ID: 66948 [Monday 28th of September 2026 03:44:25 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67058/custom-fields/66948 [Monday 28th of September 2026 03:44:25 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67058 | Stock: 59 [Monday 28th of September 2026 03:44:25 PM] update_product_inventory() - END - Product ID: 67058 | Result: success [Monday 28th of September 2026 03:44:25 PM] Inventory updated for SKU: SHEDAP1690 [Monday 28th of September 2026 03:44:25 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"SHEDAP1690","M_QUAN_VIS":1,"UNIT":"16.99","UNIT_MEAS":"EA"}] [Monday 28th of September 2026 03:44:25 PM] Building payment record - Total: 36.2600 [Monday 28th of September 2026 03:44:25 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2307","ADDRESS1":"4441 Via Corta","ADDRESS2":"","C_ADDRESS1":"4441 Via Corta","C_ADDRESS2":"","C_CITY":"Brighton ","C_COUNTRY":"USA","C_EMAIL":"philipvkaplan@gmail.com","C_NAME":"Philip Kaplan ","C_STATE":"MI","C_ZIP":"48114","ShippingAmount":"18.25","CITY":"Brighton ","EMAIL":"philipvkaplan@gmail.com","ID":"APONLINE","NAME":"Philip Kaplan ","STATE":"MI","COUNTRY":"USA","ZIP":"48114","MEMO":"","DESCR":"BigCommerce Order - AP2307 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"SHEDAP1690","M_QUAN_VIS":1,"UNIT":"16.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"36.26","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 03:44:25 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2307 [Monday 28th of September 2026 03:44:25 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2307%27 [Monday 28th of September 2026 03:44:26 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2307 [Monday 28th of September 2026 03:44:26 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2307 found in EBMS [Monday 28th of September 2026 03:44:26 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2307 | Found: true [Monday 28th of September 2026 03:44:26 PM] Invoice AP2307 already exists in EBMS - patching [Monday 28th of September 2026 03:44:26 PM] patch_ebms_invoice() - START - Invoice: AP2307 [Monday 28th of September 2026 03:44:26 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2307","ADDRESS1":"4441 Via Corta","ADDRESS2":"","C_ADDRESS1":"4441 Via Corta","C_ADDRESS2":"","C_CITY":"Brighton ","C_COUNTRY":"USA","C_EMAIL":"philipvkaplan@gmail.com","C_NAME":"Philip Kaplan ","C_STATE":"MI","C_ZIP":"48114","ShippingAmount":"18.25","CITY":"Brighton ","EMAIL":"philipvkaplan@gmail.com","ID":"APONLINE","NAME":"Philip Kaplan ","STATE":"MI","COUNTRY":"USA","ZIP":"48114","MEMO":"","DESCR":"BigCommerce Order - AP2307 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"SHEDAP1690","M_QUAN_VIS":1,"UNIT":"16.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"36.26","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Monday 28th of September 2026 03:44:26 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2307%27 [Monday 28th of September 2026 03:44:26 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2307 [Monday 28th of September 2026 03:44:26 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2307 [Monday 28th of September 2026 03:44:26 PM] patch_ebms_invoice() - END - Invoice: AP2307 [Monday 28th of September 2026 03:44:26 PM] Invoice AP2307 patched successfully [Monday 28th of September 2026 03:44:26 PM] ORDER WEBHOOK COMPLETED - Order ID: 2307 | Invoice: AP2307