Fetch a Collection

Get Collection

GET {{URL}}/api/v1/collections/:collection_id

This endpoint allows you to get a single collection.

Headers

Name
Type
Description

Authentication

string

Authentication token of logged-in user.

{
    "status": "success",
    "message": "Collection retrieved successfully",
    "results": 1,
    "data": {
        "looks": [
            "61320f1dfcfe461f74c88184",
            "6132112fff2fad355444e231",
            "61321156ff2fad355444e23a"
        ],
        "published": false,
        "createdAt": "2021-08-28T20:49:12.603Z",
        "coverPhoto": "",
        "_id": "612aa3583796d6002360b54b",
        "name": "collection 1",
        "designer": "612a1ff44089de0023703c33",
        "description": "desc of collection 1",
        "slug": "collection-1",
        "__v": 0,
        "updatedAt": "2021-09-03T12:48:49.184Z"
    }
}

Last updated

Was this helpful?