Pular para o conteúdo principal
DELETE
/
discounts
/
{discount_id}
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});

await client.discounts.delete('dsc_qxxEmg5PuM1uNTE0LgkP9');

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parâmetros de caminho

discount_id
string
obrigatório

Discount Id

Resposta

Soft-deleted discount (no content)

Última modificação em 1 de abril de 2026