Skip to navigation

Excluir um upsell

View as MarkdownOpen in Claude

Exclui um upsell.

Requer o escopo offers:write.

Authentication

AuthorizationBearer
Chave de API v2, criada no painel da loja.
OR
x-api-keystring
Chave de API v2, criada no painel da loja.

Path parameters

idstringRequiredformat: "^ups_(?=.*[0-9])[A-Za-z0-9._+-]{1,100}$"<=120 characters

Id do upsell, com o prefixo ups_.

Response headers

X-RateLimit-LimitintegerOptional

Requisições permitidas na janela atual.

X-RateLimit-RemainingintegerOptional

Requisições restantes na janela atual.

X-RateLimit-ResetintegerOptional

Segundos até o limite da janela atual ser renovado.

X-RateLimit-BucketenumOptional

Limite usado pela rota: read (leituras), write (escritas), mark_paid (marcar como pago) ou webhook_test (eventos de teste).

Allowed values:

Response

Id do upsell excluído, com deleted: true.

objectenum

Tipo do objeto. Sempre upsell.

Allowed values:
idstring

Id do upsell excluído.

deletedboolean

Sempre true.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error