Developers

Products

Markdown

Update product SEO

Title up to 65 characters, description up to 320, and up to 30 keywords. Requires If-Match.

PATCH/stores/{storeId}/v1/products/{id}/seo

Path parameters

idstringrequired

Headers

If-Matchstringrequired
ETag from a GET of this same resource projection.

Request body

seo_titlestring
seo_descriptionstring
keywordsarray<string>
og_imagestring | null

Response

dataobjectrequired
idinteger
resource_versioninteger
seo_titlestring | null
seo_descriptionstring | null
keywordsarray<string>
og_imagestring | null
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