Subcategory

Update a subcategory

Updates an existing subcategory with the provided data

put/api/subcategory/{id}

Request

Path parameters

idinteger required

ID of the subcategory to update

Request body

namestring nullable

Name of the subcategory

synopsisstring nullable

Brief description of the subcategory

always_in_social_reviewboolean

Whether this subcategory is always included in social review

leagues_social_reviewinteger[]

Array of league IDs for social review

always_in_social_rejectboolean

Whether brands in this subcategory are always auto-rejected in social scans

leagues_social_rejectinteger[]

Array of league IDs for social auto-reject

Example request

{
  "name": "Electric Vehicles",
  "synopsis": "Electric and hybrid vehicle manufacturers",
  "leagues_social_review": [
    1
  ],
  "leagues_social_reject": [
    1
  ]
}

Response

Subcategory updated successfully

idinteger
namestring
category_idinteger
synopsisstring nullable
always_in_social_reviewboolean
always_in_social_rejectboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.