Update Provider

This endpoint updates a service provider. Only the fields present in the request are changed (partial update).

Important Notes

  • times replaces the whole working schedule.
  • The provider cannot be moved to another location through the API.
  • Use the activate and deactivate endpoints to change active.
  • An id that belongs to another company answers 404, the same as an unknown id.

Errors Dictionary

StatusErrorDetailDescription
400invalid_bodyexpected_objectRequest body is not a JSON object.
400provider_time_is_not_rounded—A time is not rounded to 5-minute intervals.
401unauthorizedinvalid_api_keyMissing or invalid Bearer token.
401unauthorizedapi_config_inactiveAPI access is inactive for this company.
403forbiddenscope_deniedAPI key lacks providers:write scope.
404provider_not_found—Provider not found, or it belongs to another company.
422public_name_too_long—public_name exceeds 255 characters.
422provider_time_closes_before_open—A closing time is not after its opening time.
422overlapping_provider_times—Two time ranges overlap on the same day.
429rate_limitedburst_limit_exceededPer-minute request limit exceeded.
429rate_limiteddaily_quota_exceededDaily request quota exceeded.
502upstream_unavailableconnection_failedThe upstream service is unavailable.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
≥ 1

Provider unique identifier.

Body Params

Fields accepted when updating a provider. Every field is optional; times replaces the whole schedule.

string
length ≤ 255
boolean
string | null
times
array of objects
times
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json