Passer au contenu principal
PATCH
/
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.update('id');

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.

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

id
string
requis

Product Collection Id

Corps

application/json
brand_id
string | null

Optional brand_id update

description
string | null

Optional description update - pass null to remove, omit to keep unchanged

group_order
string<uuid>[] | null

Optional new order for groups (array of group UUIDs in desired order)

image_id
string<uuid> | null

Optional image update - pass null to remove, omit to keep unchanged

name
string | null

Optional new name for the collection

Réponse

Product Collection Updated Successfully

Last modified on May 22, 2026