docs
  1. Admin Api
  2. Resources
  3. Master Categories
  4. Update Master Category

Update master category

Update an existing master category

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
masterCategoryId
  • required
integer

Request body

required
ParameterDetails
id
  • readonly
integer
Example:
2
parentId
  • readonly
  • nullable
integer
Example:
1
path
  • required
string
Example:
Women,Fashion,Shirts
attributes
object
name
string
Example:
color
type
string
Enum:
simple
simpleList
localizedString
localizedStringList
advanced
advancedList
isMandatory
boolean
defaultValue

Responses

200
Master category
application/json
Success
id
integer
Example:
2
parentId
integer
Example:
1
pathrequired
Array of string
Array of object
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
PUT/master-categories/{masterCategoryId}

Request samples

Response samples

200
Master Category:
Content type: application/json
Provide Feedback