Tariffs

List all One-time tariffs

Returns list of your One-time tariffs.

get/admin/tariffs/one-time

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/tariffs/one-time
  • Auth: HTTP basic

Response

titlestring required

Unique title of tariff

service_descriptionstring

Unique service description

pricenumber

Price

with_vatboolean

With VAT or not

vat_percentnumber

VAT value

partners_idsstring[] required

Array of partners (ids) who can use this tariff

customer_categoriesstring[]

Customer categories

available_for_locationsnumber[]

Array of locations (ids)

enabledboolean

Enabled

hide_on_admin_portalboolean required

Hide tariff on Admin portal. Default: false

show_on_customer_portalboolean

Show tariff on Customer portal. Default: false

tax_idnumber

Tax id

idnumber required

One-time tariff ID

transaction_category_idnumber

Example response

[
  {
    "title": "Aplha",
    "service_description": "aplha",
    "price": 100,
    "with_vat": true,
    "vat_percent": 19,
    "partners_ids": [
      "1"
    ],
    "customer_categories": [
      "person",
      "company"
    ],
    "customer_labels": [
      {
        "id": 1,
        "label": "Label name",
        "color": "#357bf2"
      }
    ],
    "available_for_locations": [
      1
    ],
    "enabled": true,
    "hide_on_admin_portal": false,
    "show_on_customer_portal": false,
    "tax_id": 0,
    "id": 1,
    "transaction_category_id": 0,
    "tariff_labels": [
      {
        "id": 1,
        "label": "Label name",
        "color": "#357bf2"
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.