Creates a new instance in components of this model.
POST {{baseUrl}}/v1/Items/:id/components
Request Body
[{"name"=>"id", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"amount", "value"=>"<double>", "datatype"=>"string"}, {"name"=>"itemId", "value"=>"51CBB649993B8C7A56Bf7BB0", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","amount":"\u003cdouble\u003e","itemId":"51CBB649993B8C7A56Bf7BB0","custom":{}}