PATCH
/
list
/
{listId}
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

listId
string
required

Id of the list that is updated.

Body

application/json

List details

name
string
required
userId
string
required
listId
string
listType
string
notes
string
attributes
object
count
integer

Number of items added to the list.

Required range: x > 0
createdAt
string
updatedAt
string

Response

200
application/json
List object Updated

List details

name
string
required
userId
string
required
listId
string
listType
string
notes
string
attributes
object
count
integer

Number of items added to the list.

Required range: x > 0
createdAt
string
updatedAt
string