メインコンテンツへスキップ
PATCH
/
product-collections
/
{id}
/
groups
/
{group_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.groups.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { id: '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.

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

Product Collection Id

group_id
string<uuid>
必須

Product Collection Group Id

ボディ

application/json
group_name
string | null

Optional group name update: Some(Some(name)) = set name, Some(None) = clear name, None = no change

product_order
string<uuid>[] | null

Optional new order for products in this group (array of product_collection_group_pdts UUIDs)

status
boolean | null

Optional status update

レスポンス

Group updated successfully

Last modified on May 22, 2026