This endpoint completes the Google location verification process identified by google_location_id. It requires authentication and authorization with at least the role of BUSINESS_MANAGER.
If the verification process is not in the PENDING status, or if the PIN code is invalid, an error response will be returned. If the completion is successful, the verification status of the location will be updated.
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
Google location unique id on Partoo
OK
The status of the response success or error.
"success"
Details of the message. Can be one of the following:
complete_success: The verification process has been completed successfully (returned with a success status).complete_in_review: The verification process has been completed successfully but the verification is still in review (returned with a success status).complete_only_pending: The verification process can be completed only on a PENDING verification (returned with a error status).complete_invalid_pin: The PIN code provided is invalid (returned with a error status).complete_error: An error occurred during the completion of the verification process (returned with a error status).complete_success, complete_in_review, complete_only_pending, complete_invalid_pin, complete_error null