[Friday 11th of September 2026 05:14:45 AM] add_customer() - START - Customer ID: 563 | Name: Robert Miller [Friday 11th of September 2026 05:14:45 AM] add_customer() - Customer payload: {"id":563,"email":"isambino@comcast.net","address_1":"58 Maple Ln","address_2":"","city":"Canaan","state":"ME","country":"USA","zip":"04924","f_name":"Robert","l_name":"Miller","contact_5":"isambino@comcast.net","contact_1":"2077082823","contact_4":"Robert Miller"} [Friday 11th of September 2026 05:14:45 AM] add_customer() - Customer fields parsed - ID: AP563 | Address: 58 Maple Ln, Canaan, ME 04924 | Email: isambino@comcast.net [Friday 11th of September 2026 05:14:45 AM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Friday 11th of September 2026 05:14:45 AM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":"58 Maple Ln","ADDRESS2":"","CITY":"Canaan","CONTACT_5":"isambino@comcast.net","CONTACT_1":"2077082823","CONTACT_4":"Robert Miller","COUNTRY":"USA","F_NAME":"Robert","ID":"AP563","L_NAME":"Miller","STATE":"ME","ZIP":"04924"} [Friday 11th of September 2026 05:14:50 AM] add_customer() - EBMS API call successful for Customer ID: AP563 [Friday 11th of September 2026 05:14:50 AM] add_customer() - Customer created successfully in EBMS - ID: AP563 - Response: {"@odata.context":"http:\/\/localhost:63203\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"51514d37-4a31-324d-4f38-435442303030","AUTOID":"7MQQ1JM2O8CTB000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Robert Miller","ADDRESS1":"58 Maple Ln","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Canaan","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-09-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"isambino@comcast.net","EMAIL_LIST":false,"F_NAME":"Robert","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP563","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Miller","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Robert Miller)","OUT_CITY":false,"PHONE":"(207) 708-2823","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"ME","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"04924","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(207) 708-2823","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Robert Miller","CONTACT_5":"isambino@comcast.net","EXTERNALID":""} [Friday 11th of September 2026 05:14:50 AM] add_customer() - END - Customer ID: AP563 [Friday 11th of September 2026 05:16:00 AM] ORDER WEBHOOK STARTED - Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] Fetching customer data for Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] get_order_customer_data() - START - Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2265 [Friday 11th of September 2026 05:16:00 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] get_order_customer_data() - Parsing order response for Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] get_order_customer_data() - Customer object built - Customer ID: 563 | Name: Robert Miller | Email: isambino@comcast.net | Total: 189.8800 | Shipping: 80.89 [Friday 11th of September 2026 05:16:00 AM] get_order_customer_data() - END - Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] Customer data received: {"id":563,"email":"isambino@comcast.net","address_1":"58 Maple Ln","address_2":"","city":"Canaan","state":"ME","country":"USA","zip":"04924","f_name":"Robert","l_name":"Miller","contact_5":"isambino@comcast.net","contact_1":"2077082823","contact_4":"Robert Miller"} [Friday 11th of September 2026 05:16:00 AM] Fetching shipping info for Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] get_order_shipping_info() - START - Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2265/shipping_addresses [Friday 11th of September 2026 05:16:00 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2265 | Name: Robert Miller | Address: 58 Maple Ln, Canaan, Maine, 04924 [Friday 11th of September 2026 05:16:00 AM] get_order_shipping_info() - END - Order ID: 2265 [Friday 11th of September 2026 05:16:00 AM] Shipping info received: {"id":2164,"order_id":2265,"first_name":"Robert","last_name":"Miller","company":"","street_1":"58 Maple Ln","street_2":"","city":"Canaan","zip":"04924","country":"United States","country_iso2":"US","state":"Maine","email":"isambino@comcast.net","phone":"2077082823","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"80.8900","cost_ex_tax":"80.8900","cost_inc_tax":"80.8900","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\/2265\/shipping_addresses\/2164\/shipping_quotes","resource":"\/orders\/2265\/shipping_addresses\/2164\/shipping_quotes"},"form_fields":[]} [Friday 11th of September 2026 05:16:00 AM] Resolved Customer ID: AP563 [Friday 11th of September 2026 05:16:00 AM] Building order object for Invoice: AP2265 [Friday 11th of September 2026 05:16:00 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2265","ADDRESS1":"58 Maple Ln","ADDRESS2":"","C_ADDRESS1":"58 Maple Ln","C_ADDRESS2":"","C_CITY":"Canaan","C_COUNTRY":"USA","C_EMAIL":"isambino@comcast.net","C_NAME":"Robert Miller","C_STATE":"ME","C_ZIP":"04924","ShippingAmount":"80.89","CITY":"Canaan","EMAIL":"isambino@comcast.net","ID":"AP563","NAME":"Robert Miller","STATE":"ME","COUNTRY":"USA","ZIP":"04924","MEMO":"","DESCR":"BigCommerce Order - AP2265 - Customer AP563"} [Friday 11th of September 2026 05:16:00 AM] Registered customer detected - checking EBMS for Customer ID: AP563 [Friday 11th of September 2026 05:16:00 AM] check_for_customer() - START - Customer ID: 563 [Friday 11th of September 2026 05:16:00 AM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP563%27 [Friday 11th of September 2026 05:16:01 AM] check_for_customer() - EBMS API call successful for Customer ID: 563 [Friday 11th of September 2026 05:16:01 AM] check_for_customer() - Customer ID: 563 found in EBMS [Friday 11th of September 2026 05:16:01 AM] check_for_customer() - END - Customer ID: 563 | Found: true [Friday 11th of September 2026 05:16:01 AM] Customer AP563 found in EBMS [Friday 11th of September 2026 05:16:01 AM] check_for_empty_info() - START - Customer ID: 563 [Friday 11th of September 2026 05:16:01 AM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP563%27 [Friday 11th of September 2026 05:16:01 AM] check_for_empty_info() - EBMS API call successful for Customer ID: 563 [Friday 11th of September 2026 05:16:01 AM] check_for_empty_info() - Customer record found for Customer ID: 563 - Checking ADDRESS1 field [Friday 11th of September 2026 05:16:01 AM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 563 - No update needed [Friday 11th of September 2026 05:16:01 AM] check_for_empty_info() - END - Customer ID: 563 | Empty Info: false [Friday 11th of September 2026 05:16:01 AM] check_for_empty_pn() - START - Customer ID: AP563 [Friday 11th of September 2026 05:16:01 AM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP563%27 [Friday 11th of September 2026 05:16:01 AM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP563 [Friday 11th of September 2026 05:16:01 AM] check_for_empty_pn() - Customer record found for Customer ID: AP563 - Checking CONTACT_1 field [Friday 11th of September 2026 05:16:01 AM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP563 - Value: (207) 708-2823 - No update needed [Friday 11th of September 2026 05:16:01 AM] check_for_empty_pn() - END - Customer ID: AP563 | Empty PN: false [Friday 11th of September 2026 05:16:01 AM] Fetching products from BigCommerce for Order ID: 2265 [Friday 11th of September 2026 05:16:01 AM] BigCommerce API call successful for Order ID: 2265 [Friday 11th of September 2026 05:16:01 AM] Products received: 1 item(s) [Friday 11th of September 2026 05:16:01 AM] Processing product SKU: LUC18003 | Qty: 1 | Price: 108.9900 [Friday 11th of September 2026 05:16:01 AM] get_mpn() - START - Product ID: 65937 [Friday 11th of September 2026 05:16:01 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937 [Friday 11th of September 2026 05:16:02 AM] get_mpn() - BigCommerce API call successful for Product ID: 65937 [Friday 11th of September 2026 05:16:02 AM] get_mpn() - WARNING - MPN is empty for Product ID: 65937 [Friday 11th of September 2026 05:16:02 AM] get_mpn() - END - Product ID: 65937 | MPN: [Friday 11th of September 2026 05:16:02 AM] check_for_ebms_product() - START - SKU: LUC18003 [Friday 11th of September 2026 05:16:02 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27LUC18003%27 [Friday 11th of September 2026 05:16:02 AM] check_for_ebms_product() - EBMS API call successful for SKU: LUC18003 [Friday 11th of September 2026 05:16:02 AM] check_for_ebms_product() - SKU: LUC18003 found in EBMS [Friday 11th of September 2026 05:16:02 AM] check_for_ebms_product() - END - SKU: LUC18003 | Found: true [Friday 11th of September 2026 05:16:02 AM] SKU LUC18003 found in EBMS - checking prices [Friday 11th of September 2026 05:16:02 AM] obtain_current_prices() - START - SKU: LUC18003 [Friday 11th of September 2026 05:16:02 AM] obtain_current_prices() - Checking Motorstate for SKU: LUC18003 [Friday 11th of September 2026 05:16:02 AM] check_for_ms_product() - START - SKU: LUC18003 [Friday 11th of September 2026 05:16:02 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC18003 [Friday 11th of September 2026 05:16:02 AM] check_for_ms_product() - Motorstate API call successful for SKU: LUC18003 [Friday 11th of September 2026 05:16:02 AM] check_for_ms_product() - SKU: LUC18003 found in Motorstate [Friday 11th of September 2026 05:16:02 AM] check_for_ms_product() - END - SKU: LUC18003 | Found: true [Friday 11th of September 2026 05:16:02 AM] obtain_current_prices() - SKU: LUC18003 found in Motorstate - Fetching prices [Friday 11th of September 2026 05:16:02 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: LUC18003 - URL: https://api.motorstate.com/api/Product?partNumbers=LUC18003 [Friday 11th of September 2026 05:16:02 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: LUC18003 - Base: 108.99 | Cost: 104.99 [Friday 11th of September 2026 05:16:02 AM] obtain_current_prices() - Returning Motorstate prices for SKU: LUC18003 - Base: 108.99 | Cost: 104.99 [Friday 11th of September 2026 05:16:02 AM] obtain_current_prices() - END - SKU: LUC18003 [Friday 11th of September 2026 05:16:02 AM] SKU LUC18003 has existing EBMS prices - syncing BigCommerce price back (cost: 104.99, base: 108.99) [Friday 11th of September 2026 05:16:02 AM] update_product_price() - START - Product ID: 65937 | Base: 108.99 | Cost: 104.99 [Friday 11th of September 2026 05:16:02 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937 [Friday 11th of September 2026 05:16:02 AM] update_product_price() - PUT payload: {"price":108.9899999999999948840923025272786617279052734375,"cost_price":104.9899999999999948840923025272786617279052734375} [Friday 11th of September 2026 05:16:02 AM] update_product_price() - Attempt 1 of 6 for Product ID: 65937 [Friday 11th of September 2026 05:16:02 AM] update_product_price() - Price updated successfully for Product ID: 65937 - Base: 108.99 | Cost: 104.99 [Friday 11th of September 2026 05:16:02 AM] update_product_price() - END - Product ID: 65937 | Result: success [Friday 11th of September 2026 05:16:02 AM] BigCommerce price updated for Product ID: 65937 [Friday 11th of September 2026 05:16:02 AM] get_product_inventory() - START - SKU: LUC18003 [Friday 11th of September 2026 05:16:02 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=LUC18003 [Friday 11th of September 2026 05:16:03 AM] get_product_inventory() - Motorstate API call successful for SKU: LUC18003 [Friday 11th of September 2026 05:16:03 AM] get_product_inventory() - Stock found for SKU: LUC18003 - Quantity: 1 | Running Total: 1 [Friday 11th of September 2026 05:16:03 AM] get_product_inventory() - END - SKU: LUC18003 | Total: 1 [Friday 11th of September 2026 05:16:03 AM] get_cf_id() - START - Product ID: 65937 [Friday 11th of September 2026 05:16:03 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937/custom-fields [Friday 11th of September 2026 05:16:03 AM] get_cf_id() - BigCommerce API call successful for Product ID: 65937 [Friday 11th of September 2026 05:16:03 AM] get_cf_id() - Custom field found for Product ID: 65937 | Field: online_stock_level | CF ID: 65827 [Friday 11th of September 2026 05:16:03 AM] get_cf_id() - END - Product ID: 65937 | CF ID: 65827 [Friday 11th of September 2026 05:16:03 AM] Updating inventory for SKU LUC18003 - stock: 1, CF ID: 65827 [Friday 11th of September 2026 05:16:03 AM] update_product_inventory() - START - Product ID: 65937 | Stock: 1 | CF ID: 65827 [Friday 11th of September 2026 05:16:03 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/65937/custom-fields/65827 [Friday 11th of September 2026 05:16:03 AM] update_product_inventory() - Inventory updated successfully for Product ID: 65937 | Stock: 1 [Friday 11th of September 2026 05:16:03 AM] update_product_inventory() - END - Product ID: 65937 | Result: success [Friday 11th of September 2026 05:16:03 AM] Inventory updated for SKU: LUC18003 [Friday 11th of September 2026 05:16:03 AM] All products processed - Order details: [{"ID":"AP563","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}] [Friday 11th of September 2026 05:16:03 AM] Building payment record - Total: 189.8800 [Friday 11th of September 2026 05:16:03 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2265","ADDRESS1":"58 Maple Ln","ADDRESS2":"","C_ADDRESS1":"58 Maple Ln","C_ADDRESS2":"","C_CITY":"Canaan","C_COUNTRY":"USA","C_EMAIL":"isambino@comcast.net","C_NAME":"Robert Miller","C_STATE":"ME","C_ZIP":"04924","ShippingAmount":"80.89","CITY":"Canaan","EMAIL":"isambino@comcast.net","ID":"AP563","NAME":"Robert Miller","STATE":"ME","COUNTRY":"USA","ZIP":"04924","MEMO":"","DESCR":"BigCommerce Order - AP2265 - Customer AP563","Details":[{"ID":"AP563","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"189.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 11th of September 2026 05:16:03 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2265 [Friday 11th of September 2026 05:16:03 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2265%27 [Friday 11th of September 2026 05:16:03 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2265 [Friday 11th of September 2026 05:16:03 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2265 not found in EBMS [Friday 11th of September 2026 05:16:03 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2265 | Found: false [Friday 11th of September 2026 05:16:03 AM] Invoice AP2265 does not exist in EBMS - creating [Friday 11th of September 2026 05:16:03 AM] create_ebms_invoice() - START - Invoice: AP2265 [Friday 11th of September 2026 05:16:03 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2265","ADDRESS1":"58 Maple Ln","ADDRESS2":"","C_ADDRESS1":"58 Maple Ln","C_ADDRESS2":"","C_CITY":"Canaan","C_COUNTRY":"USA","C_EMAIL":"isambino@comcast.net","C_NAME":"Robert Miller","C_STATE":"ME","C_ZIP":"04924","ShippingAmount":"80.89","CITY":"Canaan","EMAIL":"isambino@comcast.net","ID":"AP563","NAME":"Robert Miller","STATE":"ME","COUNTRY":"USA","ZIP":"04924","MEMO":"","DESCR":"BigCommerce Order - AP2265 - Customer AP563","Details":[{"ID":"AP563","INVEN":"LUC18003","M_QUAN_VIS":1,"UNIT":"108.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"189.88","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 11th of September 2026 05:16:03 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 11th of September 2026 05:16:09 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2265 [Friday 11th of September 2026 05:16:09 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2265 - Response: {"@odata.context":"http:\/\/localhost:63203\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"39543038-544b-3347-4f38-435442303030","AUTOID":"80T9KTG3O8CTB000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-108.9899999999999948840923025272786617279052734375,"BAL_CUST_X":-108.9899999999999948840923025272786617279052734375,"BALANCE":-108.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":189.8799999999999954525264911353588104248046875,"TOTAL_S_SO":108.9899999999999948840923025272786617279052734375,"TOTAL_SO":189.8799999999999954525264911353588104248046875,"TOTAL_W":0,"TTLPROCPMT":189.8799999999999954525264911353588104248046875,"TOTAL":80.8900000000000005684341886080801486968994140625,"FREIGHT":80.8900000000000005684341886080801486968994140625,"HANDLING":0,"SHIPPING":80.8900000000000005684341886080801486968994140625,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"58 Maple Ln","ADDRESS2":"","C_EMAIL":"isambino@comcast.net","C_PHONE":"(207) 708-2823","CCNTCT_AID":"F668LS3SGBA7F891","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-11T00:00:00Z","CHECK_NO":" APBC","CITY":"Canaan","CNTCT_AID":"F668LS3SGBA7F891","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-11T00:00:00Z","E_DATE":"2026-09-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"isambino@comcast.net","IADDRESS":"58 Maple Ln , Canaan, ME 04924","ID":"AP563","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-11T00:00:00Z","INVOICE":"AP2265","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Robert Miller","PHONE":"","PROCESS":"Default","STATE":"ME","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"04924","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"58 Maple Ln","C_ADDRESS2":"","C_CITY":"Canaan","C_COUNTRY":"USA","C_ID":"AP563","C_NAME":"Robert Miller","C_STATE":"ME","C_ZIP":"04924","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2265 - Customer AP563","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-11T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 11th of September 2026 05:16:09 AM] create_ebms_invoice() - END - Invoice: AP2265 [Friday 11th of September 2026 05:16:09 AM] Invoice AP2265 created successfully [Friday 11th of September 2026 05:16:09 AM] ORDER WEBHOOK COMPLETED - Order ID: 2265 | Invoice: AP2265 [Friday 11th of September 2026 06:47:07 AM] ORDER WEBHOOK STARTED - Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] Fetching customer data for Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] get_order_customer_data() - START - Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2267 [Friday 11th of September 2026 06:47:07 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] get_order_customer_data() - Parsing order response for Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Tim Pulley | Email: topulley@gmail.com | Total: 137.1200 | Shipping: 19.15 [Friday 11th of September 2026 06:47:07 AM] get_order_customer_data() - END - Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] Customer data received: {"id":0,"email":"topulley@gmail.com","address_1":"2316 wixson rd","address_2":"","city":"Wynne","state":"AR","country":"USA","zip":"72396","f_name":"Tim","l_name":"Pulley","contact_5":"topulley@gmail.com","contact_1":"8705882119","contact_4":"Tim Pulley"} [Friday 11th of September 2026 06:47:07 AM] Fetching shipping info for Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] get_order_shipping_info() - START - Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2267/shipping_addresses [Friday 11th of September 2026 06:47:07 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2267 | Name: Tim Pulley | Address: 2316 wixson rd, Wynne, Arkansas, 72396 [Friday 11th of September 2026 06:47:07 AM] get_order_shipping_info() - END - Order ID: 2267 [Friday 11th of September 2026 06:47:07 AM] Shipping info received: {"id":2166,"order_id":2267,"first_name":"Tim","last_name":"Pulley","company":"Pulley Plumbing","street_1":"2316 wixson rd","street_2":"","city":"Wynne","zip":"72396","country":"United States","country_iso2":"US","state":"Arkansas","email":"topulley@gmail.com","phone":"8705882119","items_total":3,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"19.1500","cost_ex_tax":"19.1500","cost_inc_tax":"19.1500","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\/2267\/shipping_addresses\/2166\/shipping_quotes","resource":"\/orders\/2267\/shipping_addresses\/2166\/shipping_quotes"},"form_fields":[]} [Friday 11th of September 2026 06:47:07 AM] Resolved Customer ID: APONLINE [Friday 11th of September 2026 06:47:07 AM] Building order object for Invoice: AP2267 [Friday 11th of September 2026 06:47:07 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2267","ADDRESS1":"2316 wixson rd","ADDRESS2":"","C_ADDRESS1":"2316 wixson rd","C_ADDRESS2":"","C_CITY":"Wynne","C_COUNTRY":"USA","C_EMAIL":"topulley@gmail.com","C_NAME":"Tim Pulley","C_STATE":"AR","C_ZIP":"72396","ShippingAmount":"19.15","CITY":"Wynne","EMAIL":"topulley@gmail.com","ID":"APONLINE","NAME":"Tim Pulley","STATE":"AR","COUNTRY":"USA","ZIP":"72396","MEMO":"","DESCR":"BigCommerce Order - AP2267 - Customer APONLINE"} [Friday 11th of September 2026 06:47:07 AM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 11th of September 2026 06:47:07 AM] Fetching products from BigCommerce for Order ID: 2267 [Friday 11th of September 2026 06:47:08 AM] BigCommerce API call successful for Order ID: 2267 [Friday 11th of September 2026 06:47:08 AM] Products received: 2 item(s) [Friday 11th of September 2026 06:47:08 AM] Processing product SKU: ALL44221 | Qty: 1 | Price: 45.9900 [Friday 11th of September 2026 06:47:08 AM] get_mpn() - START - Product ID: 85834 [Friday 11th of September 2026 06:47:08 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/85834 [Friday 11th of September 2026 06:47:08 AM] get_mpn() - BigCommerce API call successful for Product ID: 85834 [Friday 11th of September 2026 06:47:08 AM] get_mpn() - WARNING - MPN is empty for Product ID: 85834 [Friday 11th of September 2026 06:47:08 AM] get_mpn() - END - Product ID: 85834 | MPN: [Friday 11th of September 2026 06:47:08 AM] check_for_ebms_product() - START - SKU: ALL44221 [Friday 11th of September 2026 06:47:08 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL44221%27 [Friday 11th of September 2026 06:47:09 AM] check_for_ebms_product() - EBMS API call successful for SKU: ALL44221 [Friday 11th of September 2026 06:47:09 AM] check_for_ebms_product() - SKU: ALL44221 found in EBMS [Friday 11th of September 2026 06:47:09 AM] check_for_ebms_product() - END - SKU: ALL44221 | Found: true [Friday 11th of September 2026 06:47:09 AM] SKU ALL44221 found in EBMS - checking prices [Friday 11th of September 2026 06:47:09 AM] obtain_current_prices() - START - SKU: ALL44221 [Friday 11th of September 2026 06:47:09 AM] obtain_current_prices() - Checking Motorstate for SKU: ALL44221 [Friday 11th of September 2026 06:47:09 AM] check_for_ms_product() - START - SKU: ALL44221 [Friday 11th of September 2026 06:47:09 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL44221 [Friday 11th of September 2026 06:47:09 AM] check_for_ms_product() - Motorstate API call successful for SKU: ALL44221 [Friday 11th of September 2026 06:47:09 AM] check_for_ms_product() - SKU: ALL44221 found in Motorstate [Friday 11th of September 2026 06:47:09 AM] check_for_ms_product() - END - SKU: ALL44221 | Found: true [Friday 11th of September 2026 06:47:09 AM] obtain_current_prices() - SKU: ALL44221 found in Motorstate - Fetching prices [Friday 11th of September 2026 06:47:09 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL44221 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL44221 [Friday 11th of September 2026 06:47:09 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL44221 - Base: 45.99 | Cost: 31.95 [Friday 11th of September 2026 06:47:09 AM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL44221 - Base: 45.99 | Cost: 31.95 [Friday 11th of September 2026 06:47:09 AM] obtain_current_prices() - END - SKU: ALL44221 [Friday 11th of September 2026 06:47:09 AM] SKU ALL44221 has existing EBMS prices - syncing BigCommerce price back (cost: 31.95, base: 45.99) [Friday 11th of September 2026 06:47:09 AM] update_product_price() - START - Product ID: 85834 | Base: 45.99 | Cost: 31.95 [Friday 11th of September 2026 06:47:09 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/85834 [Friday 11th of September 2026 06:47:09 AM] update_product_price() - PUT payload: {"price":45.99000000000000198951966012828052043914794921875,"cost_price":31.949999999999999289457264239899814128875732421875} [Friday 11th of September 2026 06:47:09 AM] update_product_price() - Attempt 1 of 6 for Product ID: 85834 [Friday 11th of September 2026 06:47:09 AM] update_product_price() - Price updated successfully for Product ID: 85834 - Base: 45.99 | Cost: 31.95 [Friday 11th of September 2026 06:47:09 AM] update_product_price() - END - Product ID: 85834 | Result: success [Friday 11th of September 2026 06:47:09 AM] BigCommerce price updated for Product ID: 85834 [Friday 11th of September 2026 06:47:09 AM] get_product_inventory() - START - SKU: ALL44221 [Friday 11th of September 2026 06:47:09 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL44221 [Friday 11th of September 2026 06:47:09 AM] get_product_inventory() - Motorstate API call successful for SKU: ALL44221 [Friday 11th of September 2026 06:47:09 AM] get_product_inventory() - Stock found for SKU: ALL44221 - Quantity: 83 | Running Total: 83 [Friday 11th of September 2026 06:47:09 AM] get_product_inventory() - END - SKU: ALL44221 | Total: 83 [Friday 11th of September 2026 06:47:09 AM] get_cf_id() - START - Product ID: 85834 [Friday 11th of September 2026 06:47:09 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/85834/custom-fields [Friday 11th of September 2026 06:47:09 AM] get_cf_id() - BigCommerce API call successful for Product ID: 85834 [Friday 11th of September 2026 06:47:09 AM] get_cf_id() - Custom field found for Product ID: 85834 | Field: online_stock_level | CF ID: 85724 [Friday 11th of September 2026 06:47:09 AM] get_cf_id() - END - Product ID: 85834 | CF ID: 85724 [Friday 11th of September 2026 06:47:09 AM] Updating inventory for SKU ALL44221 - stock: 83, CF ID: 85724 [Friday 11th of September 2026 06:47:09 AM] update_product_inventory() - START - Product ID: 85834 | Stock: 83 | CF ID: 85724 [Friday 11th of September 2026 06:47:09 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/85834/custom-fields/85724 [Friday 11th of September 2026 06:47:10 AM] update_product_inventory() - Inventory updated successfully for Product ID: 85834 | Stock: 83 [Friday 11th of September 2026 06:47:10 AM] update_product_inventory() - END - Product ID: 85834 | Result: success [Friday 11th of September 2026 06:47:10 AM] Inventory updated for SKU: ALL44221 [Friday 11th of September 2026 06:47:10 AM] Processing product SKU: APPH0044179 | Qty: 2 | Price: 35.9900 [Friday 11th of September 2026 06:47:10 AM] get_mpn() - START - Product ID: 87398 [Friday 11th of September 2026 06:47:10 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87398 [Friday 11th of September 2026 06:47:10 AM] get_mpn() - BigCommerce API call successful for Product ID: 87398 [Friday 11th of September 2026 06:47:10 AM] get_mpn() - WARNING - MPN is empty for Product ID: 87398 [Friday 11th of September 2026 06:47:10 AM] get_mpn() - END - Product ID: 87398 | MPN: [Friday 11th of September 2026 06:47:10 AM] check_for_ebms_product() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:47:10 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPH0044179%27 [Friday 11th of September 2026 06:47:10 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPH0044179 [Friday 11th of September 2026 06:47:10 AM] check_for_ebms_product() - SKU: APPH0044179 found in EBMS [Friday 11th of September 2026 06:47:10 AM] check_for_ebms_product() - END - SKU: APPH0044179 | Found: true [Friday 11th of September 2026 06:47:10 AM] SKU APPH0044179 found in EBMS - checking prices [Friday 11th of September 2026 06:47:10 AM] obtain_current_prices() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:47:10 AM] obtain_current_prices() - Checking Motorstate for SKU: APPH0044179 [Friday 11th of September 2026 06:47:10 AM] check_for_ms_product() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:47:10 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPH0044179 [Friday 11th of September 2026 06:47:10 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPH0044179 [Friday 11th of September 2026 06:47:10 AM] check_for_ms_product() - SKU: APPH0044179 not found in Motorstate [Friday 11th of September 2026 06:47:10 AM] check_for_ms_product() - END - SKU: APPH0044179 | Found: false [Friday 11th of September 2026 06:47:10 AM] obtain_current_prices() - SKU: APPH0044179 not found in Motorstate - Skipping to EBMS [Friday 11th of September 2026 06:47:10 AM] obtain_current_prices() - Checking EBMS for SKU: APPH0044179 [Friday 11th of September 2026 06:47:10 AM] check_for_ebms_product() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:47:10 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPH0044179%27 [Friday 11th of September 2026 06:47:11 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPH0044179 [Friday 11th of September 2026 06:47:11 AM] check_for_ebms_product() - SKU: APPH0044179 found in EBMS [Friday 11th of September 2026 06:47:11 AM] check_for_ebms_product() - END - SKU: APPH0044179 | Found: true [Friday 11th of September 2026 06:47:11 AM] obtain_current_prices() - SKU: APPH0044179 found in EBMS - Fetching prices [Friday 11th of September 2026 06:47:11 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPH0044179 - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPH0044179%27 [Friday 11th of September 2026 06:47:11 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPH0044179 - Base: 35.99 | Cost: 24.64 [Friday 11th of September 2026 06:47:11 AM] obtain_current_prices() - END - SKU: APPH0044179 | Final prices - Base: 35.99 | Cost: 24.64 [Friday 11th of September 2026 06:47:11 AM] SKU APPH0044179 has existing EBMS prices - syncing BigCommerce price back (cost: 24.64, base: 35.99) [Friday 11th of September 2026 06:47:11 AM] update_product_price() - START - Product ID: 87398 | Base: 35.99 | Cost: 24.64 [Friday 11th of September 2026 06:47:11 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87398 [Friday 11th of September 2026 06:47:11 AM] update_product_price() - PUT payload: {"price":35.99000000000000198951966012828052043914794921875,"cost_price":24.6400000000000005684341886080801486968994140625} [Friday 11th of September 2026 06:47:11 AM] update_product_price() - Attempt 1 of 6 for Product ID: 87398 [Friday 11th of September 2026 06:47:11 AM] update_product_price() - Price updated successfully for Product ID: 87398 - Base: 35.99 | Cost: 24.64 [Friday 11th of September 2026 06:47:11 AM] update_product_price() - END - Product ID: 87398 | Result: success [Friday 11th of September 2026 06:47:11 AM] BigCommerce price updated for Product ID: 87398 [Friday 11th of September 2026 06:47:11 AM] get_product_inventory() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:47:11 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPH0044179 [Friday 11th of September 2026 06:47:11 AM] get_product_inventory() - Motorstate API call successful for SKU: APPH0044179 [Friday 11th of September 2026 06:47:11 AM] get_product_inventory() - SKU: APPH0044179 not found in Motorstate response item [Friday 11th of September 2026 06:47:11 AM] get_product_inventory() - END - SKU: APPH0044179 | Total: 0 [Friday 11th of September 2026 06:47:11 AM] get_cf_id() - START - Product ID: 87398 [Friday 11th of September 2026 06:47:11 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87398/custom-fields [Friday 11th of September 2026 06:47:11 AM] get_cf_id() - BigCommerce API call successful for Product ID: 87398 [Friday 11th of September 2026 06:47:11 AM] get_cf_id() - Custom field found for Product ID: 87398 | Field: online_stock_level | CF ID: 87269 [Friday 11th of September 2026 06:47:11 AM] get_cf_id() - END - Product ID: 87398 | CF ID: 87269 [Friday 11th of September 2026 06:47:11 AM] Updating inventory for SKU APPH0044179 - stock: 0, CF ID: 87269 [Friday 11th of September 2026 06:47:11 AM] update_product_inventory() - START - Product ID: 87398 | Stock: 0 | CF ID: 87269 [Friday 11th of September 2026 06:47:11 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87398/custom-fields/87269 [Friday 11th of September 2026 06:47:12 AM] update_product_inventory() - Inventory updated successfully for Product ID: 87398 | Stock: 0 [Friday 11th of September 2026 06:47:12 AM] update_product_inventory() - END - Product ID: 87398 | Result: success [Friday 11th of September 2026 06:47:12 AM] Inventory updated for SKU: APPH0044179 [Friday 11th of September 2026 06:47:12 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ALL44221","M_QUAN_VIS":1,"UNIT":"45.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"APPH0044179","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}] [Friday 11th of September 2026 06:47:12 AM] Building payment record - Total: 137.1200 [Friday 11th of September 2026 06:47:12 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2267","ADDRESS1":"2316 wixson rd","ADDRESS2":"","C_ADDRESS1":"2316 wixson rd","C_ADDRESS2":"","C_CITY":"Wynne","C_COUNTRY":"USA","C_EMAIL":"topulley@gmail.com","C_NAME":"Tim Pulley","C_STATE":"AR","C_ZIP":"72396","ShippingAmount":"19.15","CITY":"Wynne","EMAIL":"topulley@gmail.com","ID":"APONLINE","NAME":"Tim Pulley","STATE":"AR","COUNTRY":"USA","ZIP":"72396","MEMO":"","DESCR":"BigCommerce Order - AP2267 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL44221","M_QUAN_VIS":1,"UNIT":"45.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"APPH0044179","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"137.12","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 11th of September 2026 06:47:12 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2267 [Friday 11th of September 2026 06:47:12 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2267%27 [Friday 11th of September 2026 06:47:12 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2267 [Friday 11th of September 2026 06:47:12 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2267 not found in EBMS [Friday 11th of September 2026 06:47:12 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2267 | Found: false [Friday 11th of September 2026 06:47:12 AM] Invoice AP2267 does not exist in EBMS - creating [Friday 11th of September 2026 06:47:12 AM] create_ebms_invoice() - START - Invoice: AP2267 [Friday 11th of September 2026 06:47:12 AM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2267","ADDRESS1":"2316 wixson rd","ADDRESS2":"","C_ADDRESS1":"2316 wixson rd","C_ADDRESS2":"","C_CITY":"Wynne","C_COUNTRY":"USA","C_EMAIL":"topulley@gmail.com","C_NAME":"Tim Pulley","C_STATE":"AR","C_ZIP":"72396","ShippingAmount":"19.15","CITY":"Wynne","EMAIL":"topulley@gmail.com","ID":"APONLINE","NAME":"Tim Pulley","STATE":"AR","COUNTRY":"USA","ZIP":"72396","MEMO":"","DESCR":"BigCommerce Order - AP2267 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL44221","M_QUAN_VIS":1,"UNIT":"45.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"APPH0044179","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"137.12","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 11th of September 2026 06:47:12 AM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 11th of September 2026 06:47:19 AM] create_ebms_invoice() - EBMS API call successful for Invoice: AP2267 [Friday 11th of September 2026 06:47:19 AM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP2267 - Response: {"@odata.context":"http:\/\/localhost:63203\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"53533954-4c46-554e-5038-435442303030","AUTOID":"T9SSFLNUP8CTB000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-117.969999999999998863131622783839702606201171875,"BAL_CUST_X":-117.969999999999998863131622783839702606201171875,"BALANCE":-117.969999999999998863131622783839702606201171875,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":0,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":137.1200000000000045474735088646411895751953125,"TOTAL_S_SO":117.969999999999998863131622783839702606201171875,"TOTAL_SO":137.1200000000000045474735088646411895751953125,"TOTAL_W":0,"TTLPROCPMT":137.1200000000000045474735088646411895751953125,"TOTAL":19.14999999999999857891452847979962825775146484375,"FREIGHT":19.14999999999999857891452847979962825775146484375,"HANDLING":0,"SHIPPING":19.14999999999999857891452847979962825775146484375,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"2316 wixson rd","ADDRESS2":"","C_EMAIL":"topulley@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-09-11T00:00:00Z","CHECK_NO":" APBC","CITY":"Wynne","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-09-11T00:00:00Z","E_DATE":"2026-09-11T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"topulley@gmail.com","IADDRESS":"2316 wixson rd , Wynne, AR 72396","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-09-11T00:00:00Z","INVOICE":"AP2267","MAN_FREIGH":true,"MAN_TAX":false,"NAME":"Tim Pulley","PHONE":"","PROCESS":"Default","STATE":"AR","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"72396","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"2316 wixson rd","C_ADDRESS2":"","C_CITY":"Wynne","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Tim Pulley","C_STATE":"AR","C_ZIP":"72396","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP2267 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-09-11T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 11th of September 2026 06:47:19 AM] create_ebms_invoice() - END - Invoice: AP2267 [Friday 11th of September 2026 06:47:19 AM] Invoice AP2267 created successfully [Friday 11th of September 2026 06:47:19 AM] ORDER WEBHOOK COMPLETED - Order ID: 2267 | Invoice: AP2267 [Friday 11th of September 2026 06:48:17 AM] ORDER WEBHOOK STARTED - Order ID: 2267 [Friday 11th of September 2026 06:48:17 AM] Fetching customer data for Order ID: 2267 [Friday 11th of September 2026 06:48:17 AM] get_order_customer_data() - START - Order ID: 2267 [Friday 11th of September 2026 06:48:17 AM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2267 [Friday 11th of September 2026 06:48:17 AM] get_order_customer_data() - BigCommerce API call successful for Order ID: 2267 [Friday 11th of September 2026 06:48:17 AM] get_order_customer_data() - Parsing order response for Order ID: 2267 [Friday 11th of September 2026 06:48:17 AM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Tim Pulley | Email: topulley@gmail.com | Total: 137.1200 | Shipping: 19.15 [Friday 11th of September 2026 06:48:17 AM] get_order_customer_data() - END - Order ID: 2267 [Friday 11th of September 2026 06:48:17 AM] Customer data received: {"id":0,"email":"topulley@gmail.com","address_1":"2316 wixson rd","address_2":"","city":"Wynne","state":"AR","country":"USA","zip":"72396","f_name":"Tim","l_name":"Pulley","contact_5":"topulley@gmail.com","contact_1":"8705882119","contact_4":"Tim Pulley"} [Friday 11th of September 2026 06:48:17 AM] Fetching shipping info for Order ID: 2267 [Friday 11th of September 2026 06:48:17 AM] get_order_shipping_info() - START - Order ID: 2267 [Friday 11th of September 2026 06:48:17 AM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/2267/shipping_addresses [Friday 11th of September 2026 06:48:18 AM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 2267 [Friday 11th of September 2026 06:48:18 AM] get_order_shipping_info() - Shipping address retrieved for Order ID: 2267 | Name: Tim Pulley | Address: 2316 wixson rd, Wynne, Arkansas, 72396 [Friday 11th of September 2026 06:48:18 AM] get_order_shipping_info() - END - Order ID: 2267 [Friday 11th of September 2026 06:48:18 AM] Shipping info received: {"id":2166,"order_id":2267,"first_name":"Tim","last_name":"Pulley","company":"Pulley Plumbing","street_1":"2316 wixson rd","street_2":"","city":"Wynne","zip":"72396","country":"United States","country_iso2":"US","state":"Arkansas","email":"topulley@gmail.com","phone":"8705882119","items_total":3,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"19.1500","cost_ex_tax":"19.1500","cost_inc_tax":"19.1500","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\/2267\/shipping_addresses\/2166\/shipping_quotes","resource":"\/orders\/2267\/shipping_addresses\/2166\/shipping_quotes"},"form_fields":[]} [Friday 11th of September 2026 06:48:18 AM] Resolved Customer ID: APONLINE [Friday 11th of September 2026 06:48:18 AM] Building order object for Invoice: AP2267 [Friday 11th of September 2026 06:48:18 AM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP2267","ADDRESS1":"2316 wixson rd","ADDRESS2":"","C_ADDRESS1":"2316 wixson rd","C_ADDRESS2":"","C_CITY":"Wynne","C_COUNTRY":"USA","C_EMAIL":"topulley@gmail.com","C_NAME":"Tim Pulley","C_STATE":"AR","C_ZIP":"72396","ShippingAmount":"19.15","CITY":"Wynne","EMAIL":"topulley@gmail.com","ID":"APONLINE","NAME":"Tim Pulley","STATE":"AR","COUNTRY":"USA","ZIP":"72396","MEMO":"","DESCR":"BigCommerce Order - AP2267 - Customer APONLINE"} [Friday 11th of September 2026 06:48:18 AM] Guest checkout detected (APONLINE) - skipping customer sync [Friday 11th of September 2026 06:48:18 AM] Fetching products from BigCommerce for Order ID: 2267 [Friday 11th of September 2026 06:48:18 AM] BigCommerce API call successful for Order ID: 2267 [Friday 11th of September 2026 06:48:18 AM] Products received: 2 item(s) [Friday 11th of September 2026 06:48:18 AM] Processing product SKU: ALL44221 | Qty: 1 | Price: 45.9900 [Friday 11th of September 2026 06:48:18 AM] get_mpn() - START - Product ID: 85834 [Friday 11th of September 2026 06:48:18 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/85834 [Friday 11th of September 2026 06:48:18 AM] get_mpn() - BigCommerce API call successful for Product ID: 85834 [Friday 11th of September 2026 06:48:18 AM] get_mpn() - WARNING - MPN is empty for Product ID: 85834 [Friday 11th of September 2026 06:48:18 AM] get_mpn() - END - Product ID: 85834 | MPN: [Friday 11th of September 2026 06:48:18 AM] check_for_ebms_product() - START - SKU: ALL44221 [Friday 11th of September 2026 06:48:18 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27ALL44221%27 [Friday 11th of September 2026 06:48:18 AM] check_for_ebms_product() - EBMS API call successful for SKU: ALL44221 [Friday 11th of September 2026 06:48:18 AM] check_for_ebms_product() - SKU: ALL44221 found in EBMS [Friday 11th of September 2026 06:48:18 AM] check_for_ebms_product() - END - SKU: ALL44221 | Found: true [Friday 11th of September 2026 06:48:18 AM] SKU ALL44221 found in EBMS - checking prices [Friday 11th of September 2026 06:48:18 AM] obtain_current_prices() - START - SKU: ALL44221 [Friday 11th of September 2026 06:48:18 AM] obtain_current_prices() - Checking Motorstate for SKU: ALL44221 [Friday 11th of September 2026 06:48:18 AM] check_for_ms_product() - START - SKU: ALL44221 [Friday 11th of September 2026 06:48:18 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL44221 [Friday 11th of September 2026 06:48:18 AM] check_for_ms_product() - Motorstate API call successful for SKU: ALL44221 [Friday 11th of September 2026 06:48:18 AM] check_for_ms_product() - SKU: ALL44221 found in Motorstate [Friday 11th of September 2026 06:48:18 AM] check_for_ms_product() - END - SKU: ALL44221 | Found: true [Friday 11th of September 2026 06:48:18 AM] obtain_current_prices() - SKU: ALL44221 found in Motorstate - Fetching prices [Friday 11th of September 2026 06:48:18 AM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: ALL44221 - URL: https://api.motorstate.com/api/Product?partNumbers=ALL44221 [Friday 11th of September 2026 06:48:19 AM] obtain_current_prices() - Motorstate prices retrieved for SKU: ALL44221 - Base: 45.99 | Cost: 31.95 [Friday 11th of September 2026 06:48:19 AM] obtain_current_prices() - Returning Motorstate prices for SKU: ALL44221 - Base: 45.99 | Cost: 31.95 [Friday 11th of September 2026 06:48:19 AM] obtain_current_prices() - END - SKU: ALL44221 [Friday 11th of September 2026 06:48:19 AM] SKU ALL44221 has existing EBMS prices - syncing BigCommerce price back (cost: 31.95, base: 45.99) [Friday 11th of September 2026 06:48:19 AM] update_product_price() - START - Product ID: 85834 | Base: 45.99 | Cost: 31.95 [Friday 11th of September 2026 06:48:19 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/85834 [Friday 11th of September 2026 06:48:19 AM] update_product_price() - PUT payload: {"price":45.99000000000000198951966012828052043914794921875,"cost_price":31.949999999999999289457264239899814128875732421875} [Friday 11th of September 2026 06:48:19 AM] update_product_price() - Attempt 1 of 6 for Product ID: 85834 [Friday 11th of September 2026 06:48:19 AM] update_product_price() - Price updated successfully for Product ID: 85834 - Base: 45.99 | Cost: 31.95 [Friday 11th of September 2026 06:48:19 AM] update_product_price() - END - Product ID: 85834 | Result: success [Friday 11th of September 2026 06:48:19 AM] BigCommerce price updated for Product ID: 85834 [Friday 11th of September 2026 06:48:19 AM] get_product_inventory() - START - SKU: ALL44221 [Friday 11th of September 2026 06:48:19 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=ALL44221 [Friday 11th of September 2026 06:48:19 AM] get_product_inventory() - Motorstate API call successful for SKU: ALL44221 [Friday 11th of September 2026 06:48:19 AM] get_product_inventory() - Stock found for SKU: ALL44221 - Quantity: 83 | Running Total: 83 [Friday 11th of September 2026 06:48:19 AM] get_product_inventory() - END - SKU: ALL44221 | Total: 83 [Friday 11th of September 2026 06:48:19 AM] get_cf_id() - START - Product ID: 85834 [Friday 11th of September 2026 06:48:19 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/85834/custom-fields [Friday 11th of September 2026 06:48:19 AM] get_cf_id() - BigCommerce API call successful for Product ID: 85834 [Friday 11th of September 2026 06:48:19 AM] get_cf_id() - Custom field found for Product ID: 85834 | Field: online_stock_level | CF ID: 85724 [Friday 11th of September 2026 06:48:19 AM] get_cf_id() - END - Product ID: 85834 | CF ID: 85724 [Friday 11th of September 2026 06:48:19 AM] Updating inventory for SKU ALL44221 - stock: 83, CF ID: 85724 [Friday 11th of September 2026 06:48:19 AM] update_product_inventory() - START - Product ID: 85834 | Stock: 83 | CF ID: 85724 [Friday 11th of September 2026 06:48:19 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/85834/custom-fields/85724 [Friday 11th of September 2026 06:48:19 AM] update_product_inventory() - Inventory updated successfully for Product ID: 85834 | Stock: 83 [Friday 11th of September 2026 06:48:19 AM] update_product_inventory() - END - Product ID: 85834 | Result: success [Friday 11th of September 2026 06:48:19 AM] Inventory updated for SKU: ALL44221 [Friday 11th of September 2026 06:48:19 AM] Processing product SKU: APPH0044179 | Qty: 2 | Price: 35.9900 [Friday 11th of September 2026 06:48:19 AM] get_mpn() - START - Product ID: 87398 [Friday 11th of September 2026 06:48:19 AM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87398 [Friday 11th of September 2026 06:48:20 AM] get_mpn() - BigCommerce API call successful for Product ID: 87398 [Friday 11th of September 2026 06:48:20 AM] get_mpn() - WARNING - MPN is empty for Product ID: 87398 [Friday 11th of September 2026 06:48:20 AM] get_mpn() - END - Product ID: 87398 | MPN: [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPH0044179%27 [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - SKU: APPH0044179 found in EBMS [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - END - SKU: APPH0044179 | Found: true [Friday 11th of September 2026 06:48:20 AM] SKU APPH0044179 found in EBMS - checking prices [Friday 11th of September 2026 06:48:20 AM] obtain_current_prices() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] obtain_current_prices() - Checking Motorstate for SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ms_product() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ms_product() - Motorstate API call successful for SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ms_product() - SKU: APPH0044179 not found in Motorstate [Friday 11th of September 2026 06:48:20 AM] check_for_ms_product() - END - SKU: APPH0044179 | Found: false [Friday 11th of September 2026 06:48:20 AM] obtain_current_prices() - SKU: APPH0044179 not found in Motorstate - Skipping to EBMS [Friday 11th of September 2026 06:48:20 AM] obtain_current_prices() - Checking EBMS for SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPH0044179%27 [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - EBMS API call successful for SKU: APPH0044179 [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - SKU: APPH0044179 found in EBMS [Friday 11th of September 2026 06:48:20 AM] check_for_ebms_product() - END - SKU: APPH0044179 | Found: true [Friday 11th of September 2026 06:48:20 AM] obtain_current_prices() - SKU: APPH0044179 found in EBMS - Fetching prices [Friday 11th of September 2026 06:48:20 AM] obtain_current_prices() - EBMS API call attempt 1 for SKU: APPH0044179 - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27APPH0044179%27 [Friday 11th of September 2026 06:48:21 AM] obtain_current_prices() - EBMS prices retrieved for SKU: APPH0044179 - Base: 35.99 | Cost: 24.64 [Friday 11th of September 2026 06:48:21 AM] obtain_current_prices() - END - SKU: APPH0044179 | Final prices - Base: 35.99 | Cost: 24.64 [Friday 11th of September 2026 06:48:21 AM] SKU APPH0044179 has existing EBMS prices - syncing BigCommerce price back (cost: 24.64, base: 35.99) [Friday 11th of September 2026 06:48:21 AM] update_product_price() - START - Product ID: 87398 | Base: 35.99 | Cost: 24.64 [Friday 11th of September 2026 06:48:21 AM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87398 [Friday 11th of September 2026 06:48:21 AM] update_product_price() - PUT payload: {"price":35.99000000000000198951966012828052043914794921875,"cost_price":24.6400000000000005684341886080801486968994140625} [Friday 11th of September 2026 06:48:21 AM] update_product_price() - Attempt 1 of 6 for Product ID: 87398 [Friday 11th of September 2026 06:48:21 AM] update_product_price() - Price updated successfully for Product ID: 87398 - Base: 35.99 | Cost: 24.64 [Friday 11th of September 2026 06:48:21 AM] update_product_price() - END - Product ID: 87398 | Result: success [Friday 11th of September 2026 06:48:21 AM] BigCommerce price updated for Product ID: 87398 [Friday 11th of September 2026 06:48:21 AM] get_product_inventory() - START - SKU: APPH0044179 [Friday 11th of September 2026 06:48:21 AM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=APPH0044179 [Friday 11th of September 2026 06:48:21 AM] get_product_inventory() - Motorstate API call successful for SKU: APPH0044179 [Friday 11th of September 2026 06:48:21 AM] get_product_inventory() - SKU: APPH0044179 not found in Motorstate response item [Friday 11th of September 2026 06:48:21 AM] get_product_inventory() - END - SKU: APPH0044179 | Total: 0 [Friday 11th of September 2026 06:48:21 AM] get_cf_id() - START - Product ID: 87398 [Friday 11th of September 2026 06:48:21 AM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87398/custom-fields [Friday 11th of September 2026 06:48:21 AM] get_cf_id() - BigCommerce API call successful for Product ID: 87398 [Friday 11th of September 2026 06:48:21 AM] get_cf_id() - Custom field found for Product ID: 87398 | Field: online_stock_level | CF ID: 87269 [Friday 11th of September 2026 06:48:21 AM] get_cf_id() - END - Product ID: 87398 | CF ID: 87269 [Friday 11th of September 2026 06:48:21 AM] Updating inventory for SKU APPH0044179 - stock: 0, CF ID: 87269 [Friday 11th of September 2026 06:48:21 AM] update_product_inventory() - START - Product ID: 87398 | Stock: 0 | CF ID: 87269 [Friday 11th of September 2026 06:48:21 AM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/87398/custom-fields/87269 [Friday 11th of September 2026 06:48:21 AM] update_product_inventory() - Inventory updated successfully for Product ID: 87398 | Stock: 0 [Friday 11th of September 2026 06:48:21 AM] update_product_inventory() - END - Product ID: 87398 | Result: success [Friday 11th of September 2026 06:48:21 AM] Inventory updated for SKU: APPH0044179 [Friday 11th of September 2026 06:48:21 AM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"ALL44221","M_QUAN_VIS":1,"UNIT":"45.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"APPH0044179","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}] [Friday 11th of September 2026 06:48:21 AM] Building payment record - Total: 137.1200 [Friday 11th of September 2026 06:48:21 AM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP2267","ADDRESS1":"2316 wixson rd","ADDRESS2":"","C_ADDRESS1":"2316 wixson rd","C_ADDRESS2":"","C_CITY":"Wynne","C_COUNTRY":"USA","C_EMAIL":"topulley@gmail.com","C_NAME":"Tim Pulley","C_STATE":"AR","C_ZIP":"72396","ShippingAmount":"19.15","CITY":"Wynne","EMAIL":"topulley@gmail.com","ID":"APONLINE","NAME":"Tim Pulley","STATE":"AR","COUNTRY":"USA","ZIP":"72396","MEMO":"","DESCR":"BigCommerce Order - AP2267 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL44221","M_QUAN_VIS":1,"UNIT":"45.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"APPH0044179","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"137.12","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 11th of September 2026 06:48:21 AM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP2267 [Friday 11th of September 2026 06:48:21 AM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2267%27 [Friday 11th of September 2026 06:48:22 AM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP2267 [Friday 11th of September 2026 06:48:22 AM] check_if_invoice_exists_in_ebms() - Invoice ID: AP2267 found in EBMS [Friday 11th of September 2026 06:48:22 AM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP2267 | Found: true [Friday 11th of September 2026 06:48:22 AM] Invoice AP2267 already exists in EBMS - patching [Friday 11th of September 2026 06:48:22 AM] patch_ebms_invoice() - START - Invoice: AP2267 [Friday 11th of September 2026 06:48:22 AM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP2267","ADDRESS1":"2316 wixson rd","ADDRESS2":"","C_ADDRESS1":"2316 wixson rd","C_ADDRESS2":"","C_CITY":"Wynne","C_COUNTRY":"USA","C_EMAIL":"topulley@gmail.com","C_NAME":"Tim Pulley","C_STATE":"AR","C_ZIP":"72396","ShippingAmount":"19.15","CITY":"Wynne","EMAIL":"topulley@gmail.com","ID":"APONLINE","NAME":"Tim Pulley","STATE":"AR","COUNTRY":"USA","ZIP":"72396","MEMO":"","DESCR":"BigCommerce Order - AP2267 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"ALL44221","M_QUAN_VIS":1,"UNIT":"45.99","UNIT_MEAS":"EA"},{"ID":"APONLINE","INVEN":"APPH0044179","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"137.12","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 11th of September 2026 06:48:22 AM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP2267%27 [Friday 11th of September 2026 06:48:22 AM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP2267 [Friday 11th of September 2026 06:48:22 AM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP2267 [Friday 11th of September 2026 06:48:22 AM] patch_ebms_invoice() - END - Invoice: AP2267 [Friday 11th of September 2026 06:48:22 AM] Invoice AP2267 patched successfully [Friday 11th of September 2026 06:48:22 AM] ORDER WEBHOOK COMPLETED - Order ID: 2267 | Invoice: AP2267