Skip to main content
POST
Clone Company Library

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

The ID of the company library to clone

Body

application/json
affiliate_id

Response

Success

A library record as stored, returned by the clone endpoint.

id
integer

ID of the new library.

title
string | null

Library title.

slug
string | null

URL slug of the library.

description
string | null

Library description.

image_url
string | null

Stored cover image URL.

active
boolean | null

Whether the library is active.

company_library
boolean | null

True for a company library; false or null for a rep's own copy.

affiliate_id
integer | null

ID of the rep who owns the library.

company_id
integer

Company ID.

user_id
integer | null

ID of the user who owns the library.

member_id
string<uuid> | null

UUID of the owning member.

category_id
integer | null

Category ID, if any.

application_theme_template_id
integer | null

Theme template used to render the library, if any.

kind
enum<string> | null

Curation mode.

Available options:
manual,
auto,
null
custom_slug
boolean

Whether the slug was set manually.

indexed_for_seo
boolean | null

Whether the library is indexed for search engines.

metafields_collection
any[] | null

Metafield values attached to the library.

publish_at
string<date-time> | null

Scheduled publish time.

discarded_at
string<date-time> | null

Soft-deletion time, or null.

created_at
string<date-time>

Creation time.

updated_at
string<date-time>

Last update time.