[Tuesday 16th of June 2026 02:40:43 PM] ORDER WEBHOOK STARTED - Order ID: 1932 [Tuesday 16th of June 2026 02:40:43 PM] Fetching customer data for Order ID: 1932 [Tuesday 16th of June 2026 02:40:43 PM] get_order_customer_data() - START - Order ID: 1932 [Tuesday 16th of June 2026 02:40:43 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1932 [Tuesday 16th of June 2026 02:40:43 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1932 [Tuesday 16th of June 2026 02:40:43 PM] get_order_customer_data() - Parsing order response for Order ID: 1932 [Tuesday 16th of June 2026 02:40:43 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Cj Jorae | Email: cj_jorae@hotmail.com | Total: 100.1300 | Shipping: 23.83 [Tuesday 16th of June 2026 02:40:43 PM] get_order_customer_data() - END - Order ID: 1932 [Tuesday 16th of June 2026 02:40:43 PM] Customer data received: {"id":0,"email":"cj_jorae@hotmail.com","address_1":"1390 W Hyde Rd","address_2":"","city":"Saint Johns","state":"MI","country":"USA","zip":"48879","f_name":"Cj","l_name":"Jorae","contact_5":"cj_jorae@hotmail.com","contact_1":"9896409332","contact_4":"Cj Jorae"} [Tuesday 16th of June 2026 02:40:43 PM] Fetching shipping info for Order ID: 1932 [Tuesday 16th of June 2026 02:40:43 PM] get_order_shipping_info() - START - Order ID: 1932 [Tuesday 16th of June 2026 02:40:43 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1932/shipping_addresses [Tuesday 16th of June 2026 02:40:44 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1932 [Tuesday 16th of June 2026 02:40:44 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1932 | Name: Cj Jorae | Address: 1390 W Hyde Rd, Saint Johns, Michigan, 48879 [Tuesday 16th of June 2026 02:40:44 PM] get_order_shipping_info() - END - Order ID: 1932 [Tuesday 16th of June 2026 02:40:44 PM] Shipping info received: {"id":1831,"order_id":1932,"first_name":"Cj","last_name":"Jorae","company":"","street_1":"1390 W Hyde Rd","street_2":"","city":"Saint Johns","zip":"48879","country":"United States","country_iso2":"US","state":"Michigan","email":"cj_jorae@hotmail.com","phone":"9896409332","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"23.8300","cost_ex_tax":"23.8300","cost_inc_tax":"23.8300","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1932\/shipping_addresses\/1831\/shipping_quotes","resource":"\/orders\/1932\/shipping_addresses\/1831\/shipping_quotes"},"form_fields":[]} [Tuesday 16th of June 2026 02:40:44 PM] Resolved Customer ID: APONLINE [Tuesday 16th of June 2026 02:40:44 PM] Building order object for Invoice: AP1932 [Tuesday 16th of June 2026 02:40:44 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1932","ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","C_ADDRESS1":"1390 W Hyde Rd","C_ADDRESS2":"","C_CITY":"Saint Johns","C_COUNTRY":"USA","C_EMAIL":"cj_jorae@hotmail.com","C_NAME":"Cj Jorae","C_STATE":"MI","C_ZIP":"48879","ShippingAmount":"23.83","CITY":"Saint Johns","EMAIL":"cj_jorae@hotmail.com","ID":"APONLINE","NAME":"Cj Jorae","STATE":"MI","COUNTRY":"USA","ZIP":"48879","MEMO":"","DESCR":"BigCommerce Order - AP1932 - Customer APONLINE"} [Tuesday 16th of June 2026 02:40:44 PM] Guest checkout detected (APONLINE) - skipping customer sync [Tuesday 16th of June 2026 02:40:44 PM] Fetching products from BigCommerce for Order ID: 1932 [Tuesday 16th of June 2026 02:40:44 PM] BigCommerce API call successful for Order ID: 1932 [Tuesday 16th of June 2026 02:40:44 PM] Products received: 1 item(s) [Tuesday 16th of June 2026 02:40:44 PM] Processing product SKU: WEHWM446-1 | Qty: 2 | Price: 35.9900 [Tuesday 16th of June 2026 02:40:44 PM] get_mpn() - START - Product ID: 76201 [Tuesday 16th of June 2026 02:40:44 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/76201 [Tuesday 16th of June 2026 02:40:44 PM] get_mpn() - BigCommerce API call successful for Product ID: 76201 [Tuesday 16th of June 2026 02:40:44 PM] get_mpn() - WARNING - MPN is empty for Product ID: 76201 [Tuesday 16th of June 2026 02:40:44 PM] get_mpn() - END - Product ID: 76201 | MPN: [Tuesday 16th of June 2026 02:40:44 PM] check_for_ebms_product() - START - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:44 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WEHWM446-1%27 [Tuesday 16th of June 2026 02:40:45 PM] check_for_ebms_product() - EBMS API call successful for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:45 PM] check_for_ebms_product() - SKU: WEHWM446-1 found in EBMS [Tuesday 16th of June 2026 02:40:45 PM] check_for_ebms_product() - END - SKU: WEHWM446-1 | Found: true [Tuesday 16th of June 2026 02:40:45 PM] SKU WEHWM446-1 found in EBMS - checking prices [Tuesday 16th of June 2026 02:40:45 PM] obtain_current_prices() - START - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:45 PM] obtain_current_prices() - Checking Motorstate for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:45 PM] check_for_ms_product() - START - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:45 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM446-1 [Tuesday 16th of June 2026 02:40:45 PM] check_for_ms_product() - Motorstate API call successful for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:45 PM] check_for_ms_product() - SKU: WEHWM446-1 found in Motorstate [Tuesday 16th of June 2026 02:40:45 PM] check_for_ms_product() - END - SKU: WEHWM446-1 | Found: true [Tuesday 16th of June 2026 02:40:45 PM] obtain_current_prices() - SKU: WEHWM446-1 found in Motorstate - Fetching prices [Tuesday 16th of June 2026 02:40:45 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WEHWM446-1 - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM446-1 [Tuesday 16th of June 2026 02:40:45 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WEHWM446-1 - Base: 35.99 | Cost: 30.43 [Tuesday 16th of June 2026 02:40:45 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WEHWM446-1 - Base: 35.99 | Cost: 30.43 [Tuesday 16th of June 2026 02:40:45 PM] obtain_current_prices() - END - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:45 PM] SKU WEHWM446-1 has existing EBMS prices - syncing BigCommerce price back (cost: 30.43, base: 35.99) [Tuesday 16th of June 2026 02:40:45 PM] update_product_price() - START - Product ID: 76201 | Base: 35.99 | Cost: 30.43 [Tuesday 16th of June 2026 02:40:45 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/76201 [Tuesday 16th of June 2026 02:40:45 PM] update_product_price() - PUT payload: {"price":35.99000000000000198951966012828052043914794921875,"cost_price":30.42999999999999971578290569595992565155029296875} [Tuesday 16th of June 2026 02:40:45 PM] update_product_price() - Attempt 1 of 6 for Product ID: 76201 [Tuesday 16th of June 2026 02:40:46 PM] update_product_price() - Price updated successfully for Product ID: 76201 - Base: 35.99 | Cost: 30.43 [Tuesday 16th of June 2026 02:40:46 PM] update_product_price() - END - Product ID: 76201 | Result: success [Tuesday 16th of June 2026 02:40:46 PM] BigCommerce price updated for Product ID: 76201 [Tuesday 16th of June 2026 02:40:46 PM] get_product_inventory() - START - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:46 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM446-1 [Tuesday 16th of June 2026 02:40:46 PM] get_product_inventory() - Motorstate API call successful for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:46 PM] get_product_inventory() - Stock found for SKU: WEHWM446-1 - Quantity: 3 | Running Total: 3 [Tuesday 16th of June 2026 02:40:46 PM] get_product_inventory() - END - SKU: WEHWM446-1 | Total: 3 [Tuesday 16th of June 2026 02:40:46 PM] get_cf_id() - START - Product ID: 76201 [Tuesday 16th of June 2026 02:40:46 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/76201/custom-fields [Tuesday 16th of June 2026 02:40:46 PM] get_cf_id() - BigCommerce API call successful for Product ID: 76201 [Tuesday 16th of June 2026 02:40:46 PM] get_cf_id() - Custom field found for Product ID: 76201 | Field: online_stock_level | CF ID: 76091 [Tuesday 16th of June 2026 02:40:46 PM] get_cf_id() - END - Product ID: 76201 | CF ID: 76091 [Tuesday 16th of June 2026 02:40:46 PM] Updating inventory for SKU WEHWM446-1 - stock: 3, CF ID: 76091 [Tuesday 16th of June 2026 02:40:46 PM] update_product_inventory() - START - Product ID: 76201 | Stock: 3 | CF ID: 76091 [Tuesday 16th of June 2026 02:40:46 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/76201/custom-fields/76091 [Tuesday 16th of June 2026 02:40:46 PM] update_product_inventory() - Inventory updated successfully for Product ID: 76201 | Stock: 3 [Tuesday 16th of June 2026 02:40:46 PM] update_product_inventory() - END - Product ID: 76201 | Result: success [Tuesday 16th of June 2026 02:40:46 PM] Inventory updated for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:40:46 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"WEHWM446-1","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}] [Tuesday 16th of June 2026 02:40:46 PM] Building payment record - Total: 100.1300 [Tuesday 16th of June 2026 02:40:46 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1932","ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","C_ADDRESS1":"1390 W Hyde Rd","C_ADDRESS2":"","C_CITY":"Saint Johns","C_COUNTRY":"USA","C_EMAIL":"cj_jorae@hotmail.com","C_NAME":"Cj Jorae","C_STATE":"MI","C_ZIP":"48879","ShippingAmount":"23.83","CITY":"Saint Johns","EMAIL":"cj_jorae@hotmail.com","ID":"APONLINE","NAME":"Cj Jorae","STATE":"MI","COUNTRY":"USA","ZIP":"48879","MEMO":"","DESCR":"BigCommerce Order - AP1932 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"WEHWM446-1","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"100.13","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 16th of June 2026 02:40:46 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1932 [Tuesday 16th of June 2026 02:40:46 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1932%27 [Tuesday 16th of June 2026 02:40:47 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1932 [Tuesday 16th of June 2026 02:40:47 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1932 not found in EBMS [Tuesday 16th of June 2026 02:40:47 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1932 | Found: false [Tuesday 16th of June 2026 02:40:47 PM] Invoice AP1932 does not exist in EBMS - creating [Tuesday 16th of June 2026 02:40:47 PM] create_ebms_invoice() - START - Invoice: AP1932 [Tuesday 16th of June 2026 02:40:47 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1932","ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","C_ADDRESS1":"1390 W Hyde Rd","C_ADDRESS2":"","C_CITY":"Saint Johns","C_COUNTRY":"USA","C_EMAIL":"cj_jorae@hotmail.com","C_NAME":"Cj Jorae","C_STATE":"MI","C_ZIP":"48879","ShippingAmount":"23.83","CITY":"Saint Johns","EMAIL":"cj_jorae@hotmail.com","ID":"APONLINE","NAME":"Cj Jorae","STATE":"MI","COUNTRY":"USA","ZIP":"48879","MEMO":"","DESCR":"BigCommerce Order - AP1932 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"WEHWM446-1","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"100.13","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 16th of June 2026 02:40:47 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Tuesday 16th of June 2026 02:40:54 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1932 [Tuesday 16th of June 2026 02:40:54 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1932 - Response: {"@odata.context":"http:\/\/localhost:62827\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"4133464f-454f-4746-4747-514636303030","AUTOID":"OF3AOEFGGGQF6000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-76.2999999999999971578290569595992565155029296875,"BAL_CUST_X":-76.2999999999999971578290569595992565155029296875,"BALANCE":-76.2999999999999971578290569595992565155029296875,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":4.32000000000000028421709430404007434844970703125,"TAX":0,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":100.1299999999999954525264911353588104248046875,"TOTAL_S_SO":71.9800000000000039790393202565610408782958984375,"TOTAL_SO":100.1299999999999954525264911353588104248046875,"TOTAL_W":0,"TTLPROCPMT":100.1299999999999954525264911353588104248046875,"TOTAL":23.8299999999999982946974341757595539093017578125,"FREIGHT":23.8299999999999982946974341757595539093017578125,"HANDLING":0,"SHIPPING":23.8299999999999982946974341757595539093017578125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","C_EMAIL":"cj_jorae@hotmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-16T00:00:00Z","CHECK_NO":" APBC","CITY":"Saint Johns","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-16T00:00:00Z","E_DATE":"2026-06-16T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"cj_jorae@hotmail.com","IADDRESS":"1390 W Hyde Rd , Saint Johns, MI 48879","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-16T00:00:00Z","INVOICE":"AP1932","MAN_TAX":true,"NAME":"Cj Jorae","PHONE":"","PROCESS":"Default","STATE":"MI","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"48879","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"1390 W Hyde Rd","C_ADDRESS2":"","C_CITY":"Saint Johns","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Cj Jorae","C_STATE":"MI","C_ZIP":"48879","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1932 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-16T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Tuesday 16th of June 2026 02:40:54 PM] create_ebms_invoice() - END - Invoice: AP1932 [Tuesday 16th of June 2026 02:40:54 PM] Invoice AP1932 created successfully [Tuesday 16th of June 2026 02:40:54 PM] ORDER WEBHOOK COMPLETED - Order ID: 1932 | Invoice: AP1932 [Tuesday 16th of June 2026 02:41:09 PM] add_customer() - START - Customer ID: 357 | Name: [Tuesday 16th of June 2026 02:41:09 PM] add_customer() - Customer payload: {"id":357,"address_count":1,"addresses":[{"id":433,"address1":"1390 W Hyde Rd","address2":"","address_type":"residential","city":"Saint Johns","company":"","country":"United States","country_code":"US","customer_id":357,"first_name":"Cj","last_name":"Jorae","phone":"9896409332","postal_code":"48879","state_or_province":"Michigan","form_fields":[]}],"authentication":{"force_password_reset":false},"company":"","customer_group_id":0,"email":"cj_jorae@hotmail.com","first_name":"Cj","last_name":"Jorae","notes":"","phone":"9896409332","registration_ip_address":"146.75.128.239","tax_exempt_category":"","date_created":"2026-06-16T19:41:01Z","date_modified":"2026-06-16T19:41:01Z","form_fields":[],"accepts_product_review_abandoned_cart_emails":false,"origin_channel_id":1,"channel_ids":null,"consent":{"allow":["functional","analytics","targeting"],"deny":[]}} [Tuesday 16th of June 2026 02:41:09 PM] add_customer() - Customer fields parsed - ID: AP357 | Address: , , | Email: [Tuesday 16th of June 2026 02:41:09 PM] add_customer() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST [Tuesday 16th of June 2026 02:41:09 PM] add_customer() - POST payload: {"TREE_ID":"38","ADDRESS1":null,"ADDRESS2":"","CITY":null,"CONTACT_5":null,"CONTACT_1":"","CONTACT_4":null,"COUNTRY":null,"F_NAME":null,"ID":"AP357","L_NAME":null,"STATE":null,"ZIP":null} [Tuesday 16th of June 2026 02:41:10 PM] add_customer() - EBMS API call successful for Customer ID: AP357 [Tuesday 16th of June 2026 02:41:10 PM] add_customer() - Customer created successfully in EBMS - ID: AP357 - Response: {"@odata.context":"http:\/\/localhost:62827\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"43324137-324c-474e-4747-514636303030","AUTOID":"7A2CL2NGGGQF6000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"","ADDRESS1":null,"ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":null,"COUNTRY":null,"CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-06-16T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"","EMAIL_LIST":false,"F_NAME":null,"FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP357","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":null,"MAIL_LIST":false,"MEMO":"","NAMESTR":"()","OUT_CITY":false,"PHONE":"","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":null,"TREE_ID":" 38","TYPE":"WEBCUST","ZIP":null,"CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"","CONTACT_2":"","CONTACT_3":"","CONTACT_4":null,"CONTACT_5":null,"EXTERNALID":""} [Tuesday 16th of June 2026 02:41:10 PM] add_customer() - END - Customer ID: AP357 [Tuesday 16th of June 2026 02:41:53 PM] ORDER WEBHOOK STARTED - Order ID: 1932 [Tuesday 16th of June 2026 02:41:53 PM] Fetching customer data for Order ID: 1932 [Tuesday 16th of June 2026 02:41:53 PM] get_order_customer_data() - START - Order ID: 1932 [Tuesday 16th of June 2026 02:41:53 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1932 [Tuesday 16th of June 2026 02:41:54 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1932 [Tuesday 16th of June 2026 02:41:54 PM] get_order_customer_data() - Parsing order response for Order ID: 1932 [Tuesday 16th of June 2026 02:41:54 PM] get_order_customer_data() - Customer object built - Customer ID: 357 | Name: Cj Jorae | Email: cj_jorae@hotmail.com | Total: 100.1300 | Shipping: 23.83 [Tuesday 16th of June 2026 02:41:54 PM] get_order_customer_data() - END - Order ID: 1932 [Tuesday 16th of June 2026 02:41:54 PM] Customer data received: {"id":357,"email":"cj_jorae@hotmail.com","address_1":"1390 W Hyde Rd","address_2":"","city":"Saint Johns","state":"MI","country":"USA","zip":"48879","f_name":"Cj","l_name":"Jorae","contact_5":"cj_jorae@hotmail.com","contact_1":"9896409332","contact_4":"Cj Jorae"} [Tuesday 16th of June 2026 02:41:54 PM] Fetching shipping info for Order ID: 1932 [Tuesday 16th of June 2026 02:41:54 PM] get_order_shipping_info() - START - Order ID: 1932 [Tuesday 16th of June 2026 02:41:54 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1932/shipping_addresses [Tuesday 16th of June 2026 02:41:54 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1932 [Tuesday 16th of June 2026 02:41:54 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1932 | Name: Cj Jorae | Address: 1390 W Hyde Rd, Saint Johns, Michigan, 48879 [Tuesday 16th of June 2026 02:41:54 PM] get_order_shipping_info() - END - Order ID: 1932 [Tuesday 16th of June 2026 02:41:54 PM] Shipping info received: {"id":1831,"order_id":1932,"first_name":"Cj","last_name":"Jorae","company":"","street_1":"1390 W Hyde Rd","street_2":"","city":"Saint Johns","zip":"48879","country":"United States","country_iso2":"US","state":"Michigan","email":"cj_jorae@hotmail.com","phone":"9896409332","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"23.8300","cost_ex_tax":"23.8300","cost_inc_tax":"23.8300","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":1,"shipping_zone_name":"United States","shipping_quotes":{"url":"https:\/\/api.bigcommerce.com\/stores\/caspfzrito\/v2\/orders\/1932\/shipping_addresses\/1831\/shipping_quotes","resource":"\/orders\/1932\/shipping_addresses\/1831\/shipping_quotes"},"form_fields":[]} [Tuesday 16th of June 2026 02:41:54 PM] Resolved Customer ID: AP357 [Tuesday 16th of June 2026 02:41:54 PM] Building order object for Invoice: AP1932 [Tuesday 16th of June 2026 02:41:54 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1932","ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","C_ADDRESS1":"1390 W Hyde Rd","C_ADDRESS2":"","C_CITY":"Saint Johns","C_COUNTRY":"USA","C_EMAIL":"cj_jorae@hotmail.com","C_NAME":"Cj Jorae","C_STATE":"MI","C_ZIP":"48879","ShippingAmount":"23.83","CITY":"Saint Johns","EMAIL":"cj_jorae@hotmail.com","ID":"AP357","NAME":"Cj Jorae","STATE":"MI","COUNTRY":"USA","ZIP":"48879","MEMO":"","DESCR":"BigCommerce Order - AP1932 - Customer AP357"} [Tuesday 16th of June 2026 02:41:54 PM] Registered customer detected - checking EBMS for Customer ID: AP357 [Tuesday 16th of June 2026 02:41:54 PM] check_for_customer() - START - Customer ID: 357 [Tuesday 16th of June 2026 02:41:54 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP357%27 [Tuesday 16th of June 2026 02:41:54 PM] check_for_customer() - EBMS API call successful for Customer ID: 357 [Tuesday 16th of June 2026 02:41:54 PM] check_for_customer() - Customer ID: 357 found in EBMS [Tuesday 16th of June 2026 02:41:54 PM] check_for_customer() - END - Customer ID: 357 | Found: true [Tuesday 16th of June 2026 02:41:54 PM] Customer AP357 found in EBMS [Tuesday 16th of June 2026 02:41:54 PM] check_for_empty_info() - START - Customer ID: 357 [Tuesday 16th of June 2026 02:41:54 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP357%27 [Tuesday 16th of June 2026 02:41:55 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 357 [Tuesday 16th of June 2026 02:41:55 PM] check_for_empty_info() - Customer record found for Customer ID: 357 - Checking ADDRESS1 field [Tuesday 16th of June 2026 02:41:55 PM] check_for_empty_info() - ADDRESS1 is empty for Customer ID: 357 - Update needed [Tuesday 16th of June 2026 02:41:55 PM] check_for_empty_info() - END - Customer ID: 357 | Empty Info: true [Tuesday 16th of June 2026 02:41:55 PM] Empty info detected - updating customer record for AP357 [Tuesday 16th of June 2026 02:41:55 PM] update_customer() - START - Customer ID: 357 | Name: Cj Jorae [Tuesday 16th of June 2026 02:41:55 PM] update_customer() - Customer payload: {"id":357,"email":"cj_jorae@hotmail.com","address_1":"1390 W Hyde Rd","address_2":"","city":"Saint Johns","state":"MI","country":"USA","zip":"48879","f_name":"Cj","l_name":"Jorae","contact_5":"cj_jorae@hotmail.com","contact_1":"9896409332","contact_4":"Cj Jorae"} [Tuesday 16th of June 2026 02:41:55 PM] update_customer() - Fetching EBMS autoid for Customer ID: 357 [Tuesday 16th of June 2026 02:41:55 PM] get_customer_autoid() - START - Customer ID: AP357 [Tuesday 16th of June 2026 02:41:55 PM] get_customer_autoid() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP357%27 [Tuesday 16th of June 2026 02:41:55 PM] get_customer_autoid() - EBMS API call successful for Customer ID: AP357 [Tuesday 16th of June 2026 02:41:55 PM] get_customer_autoid() - AUTOID retrieved for Customer ID: AP357 - AUTOID: 7A2CL2NGGGQF6000 [Tuesday 16th of June 2026 02:41:55 PM] get_customer_autoid() - END - Customer ID: AP357 | AUTOID: 7A2CL2NGGGQF6000 [Tuesday 16th of June 2026 02:41:55 PM] update_customer() - EBMS autoid retrieved: 7A2CL2NGGGQF6000 for Customer ID: 357 [Tuesday 16th of June 2026 02:41:55 PM] update_customer() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST('7A2CL2NGGGQF6000') [Tuesday 16th of June 2026 02:41:55 PM] update_customer() - PATCH payload: {"ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","CITY":"Saint Johns","CONTACT_5":"cj_jorae@hotmail.com","CONTACT_1":"9896409332","CONTACT_4":"Cj Jorae","COUNTRY":null,"F_NAME":"Cj","L_NAME":"Jorae","STATE":"MI","ZIP":"48879"} [Tuesday 16th of June 2026 02:41:57 PM] update_customer() - EBMS API call successful for Customer ID: 357 [Tuesday 16th of June 2026 02:41:57 PM] update_customer() - Customer updated successfully in EBMS - Response: {"@odata.context":"http:\/\/localhost:62827\/myebms\/HOO\/OData\/$metadata#ARCUST\/$entity","Guid":"43324137-324c-474e-4747-514636303030","AUTOID":"7A2CL2NGGGQF6000","CRED_LIM":0,"FC_RATE":1.5,"MIN_FC":1,"FULL_NAME":"Cj Jorae","ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","BANK_ACCOU":"","BANK_DESCR":"","BANK_ROUTE":"","CASH":true,"CHARGE":"Due on Receipt","CHARGEDFLT":false,"CHARGEPYMT":true,"CHECK":true,"CITY":"Saint Johns","COUNTRY":"USA","CREDITCARD":true,"DEF_CLI_ID":"","DEF_FOB":"BIGC","DEL_REASON":"","DIRECTIONS":"","DISCOUNT":"(None)","E_DATE":"2026-06-16T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"cj_jorae@hotmail.com","EMAIL_LIST":false,"F_NAME":"Cj","FRGHT_AMT":"Free","FRGHT_TYPE":"1FREE","GPS_ADD1":"","GPS_ADD2":"","GPS_CITY":"","GPS_STATE":"","GPS_ZIP":"","GRACE":"(None)","ID":"AP357","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IDGRACE":"GNONE","IN_LEVEL":"Retail","INACTIVE":false,"L_NAME":"Jorae","MAIL_LIST":false,"MEMO":"","NAMESTR":"(Cj Jorae)","OUT_CITY":false,"PHONE":"(989) 640-9332","SALESMAN":"","SAVINGS":"Checking","SHIP_TO":"","STATE":"MI","TREE_ID":" 38","TYPE":"WEBCUST","ZIP":"48879","CONID_1":"Phone","CONID_2":"Mobile Phone","CONID_3":"Fax","CONID_4":"Contact","CONID_5":"E-Mail","CONTACT_1":"(989) 640-9332","CONTACT_2":"","CONTACT_3":"","CONTACT_4":"Cj Jorae","CONTACT_5":"cj_jorae@hotmail.com","EXTERNALID":""} [Tuesday 16th of June 2026 02:41:57 PM] update_customer() - END - Customer ID: 357 [Tuesday 16th of June 2026 02:41:57 PM] Customer record updated for AP357 [Tuesday 16th of June 2026 02:41:57 PM] check_for_empty_pn() - START - Customer ID: AP357 [Tuesday 16th of June 2026 02:41:57 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP357%27 [Tuesday 16th of June 2026 02:41:57 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP357 [Tuesday 16th of June 2026 02:41:57 PM] check_for_empty_pn() - Customer record found for Customer ID: AP357 - Checking CONTACT_1 field [Tuesday 16th of June 2026 02:41:57 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP357 - Value: (989) 640-9332 - No update needed [Tuesday 16th of June 2026 02:41:57 PM] check_for_empty_pn() - END - Customer ID: AP357 | Empty PN: false [Tuesday 16th of June 2026 02:41:57 PM] Fetching products from BigCommerce for Order ID: 1932 [Tuesday 16th of June 2026 02:41:57 PM] BigCommerce API call successful for Order ID: 1932 [Tuesday 16th of June 2026 02:41:57 PM] Products received: 1 item(s) [Tuesday 16th of June 2026 02:41:57 PM] Processing product SKU: WEHWM446-1 | Qty: 2 | Price: 35.9900 [Tuesday 16th of June 2026 02:41:57 PM] get_mpn() - START - Product ID: 76201 [Tuesday 16th of June 2026 02:41:57 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/76201 [Tuesday 16th of June 2026 02:41:57 PM] get_mpn() - BigCommerce API call successful for Product ID: 76201 [Tuesday 16th of June 2026 02:41:57 PM] get_mpn() - WARNING - MPN is empty for Product ID: 76201 [Tuesday 16th of June 2026 02:41:57 PM] get_mpn() - END - Product ID: 76201 | MPN: [Tuesday 16th of June 2026 02:41:57 PM] check_for_ebms_product() - START - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:57 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27WEHWM446-1%27 [Tuesday 16th of June 2026 02:41:58 PM] check_for_ebms_product() - EBMS API call successful for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:58 PM] check_for_ebms_product() - SKU: WEHWM446-1 found in EBMS [Tuesday 16th of June 2026 02:41:58 PM] check_for_ebms_product() - END - SKU: WEHWM446-1 | Found: true [Tuesday 16th of June 2026 02:41:58 PM] SKU WEHWM446-1 found in EBMS - checking prices [Tuesday 16th of June 2026 02:41:58 PM] obtain_current_prices() - START - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:58 PM] obtain_current_prices() - Checking Motorstate for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:58 PM] check_for_ms_product() - START - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:58 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM446-1 [Tuesday 16th of June 2026 02:41:58 PM] check_for_ms_product() - Motorstate API call successful for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:58 PM] check_for_ms_product() - SKU: WEHWM446-1 found in Motorstate [Tuesday 16th of June 2026 02:41:58 PM] check_for_ms_product() - END - SKU: WEHWM446-1 | Found: true [Tuesday 16th of June 2026 02:41:58 PM] obtain_current_prices() - SKU: WEHWM446-1 found in Motorstate - Fetching prices [Tuesday 16th of June 2026 02:41:58 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: WEHWM446-1 - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM446-1 [Tuesday 16th of June 2026 02:41:58 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: WEHWM446-1 - Base: 35.99 | Cost: 30.43 [Tuesday 16th of June 2026 02:41:58 PM] obtain_current_prices() - Returning Motorstate prices for SKU: WEHWM446-1 - Base: 35.99 | Cost: 30.43 [Tuesday 16th of June 2026 02:41:58 PM] obtain_current_prices() - END - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:58 PM] SKU WEHWM446-1 has existing EBMS prices - syncing BigCommerce price back (cost: 30.43, base: 35.99) [Tuesday 16th of June 2026 02:41:58 PM] update_product_price() - START - Product ID: 76201 | Base: 35.99 | Cost: 30.43 [Tuesday 16th of June 2026 02:41:58 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/76201 [Tuesday 16th of June 2026 02:41:58 PM] update_product_price() - PUT payload: {"price":35.99000000000000198951966012828052043914794921875,"cost_price":30.42999999999999971578290569595992565155029296875} [Tuesday 16th of June 2026 02:41:58 PM] update_product_price() - Attempt 1 of 6 for Product ID: 76201 [Tuesday 16th of June 2026 02:41:59 PM] update_product_price() - Price updated successfully for Product ID: 76201 - Base: 35.99 | Cost: 30.43 [Tuesday 16th of June 2026 02:41:59 PM] update_product_price() - END - Product ID: 76201 | Result: success [Tuesday 16th of June 2026 02:41:59 PM] BigCommerce price updated for Product ID: 76201 [Tuesday 16th of June 2026 02:41:59 PM] get_product_inventory() - START - SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:59 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=WEHWM446-1 [Tuesday 16th of June 2026 02:41:59 PM] get_product_inventory() - Motorstate API call successful for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:59 PM] get_product_inventory() - Stock found for SKU: WEHWM446-1 - Quantity: 3 | Running Total: 3 [Tuesday 16th of June 2026 02:41:59 PM] get_product_inventory() - END - SKU: WEHWM446-1 | Total: 3 [Tuesday 16th of June 2026 02:41:59 PM] get_cf_id() - START - Product ID: 76201 [Tuesday 16th of June 2026 02:41:59 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/76201/custom-fields [Tuesday 16th of June 2026 02:41:59 PM] get_cf_id() - BigCommerce API call successful for Product ID: 76201 [Tuesday 16th of June 2026 02:41:59 PM] get_cf_id() - Custom field found for Product ID: 76201 | Field: online_stock_level | CF ID: 76091 [Tuesday 16th of June 2026 02:41:59 PM] get_cf_id() - END - Product ID: 76201 | CF ID: 76091 [Tuesday 16th of June 2026 02:41:59 PM] Updating inventory for SKU WEHWM446-1 - stock: 3, CF ID: 76091 [Tuesday 16th of June 2026 02:41:59 PM] update_product_inventory() - START - Product ID: 76201 | Stock: 3 | CF ID: 76091 [Tuesday 16th of June 2026 02:41:59 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/76201/custom-fields/76091 [Tuesday 16th of June 2026 02:41:59 PM] update_product_inventory() - Inventory updated successfully for Product ID: 76201 | Stock: 3 [Tuesday 16th of June 2026 02:41:59 PM] update_product_inventory() - END - Product ID: 76201 | Result: success [Tuesday 16th of June 2026 02:41:59 PM] Inventory updated for SKU: WEHWM446-1 [Tuesday 16th of June 2026 02:41:59 PM] All products processed - Order details: [{"ID":"AP357","INVEN":"WEHWM446-1","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}] [Tuesday 16th of June 2026 02:41:59 PM] Building payment record - Total: 100.1300 [Tuesday 16th of June 2026 02:41:59 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1932","ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","C_ADDRESS1":"1390 W Hyde Rd","C_ADDRESS2":"","C_CITY":"Saint Johns","C_COUNTRY":"USA","C_EMAIL":"cj_jorae@hotmail.com","C_NAME":"Cj Jorae","C_STATE":"MI","C_ZIP":"48879","ShippingAmount":"23.83","CITY":"Saint Johns","EMAIL":"cj_jorae@hotmail.com","ID":"AP357","NAME":"Cj Jorae","STATE":"MI","COUNTRY":"USA","ZIP":"48879","MEMO":"","DESCR":"BigCommerce Order - AP1932 - Customer AP357","Details":[{"ID":"AP357","INVEN":"WEHWM446-1","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"100.13","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 16th of June 2026 02:41:59 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1932 [Tuesday 16th of June 2026 02:41:59 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1932%27 [Tuesday 16th of June 2026 02:42:00 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1932 [Tuesday 16th of June 2026 02:42:00 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1932 found in EBMS [Tuesday 16th of June 2026 02:42:00 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1932 | Found: true [Tuesday 16th of June 2026 02:42:00 PM] Invoice AP1932 already exists in EBMS - patching [Tuesday 16th of June 2026 02:42:00 PM] patch_ebms_invoice() - START - Invoice: AP1932 [Tuesday 16th of June 2026 02:42:00 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1932","ADDRESS1":"1390 W Hyde Rd","ADDRESS2":"","C_ADDRESS1":"1390 W Hyde Rd","C_ADDRESS2":"","C_CITY":"Saint Johns","C_COUNTRY":"USA","C_EMAIL":"cj_jorae@hotmail.com","C_NAME":"Cj Jorae","C_STATE":"MI","C_ZIP":"48879","ShippingAmount":"23.83","CITY":"Saint Johns","EMAIL":"cj_jorae@hotmail.com","ID":"AP357","NAME":"Cj Jorae","STATE":"MI","COUNTRY":"USA","ZIP":"48879","MEMO":"","DESCR":"BigCommerce Order - AP1932 - Customer AP357","Details":[{"ID":"AP357","INVEN":"WEHWM446-1","M_QUAN_VIS":2,"UNIT":"35.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"100.13","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Tuesday 16th of June 2026 02:42:00 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1932%27 [Tuesday 16th of June 2026 02:42:00 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1932 [Tuesday 16th of June 2026 02:42:00 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1932 [Tuesday 16th of June 2026 02:42:00 PM] patch_ebms_invoice() - END - Invoice: AP1932 [Tuesday 16th of June 2026 02:42:00 PM] Invoice AP1932 patched successfully [Tuesday 16th of June 2026 02:42:00 PM] ORDER WEBHOOK COMPLETED - Order ID: 1932 | Invoice: AP1932