Skip to main content
GET
/
lists
/
{listId}
/
actions
/
get-list-details
Get shopping list and its items
curl --request GET \
  --url https://api.fabric.inc/v3/lists/{listId}/actions/get-list-details \
  --header 'Authorization: Bearer <token>' \
  --header 'x-fabric-channel-id: <x-fabric-channel-id>' \
  --header 'x-fabric-tenant-id: <x-fabric-tenant-id>'
{
  "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"
}

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

listId
string
required

Response

name
string
required
Example:
userId
string
required
Example:
attributes
object
Example:
createdAt
string<date-time>
Example:
itemCount
integer
Required range: x >= 0
Example:
items
object[]
listId
string
Example:
listType
string
Example:
notes
string
Example:
updatedAt
string<date-time>
Example: