@grabjs/superapp-sdk
    Preparing search index...

    Type Alias GetSelectedTravelDestinationResponse

    GetSelectedTravelDestinationResponse:
        | { status_code: 204 }
        | { error: string; status_code: 500 }
        | { error: string; status_code: 501 }
        | { result: string; status_code: 200 }

    Response when reading the selected travel destination lowercase ISO 3166-1 alpha-2 country code.

    This response can have the following status codes:

    • 200: The selected travel destination lowercase ISO 3166-1 alpha-2 country code was returned successfully.
    • 204: No selected travel destination is currently available.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.