Skip to main content
POST
Create Collection Endpoint

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://depictai.eu.auth0.com/oauth/authorize
Token URL
https://depictai.eu.auth0.com/oauth/token

Path Parameters

merchant_id
string
required

Body

application/json
collection_type
enum<string>
required
Available options:
long_tail_collection,
campaign,
category,
smart_pick,
style,
brand,
look
title
string
required
Required string length: 1 - 512
parent_id
string<uuid> | null
show_in_filter
boolean
default:true
show_in_search_suggestions
boolean
default:false
display_breadcrumb
boolean
default:true
cover_image_url
string | null

Response

Successful Response

collection_id
string<uuid>
required