Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Method: GET

URL: https://pim-client.wizart.ai/api/customer/brands

Headers: Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…

 Request example

CURL:

curl --location --request GET 'https://pim-client.wizart.ai/api/brands' \
--header 'Authorization: Bearer eyJ0eXAiOi....'
 Response example
{
    "data": [
        {
            "uuid": "{{BRAND_UUID}}",
            "name": "Brand 1",
            "country_uuid": null,
            "image_path": "{{IMAGE_PATH}}",
            "is_default_cover": true
        },
        {
            "uuid": "{{BRAND_UUID}}",
            "name": "Brand 2",
            "country_uuid": null,
            "image_path": "{{IMAGE_PATH}}",
            "is_default_cover": true
        },
        {
            "uuid": "{{BRAND_UUID}}",
            "name": "Brand 3",
            "country_uuid": null,
            "image_path": "{{IMAGE_PATH}}",
            "is_default_cover": true
        },
        {
            "uuid": "{{BRAND_UUID}}",
            "name": "Brand 4",
            "country_uuid": null,
            "image_path": "{{IMAGE_PATH}}",
            "is_default_cover": true
        },
        {
            "uuid": "{{BRAND_UUID}}",
            "name": "Brand 5",
            "country_uuid": null,
            "image_path": "{{IMAGE_PATH}}",
            "is_default_cover": true
        }
    ],
    "links": {
        "first": "http://pim-client.wizart.ai/api/brands?page=1",
        "last": "http://pim-client.wizart.ai/api/brands?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/brands?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "pagination.next",
                "active": false
            }
        ],
        "path": "http://pim-client.wizart.ai/api/brands",
        "per_page": 20,
        "to": 5,
        "total": 5
    }
}
  • No labels