---
title: "Retrieve a sale fee"
method: GET
path: "/api/business/{businessId}/branch/{branchId}/salefee/{saleFeeId}"
tags: ["SaleFee"]
---

# Retrieve a sale fee

`GET /api/business/{businessId}/branch/{branchId}/salefee/{saleFeeId}`

## Request

- Base URL: `http://api-gateway-eu.phorest.com/third-party-api-server`
- URL: `http://api-gateway-eu.phorest.com/third-party-api-server/api/business/{businessId}/branch/{branchId}/salefee/{saleFeeId}`
- Auth: HTTP basic

Get a sale fee for the specified business id, branch id and sale fee id

## Path parameters

- `businessId` string, required
- `branchId` string, required
- `saleFeeId` string, required

## Response `200`

Specified sale fee retrieved

- SaleFee
  - `saleFeeId` string
  - `name` string
  - `type` 'PERCENT' | 'AMOUNT': The type of fee. Can be either PERCENT or AMOUNT
  - `value` number
  - `taxRateId` string
  - `automatic` boolean: Is the fee automatically applied to sales
  - `servicesOnly` boolean: Does the fee only apply to services
  - `archived` boolean
  - `active` boolean
  - `deleted` boolean
  - `createTime` string, date-time
  - `updateTime` string, date-time
  - `restrictedServiceIds` string[]: List of service ids the sale fee does not apply to

## Other responses

- `400`: Bad Request
- `404`: Business, branch or sale fee with the specified id don't exist
- `429`: Request rate limit exceeded. Current limit set to 100 rps.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/phorest/apis/third-party-api.md) - [All operations](https://skmtc.dev/phorest/apis/third-party-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phorest/apis/third-party-api/revisions/beea6ef29634?raw)
