Update a pricesheet by id
PATCH/v2/pricesheets/:id
Update a pricesheet by id
Request
Path Parameters
id stringrequired
Pricesheet identifier
Example: 018fb9a0-e490-79c8-95de-8424f7b06638
- application/json
Body
required
Update pricesheet input
code string
Pricesheet code
names string[]nullable
Pricesheet name
descriptions string[]nullable
Pricesheet description
priority numbernullable
Pricesheet priority
readonly boolean
Pricesheet readonly
Responses
- 200
- 400
- 403
- 404
- 500
Pricesheet updated
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
Primary identifier
createdAt date-timerequired
Creation date
lastModifiedAt date-timerequired
Last modified date
{
"id": "",
"createdAt": "2022-01-01T00:00:00.000Z",
"lastModifiedAt": "2022-01-02T00:00:00.000Z"
}
Bad request
Forbidden
Pricesheet not found
Unknown update pricesheet error
Loading...