Skip to main content
POST
JavaScript

التفويضات

Authorization
string
header
مطلوب

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

معلمات المسار

id
string
مطلوب

Brand Id

الجسم

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.

الاستجابة

Archived Brand

archived_at
string<date-time>
مطلوب

Time the brand was archived.

brand_id
string
مطلوب

The archived brand.

collections_moved
integer<int64>
مطلوب

Count of product collections moved to the target brand.

النطاق المطلوب: x >= 0
products_moved
integer<int64>
مطلوب

Count of products moved to the target brand.

النطاق المطلوب: x >= 0
subscriptions_moved
integer<int64>
مطلوب

Count of live subscriptions moved to the target brand.

النطاق المطلوب: x >= 0
moved_to_brand_id
string | null

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

آخر تعديل في ٢١ أغسطس ٢٠٢٦