メインコンテンツへスキップ
DELETE
/
products
/
{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.products.archive('pdt_R8AWMPiV8RyJElcCKvAID');

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

Product Id

レスポンス

Product Delected Successfully

最終更新日 2026年5月28日