Skip to main content
PUT
Put a multiple categories

Path Parameters

storeId
string
required

Store ID for this resource request

Body

application/json
id
string
required

id

Example:

"ae7219"

name
string
required

Name

Example:

"Shampoo"

slug
string

Slug

Example:

"shampoo"

description
string

Shampoos and conditioners

Example:

"Hair categories"

hide
string

Hide a category

Example:

false

displayOrder
string

Display order

Example:

0

parentCategoryId
string

Parent category id

Example:

"6124bc492f3660f743776404"

image
object

Category image

Response

Categories created or updated in the category array, errors for those categories that couldn't be updated or created.

categories
object[]
errors
string[]