getProductsByBarcode

@GET(value = "api/v0/search")
abstract suspend fun getProductsByBarcode(    @Query(value = "code") barcodes: String,     @Query(value = "fields") fields: String,     @Header(value = "User-Agent") header: String): Search

Parameters

barcodes

String of comma separated barcodes


@GET(value = "code/{Code}.json")
abstract suspend fun getProductsByBarcode(@Path(value = "Code") code: String): Search