Get all collections (without shared)

Method: GET

URL: https://pim-client.wizart.ai/api/customer/collections?page=1

Headers: Accept: application/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…

Parameters:

  • page - a single page in the pagination

CURL:

curl --location --request GET 'https://pim-client.wizart.ai/api/customer/collections?page=1' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…'
{ "data": [ { "uuid": "{{COLLECTION_UUID}}", "name": "Collection1", "brand": { "uuid": "{{BRAND_UUID}}", "name": "Test1", "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": "Collection2", "brand": { "uuid": "{{BRAND_UUID}}", "name": "Test1", "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/collections?page=1", "last": "http://pim-client.wizart.ai/api/customer/collections?page=8", "prev": null, "next": "http://pim-client.wizart.ai/api/customer/collections?page=2" }, "meta": { "current_page": 1, "from": 1, "last_page": 8, "links": [ { "url": null, "label": "pagination.previous", "active": false }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=1", "label": "1", "active": true }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=2", "label": "2", "active": false }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=3", "label": "3", "active": false }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=4", "label": "4", "active": false }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=5", "label": "5", "active": false }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=6", "label": "6", "active": false }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=7", "label": "7", "active": false }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=8", "label": "8", "active": false }, { "url": "http://pim-client.wizart.ai/api/customer/collections?page=2", "label": "pagination.next", "active": false } ], "path": "http://pim-client.wizart.ai/api/customer/collections", "per_page": 20, "to": 20, "total": 147 } }