Download OpenAPI specification:Download
List refers to the collection of desired products saved by customers to their user account, signifying interest in the products without immediate intent to purchase. List APIs let merchants create and manage different types of lists, such as wish list, save for cart, or any other custom list, that lets shoppers save items for future reference. fabric list APIs are used for multi tenant service. A basic workflow includes creating a list, adding items to the list, updating and deleting list by listId.
Creates a list. When you create a list, a list ID is generated automatically that can be mapped later to add items to the list, and to update and delete the list. After creating a list, you can add items to the list by using POST/{listId}/items endpoint.
List Created
Bad Request
List Not Found
Internal Server Error
{- "listId": "5349b4ddd2781d08c09890f4",
- "name": "Wishlist",
- "userId": null,
- "listType": "Wish list",
- "notes": "Add items to your wishlist to purchase later",
- "attributes": {
- "attr1": "value1",
- "attr2": "value2"
}, - "count": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
{- "listId": "5349b4ddd2781d08c09890f4",
- "name": "Wishlist",
- "userId": null,
- "listType": "Wish list",
- "notes": "Add items to your wishlist to purchase later",
- "attributes": {
- "attr1": "value1",
- "attr2": "value2"
}, - "count": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Add array of items to a specific list by list ID.
ListDetails Created
Bad Request
Object Not Found!
Internal Server Error
[- {
- "sku": "sku1",
- "itemId": "123",
- "quantity": 1
}
]
[- {
- "listId": "5349b4ddd2781d08c09890f4",
- "sku": "sku1",
- "itemId": "123",
- "quantity": 1
}
]
Retrieves items from a specific list by list ID.
returns items
Bad Request
Object Not Found!
Internal Server Error
[- {
- "listId": "5349b4ddd2781d08c09890f4",
- "sku": "sku1",
- "itemId": "123",
- "quantity": 1
}
]
Retrieves details of a list by its ID.
List object found
Bad Request
Object Not Found!
Internal Server Error
{- "listId": "5349b4ddd2781d08c09890f4",
- "name": "Wishlist",
- "userId": null,
- "listType": "Wish list",
- "notes": "Add items to your wishlist to purchase later",
- "attributes": {
- "attr1": "value1",
- "attr2": "value2"
}, - "count": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Deletes list by Id. If items are added to the list, records of the added items are deleted if a list is deleted.
List object Deleted
Bad Request
Object Not Found!
Internal Server Error
{- "listId": "5349b4ddd2781d08c09890f4",
- "name": "Wishlist",
- "userId": null,
- "listType": "Wish list",
- "notes": "Add items to your wishlist to purchase later",
- "attributes": {
- "attr1": "value1",
- "attr2": "value2"
}, - "count": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Updates list details by its Id. Updating a list does not does not update item details. To add or delete items to or from a list, use POST/{listId}/items endpoint.
List object Updated
Bad Request
Object Not Found!
Internal Server Error
{- "listId": "5349b4ddd2781d08c09890f4",
- "name": "Wishlist",
- "userId": null,
- "listType": "Wish list",
- "notes": "Add items to your wishlist to purchase later",
- "attributes": {
- "attr1": "value1",
- "attr2": "value2"
}, - "count": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
{- "listId": "5349b4ddd2781d08c09890f4",
- "name": "Wishlist",
- "userId": null,
- "listType": "Wish list",
- "notes": "Add items to your wishlist to purchase later",
- "attributes": {
- "attr1": "value1",
- "attr2": "value2"
}, - "count": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
Retrieves lists created for a specific user, by user ID.
return Lists
Bad Request
Object Not Found!
Internal Server Error
[- {
- "listId": "5349b4ddd2781d08c09890f4",
- "name": "Wishlist",
- "userId": null,
- "listType": "Wish list",
- "notes": "Add items to your wishlist to purchase later",
- "attributes": {
- "attr1": "value1",
- "attr2": "value2"
}, - "count": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]