cURL
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 } ]
Add array of items to a specific list by list ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the list to which items are to be added
"62fa3796841ea417fa71d2a9"
SKU
"sku1"
Id of the item to be added to the list
"123"
Number of items added to the list
1
ListDetails Created
ID of the list to which the item is added
"5349b4ddd2781d08c09890f4"
x >= 0
Was this page helpful?