3. Return to VTEX

The PROVIDER will redirect the store administrator to the VTEX Web Site.

The PROVIDER will redirect the store administrator to the VTEX Web Site using the returnUrl passed from VTEX to create token.

The returnUrl MUST be filled with your authorizationCode

You redirect the store administrator to the returnUrl previously sent, see that the url has an authorizationCode parameter in the Query string that you fill before redirect.

Example:

If you receive an URL https://store.vtex.com/return?authorizationCode=&otherparams...

and your authorizationCode was pro2018

Then you redirect the store administrator to:

https://store.vtex.com/return?authorizationCode=pro2018&otherquerystringparameters


REQUEST EXAMPLES AND THEIR RESPONSES


curl --location --request GET '{returnUrl}/?authorizationCode={providerAuthorizationCode}' \
--data-raw ''
Language
Authentication
URL
Click Try It! to start a request and see the response here!