Team Tax
Set the default team tax profile
Changed onUse this profile by default for future events.
put/teams/{teamId}/tax-profiles/{profileId}/default
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
teamId, string required
Unique team identifier
profileId, string required
Unique tax profile identifier
Response
OK
object required
Team tax profiles and the current default
profiles, object[] required
Reusable tax profiles owned by the team
defaultProfileId, string nullable required
Unique tax profile identifier
Example response
{
"profiles": [
{
"supplier": {
"address": {
"countryCode": "AU"
}
},
"collection": {
"taxName": "GST",
"ratePpm": 100000,
"priceMode": "INCLUSIVE"
}
}
]
}Changes
- breaking
added the pattern
^tem_[0-9a-z]{26}$to thepathrequest parameterteamId - breaking
added the pattern
^txp_[0-9a-z]{26}$to thepathrequest parameterprofileId - info
the
defaultProfileId/anyOf[subschema #1]response's property pattern^txp_[0-9a-z]{26}$was added for the status
3 more changes in this revision
- breaking