Create a Collection
Create Collection
POST {{URL}}/api/v1/collections
This endpoint allows an admin user to create a collection.
Headers
Name
Type
Description
Authentication
string
Authentication token of the user.
Request Body
Name
Type
Description
designer
string
The Id of the designer that would be added to the catalog.
name
string
The name of the catalog.
description
string
A description of the collection.
{
"status": "success",
"message": "Collection created successfully",
"results": 1,
"data": {
"looks": [],
"published": false,
"createdAt": "2021-09-03T20:09:47.853Z",
"coverPhoto": "",
"_id": "613282faa85ade2ca4d23c76",
"name": "Guts Over Fear",
"designer": "612f8743f6e175290495ce47",
"description": "The Breakout Collection",
"slug": "guts-over-fear",
"__v": 0
}
}Last updated
Was this helpful?