v2
latestOpenAPI 3.0.32026-08-05174296703.4 KBops
create pricing-category
Create new pricing categories
post/ops/pricing_categories
Request body
Example request
{
"pricing_category": {
"description": "abc123",
"headrooms": [
{
"expected_residual_value_ratio": 1,
"headroom_ratio": 1,
"is_default": false,
"tenure": 1
}
],
"identifier": "abc123",
"services": [
{
"name": "abc123",
"service_prices": [
{
"kind": "abc123",
"price": 1,
"tenure": 1
}
]
}
]
}
}Response
Created response.
Example response
{
"pricing_category": {
"description": "abc123",
"headrooms": [
{
"expected_residual_value_ratio": 1,
"headroom_ratio": 1,
"is_default": false,
"tenure": 1
}
],
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"identifier": "abc123",
"services": [
{
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"name": "abc123",
"service_prices": [
{
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"kind": "abc123",
"price": 1,
"tenure": 1
}
]
}
]
}
}