add endpoint with barcode wip