StockItem
stockitem details
URL
sales/stockitem
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | oY6EjuZzFBqRkQa8Va9MFNluLZXd4Qto | Key obtained from authentiaction. |
| stockitem | Array | M | Item List | |||
| hsncode | String | O | 25171010 | HSN Code of Item | ||
| hsndescription | String | 500 | O | CRUSHER PRODUCTS | Description of HSNCode | |
| isnongstgoods | String | M | No | Yes/ No | ||
| taxability | String | M | Taxable | Nill Rated,Exempt,Taxable | ||
| gstrate | Decimal | 100 | O | 2.5 | Gst rate | |
| itemname | String | 100 | M | 20 MM Metal | Item name | |
| tfirmid | Integer | M | 1 | Firm ID from Tally | ||
| clientid | String | M | ABC_01 | Client ID | ||
| tuom | String | M | l | Unit of measurement - l for litre | ||
| stdrate | Decimal | O | 9999.99 | Standard Rate of Item | ||
| gsttypeofsupply | String | M | Goods | Goods/ Service | ||
| applicablefrom | String | O | 2017-01-15 | Gst Applicable From | ||
| itemcode | Integer | M | 1 | Item ID in Tally |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| status | String | M | OK | Updation Status |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"stockitem": [
{
"hsncode": "25171010",
"hsndescription": "CRUSHER PRODUCTS",
"isnongstgoods": "No",
"taxability": "Taxable",
"gstrate": "2.5",
"itemname": "20 MM Metal",
"tfirmid": "1",
"clientid": "ABC_01",
"tuom": "l",
"stdrate": "9999.99",
"gsttypeofsupply": "Goods",
"applicablefrom": "2017-01-15",
"itemcode": "1"
}
]
}
Sample Success Response
{
"status": "OK",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}
{
"e": 401,
"msg": "Invalid authentication credentials."
}