Skip to content

Update a Stock Entry

PUT
/sellables/{sellable_id}/warehouses/{warehouse_id}/stock_entry

Parameters

Path Parameters

sellable_id
required
number

Sellable ID

Example
8276918
warehouse_id
required
number

Warehouse ID

Example
5104

Request Body

object
stock_entry
object
physical_stock_level
required

New stock level

number
200
infinite
required

Whether the stock level should be set to infinite

boolean
location

The location in the warehouse of this stock entry

string
Shelf 2B

Responses

200

OK

object
sellable_id
number
warehouse_id
number
infinite
boolean
allocated_stock_level
number
warehouse
object
id
number
name
string
user_id
nullable
address_line_1
string
address_line_2
string
city
string
region
string
country
nullable
post_code
string
inventory_type_code
string
default_min_reorder
number
click_and_collect_enabled
boolean
click_and_collect_days
nullable
created_by_id
number
updated_by_id
nullable
deleted_at
nullable
deleted_by_id
nullable
created_at
string
updated_at
string
phone
nullable
requested_carrier_account
nullable
location
string
stock_running_low
boolean
updated_at
string
incoming_stock_level
number
physical_stock_level
number
available_stock_level
number
sellable_on_hand_value
number
Example
{
"sellable_id": 14504036,
"warehouse_id": 22668,
"infinite": false,
"allocated_stock_level": 0,
"warehouse": {
"id": 22668,
"name": "My Warehouse",
"user_id": null,
"address_line_1": "",
"address_line_2": "",
"city": "",
"region": "",
"country": null,
"post_code": "",
"inventory_type_code": "wavg",
"default_min_reorder": 0,
"click_and_collect_enabled": false,
"click_and_collect_days": null,
"created_by_id": 23005,
"updated_by_id": null,
"deleted_at": null,
"deleted_by_id": null,
"created_at": "2017-07-04T09:40:37.539Z",
"updated_at": "2017-07-04T09:40:37.539Z",
"phone": null,
"requested_carrier_account": null
},
"location": "Hat Rack",
"stock_running_low": false,
"updated_at": "2017-10-19T09:46:12.042Z",
"incoming_stock_level": 0,
"physical_stock_level": 200,
"available_stock_level": 200,
"sellable_on_hand_value": 400
}

Headers

Transfer-Encoding
string
X-Runtime
string