Interface ProductApi


@FeignClient(name="wms-inventory", decode404=true, qualifiers="productApi") public interface ProductApi
  • Field Details

  • Method Details

    • findProductByProductUnitPkey

      @GetMapping("/v1/product/product-units/{pKey}") ProductVO findProductByProductUnitPkey(@PathVariable("pKey") String pKey)
      Gets Product based on ProductUnit pKey
      Parameters:
      pKey - The pKey of the productUnit
    • findByLabelOrSKU

      @GetMapping(value="/v1/products", params="bk") ProductVO findByLabelOrSKU(@RequestParam("bk") String bk)
      Find and return a Product.
      Parameters:
      bk - The business key, either the SKU or the Label
      Returns:
      The instance