Skip to main content
GET
/
lists
/
users
/
{userId}
/
actions
/
get-list-details-with-items
Get shopping lists of a user along with associated items
curl --request GET \
  --url https://api.fabric.inc/v3/lists/users/{userId}/actions/get-list-details-with-items \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-channel-id: <x-fabric-channel-id>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "count": 100,
  "data": [
    {
      "attributes": {
        "key": "value"
      },
      "createdAt": "2022-11-22T10:26:38Z",
      "itemCount": 1,
      "items": [
        {
          "attributes": {
            "key": "value"
          },
          "createdAt": "2022-11-22T10:26:38Z",
          "itemId": 123,
          "listId": "62fa3796841ea417fa71d2a9",
          "quantity": 1,
          "sku": "sku1",
          "updatedAt": "2022-11-22T10:26:38Z"
        }
      ],
      "listId": "62fa3796841ea417fa71d2a9",
      "listType": "type1",
      "name": "list1",
      "notes": "note11",
      "updatedAt": "2022-11-22T10:26:38Z",
      "userId": "user1"
    }
  ],
  "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

Query Parameters

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

Response

count
integer
Example:
data
object[]
limit
integer
default:10
Example:
offset
integer
default:0
Required range: x >= 0
Example: