itemVariant
PATCH {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/itemVariants({{itemVariantId}})?tenant={{tenant}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
tenant | string |
Request Body
{"itemNumber"=>"1964-S"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
If-Match | string |
RESPONSES
status: OK
{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(a19eca60-4a86-ed11-aad5-000d3a38ed32)/itemVariants/$entity","@odata.etag":"W/\"JzE5OzQ2NjcyMjc1NzQxNzM2Nzk5OTgxOzAwOyc=\"","id":"772fa01d-432f-408b-8604-7ca5b1213b4c","itemId":"0ceb0975-4a86-ed11-aad5-000d3a38ed32","itemNumber":"1964-S","code":"TESTCRUD","description":"test crud"}