[Friday 4th of September 2026 12:57:57 AM] add_customer() - START - Customer ID: 547 | Name: Underdog Cycles [Friday 4th of September 2026 12:57:57 AM] add_customer() - Customer payload: {"id":547,"email":"vheubner@comcast.net","address_1":"683 Old Salt Rd","address_2":"","city":"Sumrall","state":"MS","country":"USA","zip":"39482","f_name":"Underdog","l_name":"Cycles","contact_5":"vheubner@comcast.net","contact_1":"6013079023","contact_4":"Underdog Cycles"} [Friday 4th of September 2026 12:57:57 AM] add_customer() - Customer fields parsed - ID: AP547 | Address: 683 Old Salt Rd, Sumrall, MS 39482 | Email: vheubner@comcast.net [Friday 4th of September 2026 12:57:57 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Friday 4th of September 2026 12:57:57 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","CITY":"Sumrall","CONTACT_5":"vheubner@comcast.net","CONTACT_1":"6013079023","CONTACT_4":"Underdog Cycles","COUNTRY":"USA","F_NAME":"Underdog","ID":"AP547","L_NAME":"Cycles","STATE":"MS","ZIP":"39482"} [Friday 4th of September 2026 12:58:00 AM] add_customer() - EBMS API call successful for Customer ID: AP547 [Friday 4th of September 2026 12:58:00 AM] add_customer() - Customer created successfully in EBMS - ID: AP547 - Response: {"@odata.context":"http:\/\/localhost:50392\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"56433251-394e-5035-4644-4f3835303030","AUTOID":"Q2CVN95PFDO85000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Underdog Cycles","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Sumrall","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-04T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"vheubner@comcast.net","EMAIL_LIST":false,"F_NAME":"Underdog","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP547","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Cycles","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Underdog Cycles)","OUT_CITY":false,"PHONE":"(601) 307-9023","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"MS","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"39482","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(601) 307-9023","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Underdog Cycles","CONTACT_5":"vheubner@comcast.net","EXTERNALID":""} [Friday 4th of September 2026 12:58:00 AM] add_customer() - END - Customer ID: AP547 [Friday 4th of September 2026 01:00:27 AM] ORDER WEBHOOK STARTED - Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] Fetching customer data for Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] get_order_customer_data() - START - Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2204 [Friday 4th of September 2026 01:00:27 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] get_order_customer_data() - Parsing order response for Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] get_order_customer_data() - Customer object built - Customer ID: 547 | Name: Underdog Cycles | Email: vheubner@comcast.net | Total: 148.5300 | Shipping: 30.55 [Friday 4th of September 2026 01:00:27 AM] get_order_customer_data() - END - Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] Customer data received: {"id":547,"email":"vheubner@comcast.net","address_1":"683 Old Salt Rd","address_2":"","city":"Sumrall","state":"MS","country":"USA","zip":"39482","f_name":"Underdog","l_name":"Cycles","contact_5":"vheubner@comcast.net","contact_1":"6013079023","contact_4":"Underdog Cycles"} [Friday 4th of September 2026 01:00:27 AM] Fetching shipping info for Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] get_order_shipping_info() - START - Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2204/shipping_addresses [Friday 4th of September 2026 01:00:27 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2204 | Name: Underdog Cycles | Address: 683 Old Salt Rd, Sumrall, Mississippi, 39482 [Friday 4th of September 2026 01:00:27 AM] get_order_shipping_info() - END - Order ID: 2204 [Friday 4th of September 2026 01:00:27 AM] Shipping info received: {"id":2103,"order_id":2204,"first_name":"Underdog","last_name":"Cycles","company":"","street_1":"683 Old Salt Rd","street_2":"","city":"Sumrall","zip":"39482","country":"United States","country_iso2":"US","state":"Mississippi","email":"vheubner@comcast.net","phone":"6013079023","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"30.5500","cost_ex_tax":"30.5500","cost_inc_tax":"30.5500","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\/2204\/shipping_addresses\/2103\/shipping_quotes","resource":"\/orders\/2204\/shipping_addresses\/2103\/shipping_quotes"},"form_fields":[]} [Friday 4th of September 2026 01:00:27 AM] Resolved Customer ID: AP547 [Friday 4th of September 2026 01:00:27 AM] Building order object for Invoice: AP2204 [Friday 4th of September 2026 01:00:27 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2204","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","C_ADDRESS1":"683 Old Salt Rd","C_ADDRESS2":"","C_CITY":"Sumrall","C_COUNTRY":"USA","C_EMAIL":"vheubner@comcast.net","C_NAME":"Underdog Cycles","C_STATE":"MS","C_ZIP":"39482","ShippingAmount":"30.55","CITY":"Sumrall","EMAIL":"vheubner@comcast.net","ID":"AP547","NAME":"Underdog Cycles","STATE":"MS","COUNTRY":"USA","ZIP":"39482","MEMO":"","DESCR":"BigCommerce Order - AP2204 - Customer AP547"} [Friday 4th of September 2026 01:00:27 AM] Registered customer detected - checking EBMS for Customer ID: AP547 [Friday 4th of September 2026 01:00:27 AM] check_for_customer() - START - Customer ID: 547 [Friday 4th of September 2026 01:00:27 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP547%27 [Friday 4th of September 2026 01:00:28 AM] check_for_customer() - EBMS API call successful for Customer ID: 547 [Friday 4th of September 2026 01:00:28 AM] check_for_customer() - Customer ID: 547 found in EBMS [Friday 4th of September 2026 01:00:28 AM] check_for_customer() - END - Customer ID: 547 | Found: true [Friday 4th of September 2026 01:00:28 AM] Customer AP547 found in EBMS [Friday 4th of September 2026 01:00:28 AM] check_for_empty_info() - START - Customer ID: 547 [Friday 4th of September 2026 01:00:28 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP547%27 [Friday 4th of September 2026 01:00:28 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 547 [Friday 4th of September 2026 01:00:28 AM] check_for_empty_info() - Customer record found for Customer ID: 547 - Checking ADDRESS1 field [Friday 4th of September 2026 01:00:28 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 547 - No update needed [Friday 4th of September 2026 01:00:28 AM] check_for_empty_info() - END - Customer ID: 547 | Empty Info: false [Friday 4th of September 2026 01:00:28 AM] check_for_empty_pn() - START - Customer ID: AP547 [Friday 4th of September 2026 01:00:28 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP547%27 [Friday 4th of September 2026 01:00:28 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP547 [Friday 4th of September 2026 01:00:28 AM] check_for_empty_pn() - Customer record found for Customer ID: AP547 - Checking CONTACT_1 field [Friday 4th of September 2026 01:00:28 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP547 - Value: (601) 307-9023 - No update needed [Friday 4th of September 2026 01:00:28 AM] check_for_empty_pn() - END - Customer ID: AP547 | Empty PN: false [Friday 4th of September 2026 01:00:28 AM] Fetching products from BigCommerce for Order ID: 2204 [Friday 4th of September 2026 01:00:28 AM] BigCommerce API call successful for Order ID: 2204 [Friday 4th of September 2026 01:00:28 AM] Products received: 1 item(s) [Friday 4th of September 2026 01:00:28 AM] Processing product SKU: LUC10702-6 | Qty: 2 | Price: 58.9900 [Friday 4th of September 2026 01:00:28 AM] get_mpn() - START - Product ID: 65902 [Friday 4th of September 2026 01:00:28 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65902 [Friday 4th of September 2026 01:00:28 AM] get_mpn() - BigCommerce API call successful for Product ID: 65902 [Friday 4th of September 2026 01:00:28 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65902 [Friday 4th of September 2026 01:00:28 AM] get_mpn() - END - Product ID: 65902 | MPN: [Friday 4th of September 2026 01:00:28 AM] check_for_ebms_product() - START - SKU: LUC10702-6 [Friday 4th of September 2026 01:00:28 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10702-6%27 [Friday 4th of September 2026 01:00:28 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10702-6 [Friday 4th of September 2026 01:00:28 AM] check_for_ebms_product() - SKU: LUC10702-6 not found in EBMS [Friday 4th of September 2026 01:00:28 AM] check_for_ebms_product() - END - SKU: LUC10702-6 | Found: false [Friday 4th of September 2026 01:00:28 AM] SKU LUC10702-6 not found in EBMS - creating new part [Friday 4th of September 2026 01:00:28 AM] get_product_desc() - START - Product ID: 65902 [Friday 4th of September 2026 01:00:28 AM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65902 [Friday 4th of September 2026 01:00:29 AM] get_product_desc() - BigCommerce API call successful for Product ID: 65902 [Friday 4th of September 2026 01:00:29 AM] get_product_desc() - Description retrieved for Product ID: 65902 - Description: Motor Oil - High Performance - 20W50 - Synthetic - 1 qt Bottle - Motorcycle - Set of 6 [Friday 4th of September 2026 01:00:29 AM] get_product_desc() - END - Product ID: 65902 [Friday 4th of September 2026 01:00:29 AM] get_ms_product() - START - SKU: LUC10702-6 [Friday 4th of September 2026 01:00:29 AM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10702-6 [Friday 4th of September 2026 01:00:29 AM] get_ms_product() - Motorstate API call successful for SKU: LUC10702-6 [Friday 4th of September 2026 01:00:29 AM] get_ms_product() - Product data retrieved from Motorstate for SKU: LUC10702-6 - Response: [{"Found":true,"PartNumber":"LUC10702-6","Product":{"PartNumber":"luc10702-6","VendorPartNumber":"10702","Status":1,"IsStocking":true,"ShortDescription":"Synthetic SAE 20w50 Motorcycle Oil 6x1 Qt","Quantity":10,"CustomerPrice":56.1299064,"CustomerPriceNonPromotional":56.1299064,"BasePrice":69.54,"ListPrice":58.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":false,"CanDropShip":false,"DropShipCharge":0.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Friday 4th of September 2026 01:00:29 AM] get_ms_product() - END - SKU: LUC10702-6 [Friday 4th of September 2026 01:00:29 AM] MS pricing found for SKU LUC10702-6 - base: 58.99, cost: 56.1299064 [Friday 4th of September 2026 01:00:29 AM] create_new_part() - START - SKU: LUC10702-6 | Base: 58.99 | Cost: 56.13 | Weight: 12.2000 | MPN: [Friday 4th of September 2026 01:00:29 AM] create_new_part() - Description parsed - DESCR_1: Motor Oil - High Performance - 20W50 - Synthetic - 1 qt Bottle - Motorcycle - Se | DESCR_2: t of 6 [Friday 4th of September 2026 01:00:29 AM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Friday 4th of September 2026 01:00:29 AM] create_new_part() - POST payload: {"ID":"LUC10702-6","DESCR_1":"Motor Oil - High Performance - 20W50 - Synthetic - 1 qt Bottle - Motorcycle - Se","DESCR_2":"t of 6","DESCR_3":"Motor Oil - High Performance - 20W50 - Synthetic - 1 qt Bottle - Motorcycle - Set of 6","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"56.13","BASE":"58.99","WEIGHT":"12.2000","MFG_PART":"","TREE_ID":"603"} [Friday 4th of September 2026 01:00:31 AM] create_new_part() - EBMS API call successful for SKU: LUC10702-6 [Friday 4th of September 2026 01:00:31 AM] create_new_part() - Part created successfully in EBMS - SKU: LUC10702-6 - {"id":"LUC10702-6","cost":"56.13","base":"58.99","description":"Motor Oil - High Performance - 20W50 - Synthetic - 1 qt Bottle - Motorcycle - Set of 6","tree_id":" 603"} [Friday 4th of September 2026 01:00:31 AM] create_new_part() - Sending new part notification email for SKU: LUC10702-6 [Friday 4th of September 2026 01:00:32 AM] create_new_part() - Notification email sent successfully for SKU: LUC10702-6 [Friday 4th of September 2026 01:00:32 AM] create_new_part() - END - SKU: LUC10702-6 [Friday 4th of September 2026 01:00:32 AM] New part created in EBMS for SKU: LUC10702-6 [Friday 4th of September 2026 01:00:32 AM] All products processed - Order details: [{"ID":"AP547","INVEN":"LUC10702-6","M_QUAN_VIS":2,"UNIT":"58.99","UNIT_MEAS":"EA"}] [Friday 4th of September 2026 01:00:32 AM] Building payment record - Total: 148.5300 [Friday 4th of September 2026 01:00:32 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2204","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","C_ADDRESS1":"683 Old Salt Rd","C_ADDRESS2":"","C_CITY":"Sumrall","C_COUNTRY":"USA","C_EMAIL":"vheubner@comcast.net","C_NAME":"Underdog Cycles","C_STATE":"MS","C_ZIP":"39482","ShippingAmount":"30.55","CITY":"Sumrall","EMAIL":"vheubner@comcast.net","ID":"AP547","NAME":"Underdog Cycles","STATE":"MS","COUNTRY":"USA","ZIP":"39482","MEMO":"","DESCR":"BigCommerce Order - AP2204 - Customer AP547","Details":[{"ID":"AP547","INVEN":"LUC10702-6","M_QUAN_VIS":2,"UNIT":"58.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"148.53","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 4th of September 2026 01:00:32 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2204 [Friday 4th of September 2026 01:00:32 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2204%27 [Friday 4th of September 2026 01:00:32 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2204 [Friday 4th of September 2026 01:00:32 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2204 not found in EBMS [Friday 4th of September 2026 01:00:32 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2204 | Found: false [Friday 4th of September 2026 01:00:32 AM] Invoice AP2204 does not exist in EBMS - creating [Friday 4th of September 2026 01:00:32 AM] create_ebms_invoice() - START - Invoice: AP2204 [Friday 4th of September 2026 01:00:32 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2204","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","C_ADDRESS1":"683 Old Salt Rd","C_ADDRESS2":"","C_CITY":"Sumrall","C_COUNTRY":"USA","C_EMAIL":"vheubner@comcast.net","C_NAME":"Underdog Cycles","C_STATE":"MS","C_ZIP":"39482","ShippingAmount":"30.55","CITY":"Sumrall","EMAIL":"vheubner@comcast.net","ID":"AP547","NAME":"Underdog Cycles","STATE":"MS","COUNTRY":"USA","ZIP":"39482","MEMO":"","DESCR":"BigCommerce Order - AP2204 - Customer AP547","Details":[{"ID":"AP547","INVEN":"LUC10702-6","M_QUAN_VIS":2,"UNIT":"58.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"148.53","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 4th of September 2026 01:00:32 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 4th of September 2026 01:00:39 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2204 [Friday 4th of September 2026 01:00:39 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2204 - Response: {"@odata.context":"http:\/\/localhost:50392\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4b514753-3034-5152-4644-4f3835303030","AUTOID":"SGQK40RQFDO85000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-117.9800000000000039790393202565610408782958984375,"BAL_CUST_X":-117.9800000000000039790393202565610408782958984375,"BALANCE":-117.9800000000000039790393202565610408782958984375,"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":148.530000000000001136868377216160297393798828125,"TOTAL_S_SO":117.9800000000000039790393202565610408782958984375,"TOTAL_SO":148.530000000000001136868377216160297393798828125,"TOTAL_W":0,"TTLPROCPMT":148.530000000000001136868377216160297393798828125,"TOTAL":30.550000000000000710542735760100185871124267578125,"FREIGHT":30.550000000000000710542735760100185871124267578125,"HANDLING":0,"SHIPPING":30.550000000000000710542735760100185871124267578125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","C_EMAIL":"vheubner@comcast.net","C_PHONE":"(601) 307-9023","CCNTCT_AID":"MIQG3D9LBBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-04T00:00:00Z","CHECK_NO":" APBC","CITY":"Sumrall","CNTCT_AID":"MIQG3D9LBBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-04T00:00:00Z","E_DATE":"2026-09-04T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"vheubner@comcast.net","IADDRESS":"683 Old Salt Rd , Sumrall, MS 39482","ID":"AP547","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-04T00:00:00Z","INVOICE":"AP2204","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Underdog Cycles","PHONE":"","PROCESS":"Default","STATE":"MS","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"39482","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"683 Old Salt Rd","C_ADDRESS2":"","C_CITY":"Sumrall","C_COUNTRY":"USA","C_ID":"AP547","C_NAME":"Underdog Cycles","C_STATE":"MS","C_ZIP":"39482","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2204 - Customer AP547","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-04T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 4th of September 2026 01:00:39 AM] create_ebms_invoice() - END - Invoice: AP2204 [Friday 4th of September 2026 01:00:39 AM] Invoice AP2204 created successfully [Friday 4th of September 2026 01:00:39 AM] ORDER WEBHOOK COMPLETED - Order ID: 2204 | Invoice: AP2204 [Friday 4th of September 2026 01:01:35 AM] ORDER WEBHOOK STARTED - Order ID: 2204 [Friday 4th of September 2026 01:01:35 AM] Fetching customer data for Order ID: 2204 [Friday 4th of September 2026 01:01:35 AM] get_order_customer_data() - START - Order ID: 2204 [Friday 4th of September 2026 01:01:35 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2204 [Friday 4th of September 2026 01:01:36 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2204 [Friday 4th of September 2026 01:01:36 AM] get_order_customer_data() - Parsing order response for Order ID: 2204 [Friday 4th of September 2026 01:01:36 AM] get_order_customer_data() - Customer object built - Customer ID: 547 | Name: Underdog Cycles | Email: vheubner@comcast.net | Total: 148.5300 | Shipping: 30.55 [Friday 4th of September 2026 01:01:36 AM] get_order_customer_data() - END - Order ID: 2204 [Friday 4th of September 2026 01:01:36 AM] Customer data received: {"id":547,"email":"vheubner@comcast.net","address_1":"683 Old Salt Rd","address_2":"","city":"Sumrall","state":"MS","country":"USA","zip":"39482","f_name":"Underdog","l_name":"Cycles","contact_5":"vheubner@comcast.net","contact_1":"6013079023","contact_4":"Underdog Cycles"} [Friday 4th of September 2026 01:01:36 AM] Fetching shipping info for Order ID: 2204 [Friday 4th of September 2026 01:01:36 AM] get_order_shipping_info() - START - Order ID: 2204 [Friday 4th of September 2026 01:01:36 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2204/shipping_addresses [Friday 4th of September 2026 01:01:36 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2204 [Friday 4th of September 2026 01:01:36 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2204 | Name: Underdog Cycles | Address: 683 Old Salt Rd, Sumrall, Mississippi, 39482 [Friday 4th of September 2026 01:01:36 AM] get_order_shipping_info() - END - Order ID: 2204 [Friday 4th of September 2026 01:01:36 AM] Shipping info received: {"id":2103,"order_id":2204,"first_name":"Underdog","last_name":"Cycles","company":"","street_1":"683 Old Salt Rd","street_2":"","city":"Sumrall","zip":"39482","country":"United States","country_iso2":"US","state":"Mississippi","email":"vheubner@comcast.net","phone":"6013079023","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"30.5500","cost_ex_tax":"30.5500","cost_inc_tax":"30.5500","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\/2204\/shipping_addresses\/2103\/shipping_quotes","resource":"\/orders\/2204\/shipping_addresses\/2103\/shipping_quotes"},"form_fields":[]} [Friday 4th of September 2026 01:01:36 AM] Resolved Customer ID: AP547 [Friday 4th of September 2026 01:01:36 AM] Building order object for Invoice: AP2204 [Friday 4th of September 2026 01:01:36 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2204","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","C_ADDRESS1":"683 Old Salt Rd","C_ADDRESS2":"","C_CITY":"Sumrall","C_COUNTRY":"USA","C_EMAIL":"vheubner@comcast.net","C_NAME":"Underdog Cycles","C_STATE":"MS","C_ZIP":"39482","ShippingAmount":"30.55","CITY":"Sumrall","EMAIL":"vheubner@comcast.net","ID":"AP547","NAME":"Underdog Cycles","STATE":"MS","COUNTRY":"USA","ZIP":"39482","MEMO":"","DESCR":"BigCommerce Order - AP2204 - Customer AP547"} [Friday 4th of September 2026 01:01:36 AM] Registered customer detected - checking EBMS for Customer ID: AP547 [Friday 4th of September 2026 01:01:36 AM] check_for_customer() - START - Customer ID: 547 [Friday 4th of September 2026 01:01:36 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP547%27 [Friday 4th of September 2026 01:01:36 AM] check_for_customer() - EBMS API call successful for Customer ID: 547 [Friday 4th of September 2026 01:01:36 AM] check_for_customer() - Customer ID: 547 found in EBMS [Friday 4th of September 2026 01:01:36 AM] check_for_customer() - END - Customer ID: 547 | Found: true [Friday 4th of September 2026 01:01:36 AM] Customer AP547 found in EBMS [Friday 4th of September 2026 01:01:36 AM] check_for_empty_info() - START - Customer ID: 547 [Friday 4th of September 2026 01:01:36 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP547%27 [Friday 4th of September 2026 01:01:36 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 547 [Friday 4th of September 2026 01:01:36 AM] check_for_empty_info() - Customer record found for Customer ID: 547 - Checking ADDRESS1 field [Friday 4th of September 2026 01:01:36 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 547 - No update needed [Friday 4th of September 2026 01:01:36 AM] check_for_empty_info() - END - Customer ID: 547 | Empty Info: false [Friday 4th of September 2026 01:01:36 AM] check_for_empty_pn() - START - Customer ID: AP547 [Friday 4th of September 2026 01:01:36 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP547%27 [Friday 4th of September 2026 01:01:36 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP547 [Friday 4th of September 2026 01:01:36 AM] check_for_empty_pn() - Customer record found for Customer ID: AP547 - Checking CONTACT_1 field [Friday 4th of September 2026 01:01:36 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP547 - Value: (601) 307-9023 - No update needed [Friday 4th of September 2026 01:01:36 AM] check_for_empty_pn() - END - Customer ID: AP547 | Empty PN: false [Friday 4th of September 2026 01:01:36 AM] Fetching products from BigCommerce for Order ID: 2204 [Friday 4th of September 2026 01:01:37 AM] BigCommerce API call successful for Order ID: 2204 [Friday 4th of September 2026 01:01:37 AM] Products received: 1 item(s) [Friday 4th of September 2026 01:01:37 AM] Processing product SKU: LUC10702-6 | Qty: 2 | Price: 58.9900 [Friday 4th of September 2026 01:01:37 AM] get_mpn() - START - Product ID: 65902 [Friday 4th of September 2026 01:01:37 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65902 [Friday 4th of September 2026 01:01:37 AM] get_mpn() - BigCommerce API call successful for Product ID: 65902 [Friday 4th of September 2026 01:01:37 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65902 [Friday 4th of September 2026 01:01:37 AM] get_mpn() - END - Product ID: 65902 | MPN: [Friday 4th of September 2026 01:01:37 AM] check_for_ebms_product() - START - SKU: LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC10702-6%27 [Friday 4th of September 2026 01:01:37 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] check_for_ebms_product() - SKU: LUC10702-6 found in EBMS [Friday 4th of September 2026 01:01:37 AM] check_for_ebms_product() - END - SKU: LUC10702-6 | Found: true [Friday 4th of September 2026 01:01:37 AM] SKU LUC10702-6 found in EBMS - checking prices [Friday 4th of September 2026 01:01:37 AM] obtain_current_prices() - START - SKU: LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] check_for_ms_product() - START - SKU: LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] check_for_ms_product() - SKU: LUC10702-6 found in Motorstate [Friday 4th of September 2026 01:01:37 AM] check_for_ms_product() - END - SKU: LUC10702-6 | Found: true [Friday 4th of September 2026 01:01:37 AM] obtain_current_prices() - SKU: LUC10702-6 found in Motorstate - Fetching prices [Friday 4th of September 2026 01:01:37 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC10702-6 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC10702-6 - Base: 58.99 | Cost: 56.13 [Friday 4th of September 2026 01:01:37 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC10702-6 - Base: 58.99 | Cost: 56.13 [Friday 4th of September 2026 01:01:37 AM] obtain_current_prices() - END - SKU: LUC10702-6 [Friday 4th of September 2026 01:01:37 AM] SKU LUC10702-6 has existing EBMS prices - syncing BigCommerce price back (cost: 56.13, base: 58.99) [Friday 4th of September 2026 01:01:37 AM] update_product_price() - START - Product ID: 65902 | Base: 58.99 | Cost: 56.13 [Friday 4th of September 2026 01:01:37 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65902 [Friday 4th of September 2026 01:01:37 AM] update_product_price() - PUT payload: {"price":58.99000000000000198951966012828052043914794921875,"cost_price":56.13000000000000255795384873636066913604736328125} [Friday 4th of September 2026 01:01:37 AM] update_product_price() - Attempt 1 of 6 for Product ID: 65902 [Friday 4th of September 2026 01:01:38 AM] update_product_price() - Price updated successfully for Product ID: 65902 - Base: 58.99 | Cost: 56.13 [Friday 4th of September 2026 01:01:38 AM] update_product_price() - END - Product ID: 65902 | Result: success [Friday 4th of September 2026 01:01:38 AM] BigCommerce price updated for Product ID: 65902 [Friday 4th of September 2026 01:01:38 AM] get_product_inventory() - START - SKU: LUC10702-6 [Friday 4th of September 2026 01:01:38 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC10702-6 [Friday 4th of September 2026 01:01:38 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC10702-6 [Friday 4th of September 2026 01:01:38 AM] get_product_inventory() - Stock found for SKU: LUC10702-6 - Quantity: 10 | Running Total: 10 [Friday 4th of September 2026 01:01:38 AM] get_product_inventory() - END - SKU: LUC10702-6 | Total: 10 [Friday 4th of September 2026 01:01:38 AM] get_cf_id() - START - Product ID: 65902 [Friday 4th of September 2026 01:01:38 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65902/custom-fields [Friday 4th of September 2026 01:01:38 AM] get_cf_id() - BigCommerce API call successful for Product ID: 65902 [Friday 4th of September 2026 01:01:38 AM] get_cf_id() - Custom field found for Product ID: 65902 | Field: online_stock_level | CF ID: 65792 [Friday 4th of September 2026 01:01:38 AM] get_cf_id() - END - Product ID: 65902 | CF ID: 65792 [Friday 4th of September 2026 01:01:38 AM] Updating inventory for SKU LUC10702-6 - stock: 10, CF ID: 65792 [Friday 4th of September 2026 01:01:38 AM] update_product_inventory() - START - Product ID: 65902 | Stock: 10 | CF ID: 65792 [Friday 4th of September 2026 01:01:38 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65902/custom-fields/65792 [Friday 4th of September 2026 01:01:38 AM] update_product_inventory() - Inventory updated successfully for Product ID: 65902 | Stock: 10 [Friday 4th of September 2026 01:01:38 AM] update_product_inventory() - END - Product ID: 65902 | Result: success [Friday 4th of September 2026 01:01:38 AM] Inventory updated for SKU: LUC10702-6 [Friday 4th of September 2026 01:01:38 AM] All products processed - Order details: [{"ID":"AP547","INVEN":"LUC10702-6","M_QUAN_VIS":2,"UNIT":"58.99","UNIT_MEAS":"EA"}] [Friday 4th of September 2026 01:01:38 AM] Building payment record - Total: 148.5300 [Friday 4th of September 2026 01:01:38 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2204","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","C_ADDRESS1":"683 Old Salt Rd","C_ADDRESS2":"","C_CITY":"Sumrall","C_COUNTRY":"USA","C_EMAIL":"vheubner@comcast.net","C_NAME":"Underdog Cycles","C_STATE":"MS","C_ZIP":"39482","ShippingAmount":"30.55","CITY":"Sumrall","EMAIL":"vheubner@comcast.net","ID":"AP547","NAME":"Underdog Cycles","STATE":"MS","COUNTRY":"USA","ZIP":"39482","MEMO":"","DESCR":"BigCommerce Order - AP2204 - Customer AP547","Details":[{"ID":"AP547","INVEN":"LUC10702-6","M_QUAN_VIS":2,"UNIT":"58.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"148.53","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 4th of September 2026 01:01:38 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2204 [Friday 4th of September 2026 01:01:38 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2204%27 [Friday 4th of September 2026 01:01:39 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2204 [Friday 4th of September 2026 01:01:39 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2204 found in EBMS [Friday 4th of September 2026 01:01:39 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2204 | Found: true [Friday 4th of September 2026 01:01:39 AM] Invoice AP2204 already exists in EBMS - patching [Friday 4th of September 2026 01:01:39 AM] patch_ebms_invoice() - START - Invoice: AP2204 [Friday 4th of September 2026 01:01:39 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2204","ADDRESS1":"683 Old Salt Rd","ADDRESS2":"","C_ADDRESS1":"683 Old Salt Rd","C_ADDRESS2":"","C_CITY":"Sumrall","C_COUNTRY":"USA","C_EMAIL":"vheubner@comcast.net","C_NAME":"Underdog Cycles","C_STATE":"MS","C_ZIP":"39482","ShippingAmount":"30.55","CITY":"Sumrall","EMAIL":"vheubner@comcast.net","ID":"AP547","NAME":"Underdog Cycles","STATE":"MS","COUNTRY":"USA","ZIP":"39482","MEMO":"","DESCR":"BigCommerce Order - AP2204 - Customer AP547","Details":[{"ID":"AP547","INVEN":"LUC10702-6","M_QUAN_VIS":2,"UNIT":"58.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"148.53","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 4th of September 2026 01:01:39 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2204%27 [Friday 4th of September 2026 01:01:39 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2204 [Friday 4th of September 2026 01:01:39 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2204 [Friday 4th of September 2026 01:01:39 AM] patch_ebms_invoice() - END - Invoice: AP2204 [Friday 4th of September 2026 01:01:39 AM] Invoice AP2204 patched successfully [Friday 4th of September 2026 01:01:39 AM] ORDER WEBHOOK COMPLETED - Order ID: 2204 | Invoice: AP2204 [Friday 4th of September 2026 02:52:53 AM] add_customer() - START - Customer ID: 548 | Name: bruno van de catsye [Friday 4th of September 2026 02:52:53 AM] add_customer() - Customer payload: {"id":548,"email":"no-ci@outlook.be","address_1":"leebrugstraat 30","address_2":"be0779434689","city":"Sinaai","state":"ovl","country":"BE","zip":"9112","f_name":"bruno","l_name":"van de catsye","contact_5":"no-ci@outlook.be","contact_1":"0499755673","contact_4":"bruno van de catsye"} [Friday 4th of September 2026 02:52:53 AM] add_customer() - Customer fields parsed - ID: AP548 | Address: leebrugstraat 30, Sinaai, ovl 9112 | Email: no-ci@outlook.be [Friday 4th of September 2026 02:52:53 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Friday 4th of September 2026 02:52:53 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"leebrugstraat 30","ADDRESS2":"be0779434689","CITY":"Sinaai","CONTACT_5":"no-ci@outlook.be","CONTACT_1":"0499755673","CONTACT_4":"bruno van de catsye","COUNTRY":"BE","F_NAME":"bruno","ID":"AP548","L_NAME":"van de catsye","STATE":"ovl","ZIP":"9112"} [Friday 4th of September 2026 02:52:57 AM] add_customer() - EBMS API call successful for Customer ID: AP548 [Friday 4th of September 2026 02:52:57 AM] add_customer() - Customer created successfully in EBMS - ID: AP548 - Response: {"Messages":[{"Id":"RunWithExceptionsAsMessages","Severity":"Error","BriefDescription":"BE is not found in the country database. Is it a new country?","Solution":"Check the value you set and make sure it is valid.","Detail":"An EBMS error occurred while setting the value.","TextBriefDescription":"BE is not found in the country database. Is it a new country?","TextSolution":"Check the value you set and make sure it is valid.","TextDetail":"An EBMS error occurred while setting the value.","InitiatingEntity":"myebms:ARCUST?43324a4e-3436-4c39-4646-565241303030","InitiatingProperty":"COUNTRY"}]} [Friday 4th of September 2026 02:52:57 AM] add_customer() - END - Customer ID: AP548 [Friday 4th of September 2026 05:09:21 AM] add_customer() - START - Customer ID: 549 | Name: Joanna Williamson [Friday 4th of September 2026 05:09:21 AM] add_customer() - Customer payload: {"id":549,"email":"ro.yalsmiledent+pcio6@gmail.com","address_1":"5831 Melissa Forges Suite 194","address_2":"","city":"Stephenside","state":"GA","country":"USA","zip":"26370","f_name":"Joanna","l_name":"Williamson","contact_5":"ro.yalsmiledent+pcio6@gmail.com","contact_1":"8058120149","contact_4":"Joanna Williamson"} [Friday 4th of September 2026 05:09:21 AM] add_customer() - Customer fields parsed - ID: AP549 | Address: 5831 Melissa Forges Suite 194, Stephenside, GA 26370 | Email: ro.yalsmiledent+pcio6@gmail.com [Friday 4th of September 2026 05:09:21 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Friday 4th of September 2026 05:09:21 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"5831 Melissa Forges Suite 194","ADDRESS2":"","CITY":"Stephenside","CONTACT_5":"ro.yalsmiledent+pcio6@gmail.com","CONTACT_1":"8058120149","CONTACT_4":"Joanna Williamson","COUNTRY":"USA","F_NAME":"Joanna","ID":"AP549","L_NAME":"Williamson","STATE":"GA","ZIP":"26370"} [Friday 4th of September 2026 05:09:23 AM] add_customer() - EBMS API call successful for Customer ID: AP549 [Friday 4th of September 2026 05:09:23 AM] add_customer() - Customer created successfully in EBMS - ID: AP549 - Response: {"@odata.context":"http:\/\/localhost:64662\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"48325645-5154-4453-4946-565241303030","AUTOID":"EV2HTQSDIFVRA000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Joanna Williamson","ADDRESS1":"5831 Melissa Forges Suite 194","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Stephenside","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-04T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"ro.yalsmiledent+pcio6@gmail.com","EMAIL_LIST":false,"F_NAME":"Joanna","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP549","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Williamson","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Joanna Williamson)","OUT_CITY":false,"PHONE":"(805) 812-0149","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"GA","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"26370","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(805) 812-0149","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Joanna Williamson","CONTACT_5":"ro.yalsmiledent+pcio6@gmail.com","EXTERNALID":""} [Friday 4th of September 2026 05:09:23 AM] add_customer() - END - Customer ID: AP549 [Friday 4th of September 2026 07:13:56 PM] ORDER WEBHOOK STARTED - Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] Fetching customer data for Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] get_order_customer_data() - START - Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2206 [Friday 4th of September 2026 07:13:56 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] get_order_customer_data() - Parsing order response for Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: MASON WARLICK | Email: masonscott215@gmail.com | Total: 77.4800 | Shipping: 19.49 [Friday 4th of September 2026 07:13:56 PM] get_order_customer_data() - END - Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] Customer data received: {"id":0,"email":"masonscott215@gmail.com","address_1":"2410 Airport Rd","address_2":"","city":"Opelika","state":"AL","country":"USA","zip":"36801","f_name":"MASON","l_name":"WARLICK","contact_5":"masonscott215@gmail.com","contact_1":"2563070141","contact_4":"MASON WARLICK"} [Friday 4th of September 2026 07:13:56 PM] Fetching shipping info for Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] get_order_shipping_info() - START - Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2206/shipping_addresses [Friday 4th of September 2026 07:13:56 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2206 | Name: MASON WARLICK | Address: 2410 Airport Rd, Opelika, Alabama, 36801 [Friday 4th of September 2026 07:13:56 PM] get_order_shipping_info() - END - Order ID: 2206 [Friday 4th of September 2026 07:13:56 PM] Shipping info received: {"id":2105,"order_id":2206,"first_name":"MASON","last_name":"WARLICK","company":"","street_1":"2410 Airport Rd","street_2":"","city":"Opelika","zip":"36801","country":"United States","country_iso2":"US","state":"Alabama","email":"masonscott215@gmail.com","phone":"2563070141","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"19.4900","cost_ex_tax":"19.4900","cost_inc_tax":"19.4900","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\/2206\/shipping_addresses\/2105\/shipping_quotes","resource":"\/orders\/2206\/shipping_addresses\/2105\/shipping_quotes"},"form_fields":[]} [Friday 4th of September 2026 07:13:56 PM] Resolved Customer ID: APONLINE [Friday 4th of September 2026 07:13:56 PM] Building order object for Invoice: AP2206 [Friday 4th of September 2026 07:13:56 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2206","ADDRESS1":"2410 Airport Rd","ADDRESS2":"","C_ADDRESS1":"2410 Airport Rd","C_ADDRESS2":"","C_CITY":"Opelika","C_COUNTRY":"USA","C_EMAIL":"masonscott215@gmail.com","C_NAME":"MASON WARLICK","C_STATE":"AL","C_ZIP":"36801","ShippingAmount":"19.49","CITY":"Opelika","EMAIL":"masonscott215@gmail.com","ID":"APONLINE","NAME":"MASON WARLICK","STATE":"AL","COUNTRY":"USA","ZIP":"36801","MEMO":"","DESCR":"BigCommerce Order - AP2206 - Customer APONLINE"} [Friday 4th of September 2026 07:13:56 PM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 4th of September 2026 07:13:56 PM] Fetching products from BigCommerce for Order ID: 2206 [Friday 4th of September 2026 07:13:57 PM] BigCommerce API call successful for Order ID: 2206 [Friday 4th of September 2026 07:13:57 PM] Products received: 1 item(s) [Friday 4th of September 2026 07:13:57 PM] Processing product SKU: FSHLW | Qty: 1 | Price: 57.9900 [Friday 4th of September 2026 07:13:57 PM] get_mpn() - START - Product ID: 13858 [Friday 4th of September 2026 07:13:57 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13858 [Friday 4th of September 2026 07:13:57 PM] get_mpn() - BigCommerce API call successful for Product ID: 13858 [Friday 4th of September 2026 07:13:57 PM] get_mpn() - WARNING - MPN is empty for Product ID: 13858 [Friday 4th of September 2026 07:13:57 PM] get_mpn() - END - Product ID: 13858 | MPN: [Friday 4th of September 2026 07:13:57 PM] check_for_ebms_product() - START - SKU: FSHLW [Friday 4th of September 2026 07:13:57 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27FSHLW%27 [Friday 4th of September 2026 07:13:58 PM] check_for_ebms_product() - EBMS API call successful for SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] check_for_ebms_product() - SKU: FSHLW found in EBMS [Friday 4th of September 2026 07:13:58 PM] check_for_ebms_product() - END - SKU: FSHLW | Found: true [Friday 4th of September 2026 07:13:58 PM] SKU FSHLW found in EBMS - checking prices [Friday 4th of September 2026 07:13:58 PM] obtain_current_prices() - START - SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] obtain_current_prices() - Checking Motorstate for SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] check_for_ms_product() - START - SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FSHLW [Friday 4th of September 2026 07:13:58 PM] check_for_ms_product() - Motorstate API call successful for SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] check_for_ms_product() - SKU: FSHLW found in Motorstate [Friday 4th of September 2026 07:13:58 PM] check_for_ms_product() - END - SKU: FSHLW | Found: true [Friday 4th of September 2026 07:13:58 PM] obtain_current_prices() - SKU: FSHLW found in Motorstate - Fetching prices [Friday 4th of September 2026 07:13:58 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: FSHLW - URL: https://api.motorstate.com/api/Product?partNumbers=FSHLW [Friday 4th of September 2026 07:13:58 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: FSHLW - Base: 57.99 | Cost: 51.99 [Friday 4th of September 2026 07:13:58 PM] obtain_current_prices() - Returning Motorstate prices for SKU: FSHLW - Base: 57.99 | Cost: 51.99 [Friday 4th of September 2026 07:13:58 PM] obtain_current_prices() - END - SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] SKU FSHLW has existing EBMS prices - syncing BigCommerce price back (cost: 51.99, base: 57.99) [Friday 4th of September 2026 07:13:58 PM] update_product_price() - START - Product ID: 13858 | Base: 57.99 | Cost: 51.99 [Friday 4th of September 2026 07:13:58 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13858 [Friday 4th of September 2026 07:13:58 PM] update_product_price() - PUT payload: {"price":57.99000000000000198951966012828052043914794921875,"cost_price":51.99000000000000198951966012828052043914794921875} [Friday 4th of September 2026 07:13:58 PM] update_product_price() - Attempt 1 of 6 for Product ID: 13858 [Friday 4th of September 2026 07:13:58 PM] update_product_price() - Price updated successfully for Product ID: 13858 - Base: 57.99 | Cost: 51.99 [Friday 4th of September 2026 07:13:58 PM] update_product_price() - END - Product ID: 13858 | Result: success [Friday 4th of September 2026 07:13:58 PM] BigCommerce price updated for Product ID: 13858 [Friday 4th of September 2026 07:13:58 PM] get_product_inventory() - START - SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=FSHLW [Friday 4th of September 2026 07:13:58 PM] get_product_inventory() - Motorstate API call successful for SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] get_product_inventory() - Stock found for SKU: FSHLW - Quantity: 3 | Running Total: 3 [Friday 4th of September 2026 07:13:58 PM] get_product_inventory() - END - SKU: FSHLW | Total: 3 [Friday 4th of September 2026 07:13:58 PM] get_cf_id() - START - Product ID: 13858 [Friday 4th of September 2026 07:13:58 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13858/custom-fields [Friday 4th of September 2026 07:13:58 PM] get_cf_id() - BigCommerce API call successful for Product ID: 13858 [Friday 4th of September 2026 07:13:58 PM] get_cf_id() - Custom field found for Product ID: 13858 | Field: online_stock_level | CF ID: 13748 [Friday 4th of September 2026 07:13:58 PM] get_cf_id() - END - Product ID: 13858 | CF ID: 13748 [Friday 4th of September 2026 07:13:58 PM] Updating inventory for SKU FSHLW - stock: 3, CF ID: 13748 [Friday 4th of September 2026 07:13:58 PM] update_product_inventory() - START - Product ID: 13858 | Stock: 3 | CF ID: 13748 [Friday 4th of September 2026 07:13:58 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/13858/custom-fields/13748 [Friday 4th of September 2026 07:13:58 PM] update_product_inventory() - Inventory updated successfully for Product ID: 13858 | Stock: 3 [Friday 4th of September 2026 07:13:58 PM] update_product_inventory() - END - Product ID: 13858 | Result: success [Friday 4th of September 2026 07:13:58 PM] Inventory updated for SKU: FSHLW [Friday 4th of September 2026 07:13:58 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"FSHLW","M_QUAN_VIS":1,"UNIT":"57.99","UNIT_MEAS":"EA"}] [Friday 4th of September 2026 07:13:58 PM] Building payment record - Total: 77.4800 [Friday 4th of September 2026 07:13:58 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2206","ADDRESS1":"2410 Airport Rd","ADDRESS2":"","C_ADDRESS1":"2410 Airport Rd","C_ADDRESS2":"","C_CITY":"Opelika","C_COUNTRY":"USA","C_EMAIL":"masonscott215@gmail.com","C_NAME":"MASON WARLICK","C_STATE":"AL","C_ZIP":"36801","ShippingAmount":"19.49","CITY":"Opelika","EMAIL":"masonscott215@gmail.com","ID":"APONLINE","NAME":"MASON WARLICK","STATE":"AL","COUNTRY":"USA","ZIP":"36801","MEMO":"","DESCR":"BigCommerce Order - AP2206 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"FSHLW","M_QUAN_VIS":1,"UNIT":"57.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.48","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 4th of September 2026 07:13:58 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2206 [Friday 4th of September 2026 07:13:58 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2206%27 [Friday 4th of September 2026 07:13:59 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2206 [Friday 4th of September 2026 07:13:59 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2206 not found in EBMS [Friday 4th of September 2026 07:13:59 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2206 | Found: false [Friday 4th of September 2026 07:13:59 PM] Invoice AP2206 does not exist in EBMS - creating [Friday 4th of September 2026 07:13:59 PM] create_ebms_invoice() - START - Invoice: AP2206 [Friday 4th of September 2026 07:13:59 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2206","ADDRESS1":"2410 Airport Rd","ADDRESS2":"","C_ADDRESS1":"2410 Airport Rd","C_ADDRESS2":"","C_CITY":"Opelika","C_COUNTRY":"USA","C_EMAIL":"masonscott215@gmail.com","C_NAME":"MASON WARLICK","C_STATE":"AL","C_ZIP":"36801","ShippingAmount":"19.49","CITY":"Opelika","EMAIL":"masonscott215@gmail.com","ID":"APONLINE","NAME":"MASON WARLICK","STATE":"AL","COUNTRY":"USA","ZIP":"36801","MEMO":"","DESCR":"BigCommerce Order - AP2206 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"FSHLW","M_QUAN_VIS":1,"UNIT":"57.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"77.48","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 4th of September 2026 07:13:59 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 4th of September 2026 07:14:05 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2206 [Friday 4th of September 2026 07:14:05 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2206 - Response: {"@odata.context":"http:\/\/localhost:64662\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4246524c-414e-4949-3347-565241303030","AUTOID":"LRFBNAII3GVRA000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-57.99000000000000198951966012828052043914794921875,"BAL_CUST_X":-57.99000000000000198951966012828052043914794921875,"BALANCE":-57.99000000000000198951966012828052043914794921875,"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":77.4800000000000039790393202565610408782958984375,"TOTAL_S_SO":57.99000000000000198951966012828052043914794921875,"TOTAL_SO":77.4800000000000039790393202565610408782958984375,"TOTAL_W":0,"TTLPROCPMT":77.4800000000000039790393202565610408782958984375,"TOTAL":19.489999999999998436805981327779591083526611328125,"FREIGHT":19.489999999999998436805981327779591083526611328125,"HANDLING":0,"SHIPPING":19.489999999999998436805981327779591083526611328125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"2410 Airport Rd","ADDRESS2":"","C_EMAIL":"masonscott215@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-04T00:00:00Z","CHECK_NO":" APBC","CITY":"Opelika","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-04T00:00:00Z","E_DATE":"2026-09-04T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"masonscott215@gmail.com","IADDRESS":"2410 Airport Rd , Opelika, AL 36801","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-04T00:00:00Z","INVOICE":"AP2206","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"MASON WARLICK","PHONE":"","PROCESS":"Default","STATE":"AL","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"36801","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"2410 Airport Rd","C_ADDRESS2":"","C_CITY":"Opelika","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"MASON WARLICK","C_STATE":"AL","C_ZIP":"36801","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2206 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-04T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 4th of September 2026 07:14:05 PM] create_ebms_invoice() - END - Invoice: AP2206 [Friday 4th of September 2026 07:14:05 PM] Invoice AP2206 created successfully [Friday 4th of September 2026 07:14:05 PM] ORDER WEBHOOK COMPLETED - Order ID: 2206 | Invoice: AP2206 [Friday 4th of September 2026 07:14:19 PM] add_customer() - START - Customer ID: 550 | Name: MASON WARLICK [Friday 4th of September 2026 07:14:19 PM] add_customer() - Customer payload: {"id":550,"email":"masonscott215@gmail.com","address_1":"2410 Airport Rd","address_2":"","city":"Opelika","state":"AL","country":"USA","zip":"36801","f_name":"MASON","l_name":"WARLICK","contact_5":"masonscott215@gmail.com","contact_1":"2563070141","contact_4":"MASON WARLICK"} [Friday 4th of September 2026 07:14:19 PM] add_customer() - Customer fields parsed - ID: AP550 | Address: 2410 Airport Rd, Opelika, AL 36801 | Email: masonscott215@gmail.com [Friday 4th of September 2026 07:14:19 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Friday 4th of September 2026 07:14:19 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"2410 Airport Rd","ADDRESS2":"","CITY":"Opelika","CONTACT_5":"masonscott215@gmail.com","CONTACT_1":"2563070141","CONTACT_4":"MASON WARLICK","COUNTRY":"USA","F_NAME":"MASON","ID":"AP550","L_NAME":"WARLICK","STATE":"AL","ZIP":"36801"} [Friday 4th of September 2026 07:14:21 PM] add_customer() - EBMS API call successful for Customer ID: AP550 [Friday 4th of September 2026 07:14:21 PM] add_customer() - Customer created successfully in EBMS - ID: AP550 - Response: {"@odata.context":"http:\/\/localhost:64662\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"454b4e4b-3845-4950-3347-565241303030","AUTOID":"KNKEE8PI3GVRA000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"MASON WARLICK","ADDRESS1":"2410 Airport Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Opelika","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-04T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"masonscott215@gmail.com","EMAIL_LIST":false,"F_NAME":"MASON","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP550","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"WARLICK","MAIL_LIST":false,"MEMO":"","NAMESTR":"(MASON WARLICK)","OUT_CITY":false,"PHONE":"(256) 307-0141","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"AL","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"36801","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(256) 307-0141","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"MASON WARLICK","CONTACT_5":"masonscott215@gmail.com","EXTERNALID":""} [Friday 4th of September 2026 07:14:21 PM] add_customer() - END - Customer ID: AP550