Sites
Update a site's service charge settings
Use this endpoint to update the service charge settings for a site
put/shop/sites/{siteId}/service-charge-settings
Request body
Example request
{
"default_percentage": 10,
"exit_gratuity_offering_defaults": [
{
"tip_wording": "Add a gratuity for your therapist",
"offerings": [
{
"offering_type": "appointment"
}
]
}
],
"tip_wording": "Add a gratuity for your therapist",
"offering_defaults": [
{
"percentage": 12.5,
"offerings": [
{
"offering_type": "appointment"
}
]
}
]
}Response
A response containing a site's service charge settings.
Example response
{
"data": {
"default_percentage": 10,
"exit_gratuity_offering_defaults": [
{
"tip_wording": "Add a gratuity for your therapist",
"offerings": [
{
"offering_name": "Twilight massage",
"offering_type": "appointment"
}
]
}
],
"offering_defaults": [
{
"percentage": 12.5,
"offerings": [
{
"offering_name": "Twilight massage",
"offering_type": "appointment"
}
]
}
],
"tip_wording": "Add a gratuity for your therapist"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.