Delete Inventory by Id
DELETE/inventory/id/:id
This endpoint allows deleting inventory record by it's Propeller inventory id.
Request
Path Parameters
id stringrequired
Inventory record Id
Responses
- 200
- 404
Delete Inventory by Id - 200
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
server
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Inventory by Id - 200
Schema
data
object
object
messages string[]
{
"data": {},
"messages": [
"Inventory deleted"
]
}
{
"data": {},
"messages": [
"Inventory deleted"
]
}
Delete Inventory by Id - 404
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
server
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Inventory by Id - 404
Schema
error
object
code number
messages string[]
moreInfo string
status number
type string
{
"error": {
"code": 13006,
"messages": [
"Inventory with id [58991] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/13006",
"status": 404,
"type": "InventoryNotFound"
}
}
{
"error": {
"code": 13006,
"messages": [
"Inventory with id [58991] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/13006",
"status": 404,
"type": "InventoryNotFound"
}
}
Loading...