Create a standard term
Changed onCreates a new standard term.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
The ID of the End-User to receive this request.
Request body
Example request
{
"name": "Net 30",
"isActive": true,
"dueDays": 30,
"discountDays": 10,
"discountPercentage": "10"
}Response
Returns the newly created standard term.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_standard_term",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Net 30",
"isActive": true,
"dueDays": 30,
"discountDays": 10,
"discountPercentage": "10"
}Changes
- breaking
response property
discountDayslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
discountPercentagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
dueDayslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
response property
discountDayslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
discountPercentagelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
dueDayslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking