Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inbound | POST | /master/uom-sku/search

Summary

This API is used to search a UOM SKU definition.

Description

For a set of UOM client SKU Ids, the ERP can search for the UOM SKU Definition.

Request

Code Block
{
  "uomClientSkuIds": [
    "98654342567", "98654342568"
  ]
}

Parameter Name

Data Type

Description

Mandatory

uomClientSkuIds

String []

It represents the UOM Client SKU ID, a unique identifier for a specific UOM product.

yes

Response

Code Block
{
  "uomSkuDefinitions": [
    {
      "childClientSkuId": "98745678932",
      "childUomQty": 24,
      "uomClientSkuId": "98654342567"
    },
    {
      "childClientSkuId": "98745678933",
      "childUomQty": 25,
      "uomClientSkuId": "98654342568"
    }
  ]
}

HttpStatus : 200

Parameter Name

Data Type

Description

Mandatory

uomSkuDefinitions

Object [ ]

SKU definitions of the product

yes

uomClientSkuId

String

It represents the UOM Client SKU ID, a unique identifier for a specific UOM product.

yes

childClientSkuId

String

It represents a unique identifier for the next SKU that the UOM can be broken into.

yes

childUomQty

Integer

It represents the number of child products that a Main/ UOM product can be broken into.

yes

Validations/ Constraints

Note
  • Master data should be present in the system for UOM Client SKU with the is_uom flag should be true in master data.

  • The UOM Sku Definition should be present in the system for the UomClientSku.