메인 콘텐츠로 건너뛰기
PATCH
JavaScript

인증

Authorization
string
header
필수

Send your API key as a bearer token: Authorization: Bearer <api_key>. A test mode key starts with dodo_test_, for example dodo_test_AbCd1234EfGh5678.<secret>. A live mode key starts with dodo_live_. Use a test mode key on test.dodopayments.com and a live mode key on live.dodopayments.com. Keys from before these tags have no tag and operate as before.

경로 매개변수

id
string
필수

Product Collection Id

본문

application/json
brand_id
string | null

Optional brand_id update

description
string | null

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

effective_at_on_downgrade
null | enum<string>

Effective_at setting for downgrades: Some(Some(val)) = set, Some(None) = clear (inherit), None = no change

사용 가능한 옵션:
immediately,
next_billing_date
effective_at_on_upgrade
null | enum<string>

Effective_at setting for upgrades: Some(Some(val)) = set, Some(None) = clear (inherit), None = no change

사용 가능한 옵션:
immediately,
next_billing_date
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

on_payment_failure
null | enum<string>

On payment failure behavior: Some(Some(val)) = set, Some(None) = clear (inherit), None = no change

사용 가능한 옵션:
prevent_change,
apply_change
proration_billing_mode_on_downgrade
null | enum<string>

Proration billing mode for downgrades: Some(Some(val)) = set, Some(None) = clear (inherit), None = no change

사용 가능한 옵션:
prorated_immediately,
full_immediately,
difference_immediately,
do_not_bill,
prorated_immediately_keep_cycle
proration_billing_mode_on_upgrade
null | enum<string>

Proration billing mode for upgrades: Some(Some(val)) = set, Some(None) = clear (inherit), None = no change

사용 가능한 옵션:
prorated_immediately,
full_immediately,
difference_immediately,
do_not_bill,
prorated_immediately_keep_cycle

응답

Product Collection Updated Successfully

마지막 수정일 2026년 5월 22일