GET /v1/stores

Returns a list of stores. Typically, one store is assigned for each artist. We support hiding stores from our users, so if you want to prevent us from offering any of the merchandise in a given store, make sure to return "visible": false. This endpoint should be paginated unless the number of stores is small.

Parameters:

name - type - description

per_page - number - the number of stores to include per page (optional)

page - number - the current page number (1-indexed, optional)

Example Response:

{
    "data": [
        {
            "id": 1,
            "title": "Artist Name",
            "visible": true
        },
        {
            "id": 2,
            "title": "Another Artist",
            "visible": false
        }
    ],
    "pagination": {
        "current_page": 1,
        "per_page": 10,
        "total_pages": 1
    }
}
Was this article helpful?
0 out of 0 found this helpful