curl --request PATCH \
--url https://prod01.oms.fabric.inc/api/v2/list/{listId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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"
}'
{
"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"
}
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.
curl --request PATCH \
--url https://prod01.oms.fabric.inc/api/v2/list/{listId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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"
}'
{
"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.
Id of the list that is updated.
"62fa3796841ea417fa71d2a9"
List details
List object Updated
List details
Was this page helpful?