ops
ops-pricing-categories
Create pricing categories
Changed onCreate new pricing categories
post/ops/pricing_categories
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/pricing_categories
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: ops-pricing-category:edit
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
}
]
}
]
}
}Changes
- info
api operation id
pricing-category.createremoved and replaced withpricing-category#create
- info
- info
api operation id
pricing-category#createremoved and replaced withpricing-category.create - info
api tag
ops-pricing-categoriesadded
- info