Creates a collection in the current organization. Set its status, optionally a name, optionally nest it under a parent, and attach products in the same call.
Headers
Name
Type
Required
Description
Flowkiwi-Locale
string
-
Specifies the locale for properties that support localization. If not provided, the default locale will be used.
Request body
Property
Type
Required
Description
childrens
string[]
-
A list of direct child Collection IRIs nested under this collection. Requires the collections:read scope. Returned empty when the scope is missing.
name
string | null
-
The display name of the collection.
parent
string
-
The parent Collection to which this collection belongs, if any. Requires the collections:read scope. Returned null when the scope is missing.
products
string[]
-
A list of Product IRIs the collection groups together. Requires the products:read scope. Returned empty when the scope is missing.
A list of direct child Collection IRIs nested under this collection. Serialized as IRI strings by default; pass ?expand=children to embed direct children (one level only). Requires the collections:read scope. Returned empty when the scope is missing.
createdAt
string
-
The date and time when the resource was created (ISO 8601 format).
id
string
-
The resource's unique identifier (UUID).
name
string | null
-
This property supports translations.
The display name of the collection.
parent
string | Collection | null
-
The parent Collection to which this collection belongs, if any. Serialized as IRI string by default; pass ?expand=parent to embed the direct parent (one level only). Filter with ?exists[parent]=false to list root collections (no parent) or ?exists[parent]=true for nested ones. Requires the collections:read scope. Returned null when the scope is missing.
products
string[]
-
A list of Product IRIs the collection groups together. Requires the products:read scope. Returned empty when the scope is missing.
The date and time when the resource was last modified (ISO 8601 format).
Property
Type
Required
Description
childrens
array
-
A list of direct child Collection IRIs nested under this collection. Serialized as IRI strings by default; pass ?expand=children to embed direct children (one level only). Requires the collections:read scope. Returned empty when the scope is missing.
createdAt
string
-
The date and time when the resource was created (ISO 8601 format).
id
string
-
The resource's unique identifier (UUID).
name
string | null
-
This property supports translations.
The display name of the collection.
parent
string | Collection | null
-
The parent Collection to which this collection belongs, if any. Serialized as IRI string by default; pass ?expand=parent to embed the direct parent (one level only). Filter with ?exists[parent]=false to list root collections (no parent) or ?exists[parent]=true for nested ones. Requires the collections:read scope. Returned null when the scope is missing.
products
string[]
-
A list of Product IRIs the collection groups together. Requires the products:read scope. Returned empty when the scope is missing.