归档品牌
归档一个品牌,并将其产品、有效订阅和产品集合迁移到同一业务的另一个品牌。
授权
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.
路径参数
Brand Id
请求体
Brand that takes over the products and the live subscriptions of the brand you archive. It must be a brand of the same business, and it must not be archived. The primary brand (its brand id is the business id) is a valid target. Omit this field only when the brand holds no products and no live subscriptions.
响应
Archived Brand
Time the brand was archived.
The archived brand.
Count of product collections moved to the target brand.
x >= 0Count of products moved to the target brand.
x >= 0Count of live subscriptions moved to the target brand.
x >= 0Brand that received the moved records. Null when no target was given.