Updating a Category

PATCH /category/:category_id Arguments Required? category_id String Yes title String No description String No multilingual CategoryMultilingual Array No Example response: { "category": Category } Upd…

Taylor Sloane
Updated by Taylor Sloane

PATCH /category/:category_id

Arguments

Required?

category_id

String

Yes

title

String

No

description

String

No

multilingual

CategoryMultilingual Array

No

Example response:

{
"category": Category
}

Updating Multilingual Content

The multilingual array can contain any translations you want to update. Here's the properties available on each CategoryMultilingual object:

Arguments

Required?

language_code

String

Yes

title

String

No

description

String

No

slug

String

No

You only need to pass the fields that you want to update. So this is a perfectly acceptable request:

PATCH /category/:category_id {
multilingual: [
language_code: "de",
title: "New german title"
]
}

That would just update the German title of your category, leaving all the other properties as they were before.

How did we do?

The Category Object

Contact

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply.