Method: POST
Field Name | Required | Format | Notes |
id | Yes | Integer | |
stock_code | Yes | String | |
quantity | Yes | Integer | |
name | No | String | |
unit_price | No | String | |
line_total_discount | No | String | |
options | No | Integer | |
notes | No | String | |
sales_channel_item_id | No | String | |
Example Request (POST):CopyCopyCopyCopyCopyCopyCopyCopyCopyCopy{
"inventory": {
"id": 1234,
"stock_code": "Test5",
"quantity": 5,
"name": "Test Product 5",
"unit_price": "5.00",
"line_total_discount": "0.00",
"options": "",
"notes": "",
"sales_channel_item_id": ""
}
}
Example Response:CopyCopyCopyCopyCopyCopyCopyCopyCopyCopy{
"status": "SUCCESS"
}