[Friday 5th of June 2026 01:24:02 PM] ORDER WEBHOOK STARTED - Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] Fetching customer data for Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] get_order_customer_data() - START - Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1909 [Friday 5th of June 2026 01:24:02 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] get_order_customer_data() - Parsing order response for Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] get_order_customer_data() - Customer object built - Customer ID: 282 | Name: Marita Anderson | Email: julietbth@gmail.com | Total: 142.9400 | Shipping: 22.99 [Friday 5th of June 2026 01:24:02 PM] get_order_customer_data() - END - Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] Customer data received: {"id":282,"email":"julietbth@gmail.com","address_1":"119 Spring Meadows Dr","address_2":"","city":"Summerville","state":"SC","country":"USA","zip":"29485","f_name":"Marita","l_name":"Anderson","contact_5":"julietbth@gmail.com","contact_1":"8439029233","contact_4":"Marita Anderson"} [Friday 5th of June 2026 01:24:02 PM] Fetching shipping info for Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] get_order_shipping_info() - START - Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1909/shipping_addresses [Friday 5th of June 2026 01:24:02 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1909 | Name: Huang Ming Lung | Address: 15757 SW 74th Ave Ste510, Tigard, Oregon, 97224 [Friday 5th of June 2026 01:24:02 PM] get_order_shipping_info() - END - Order ID: 1909 [Friday 5th of June 2026 01:24:02 PM] Shipping info received: {"id":1808,"order_id":1909,"first_name":"Huang","last_name":"Ming Lung","company":"SPG2214877","street_1":"15757 SW 74th Ave Ste510","street_2":"SPG2214877","city":"Tigard","zip":"97224","country":"United States","country_iso2":"US","state":"Oregon","email":"julietbth@gmail.com","phone":"4062638957","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"22.9900","cost_ex_tax":"22.9900","cost_inc_tax":"22.9900","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\/1909\/shipping_addresses\/1808\/shipping_quotes","resource":"\/orders\/1909\/shipping_addresses\/1808\/shipping_quotes"},"form_fields":[]} [Friday 5th of June 2026 01:24:02 PM] Resolved Customer ID: AP282 [Friday 5th of June 2026 01:24:02 PM] Building order object for Invoice: AP1909 [Friday 5th of June 2026 01:24:02 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1909","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"15757 SW 74th Ave Ste510","C_ADDRESS2":"SPG2214877","C_CITY":"Tigard","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Huang Ming Lung","C_STATE":"OR","C_ZIP":"97224","ShippingAmount":"22.99","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1909 - Customer AP282"} [Friday 5th of June 2026 01:24:02 PM] Registered customer detected - checking EBMS for Customer ID: AP282 [Friday 5th of June 2026 01:24:02 PM] check_for_customer() - START - Customer ID: 282 [Friday 5th of June 2026 01:24:02 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Friday 5th of June 2026 01:24:03 PM] check_for_customer() - EBMS API call successful for Customer ID: 282 [Friday 5th of June 2026 01:24:03 PM] check_for_customer() - Customer ID: 282 found in EBMS [Friday 5th of June 2026 01:24:03 PM] check_for_customer() - END - Customer ID: 282 | Found: true [Friday 5th of June 2026 01:24:03 PM] Customer AP282 found in EBMS [Friday 5th of June 2026 01:24:03 PM] check_for_empty_info() - START - Customer ID: 282 [Friday 5th of June 2026 01:24:03 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Friday 5th of June 2026 01:24:03 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 282 [Friday 5th of June 2026 01:24:03 PM] check_for_empty_info() - Customer record found for Customer ID: 282 - Checking ADDRESS1 field [Friday 5th of June 2026 01:24:03 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 282 - No update needed [Friday 5th of June 2026 01:24:03 PM] check_for_empty_info() - END - Customer ID: 282 | Empty Info: false [Friday 5th of June 2026 01:24:03 PM] check_for_empty_pn() - START - Customer ID: AP282 [Friday 5th of June 2026 01:24:03 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Friday 5th of June 2026 01:24:04 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP282 [Friday 5th of June 2026 01:24:04 PM] check_for_empty_pn() - Customer record found for Customer ID: AP282 - Checking CONTACT_1 field [Friday 5th of June 2026 01:24:04 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP282 - Value: (843) 902-9233 - No update needed [Friday 5th of June 2026 01:24:04 PM] check_for_empty_pn() - END - Customer ID: AP282 | Empty PN: false [Friday 5th of June 2026 01:24:04 PM] Fetching products from BigCommerce for Order ID: 1909 [Friday 5th of June 2026 01:24:04 PM] BigCommerce API call successful for Order ID: 1909 [Friday 5th of June 2026 01:24:04 PM] Products received: 1 item(s) [Friday 5th of June 2026 01:24:04 PM] Processing product SKU: EFE40100 | Qty: 1 | Price: 119.9500 [Friday 5th of June 2026 01:24:04 PM] get_mpn() - START - Product ID: 67477 [Friday 5th of June 2026 01:24:04 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Friday 5th of June 2026 01:24:04 PM] get_mpn() - BigCommerce API call successful for Product ID: 67477 [Friday 5th of June 2026 01:24:04 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67477 [Friday 5th of June 2026 01:24:04 PM] get_mpn() - END - Product ID: 67477 | MPN: [Friday 5th of June 2026 01:24:04 PM] check_for_ebms_product() - START - SKU: EFE40100 [Friday 5th of June 2026 01:24:04 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40100%27 [Friday 5th of June 2026 01:24:05 PM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40100 [Friday 5th of June 2026 01:24:05 PM] check_for_ebms_product() - SKU: EFE40100 found in EBMS [Friday 5th of June 2026 01:24:05 PM] check_for_ebms_product() - END - SKU: EFE40100 | Found: true [Friday 5th of June 2026 01:24:05 PM] SKU EFE40100 found in EBMS - checking prices [Friday 5th of June 2026 01:24:05 PM] obtain_current_prices() - START - SKU: EFE40100 [Friday 5th of June 2026 01:24:05 PM] obtain_current_prices() - Checking Motorstate for SKU: EFE40100 [Friday 5th of June 2026 01:24:05 PM] check_for_ms_product() - START - SKU: EFE40100 [Friday 5th of June 2026 01:24:05 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Friday 5th of June 2026 01:24:05 PM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40100 [Friday 5th of June 2026 01:24:05 PM] check_for_ms_product() - SKU: EFE40100 found in Motorstate [Friday 5th of June 2026 01:24:05 PM] check_for_ms_product() - END - SKU: EFE40100 | Found: true [Friday 5th of June 2026 01:24:05 PM] obtain_current_prices() - SKU: EFE40100 found in Motorstate - Fetching prices [Friday 5th of June 2026 01:24:05 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40100 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Friday 5th of June 2026 01:24:05 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Friday 5th of June 2026 01:24:05 PM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Friday 5th of June 2026 01:24:05 PM] obtain_current_prices() - END - SKU: EFE40100 [Friday 5th of June 2026 01:24:05 PM] SKU EFE40100 has existing EBMS prices - syncing BigCommerce price back (cost: 89.96, base: 119.95) [Friday 5th of June 2026 01:24:05 PM] update_product_price() - START - Product ID: 67477 | Base: 119.95 | Cost: 89.96 [Friday 5th of June 2026 01:24:05 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Friday 5th of June 2026 01:24:05 PM] update_product_price() - PUT payload: {"price":119.9500000000000028421709430404007434844970703125,"cost_price":89.9599999999999937472239253111183643341064453125} [Friday 5th of June 2026 01:24:05 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67477 [Friday 5th of June 2026 01:24:05 PM] update_product_price() - Price updated successfully for Product ID: 67477 - Base: 119.95 | Cost: 89.96 [Friday 5th of June 2026 01:24:05 PM] update_product_price() - END - Product ID: 67477 | Result: success [Friday 5th of June 2026 01:24:05 PM] BigCommerce price updated for Product ID: 67477 [Friday 5th of June 2026 01:24:05 PM] get_product_inventory() - START - SKU: EFE40100 [Friday 5th of June 2026 01:24:05 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Friday 5th of June 2026 01:24:05 PM] get_product_inventory() - Motorstate API call successful for SKU: EFE40100 [Friday 5th of June 2026 01:24:05 PM] get_product_inventory() - Stock found for SKU: EFE40100 - Quantity: 4 | Running Total: 4 [Friday 5th of June 2026 01:24:05 PM] get_product_inventory() - END - SKU: EFE40100 | Total: 4 [Friday 5th of June 2026 01:24:05 PM] get_cf_id() - START - Product ID: 67477 [Friday 5th of June 2026 01:24:05 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields [Friday 5th of June 2026 01:24:05 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67477 [Friday 5th of June 2026 01:24:05 PM] get_cf_id() - Custom field found for Product ID: 67477 | Field: online_stock_level | CF ID: 67367 [Friday 5th of June 2026 01:24:05 PM] get_cf_id() - END - Product ID: 67477 | CF ID: 67367 [Friday 5th of June 2026 01:24:05 PM] Updating inventory for SKU EFE40100 - stock: 4, CF ID: 67367 [Friday 5th of June 2026 01:24:05 PM] update_product_inventory() - START - Product ID: 67477 | Stock: 4 | CF ID: 67367 [Friday 5th of June 2026 01:24:05 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields/67367 [Friday 5th of June 2026 01:24:06 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67477 | Stock: 4 [Friday 5th of June 2026 01:24:06 PM] update_product_inventory() - END - Product ID: 67477 | Result: success [Friday 5th of June 2026 01:24:06 PM] Inventory updated for SKU: EFE40100 [Friday 5th of June 2026 01:24:06 PM] All products processed - Order details: [{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}] [Friday 5th of June 2026 01:24:06 PM] Building payment record - Total: 142.9400 [Friday 5th of June 2026 01:24:06 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1909","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"15757 SW 74th Ave Ste510","C_ADDRESS2":"SPG2214877","C_CITY":"Tigard","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Huang Ming Lung","C_STATE":"OR","C_ZIP":"97224","ShippingAmount":"22.99","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1909 - Customer AP282","Details":[{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"142.94","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 5th of June 2026 01:24:06 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1909 [Friday 5th of June 2026 01:24:06 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1909%27 [Friday 5th of June 2026 01:24:06 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1909 [Friday 5th of June 2026 01:24:06 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1909 not found in EBMS [Friday 5th of June 2026 01:24:06 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1909 | Found: false [Friday 5th of June 2026 01:24:06 PM] Invoice AP1909 does not exist in EBMS - creating [Friday 5th of June 2026 01:24:06 PM] create_ebms_invoice() - START - Invoice: AP1909 [Friday 5th of June 2026 01:24:06 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1909","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"15757 SW 74th Ave Ste510","C_ADDRESS2":"SPG2214877","C_CITY":"Tigard","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Huang Ming Lung","C_STATE":"OR","C_ZIP":"97224","ShippingAmount":"22.99","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1909 - Customer AP282","Details":[{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"142.94","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 5th of June 2026 01:24:06 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Friday 5th of June 2026 01:24:13 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1909 [Friday 5th of June 2026 01:24:13 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1909 - Response: {"@odata.context":"http:\/\/localhost:64637\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"33374538-4f4e-5153-4339-4d4f41303030","AUTOID":"8E73NOSQC9MOA000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-119.9500000000000028421709430404007434844970703125,"BAL_CUST_X":-119.9500000000000028421709430404007434844970703125,"BALANCE":-119.9500000000000028421709430404007434844970703125,"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":142.93999999999999772626324556767940521240234375,"TOTAL_S_SO":119.9500000000000028421709430404007434844970703125,"TOTAL_SO":142.93999999999999772626324556767940521240234375,"TOTAL_W":0,"TTLPROCPMT":142.93999999999999772626324556767940521240234375,"TOTAL":22.989999999999998436805981327779591083526611328125,"FREIGHT":22.989999999999998436805981327779591083526611328125,"HANDLING":0,"SHIPPING":22.989999999999998436805981327779591083526611328125,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_EMAIL":"julietbth@gmail.com","C_PHONE":"(843) 902-9233","CCNTCT_AID":"7R84LDIK8EMT5E91","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-05T00:00:00Z","CHECK_NO":" APBC","CITY":"Summerville","CNTCT_AID":"7R84LDIK8EMT5E91","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-05T00:00:00Z","E_DATE":"2026-06-05T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"julietbth@gmail.com","IADDRESS":"15757 SW 74th Ave Ste510 SPG2214877, Tigard, OR 97224","ID":"AP282","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-05T00:00:00Z","INVOICE":"AP1909","MAN_TAX":false,"NAME":"Marita Anderson","PHONE":"","PROCESS":"Default","STATE":"SC","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"29485","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"15757 SW 74th Ave Ste510","C_ADDRESS2":"SPG2214877","C_CITY":"Tigard","C_COUNTRY":"USA","C_ID":"AP282","C_NAME":"Huang Ming Lung","C_STATE":"OR","C_ZIP":"97224","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1909 - Customer AP282","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-05T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Friday 5th of June 2026 01:24:13 PM] create_ebms_invoice() - END - Invoice: AP1909 [Friday 5th of June 2026 01:24:13 PM] Invoice AP1909 created successfully [Friday 5th of June 2026 01:24:13 PM] ORDER WEBHOOK COMPLETED - Order ID: 1909 | Invoice: AP1909 [Friday 5th of June 2026 01:25:12 PM] ORDER WEBHOOK STARTED - Order ID: 1909 [Friday 5th of June 2026 01:25:12 PM] Fetching customer data for Order ID: 1909 [Friday 5th of June 2026 01:25:12 PM] get_order_customer_data() - START - Order ID: 1909 [Friday 5th of June 2026 01:25:12 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1909 [Friday 5th of June 2026 01:25:12 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1909 [Friday 5th of June 2026 01:25:12 PM] get_order_customer_data() - Parsing order response for Order ID: 1909 [Friday 5th of June 2026 01:25:12 PM] get_order_customer_data() - Customer object built - Customer ID: 282 | Name: Marita Anderson | Email: julietbth@gmail.com | Total: 142.9400 | Shipping: 22.99 [Friday 5th of June 2026 01:25:12 PM] get_order_customer_data() - END - Order ID: 1909 [Friday 5th of June 2026 01:25:12 PM] Customer data received: {"id":282,"email":"julietbth@gmail.com","address_1":"119 Spring Meadows Dr","address_2":"","city":"Summerville","state":"SC","country":"USA","zip":"29485","f_name":"Marita","l_name":"Anderson","contact_5":"julietbth@gmail.com","contact_1":"8439029233","contact_4":"Marita Anderson"} [Friday 5th of June 2026 01:25:12 PM] Fetching shipping info for Order ID: 1909 [Friday 5th of June 2026 01:25:12 PM] get_order_shipping_info() - START - Order ID: 1909 [Friday 5th of June 2026 01:25:12 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1909/shipping_addresses [Friday 5th of June 2026 01:25:13 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1909 [Friday 5th of June 2026 01:25:13 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1909 | Name: Huang Ming Lung | Address: 15757 SW 74th Ave Ste510, Tigard, Oregon, 97224 [Friday 5th of June 2026 01:25:13 PM] get_order_shipping_info() - END - Order ID: 1909 [Friday 5th of June 2026 01:25:13 PM] Shipping info received: {"id":1808,"order_id":1909,"first_name":"Huang","last_name":"Ming Lung","company":"SPG2214877","street_1":"15757 SW 74th Ave Ste510","street_2":"SPG2214877","city":"Tigard","zip":"97224","country":"United States","country_iso2":"US","state":"Oregon","email":"julietbth@gmail.com","phone":"4062638957","items_total":1,"items_shipped":0,"shipping_method":"FedEx Ground \u00ae","base_cost":"22.9900","cost_ex_tax":"22.9900","cost_inc_tax":"22.9900","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\/1909\/shipping_addresses\/1808\/shipping_quotes","resource":"\/orders\/1909\/shipping_addresses\/1808\/shipping_quotes"},"form_fields":[]} [Friday 5th of June 2026 01:25:13 PM] Resolved Customer ID: AP282 [Friday 5th of June 2026 01:25:13 PM] Building order object for Invoice: AP1909 [Friday 5th of June 2026 01:25:13 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1909","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"15757 SW 74th Ave Ste510","C_ADDRESS2":"SPG2214877","C_CITY":"Tigard","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Huang Ming Lung","C_STATE":"OR","C_ZIP":"97224","ShippingAmount":"22.99","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1909 - Customer AP282"} [Friday 5th of June 2026 01:25:13 PM] Registered customer detected - checking EBMS for Customer ID: AP282 [Friday 5th of June 2026 01:25:13 PM] check_for_customer() - START - Customer ID: 282 [Friday 5th of June 2026 01:25:13 PM] check_for_customer() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Friday 5th of June 2026 01:25:13 PM] check_for_customer() - EBMS API call successful for Customer ID: 282 [Friday 5th of June 2026 01:25:13 PM] check_for_customer() - Customer ID: 282 found in EBMS [Friday 5th of June 2026 01:25:13 PM] check_for_customer() - END - Customer ID: 282 | Found: true [Friday 5th of June 2026 01:25:13 PM] Customer AP282 found in EBMS [Friday 5th of June 2026 01:25:13 PM] check_for_empty_info() - START - Customer ID: 282 [Friday 5th of June 2026 01:25:13 PM] check_for_empty_info() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Friday 5th of June 2026 01:25:13 PM] check_for_empty_info() - EBMS API call successful for Customer ID: 282 [Friday 5th of June 2026 01:25:13 PM] check_for_empty_info() - Customer record found for Customer ID: 282 - Checking ADDRESS1 field [Friday 5th of June 2026 01:25:13 PM] check_for_empty_info() - ADDRESS1 is populated for Customer ID: 282 - No update needed [Friday 5th of June 2026 01:25:13 PM] check_for_empty_info() - END - Customer ID: 282 | Empty Info: false [Friday 5th of June 2026 01:25:13 PM] check_for_empty_pn() - START - Customer ID: AP282 [Friday 5th of June 2026 01:25:13 PM] check_for_empty_pn() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARCUST?%24filter=ID%20eq%20%27AP282%27 [Friday 5th of June 2026 01:25:14 PM] check_for_empty_pn() - EBMS API call successful for Customer ID: AP282 [Friday 5th of June 2026 01:25:14 PM] check_for_empty_pn() - Customer record found for Customer ID: AP282 - Checking CONTACT_1 field [Friday 5th of June 2026 01:25:14 PM] check_for_empty_pn() - CONTACT_1 is populated for Customer ID: AP282 - Value: (843) 902-9233 - No update needed [Friday 5th of June 2026 01:25:14 PM] check_for_empty_pn() - END - Customer ID: AP282 | Empty PN: false [Friday 5th of June 2026 01:25:14 PM] Fetching products from BigCommerce for Order ID: 1909 [Friday 5th of June 2026 01:25:14 PM] BigCommerce API call successful for Order ID: 1909 [Friday 5th of June 2026 01:25:14 PM] Products received: 1 item(s) [Friday 5th of June 2026 01:25:14 PM] Processing product SKU: EFE40100 | Qty: 1 | Price: 119.9500 [Friday 5th of June 2026 01:25:14 PM] get_mpn() - START - Product ID: 67477 [Friday 5th of June 2026 01:25:14 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Friday 5th of June 2026 01:25:14 PM] get_mpn() - BigCommerce API call successful for Product ID: 67477 [Friday 5th of June 2026 01:25:14 PM] get_mpn() - WARNING - MPN is empty for Product ID: 67477 [Friday 5th of June 2026 01:25:14 PM] get_mpn() - END - Product ID: 67477 | MPN: [Friday 5th of June 2026 01:25:14 PM] check_for_ebms_product() - START - SKU: EFE40100 [Friday 5th of June 2026 01:25:14 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27EFE40100%27 [Friday 5th of June 2026 01:25:14 PM] check_for_ebms_product() - EBMS API call successful for SKU: EFE40100 [Friday 5th of June 2026 01:25:14 PM] check_for_ebms_product() - SKU: EFE40100 found in EBMS [Friday 5th of June 2026 01:25:14 PM] check_for_ebms_product() - END - SKU: EFE40100 | Found: true [Friday 5th of June 2026 01:25:14 PM] SKU EFE40100 found in EBMS - checking prices [Friday 5th of June 2026 01:25:14 PM] obtain_current_prices() - START - SKU: EFE40100 [Friday 5th of June 2026 01:25:14 PM] obtain_current_prices() - Checking Motorstate for SKU: EFE40100 [Friday 5th of June 2026 01:25:14 PM] check_for_ms_product() - START - SKU: EFE40100 [Friday 5th of June 2026 01:25:14 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Friday 5th of June 2026 01:25:15 PM] check_for_ms_product() - Motorstate API call successful for SKU: EFE40100 [Friday 5th of June 2026 01:25:15 PM] check_for_ms_product() - SKU: EFE40100 found in Motorstate [Friday 5th of June 2026 01:25:15 PM] check_for_ms_product() - END - SKU: EFE40100 | Found: true [Friday 5th of June 2026 01:25:15 PM] obtain_current_prices() - SKU: EFE40100 found in Motorstate - Fetching prices [Friday 5th of June 2026 01:25:15 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: EFE40100 - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Friday 5th of June 2026 01:25:15 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Friday 5th of June 2026 01:25:15 PM] obtain_current_prices() - Returning Motorstate prices for SKU: EFE40100 - Base: 119.95 | Cost: 89.96 [Friday 5th of June 2026 01:25:15 PM] obtain_current_prices() - END - SKU: EFE40100 [Friday 5th of June 2026 01:25:15 PM] SKU EFE40100 has existing EBMS prices - syncing BigCommerce price back (cost: 89.96, base: 119.95) [Friday 5th of June 2026 01:25:15 PM] update_product_price() - START - Product ID: 67477 | Base: 119.95 | Cost: 89.96 [Friday 5th of June 2026 01:25:15 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477 [Friday 5th of June 2026 01:25:15 PM] update_product_price() - PUT payload: {"price":119.9500000000000028421709430404007434844970703125,"cost_price":89.9599999999999937472239253111183643341064453125} [Friday 5th of June 2026 01:25:15 PM] update_product_price() - Attempt 1 of 6 for Product ID: 67477 [Friday 5th of June 2026 01:25:15 PM] update_product_price() - Price updated successfully for Product ID: 67477 - Base: 119.95 | Cost: 89.96 [Friday 5th of June 2026 01:25:15 PM] update_product_price() - END - Product ID: 67477 | Result: success [Friday 5th of June 2026 01:25:15 PM] BigCommerce price updated for Product ID: 67477 [Friday 5th of June 2026 01:25:15 PM] get_product_inventory() - START - SKU: EFE40100 [Friday 5th of June 2026 01:25:15 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=EFE40100 [Friday 5th of June 2026 01:25:15 PM] get_product_inventory() - Motorstate API call successful for SKU: EFE40100 [Friday 5th of June 2026 01:25:15 PM] get_product_inventory() - Stock found for SKU: EFE40100 - Quantity: 4 | Running Total: 4 [Friday 5th of June 2026 01:25:15 PM] get_product_inventory() - END - SKU: EFE40100 | Total: 4 [Friday 5th of June 2026 01:25:15 PM] get_cf_id() - START - Product ID: 67477 [Friday 5th of June 2026 01:25:15 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields [Friday 5th of June 2026 01:25:15 PM] get_cf_id() - BigCommerce API call successful for Product ID: 67477 [Friday 5th of June 2026 01:25:15 PM] get_cf_id() - Custom field found for Product ID: 67477 | Field: online_stock_level | CF ID: 67367 [Friday 5th of June 2026 01:25:15 PM] get_cf_id() - END - Product ID: 67477 | CF ID: 67367 [Friday 5th of June 2026 01:25:15 PM] Updating inventory for SKU EFE40100 - stock: 4, CF ID: 67367 [Friday 5th of June 2026 01:25:15 PM] update_product_inventory() - START - Product ID: 67477 | Stock: 4 | CF ID: 67367 [Friday 5th of June 2026 01:25:15 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/67477/custom-fields/67367 [Friday 5th of June 2026 01:25:15 PM] update_product_inventory() - Inventory updated successfully for Product ID: 67477 | Stock: 4 [Friday 5th of June 2026 01:25:15 PM] update_product_inventory() - END - Product ID: 67477 | Result: success [Friday 5th of June 2026 01:25:15 PM] Inventory updated for SKU: EFE40100 [Friday 5th of June 2026 01:25:15 PM] All products processed - Order details: [{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}] [Friday 5th of June 2026 01:25:15 PM] Building payment record - Total: 142.9400 [Friday 5th of June 2026 01:25:15 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1909","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"15757 SW 74th Ave Ste510","C_ADDRESS2":"SPG2214877","C_CITY":"Tigard","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Huang Ming Lung","C_STATE":"OR","C_ZIP":"97224","ShippingAmount":"22.99","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1909 - Customer AP282","Details":[{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"142.94","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 5th of June 2026 01:25:15 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1909 [Friday 5th of June 2026 01:25:15 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1909%27 [Friday 5th of June 2026 01:25:16 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1909 [Friday 5th of June 2026 01:25:16 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1909 found in EBMS [Friday 5th of June 2026 01:25:16 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1909 | Found: true [Friday 5th of June 2026 01:25:16 PM] Invoice AP1909 already exists in EBMS - patching [Friday 5th of June 2026 01:25:16 PM] patch_ebms_invoice() - START - Invoice: AP1909 [Friday 5th of June 2026 01:25:16 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1909","ADDRESS1":"119 Spring Meadows Dr","ADDRESS2":"","C_ADDRESS1":"15757 SW 74th Ave Ste510","C_ADDRESS2":"SPG2214877","C_CITY":"Tigard","C_COUNTRY":"USA","C_EMAIL":"julietbth@gmail.com","C_NAME":"Huang Ming Lung","C_STATE":"OR","C_ZIP":"97224","ShippingAmount":"22.99","CITY":"Summerville","EMAIL":"julietbth@gmail.com","ID":"AP282","NAME":"Marita Anderson","STATE":"SC","COUNTRY":"USA","ZIP":"29485","MEMO":"","DESCR":"BigCommerce Order - AP1909 - Customer AP282","Details":[{"ID":"AP282","INVEN":"EFE40100","M_QUAN_VIS":1,"UNIT":"119.95","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"142.94","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Friday 5th of June 2026 01:25:16 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1909%27 [Friday 5th of June 2026 01:25:17 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1909 [Friday 5th of June 2026 01:25:17 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1909 [Friday 5th of June 2026 01:25:17 PM] patch_ebms_invoice() - END - Invoice: AP1909 [Friday 5th of June 2026 01:25:17 PM] Invoice AP1909 patched successfully [Friday 5th of June 2026 01:25:17 PM] ORDER WEBHOOK COMPLETED - Order ID: 1909 | Invoice: AP1909