Create Item

The below API is used to create Item.

Request: POST

Signature: /api/mobile/CreateItem?Token={Login_Token}

Body:

{
     "ItemCode":"ITEM_CODE",
     "ItemName":"ITEM_NAME",
     "Unit":"ITEM_UNIT",
     "Volume":"ITEM_VOLUME",
     "Weight":"ITEM_WEIGHT",
     "HSCode":"ITEM_HSCODE",
     "GTIN":"ITEM_GTIN",
     "ShelfLife":"ITEM_SHELF_LIFE"
}

Sample : /api/mobile/CreateItem?Token=VomYEMiECFFyAQ3==

Body:

{
     "ItemCode":"SHOES5",
     "ItemName":"Boots",
     "Unit":"Pieces",
     "Volume":55.14,
     "Weight":23.25,
     "HSCode":"FSDIHGJH",
     "GTIN":"SHOES5657",
     "ShelfLife":90
}
Response:
{
    "Code": 1,
    "Info": "Item created successfully",
    "RowsAffected": 1,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": null
}

Things to know about this API:

    1. Token - You can use Login API to get token displayed under Info
    2. Unit - You can use Get Item Units API to get the list of entity types under Value