Version: 202201
Collection Details
GET/openapi/2022-01/collections/:id
Retrieves detailed information about a specific collection by providing its unique identifier.
Request
Path Parameters
id stringrequired
Collection's ID
Responses
- 200
- 404
- 422
200
- application/json
- Schema
- Example
- Result
Schema
collection object
idstring
Example:
a60fe556-43ad-4e07-9125-507ac1bf71f7titlestring
Example:
Test-Collectiondescriptionstring
Example:
Deschandlestring
Example:
test-collectionsmartboolean
Default value:
trueExample:
falseimage object
srcstring
Example:
//cdn.shoplazza.com/9de53f9726576696b318a8d95c0946cb.jpegwidthinteger
Default value:
0Example:
1920heightinteger
Default value:
0Example:
1080altstring
Example:
pathstring
Example:
9de53f9726576696b318a8d95c0946cb.jpegseo_titlestring
Example:
seo_titleseo_descriptionstring
Example:
Descseo_keywordsstring
Example:
testsort_orderstring
Example:
title-asccreated_atstring
Example:
2024-04-16T10:31:13Zupdated_atstring
Example:
2024-04-16T10:31:13Z{
"collection": {
"id": "a60fe556-43ad-4e07-9125-507ac1bf71f7",
"title": "Test-Collection",
"description": "Desc",
"handle": "test-collection",
"smart": false,
"image": {
"src": "//cdn.shoplazza.com/9de53f9726576696b318a8d95c0946cb.jpeg",
"width": 1920,
"height": 1080,
"alt": "",
"path": "9de53f9726576696b318a8d95c0946cb.jpeg"
},
"seo_title": "seo_title",
"seo_description": "Desc",
"seo_keywords": "test",
"sort_order": "title-asc",
"created_at": "2024-04-16T10:31:13Z",
"updated_at": "2024-04-16T10:31:13Z"
}
}
{
"collection": {
"id": "a60fe556-43ad-4e07-9125-507ac1bf71f7",
"title": "Test-Collection",
"description": "Desc",
"handle": "test-collection",
"smart": false,
"image": {
"src": "//cdn.shoplazza.com/9de53f9726576696b318a8d95c0946cb.jpeg",
"width": 1920,
"height": 1080,
"alt": "",
"path": "9de53f9726576696b318a8d95c0946cb.jpeg"
},
"seo_title": "seo_title",
"seo_description": "Desc",
"seo_keywords": "test",
"sort_order": "title-asc",
"created_at": "2024-04-16T10:31:13Z",
"updated_at": "2024-04-16T10:31:13Z"
}
}
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Collection not found"
]
}
{
"errors": [
"Collection not found"
]
}
422
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"collectionId has an invalid UUID"
]
}
{
"errors": [
"collectionId has an invalid UUID"
]
}