Skip to main content
POST
Create collection

Authorizations

X-API-KEY
string
header
required

API key for the Twice API

Body

application/json

Body

title
string
required
type
enum<string>
required
Available options:
manual,
smart
description
string
tagMatchType
enum<string>
default:any
Available options:
all,
any
pageTitle
string | null
metaDescription
string | null
urlHandle
string | null
slugs
string[]
Maximum array length: 50
Maximum string length: 500
ogTitle
string | null
ogDescription
string | null
ogImageFileId
string | null
noindex
boolean
salesChannelAdmin
boolean
salesChannelOnline
boolean

Response

201

id
string
required
title
string
required
description
string | null
required
type
enum<string>
required
Available options:
manual,
smart
tagMatchType
enum<string>
required
Available options:
all,
any
salesChannelAdmin
boolean
required
salesChannelOnline
boolean
required
createdAt
string
updatedAt
string
archivedAt
string<date-time> | null
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
catalogItems
object
smartConditions
object
media
object
aggregateData
object
pageTitle
string | null
metaDescription
string | null
urlHandle
string | null
slug
string | null
slugs
string[]
ogTitle
string | null
ogDescription
string | null
ogImage
object | null
noindex
boolean