Get collections of brand (without shared)
- Ekaterina Slesarchik
Owned by Ekaterina Slesarchik
26-06-2023
6 min read
Loading data...
Method: GET
URL: https://pim-client.wizart.ai/api/customer/brands/:brandUuid/collections
Headers: Accept: application/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…
CURL:
curl --location --request GET 'https://pim-client.wizart.ai/api/customer/brands/:brandUuid/collections' \
--header 'Authorization: Bearer eyJ0eXAiOi...'
{
"data": [
{
"uuid": "{{COLLECTION_UUID}}",
"name": "Collection name 1",
"brand": {
"uuid": "{{BRAND_UUID}}",
"name": "Brand name",
"country_uuid": null,
"image_path": "{{BRAND_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
"image_path": "{{COLLECTION_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
{
"uuid": "{{COLLECTION_UUID}}",
"name": "Collection name 2",
"brand": {
"uuid": "{{BRAND_UUID}}",
"name": "Brand name",
"country_uuid": null,
"image_path": "{{BRAND_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
"image_path": "{{COLLECTION_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
{
"uuid": "{{COLLECTION_UUID}}",
"name": "Collection name 3",
"brand": {
"uuid": "{{BRAND_UUID}}",
"name": "Brand name",
"country_uuid": null,
"image_path": "{{BRAND_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
"image_path": "{{COLLECTION_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
{
"uuid": "{{COLLECTION_UUID}}",
"name": "Collection name 4",
"brand": {
"uuid": "{{BRAND_UUID}}",
"name": "Brand name",
"country_uuid": null,
"image_path": "{{BRAND_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
"image_path": "{{COLLECTION_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
{
"uuid": "{{COLLECTION_UUID}}",
"name": "Collection name 5",
"brand": {
"uuid": "{{BRAND_UUID}}",
"name": "Brand name",
"country_uuid": null,
"image_path": "{{BRAND_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
},
"image_path": "{{COLLECTION_IMAGE_PATH}}",
"is_visible": true,
"partially_visible": false,
"is_default_cover": true
}
],
"links": {
"first": "http://pim-client.wizart.ai/api/customer/brands/d406212c-cef7-4a16-a527-2246cf7a541a/collections?page=1",
"last": "http://pim-client.wizart.ai/api/customer/brands/d406212c-cef7-4a16-a527-2246cf7a541a/collections?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "pagination.previous",
"active": false
},
{
"url": "http://pim-client.wizart.ai/api/customer/brands/d406212c-cef7-4a16-a527-2246cf7a541a/collections?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "pagination.next",
"active": false
}
],
"path": "http://pim-client.wizart.ai/api/customer/brands/d406212c-cef7-4a16-a527-2246cf7a541a/collections",
"per_page": 20,
"to": 5,
"total": 5
}
}