Chuyển đến nội dung chính
DELETE
/
product-collections
/
{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.productCollections.delete('id');

Ủy quyền

Authorization
string
header
bắt buộc

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

Tham số đường dẫn

id
string
bắt buộc

Product Collection Id

Phản hồi

Product Collection Deleted Successfully

Lần sửa đổi cuối 22 tháng 5, 2026