Delete Pricesheet by lookup id
DELETE/pricesheets/:lookupKey/:lookupValue
This endpoint deletes a price sheet and it's pricing. The price sheet can be identified by lookup key.
Request
Path Parameters
lookupKey stringrequired
Lookup key. Read more about price sheet lookup keys
lookupValue stringrequired
The value of the key (id or code)
Responses
- 200
- 404
Delete Pricesheet by code - 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 Pricesheet by code - 200
Schema
data
object
object
messages string[]
{
"data": {},
"messages": [
"completed"
]
}
{
"data": {},
"messages": [
"completed"
]
}
Delete Pricesheet by code - 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 Pricesheet by code - 404
Schema
error
object
code number
messages string[]
moreInfo string
status number
type string
{
"error": {
"code": 12002,
"messages": [
"Pricesheet with code [3A221] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/12002",
"status": 404,
"type": "PricesheetNotFound"
}
}
{
"error": {
"code": 12002,
"messages": [
"Pricesheet with code [3A221] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/12002",
"status": 404,
"type": "PricesheetNotFound"
}
}
Loading...