...
Changes on the partner setup are valid & reflected for all customers as soon as set by the partner.
For example, to set the webhook for notifications to the partner or partner images and affiliate banners, you need this endpoint:
The endpoints are documetned at this page.
PUT /setup/partner/images
...
The partner image must be at least 130px*130px and the banner should be in a banner format and it must have a minimum height of 30px.
The image/banner must be Base64 encoded for the request.
Send a request as described in this YAML.
In order to check the current configuration, use the following endpoint:
...
Codeblock |
---|
> 200 OK { "enabledRequests": [ "review", "salary", "wake_up_call" ], "grantedFunctionality": [ "userList", "userPush", "messageImport", "hasActions" ], "webhook": "https://example.com/hotelkit", "userSync": { "regEx": "^(\\d{3}_\\d*)(,\\d{3}_\\d*)*$", "examples": [ "123_00025", "123_12345,045_58975" ], "errorMessage": { "de_DE": "Personalnummern m\u00fcssen dem Format XXX_XXXXX entsprechen", "en_US": "personnel numbers must be given in the format XXX_XXXXX" } }, "sso": { "type": "oAuth", "providerOptions": { "authorizationServer": "https://authorization-server.com/auth", "client_id":"hotelkit", }, "hotelkitOptions":{ "userCreate":false, "userEdit":false, "passwordReset":true"client_id": "hotelkit" } } } |
Partner without userPush
...