Product
Product
URL
masters/product
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 | ghxazSdigBCePcjvxJ5GJ5TW08O0mL67 | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| products | Array | M | List of Product | |||
| pname | String | M | ABCD | Name of Product | ||
| hsncode | String | M | hsncode | Harmonized System of Nomenclature Code | ||
| co_code | String | M | co_code | CO CODE | ||
| partno | String | M | partno | Part no | ||
| pcode | Integer | M | 0 | Product Code | ||
| hsnid | Integer | M | 0 | Harmonized System of Nomenclature ID | ||
| stockunit | Integer | M | 0 | Stock Unit | ||
| ptype | String | M | ptype | Product Type | ||
| saleshead | Integer | M | 0 | Sales Head | ||
| scheduleid | Integer | M | 0 | Schedule ID | ||
| productunitwiseratedet | Array | M | LIST OF PRODUCT UNIT WISE RATE DETAILS | |||
| uomid | Integer | M | 0 | uomid | ||
| pcode | Integer | M | 0 | pcode | ||
| prate | Decimal | M | 0.0 | prate | ||
| displayname | String | M | display name | DISPALY NAME |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"products": [
{
"pname": "ABCD",
"hsncode": "hsncode",
"co_code": "co_code",
"partno": "partno",
"pcode": "0",
"hsnid": "0",
"stockunit": "0",
"ptype": "ptype",
"saleshead": "0",
"scheduleid": "0",
"productunitwiseratedet": [
{
"uomid": "0",
"pcode": "0",
"prate": "0.0"
}
],
"displayname": "display name"
}
],
"e": 200,
"msg": "Success"
}