vitalseeds / vs-data-api

Fast API endpoints to expose vs-data actions for to run from Filemaker
MIT License
0 stars 0 forks source link

Prevent exit/fail if WC ID missing during upload #28

Closed tombola closed 11 months ago

tombola commented 1 year ago

For the endpoint /batch/upload-wc-stock (update_wc_stock_for_new_batches) ensure that if the SKU/ID for a product in FileMaker does not have a match in WooCommerce, the script does not exit prematurely.

Objective: allow other products that did update to be unchecked as 'awaiting upload' even if a single product failed