Oli Docs
01. Getting Started SDK02. Getting Started SDK-VOD03. Getting Started SDK-SHORT04. Vtex05. Shopify06. Woocommerce07. Braavo08. Linx09. Vipcommerce10. Vnda11. Jetcommerce12. Magento13. WebstormConfigurationRequirementsPermissions keysRoutes IntegrationsCart Checkout

Getting Started Oli-Checkout

Integrations API from multiples platforms


Configuration

- To generate the shopping cart, you need to access the route that returns the cookie.
- In the second step we need to access the route that adds the items to the cart, then
we return to the user the route to access the checkout on the customer platform

Requirements

- URL
- Access Token

Permissions keys

- Read
- Write

Routes Integrations

- Router POST - ajax/listarCarrinho
- Router POST - ajax/addItemCarrinho
- Router GET - webservice/json/api

Cart Checkout

To complete the checkout, first you need to access the route to get the website cookie

After getting the cookie the items can be added to the cart, thus returning the checkout url to the user

POST Router:

https://Domain/checkout/cart

Request:

{
"items": {
"id": "string",
"quantity": 0,
},
"clientProfileData": {
"liveId": "fake-ab1c-4b59-a65e-38283984ed46"
}
}

Response:

{
"message": "string",
"status": "string",
"data": {
"url": "https://domainClient.com.br/checkout/
}
}