[Thursday 25th of June 2026 07:26:56 PM] ORDER WEBHOOK STARTED - Order ID: 1948 [Thursday 25th of June 2026 07:26:56 PM] Fetching customer data for Order ID: 1948 [Thursday 25th of June 2026 07:26:56 PM] get_order_customer_data() - START - Order ID: 1948 [Thursday 25th of June 2026 07:26:56 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1948 [Thursday 25th of June 2026 07:26:57 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] get_order_customer_data() - Parsing order response for Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Thomas Mulholland | Email: t80mulh@gmail.com | Total: 255.6700 | Shipping: 21.22 [Thursday 25th of June 2026 07:26:57 PM] get_order_customer_data() - END - Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] Customer data received: {"id":0,"email":"t80mulh@gmail.com","address_1":"174pointview","address_2":"","city":"Pittsburgh","state":"PA","country":"USA","zip":"15227","f_name":"Thomas","l_name":"Mulholland","contact_5":"t80mulh@gmail.com","contact_1":"4123704966","contact_4":"Thomas Mulholland"} [Thursday 25th of June 2026 07:26:57 PM] Fetching shipping info for Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] get_order_shipping_info() - START - Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1948/shipping_addresses [Thursday 25th of June 2026 07:26:57 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1948 | Name: Thomas Mulholland | Address: 174pointview, Pittsburgh, Pennsylvania, 15227 [Thursday 25th of June 2026 07:26:57 PM] get_order_shipping_info() - END - Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] Shipping info received: {"id":1847,"order_id":1948,"first_name":"Thomas","last_name":"Mulholland","company":"","street_1":"174pointview","street_2":"","city":"Pittsburgh","zip":"15227","country":"United States","country_iso2":"US","state":"Pennsylvania","email":"t80mulh@gmail.com","phone":"4123704966","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"21.2200","cost_ex_tax":"21.2200","cost_inc_tax":"22.4932","cost_tax":"1.2732","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\/1948\/shipping_addresses\/1847\/shipping_quotes","resource":"\/orders\/1948\/shipping_addresses\/1847\/shipping_quotes"},"form_fields":[]} [Thursday 25th of June 2026 07:26:57 PM] Resolved Customer ID: APONLINE [Thursday 25th of June 2026 07:26:57 PM] Building order object for Invoice: AP1948 [Thursday 25th of June 2026 07:26:57 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1948","ADDRESS1":"174pointview","ADDRESS2":"","C_ADDRESS1":"174pointview","C_ADDRESS2":"","C_CITY":"Pittsburgh","C_COUNTRY":"USA","C_EMAIL":"t80mulh@gmail.com","C_NAME":"Thomas Mulholland","C_STATE":"PA","C_ZIP":"15227","ShippingAmount":"21.22","CITY":"Pittsburgh","EMAIL":"t80mulh@gmail.com","ID":"APONLINE","NAME":"Thomas Mulholland","STATE":"PA","COUNTRY":"USA","ZIP":"15227","MEMO":"","DESCR":"BigCommerce Order - AP1948 - Customer APONLINE"} [Thursday 25th of June 2026 07:26:57 PM] Guest checkout detected (APONLINE) - skipping customer sync [Thursday 25th of June 2026 07:26:57 PM] Fetching products from BigCommerce for Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] BigCommerce API call successful for Order ID: 1948 [Thursday 25th of June 2026 07:26:57 PM] Products received: 1 item(s) [Thursday 25th of June 2026 07:26:57 PM] Processing product SKU: PCP52-171 | Qty: 2 | Price: 109.9900 [Thursday 25th of June 2026 07:26:57 PM] get_mpn() - START - Product ID: 30895 [Thursday 25th of June 2026 07:26:57 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/30895 [Thursday 25th of June 2026 07:26:57 PM] get_mpn() - BigCommerce API call successful for Product ID: 30895 [Thursday 25th of June 2026 07:26:57 PM] get_mpn() - WARNING - MPN is empty for Product ID: 30895 [Thursday 25th of June 2026 07:26:57 PM] get_mpn() - END - Product ID: 30895 | MPN: [Thursday 25th of June 2026 07:26:57 PM] check_for_ebms_product() - START - SKU: PCP52-171 [Thursday 25th of June 2026 07:26:57 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27PCP52-171%27 [Thursday 25th of June 2026 07:26:58 PM] check_for_ebms_product() - EBMS API call successful for SKU: PCP52-171 [Thursday 25th of June 2026 07:26:58 PM] check_for_ebms_product() - SKU: PCP52-171 not found in EBMS [Thursday 25th of June 2026 07:26:58 PM] check_for_ebms_product() - END - SKU: PCP52-171 | Found: false [Thursday 25th of June 2026 07:26:58 PM] SKU PCP52-171 not found in EBMS - creating new part [Thursday 25th of June 2026 07:26:58 PM] get_product_desc() - START - Product ID: 30895 [Thursday 25th of June 2026 07:26:58 PM] get_product_desc() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/30895 [Thursday 25th of June 2026 07:26:58 PM] get_product_desc() - BigCommerce API call successful for Product ID: 30895 [Thursday 25th of June 2026 07:26:58 PM] get_product_desc() - Description retrieved for Product ID: 30895 - Description: Fender Flare - Flexy Flares - 4-1/4 in Wide - 58 in Long - Screw-In - Rubber - Black - Universal - Each [Thursday 25th of June 2026 07:26:58 PM] get_product_desc() - END - Product ID: 30895 [Thursday 25th of June 2026 07:26:58 PM] get_ms_product() - START - SKU: PCP52-171 [Thursday 25th of June 2026 07:26:58 PM] get_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PCP52-171 [Thursday 25th of June 2026 07:26:58 PM] get_ms_product() - Motorstate API call successful for SKU: PCP52-171 [Thursday 25th of June 2026 07:26:58 PM] get_ms_product() - Product data retrieved from Motorstate for SKU: PCP52-171 - Response: [{"Found":true,"PartNumber":"PCP52-171","Product":{"PartNumber":"pcp52-171","VendorPartNumber":"52-171","Status":1,"IsStocking":true,"ShortDescription":"Flexy Flares Universal Fit HD 4-1/4in x 58in","Quantity":1,"CustomerPrice":99.9901768,"CustomerPriceNonPromotional":99.9901768,"BasePrice":163.18,"ListPrice":109.99,"MapPrice":0.0,"IsMapRestricted":false,"CanSpecialOrder":true,"CanDropShip":true,"DropShipCharge":5.0,"SpecialOrderDetails":"","MotorStateNotes":"","CanRegularBackOrder":true}}] [Thursday 25th of June 2026 07:26:58 PM] get_ms_product() - END - SKU: PCP52-171 [Thursday 25th of June 2026 07:26:58 PM] MS pricing found for SKU PCP52-171 - base: 109.99, cost: 99.9901768 [Thursday 25th of June 2026 07:26:58 PM] create_new_part() - START - SKU: PCP52-171 | Base: 109.99 | Cost: 99.99 | Weight: 9.1000 | MPN: [Thursday 25th of June 2026 07:26:58 PM] create_new_part() - Description parsed - DESCR_1: Fender Flare - Flexy Flares - 4-1/4 in Wide - 58 in Long - Screw-In - Rubber - B | DESCR_2: lack - Universal - Each [Thursday 25th of June 2026 07:26:58 PM] create_new_part() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY [Thursday 25th of June 2026 07:26:58 PM] create_new_part() - POST payload: {"ID":"PCP52-171","DESCR_1":"Fender Flare - Flexy Flares - 4-1\/4 in Wide - 58 in Long - Screw-In - Rubber - B","DESCR_2":"lack - Universal - Each","DESCR_3":"Fender Flare - Flexy Flares - 4-1\/4 in Wide - 58 in Long - Screw-In - Rubber - Black - Universal - Each","DESCR_3PRN":false,"DESCR_3PRP":false,"COST":"99.99","BASE":"109.99","WEIGHT":"9.1000","MFG_PART":"","TREE_ID":"603"} [Thursday 25th of June 2026 07:27:00 PM] create_new_part() - EBMS API call successful for SKU: PCP52-171 [Thursday 25th of June 2026 07:27:00 PM] create_new_part() - Part created successfully in EBMS - SKU: PCP52-171 - {"id":"PCP52-171","cost":"99.99","base":"109.99","description":"Fender Flare - Flexy Flares - 4-1\/4 in Wide - 58 in Long - Screw-In - Rubber - Black - Universal - Each","tree_id":" 603"} [Thursday 25th of June 2026 07:27:00 PM] create_new_part() - Sending new part notification email for SKU: PCP52-171 [Thursday 25th of June 2026 07:27:00 PM] create_new_part() - Notification email sent successfully for SKU: PCP52-171 [Thursday 25th of June 2026 07:27:00 PM] create_new_part() - END - SKU: PCP52-171 [Thursday 25th of June 2026 07:27:00 PM] New part created in EBMS for SKU: PCP52-171 [Thursday 25th of June 2026 07:27:00 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"PCP52-171","M_QUAN_VIS":2,"UNIT":"109.99","UNIT_MEAS":"EA"}] [Thursday 25th of June 2026 07:27:00 PM] Building payment record - Total: 255.6700 [Thursday 25th of June 2026 07:27:00 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1948","ADDRESS1":"174pointview","ADDRESS2":"","C_ADDRESS1":"174pointview","C_ADDRESS2":"","C_CITY":"Pittsburgh","C_COUNTRY":"USA","C_EMAIL":"t80mulh@gmail.com","C_NAME":"Thomas Mulholland","C_STATE":"PA","C_ZIP":"15227","ShippingAmount":"21.22","CITY":"Pittsburgh","EMAIL":"t80mulh@gmail.com","ID":"APONLINE","NAME":"Thomas Mulholland","STATE":"PA","COUNTRY":"USA","ZIP":"15227","MEMO":"","DESCR":"BigCommerce Order - AP1948 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PCP52-171","M_QUAN_VIS":2,"UNIT":"109.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"255.67","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 25th of June 2026 07:27:00 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1948 [Thursday 25th of June 2026 07:27:00 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1948%27 [Thursday 25th of June 2026 07:27:01 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1948 [Thursday 25th of June 2026 07:27:01 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1948 not found in EBMS [Thursday 25th of June 2026 07:27:01 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1948 | Found: false [Thursday 25th of June 2026 07:27:01 PM] Invoice AP1948 does not exist in EBMS - creating [Thursday 25th of June 2026 07:27:01 PM] create_ebms_invoice() - START - Invoice: AP1948 [Thursday 25th of June 2026 07:27:01 PM] create_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1948","ADDRESS1":"174pointview","ADDRESS2":"","C_ADDRESS1":"174pointview","C_ADDRESS2":"","C_CITY":"Pittsburgh","C_COUNTRY":"USA","C_EMAIL":"t80mulh@gmail.com","C_NAME":"Thomas Mulholland","C_STATE":"PA","C_ZIP":"15227","ShippingAmount":"21.22","CITY":"Pittsburgh","EMAIL":"t80mulh@gmail.com","ID":"APONLINE","NAME":"Thomas Mulholland","STATE":"PA","COUNTRY":"USA","ZIP":"15227","MEMO":"","DESCR":"BigCommerce Order - AP1948 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PCP52-171","M_QUAN_VIS":2,"UNIT":"109.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"255.67","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 25th of June 2026 07:27:01 PM] create_ebms_invoice() - Calling EBMS API POST - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV [Thursday 25th of June 2026 07:27:11 PM] create_ebms_invoice() - EBMS API call successful for Invoice: AP1948 [Thursday 25th of June 2026 07:27:11 PM] create_ebms_invoice() - Invoice created successfully in EBMS - Invoice: AP1948 - Response: {"@odata.context":"http:\/\/localhost:61821\/myebms\/HOO\/OData\/$metadata#ARINV\/$entity","Guid":"34343947-5049-3633-4a56-4a5245303030","AUTOID":"G944IP36JVJRE000","AUTHORIZED":0,"BAL_CUST_C":0,"BAL_CUST_P":-233.18000000000000682121026329696178436279296875,"BAL_CUST_X":-233.18000000000000682121026329696178436279296875,"BALANCE":-233.18000000000000682121026329696178436279296875,"DISC_PERC":0,"DISCOUNT":0,"EST_F_CONV":0,"EST_F_SURC":0,"OVERDUE":0,"PERC_MARG":0,"SO_BALCUST":0,"SO_TAX":14.4700000000000006394884621840901672840118408203125,"TAX":1.270000000000000017763568394002504646778106689453125,"TOTAL_COST":0,"TOTAL_MARG":0,"TOTAL_PAID":255.669999999999987494447850622236728668212890625,"TOTAL_S_SO":219.979999999999989768184605054557323455810546875,"TOTAL_SO":255.669999999999987494447850622236728668212890625,"TOTAL_W":0,"TTLPROCPMT":255.669999999999987494447850622236728668212890625,"TOTAL":22.489999999999998436805981327779591083526611328125,"FREIGHT":21.219999999999998863131622783839702606201171875,"HANDLING":0,"SHIPPING":21.219999999999998863131622783839702606201171875,"SUBTOTAL":0,"TOTAL_ITEM":0,"GRACE":"(None)","STATUS":"U","USER_NAME":"BLAYZER-API","TAX_TABLE":"","ADDRESS1":"174pointview","ADDRESS2":"","C_EMAIL":"t80mulh@gmail.com","C_PHONE":"","CCNTCT_AID":"MSBGPE26K2A7OTQ0","CHARGE":"Due on Receipt","CHECK_DATE":"2026-06-25T00:00:00Z","CHECK_NO":" APBC","CITY":"Pittsburgh","CNTCT_AID":"MSBGPE26K2A7OTQ0","COUNTRY":"USA","DIS_DATE":null,"DISCOUN":"(None)","DOWN_PAY":"23000-000","DUE_DATE":"2026-06-25T00:00:00Z","E_DATE":"2026-06-25T00:00:00Z","EC_RPT_ERR":"","EC_RPT_RUN":false,"EMAIL":"t80mulh@gmail.com","IADDRESS":"174pointview , Pittsburgh, PA 15227","ID":"APONLINE","IDCHARGE":"5CHDUREC","IDDISCOUNT":"DNONE","IN_LEVEL":"Retail","INV_DATE":"2026-06-25T00:00:00Z","INVOICE":"AP1948","MAN_TAX":true,"NAME":"Thomas Mulholland","PHONE":"","PROCESS":"Default","STATE":"PA","TERMS":"Cash","TRACK_NUMS":"[]","ZIP":"15227","EXTERNALID":"","WAREHOUSE":"A-HTM","C_ADDRESS1":"174pointview","C_ADDRESS2":"","C_CITY":"Pittsburgh","C_COUNTRY":"USA","C_ID":"APONLINE","C_NAME":"Thomas Mulholland","C_STATE":"PA","C_ZIP":"15227","DEF_DEPT":"100","DESCR":"BigCommerce Order - AP1948 - Customer APONLINE","INTERNALNT":"","JOB_ID":"","MEMO":"","PO_NO":"","SALESMAN":"","SALESMAN_Field":"","SHIP_DATE":"2026-06-25T00:00:00Z","SHIP_VIA":"BIGC","TO_B_SENT":false} [Thursday 25th of June 2026 07:27:11 PM] create_ebms_invoice() - END - Invoice: AP1948 [Thursday 25th of June 2026 07:27:11 PM] Invoice AP1948 created successfully [Thursday 25th of June 2026 07:27:11 PM] ORDER WEBHOOK COMPLETED - Order ID: 1948 | Invoice: AP1948 [Thursday 25th of June 2026 07:28:07 PM] ORDER WEBHOOK STARTED - Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] Fetching customer data for Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] get_order_customer_data() - START - Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] get_order_customer_data() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1948 [Thursday 25th of June 2026 07:28:07 PM] get_order_customer_data() - BigCommerce API call successful for Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] get_order_customer_data() - Parsing order response for Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] get_order_customer_data() - Customer object built - Customer ID: 0 | Name: Thomas Mulholland | Email: t80mulh@gmail.com | Total: 255.6700 | Shipping: 21.22 [Thursday 25th of June 2026 07:28:07 PM] get_order_customer_data() - END - Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] Customer data received: {"id":0,"email":"t80mulh@gmail.com","address_1":"174pointview","address_2":"","city":"Pittsburgh","state":"PA","country":"USA","zip":"15227","f_name":"Thomas","l_name":"Mulholland","contact_5":"t80mulh@gmail.com","contact_1":"4123704966","contact_4":"Thomas Mulholland"} [Thursday 25th of June 2026 07:28:07 PM] Fetching shipping info for Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] get_order_shipping_info() - START - Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] get_order_shipping_info() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v2/orders/1948/shipping_addresses [Thursday 25th of June 2026 07:28:07 PM] get_order_shipping_info() - BigCommerce API call successful for Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] get_order_shipping_info() - Shipping address retrieved for Order ID: 1948 | Name: Thomas Mulholland | Address: 174pointview, Pittsburgh, Pennsylvania, 15227 [Thursday 25th of June 2026 07:28:07 PM] get_order_shipping_info() - END - Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] Shipping info received: {"id":1847,"order_id":1948,"first_name":"Thomas","last_name":"Mulholland","company":"","street_1":"174pointview","street_2":"","city":"Pittsburgh","zip":"15227","country":"United States","country_iso2":"US","state":"Pennsylvania","email":"t80mulh@gmail.com","phone":"4123704966","items_total":2,"items_shipped":0,"shipping_method":"FedEx Ground","base_cost":"21.2200","cost_ex_tax":"21.2200","cost_inc_tax":"22.4932","cost_tax":"1.2732","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\/1948\/shipping_addresses\/1847\/shipping_quotes","resource":"\/orders\/1948\/shipping_addresses\/1847\/shipping_quotes"},"form_fields":[]} [Thursday 25th of June 2026 07:28:07 PM] Resolved Customer ID: APONLINE [Thursday 25th of June 2026 07:28:07 PM] Building order object for Invoice: AP1948 [Thursday 25th of June 2026 07:28:07 PM] Order object built: {"WAREHOUSE":"A-HTM","INVOICE":"AP1948","ADDRESS1":"174pointview","ADDRESS2":"","C_ADDRESS1":"174pointview","C_ADDRESS2":"","C_CITY":"Pittsburgh","C_COUNTRY":"USA","C_EMAIL":"t80mulh@gmail.com","C_NAME":"Thomas Mulholland","C_STATE":"PA","C_ZIP":"15227","ShippingAmount":"21.22","CITY":"Pittsburgh","EMAIL":"t80mulh@gmail.com","ID":"APONLINE","NAME":"Thomas Mulholland","STATE":"PA","COUNTRY":"USA","ZIP":"15227","MEMO":"","DESCR":"BigCommerce Order - AP1948 - Customer APONLINE"} [Thursday 25th of June 2026 07:28:07 PM] Guest checkout detected (APONLINE) - skipping customer sync [Thursday 25th of June 2026 07:28:07 PM] Fetching products from BigCommerce for Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] BigCommerce API call successful for Order ID: 1948 [Thursday 25th of June 2026 07:28:07 PM] Products received: 1 item(s) [Thursday 25th of June 2026 07:28:07 PM] Processing product SKU: PCP52-171 | Qty: 2 | Price: 109.9900 [Thursday 25th of June 2026 07:28:07 PM] get_mpn() - START - Product ID: 30895 [Thursday 25th of June 2026 07:28:07 PM] get_mpn() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/30895 [Thursday 25th of June 2026 07:28:07 PM] get_mpn() - BigCommerce API call successful for Product ID: 30895 [Thursday 25th of June 2026 07:28:07 PM] get_mpn() - WARNING - MPN is empty for Product ID: 30895 [Thursday 25th of June 2026 07:28:07 PM] get_mpn() - END - Product ID: 30895 | MPN: [Thursday 25th of June 2026 07:28:07 PM] check_for_ebms_product() - START - SKU: PCP52-171 [Thursday 25th of June 2026 07:28:07 PM] check_for_ebms_product() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/INVENTRY?%24filter=ID%20eq%20%27PCP52-171%27 [Thursday 25th of June 2026 07:28:08 PM] check_for_ebms_product() - EBMS API call successful for SKU: PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] check_for_ebms_product() - SKU: PCP52-171 found in EBMS [Thursday 25th of June 2026 07:28:08 PM] check_for_ebms_product() - END - SKU: PCP52-171 | Found: true [Thursday 25th of June 2026 07:28:08 PM] SKU PCP52-171 found in EBMS - checking prices [Thursday 25th of June 2026 07:28:08 PM] obtain_current_prices() - START - SKU: PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] obtain_current_prices() - Checking Motorstate for SKU: PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] check_for_ms_product() - START - SKU: PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] check_for_ms_product() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] check_for_ms_product() - Motorstate API call successful for SKU: PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] check_for_ms_product() - SKU: PCP52-171 found in Motorstate [Thursday 25th of June 2026 07:28:08 PM] check_for_ms_product() - END - SKU: PCP52-171 | Found: true [Thursday 25th of June 2026 07:28:08 PM] obtain_current_prices() - SKU: PCP52-171 found in Motorstate - Fetching prices [Thursday 25th of June 2026 07:28:08 PM] obtain_current_prices() - Motorstate API call attempt 1 for SKU: PCP52-171 - URL: https://api.motorstate.com/api/Product?partNumbers=PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] obtain_current_prices() - Motorstate prices retrieved for SKU: PCP52-171 - Base: 109.99 | Cost: 99.99 [Thursday 25th of June 2026 07:28:08 PM] obtain_current_prices() - Returning Motorstate prices for SKU: PCP52-171 - Base: 109.99 | Cost: 99.99 [Thursday 25th of June 2026 07:28:08 PM] obtain_current_prices() - END - SKU: PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] SKU PCP52-171 has existing EBMS prices - syncing BigCommerce price back (cost: 99.99, base: 109.99) [Thursday 25th of June 2026 07:28:08 PM] update_product_price() - START - Product ID: 30895 | Base: 109.99 | Cost: 99.99 [Thursday 25th of June 2026 07:28:08 PM] update_product_price() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/30895 [Thursday 25th of June 2026 07:28:08 PM] update_product_price() - PUT payload: {"price":109.9899999999999948840923025272786617279052734375,"cost_price":99.9899999999999948840923025272786617279052734375} [Thursday 25th of June 2026 07:28:08 PM] update_product_price() - Attempt 1 of 6 for Product ID: 30895 [Thursday 25th of June 2026 07:28:08 PM] update_product_price() - Price updated successfully for Product ID: 30895 - Base: 109.99 | Cost: 99.99 [Thursday 25th of June 2026 07:28:08 PM] update_product_price() - END - Product ID: 30895 | Result: success [Thursday 25th of June 2026 07:28:08 PM] BigCommerce price updated for Product ID: 30895 [Thursday 25th of June 2026 07:28:08 PM] get_product_inventory() - START - SKU: PCP52-171 [Thursday 25th of June 2026 07:28:08 PM] get_product_inventory() - Calling Motorstate API - URL: https://api.motorstate.com/api/Product?partNumbers=PCP52-171 [Thursday 25th of June 2026 07:28:09 PM] get_product_inventory() - Motorstate API call successful for SKU: PCP52-171 [Thursday 25th of June 2026 07:28:09 PM] get_product_inventory() - Stock found for SKU: PCP52-171 - Quantity: 1 | Running Total: 1 [Thursday 25th of June 2026 07:28:09 PM] get_product_inventory() - END - SKU: PCP52-171 | Total: 1 [Thursday 25th of June 2026 07:28:09 PM] get_cf_id() - START - Product ID: 30895 [Thursday 25th of June 2026 07:28:09 PM] get_cf_id() - Calling BigCommerce API - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/30895/custom-fields [Thursday 25th of June 2026 07:28:09 PM] get_cf_id() - BigCommerce API call successful for Product ID: 30895 [Thursday 25th of June 2026 07:28:09 PM] get_cf_id() - Custom field found for Product ID: 30895 | Field: online_stock_level | CF ID: 30785 [Thursday 25th of June 2026 07:28:09 PM] get_cf_id() - END - Product ID: 30895 | CF ID: 30785 [Thursday 25th of June 2026 07:28:09 PM] Updating inventory for SKU PCP52-171 - stock: 1, CF ID: 30785 [Thursday 25th of June 2026 07:28:09 PM] update_product_inventory() - START - Product ID: 30895 | Stock: 1 | CF ID: 30785 [Thursday 25th of June 2026 07:28:09 PM] update_product_inventory() - Calling BigCommerce API PUT - URL: https://api.bigcommerce.com/stores/caspfzrito/v3/catalog/products/30895/custom-fields/30785 [Thursday 25th of June 2026 07:28:09 PM] update_product_inventory() - Inventory updated successfully for Product ID: 30895 | Stock: 1 [Thursday 25th of June 2026 07:28:09 PM] update_product_inventory() - END - Product ID: 30895 | Result: success [Thursday 25th of June 2026 07:28:09 PM] Inventory updated for SKU: PCP52-171 [Thursday 25th of June 2026 07:28:09 PM] All products processed - Order details: [{"ID":"APONLINE","INVEN":"PCP52-171","M_QUAN_VIS":2,"UNIT":"109.99","UNIT_MEAS":"EA"}] [Thursday 25th of June 2026 07:28:09 PM] Building payment record - Total: 255.6700 [Thursday 25th of June 2026 07:28:09 PM] Full order payload ready: {"WAREHOUSE":"A-HTM","INVOICE":"AP1948","ADDRESS1":"174pointview","ADDRESS2":"","C_ADDRESS1":"174pointview","C_ADDRESS2":"","C_CITY":"Pittsburgh","C_COUNTRY":"USA","C_EMAIL":"t80mulh@gmail.com","C_NAME":"Thomas Mulholland","C_STATE":"PA","C_ZIP":"15227","ShippingAmount":"21.22","CITY":"Pittsburgh","EMAIL":"t80mulh@gmail.com","ID":"APONLINE","NAME":"Thomas Mulholland","STATE":"PA","COUNTRY":"USA","ZIP":"15227","MEMO":"","DESCR":"BigCommerce Order - AP1948 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PCP52-171","M_QUAN_VIS":2,"UNIT":"109.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"255.67","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 25th of June 2026 07:28:09 PM] check_if_invoice_exists_in_ebms() - START - Invoice ID: AP1948 [Thursday 25th of June 2026 07:28:09 PM] check_if_invoice_exists_in_ebms() - Calling EBMS API - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1948%27 [Thursday 25th of June 2026 07:28:10 PM] check_if_invoice_exists_in_ebms() - EBMS API call successful for Invoice ID: AP1948 [Thursday 25th of June 2026 07:28:10 PM] check_if_invoice_exists_in_ebms() - Invoice ID: AP1948 found in EBMS [Thursday 25th of June 2026 07:28:10 PM] check_if_invoice_exists_in_ebms() - END - Invoice ID: AP1948 | Found: true [Thursday 25th of June 2026 07:28:10 PM] Invoice AP1948 already exists in EBMS - patching [Thursday 25th of June 2026 07:28:10 PM] patch_ebms_invoice() - START - Invoice: AP1948 [Thursday 25th of June 2026 07:28:10 PM] patch_ebms_invoice() - Order payload: {"WAREHOUSE":"A-HTM","INVOICE":"AP1948","ADDRESS1":"174pointview","ADDRESS2":"","C_ADDRESS1":"174pointview","C_ADDRESS2":"","C_CITY":"Pittsburgh","C_COUNTRY":"USA","C_EMAIL":"t80mulh@gmail.com","C_NAME":"Thomas Mulholland","C_STATE":"PA","C_ZIP":"15227","ShippingAmount":"21.22","CITY":"Pittsburgh","EMAIL":"t80mulh@gmail.com","ID":"APONLINE","NAME":"Thomas Mulholland","STATE":"PA","COUNTRY":"USA","ZIP":"15227","MEMO":"","DESCR":"BigCommerce Order - AP1948 - Customer APONLINE","Details":[{"ID":"APONLINE","INVEN":"PCP52-171","M_QUAN_VIS":2,"UNIT":"109.99","UNIT_MEAS":"EA"}],"Payments":[{"TYPE":"Credit","ACTION":"XX7","AMOUNT":"255.67","CASH_ACNT":"01021-100","CHECK_NO":"APBC","CC_TYPE":"APBC"}]} [Thursday 25th of June 2026 07:28:10 PM] patch_ebms_invoice() - Calling EBMS API PATCH - URL: https://812252017121401.koblesystems.dev/myebms/HOO/OData/ARINV?%24filter=INVOICE%20eq%20%27AP1948%27 [Thursday 25th of June 2026 07:28:10 PM] patch_ebms_invoice() - EBMS API call successful for Invoice: AP1948 [Thursday 25th of June 2026 07:28:10 PM] patch_ebms_invoice() - WARNING - Empty response from EBMS for Invoice: AP1948 [Thursday 25th of June 2026 07:28:10 PM] patch_ebms_invoice() - END - Invoice: AP1948 [Thursday 25th of June 2026 07:28:10 PM] Invoice AP1948 patched successfully [Thursday 25th of June 2026 07:28:10 PM] ORDER WEBHOOK COMPLETED - Order ID: 1948 | Invoice: AP1948