Pular para o conteúdo

Atualizar página

PUT
/api/seller/external/v1/page/{id}
curl --request PUT \
"https://api.spelt.com.br/api/seller/external/v1/page/iMRSFHQ9TYBYCWTPTRGW5G9ZPYF" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

Patch parcial dos metadados (título, slug, resumo, papel). Não mexe no conteúdo nem no status.

id
required
string

The ID of the page.

Media typeapplication/json
object
data
object
id
string
title
string
role
string
Example
{
"data": {
"id": "01J...",
"title": "Termos de Serviço",
"role": "terms_of_service"
}
}
Media typeapplication/json
object
message
string
Example
{
"message": "A página \"Termos\" já é Termos de Serviço desta conta. Remova o papel dela antes de atribuí-lo a outra."
}
Media typeapplication/json
object
error
string
Example
{
"error": "Recurso não encontrado"
}