Onboarding_Api::installation_url( string $store_id )

Summary

Get the URL to launch the app installation process with BigCommerce


Parameters

$store_id

(string) (Required)


Return

(string)


Source

File: src/BigCommerce/Merchant/Onboarding_Api.php

	public function installation_url( $store_id ) {
		$token = $this->build_auth_token( $store_id );
		$url   = sprintf( '%s/stores/%s/connect', $this->base_url, $store_id );
		$url   = add_query_arg( [ 'token' => $token ], $url );

		/**
		 * Filters oauth connector installation url.
		 *
		 * @param string $url Url.
		 */
		return apply_filters( 'bigcommerce/oauth_connector/installation_url', $url );
	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.