API Docs
API Reference
Component Import

Component Import API

Component Import API is used to create or update component relationships for kitting items within a system. This article introduces the general Component Import API for easily understanding and applying this API.

Introduction

Component Import API enables users to manage the components that make up a new kit by either establishing new relationships between items or updating existing ones. It’s essential for ensuing that the system correctly reflect the composition of kit products, aiding in inventory management and supporting accurate order fulfillment.

API Request

API: POST /edi/item-master/component/import
Body Request:

FieldNameDescriptionDataTypeLengthRequiredVersionSample
Root
1CompanyIDHard code, assigned by UNIS system admin.string15Yes1.4"LT"
2CustomerIDassigned by UNIS accounting dept.string15Yes1.4"AUKINT0001"
3Componentsmapping about the componentsarrayYes1.4
3.1ItemIDComponent item idstringYes1.4Item-A-01
3.2ParentItemIDKitting item parent idstringYes1.4Item-A
3.3QtyComponent item quantityintYes1.4
3.4UOMComponent item unitstringYes1.4EA

Example

Request

{
    "CompanyID": "LT",
    "CustomerID": "AUKINT0001",
    "Components": [
        {
            "ItemID": "Item-A-01",
            "ParentItemID": "Item-A",
            "Qty": 2,
            "UOM": "EA"
        },
        {
            "ItemID": "Item-A-02",
            "ParentItemID": "Item-A",
            "Qty": 5,
            "UOM": "EA"
        }
    ]
}