Delete Company Pricing
DELETE/companies/:lookupKey/:lookupValue/pricing
Use this endpoint to delete pricing for an existing company. The company can be identified by it's lookup key.
Request
Path Parameters
lookupKey stringrequired
Lookup key. Read more about company lookup keys
lookupValue stringrequired
The value of the key (id or sourceId)
Responses
- 200
- 404
Delete Company Pricing - 200
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Company Pricing - 200
Schema
data
object
object
messages string[]
{
"data": {},
"messages": [
"completed"
]
}
{
"data": {},
"messages": [
"completed"
]
}
Delete Company Pricing - 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 Company Pricing - 404
Schema
error
object
code number
messages string[]
moreInfo string
status number
type string
{
"error": {
"code": 40007,
"messages": [
"Parent resource [Company] with id [122589] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/20007",
"status": 404,
"type": "ParentCompanyNotFound"
}
}
{
"error": {
"code": 40007,
"messages": [
"Parent resource [Company] with id [122589] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/20007",
"status": 404,
"type": "ParentCompanyNotFound"
}
}
Loading...