From 8e8252573215b76b1632100de86a83e66f7afeeb Mon Sep 17 00:00:00 2001 From: tsia Date: Sun, 29 Mar 2020 18:15:27 +0200 Subject: [PATCH] fix api endpoint url in comment (#676) --- data/plugins/DemoBarcodeLookupPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/DemoBarcodeLookupPlugin.php b/data/plugins/DemoBarcodeLookupPlugin.php index ae2095f0..3d94c832 100644 --- a/data/plugins/DemoBarcodeLookupPlugin.php +++ b/data/plugins/DemoBarcodeLookupPlugin.php @@ -14,7 +14,7 @@ class DemoBarcodeLookupPlugin extends BaseBarcodeLookupPlugin /* To try it: - Call the API function at /api/stock/external-barcode-lookup/{barcode} + Call the API function at /api/stock/barcodes/external-lookup/{barcode} When you also add ?add=true as a query parameter to the API call, on a successful lookup the product is added to the database and in the output