Skip to content

Update an Own Brand

Request

Updates an existing Own Brand.

Security
Bearer
Body
idinteger, (int32)

Gets or sets the unique identifier for the Own Brand.

Example:1
ownBrandIdstring or null

Gets or sets the Own Brand identifier.

Example:"OB001"
ownBrandNamestring or null

Gets or sets the name of the Own Brand.

Example:"Premium Brand"
descriptionstring or null

Gets or sets the description of the Own Brand.

Example:"High-quality premium products"
companyIdsArray of integers or null, (int32)

Gets or sets the list of company IDs associated with this Own Brand.

curl -i -X PUT \
  https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/OwnBrands \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 1,
    "ownBrandId": "OB001",
    "ownBrandName": "Premium Brand",
    "description": "High-quality premium products",
    "companyIds": [
      0
    ]
  }'

Responses

Successfully updated Own Brand

Bodyapplication/json
idinteger, (int32)

Gets or sets the unique identifier for the Own Brand.

ownBrandIdstring or null

Gets or sets the Own Brand identifier.

ownBrandNamestring or null

Gets or sets the name of the Own Brand.

descriptionstring or null

Gets or sets the description of the Own Brand.

companyIdsArray of integers or null, (int32)

Gets or sets the list of company IDs associated with this Own Brand.

isActiveboolean

Gets or sets whether the Own Brand is active.

createdBystring or null

Gets or sets the user who created the Own Brand.

createdOnstring, (date-time)

Gets or sets when the Own Brand was created.

modifiedBystring or null

Gets or sets the user who last modified the Own Brand.

modifiedOnstring, (date-time)

Gets or sets when the Own Brand was last modified.

tranIdstring, (uuid)

Gets or sets the transaction identifier.

Response
{ "id": 0, "ownBrandId": "string", "ownBrandName": "string", "description": "string", "companyIds": [ 0 ], "isActive": true, "createdBy": "string", "createdOn": "2019-08-24T14:15:22Z", "modifiedBy": "string", "modifiedOn": "2019-08-24T14:15:22Z", "tranId": "0966b546-a6c9-4141-86ae-3d3862f1f36c" }