curl --request DELETE \
--url https://prod01.oms.fabric.inc/api/v2/list/{listId} \
--header 'Authorization: Bearer <token>'
{
"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": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Deletes list by Id. If items are added to the list, records of the added items are deleted if a list is deleted.
curl --request DELETE \
--url https://prod01.oms.fabric.inc/api/v2/list/{listId} \
--header 'Authorization: Bearer <token>'
{
"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": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
"62fa3796841ea417fa71d2a9"
List object Deleted
List details
Was this page helpful?