POST
/
list
/
{listId}
/
items
curl --request POST \
  --url https://prod01.oms.fabric.inc/api/v2/list/{listId}/items \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "sku": "sku1",
    "itemId": "123",
    "quantity": 1
  }
]'
[
  {
    "listId": "5349b4ddd2781d08c09890f4",
    "sku": "sku1",
    "itemId": "123",
    "quantity": 1
  }
]

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 to which items are to be added

Body

application/json · object[]
sku
string

SKU

itemId
string

Id of the item to be added to the list

quantity
integer

Number of items added to the list

Response

200
application/json
ListDetails Created
listId
string
required

ID of the list to which the item is added

sku
string

SKU

itemId
string

Id of the item to be added to the list

quantity
integer

Number of items added to the list

Required range: x > 0