Update a component

Update an existing component by Id

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
ID of component to return

Request

This endpoint expects a multipart form.
componentobjectOptional

Response

This endpoint returns an object.
namestring
codestring
componentCategoryIdstring
idstringOptional
companyIdstringOptional
createdAtdatetimeOptional
compositionstringOptional
photoUrlstringOptional
componentCategoryNamestringOptional
variantComponentslist of objectsOptional
componentslist of objectsOptional
componentVariantslist of objectsOptional
componentValueslist of objectsOptional
componentColorslist of objectsOptional
colorGroupslist of objectsOptional
componentVariantTypeOptionslist of objectsOptional
unitobjectOptional
weightstringOptional
librarybooleanOptional
supplierIdintegerOptional
pricedoubleOptional
colorIdstringOptional
unitIdstringOptional
componentColorIdstringOptional
placementstringOptional
priceEvolutionmap from strings to anyOptional

Errors

400
Bad Request
404
Not Found
405
Method Not Allowed