メインコンテンツへスキップ
POST
/
product-collections
/
{id}
/
unarchive
JavaScript
import DodoPayments from 'dodopayments';

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

const response = await client.productCollections.unarchive('id');

console.log(response.collection_id);
{
  "collection_id": "<string>",
  "excluded_product_ids": [
    "<string>"
  ],
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt

Use this file to discover all available pages before exploring further.

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

Product Collection Id

レスポンス

Product Collection Unarchived Successfully

collection_id
string
必須

Collection ID that was unarchived

excluded_product_ids
string[]
必須

Product IDs that were excluded because they are archived

message
string
必須

Success message

Last modified on May 22, 2026