Skip to main content
GET
/
lists
/
users
/
{userId}
Get shopping lists of a user
curl --request GET \
  --url https://api.fabric.inc/v3/lists/users/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-channel-id: <x-fabric-channel-id>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "data": [
    {
      "attributes": {
        "key": "value"
      },
      "createdAt": "2022-11-22T10:26:38Z",
      "itemCount": 1,
      "listId": "62fa3796841ea417fa71d2a9",
      "listType": "type1",
      "name": "list1",
      "notes": "note11",
      "updatedAt": "2022-11-22T10:26:38Z",
      "userId": "user1"
    }
  ],
  "pagination": {
    "count": 1000,
    "limit": 10,
    "offset": 1
  }
}

Authorizations

Authorization
string
header
required

Headers

x-fabric-tenant-id
string
required
x-fabric-channel-id
string
required
x-fabric-request-id
string

Path Parameters

userId
string
required
Example:

Query Parameters

offset
integer
default:0
Example:
limit
integer
default:10
Required range: 1 <= x <= 100
Example:

Response

data
object[]
pagination
object