CustomSubAccounts

Returns one sub-account.

Get a sub-account by ID.<br>You must have at least one of these scopes: 'subledger.read, setup.read, setup.manage'.

get/settings/v1/sub-accounts/{id}

Path parameters

idstring required

The ID of the sub-account.

Response

Success.

idstring required

The ID of the sub-account

propertyIdstring required

ID of the property

codestring required

Code of the sub-account.

namestring required

Name of the sub-account

type'Other' | 'Accommodation' | 'FoodAndBeverages' required

Service type of the sub-account

Example response

{
  "id": "MUC-TEA",
  "propertyId": "MUC",
  "code": "Tea",
  "name": "Finest green tea",
  "type": "FoodAndBeverages"
}

Changes

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