Deployment

Now that you deployed the main integrations with Via Varejo’s API, you have to execute the installation. This process involves validating the deployed integrations (validation) and obtaining a token with access to the production.

Validation with Via Varejo

In order to use the production APIs, your application should undergo a validation process, where the most relevant integrations will be verified and assessed.
To request the validation of your APP when the deployment is finished, run the operating flow in your Sandbox environment, as listed below, and then open a call in the portal of the developers requesting the validation and notifying the name of the Owner of the access_token used by you to accomplish the tests, and also providing the URLs of the services of order notification, freight estimate and stock reservation, if they were deployed. Our team is going to review all requests sent and test the URLs, and then they will approve the APP to operate in a production environment.
 
The requests to be verified are the following:
POST /loads/products
GET /loads/products
GET /sellerItems
PUT /sellerItems/{skuSellerId}/status
PUT /sellerItems/{skuSellerId}/prices
PUT /sellerItems/{skuSellerId}/stock
POST /orders
GET /orders/status/new
PUT /orders/status/approved/{orderId}
GET /orders/status/approved
POST /orders/{orderId}/trackings/sent

POST /orders/{orderId}/trackings/delivered

 For further information, access: Basic Integration Flows Validation Process

Acquisition of the Production Token

So far, all integrations were accomplished with a token that was automatically generated in the Sandbox environment. For the production environment, this token will not be automatically generated. Instead, the token can be requested via an OAuth2 process.

OAuth 2 Flow

OAuth 2 is an industry standard that assures the sensitive information, such as user name and password, are not directly used by third-party applications. OAuth overview in the API of the Marketplace OAuth2 Communication Flow

English