Developers

Categories

Markdown

Update a category

Name, image, sort order and visibility. Requires If-Match.

PATCH/stores/{storeId}/v1/categories/{id}

Path parameters

idstringrequired

Headers

If-Matchstringrequired

Request body

namestring
imagestring | null
visibleboolean
sort_orderinteger

Response

dataobjectrequired
idinteger
namestring
imagestring | null
sort_orderinteger
visibleboolean
resource_versioninteger
executionobject
Who executed the request: the app, version, installation and store. Field names here are camelCase.
appIdstring (uuid)
versionIdstring (uuid)
installationIdstring (uuid)
storeIdstring (uuid)
requestIdstring (uuid)
generationinteger
routeEpochinteger
appAuthEpochinteger
grantRevisioninteger
metaobjectrequired
request_idstring (uuid)
The request ID; include it in any support request.

Errors

HTTPCodeMeaning
428PRECONDITION_REQUIREDNo If-Match header.
412RESOURCE_CHANGEDThe resource changed after you read it; read it again.

Shared codes are listed in Errors.

    ↑↓ moveEnter openEsc close