Saltar al contenido principal
POST
JavaScript

Autorizaciones

Authorization
string
header
requerido

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.

Parámetros de ruta

id
string
requerido

Brand Id

Cuerpo

application/json
move_products_to
string | null

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.

Respuesta

Archived Brand

archived_at
string<date-time>
requerido

Time the brand was archived.

brand_id
string
requerido

The archived brand.

collections_moved
integer<int64>
requerido

Count of product collections moved to the target brand.

Rango requerido: x >= 0
products_moved
integer<int64>
requerido

Count of products moved to the target brand.

Rango requerido: x >= 0
subscriptions_moved
integer<int64>
requerido

Count of live subscriptions moved to the target brand.

Rango requerido: x >= 0
moved_to_brand_id
string | null

Brand that received the moved records. Null when no target was given.

Última modificación el 21 de agosto de 2026