Price and stock
In this section you will find all the information about API's related with stock and prices
Última actualización
In this section you will find all the information about API's related with stock and prices
Última actualización
POST
https://ventiapi.azurewebsites.net/api/stock/updatestock
Post must be made with a data arrangement containing the SKU and the associated Stock. This function will upload the data to Ventiapp and the platform will be responsible for updating all the channels where its publications are active. Up to 50 SKUs per call is supported.
Name | Type | Description |
---|---|---|
Body parameters
POST
https://ventiapi.azurewebsites.net/api/stock/updateprice
Post must be made with a data arrangement containing the SKU and the associated Price. This function will upload the data to VentiApp and the platform will be responsible for updating all the channels where its publications are active. Up to 50 SKUs per call is supported.
Body parameters
POST
https://ventiapi.azurewebsites.net/api/stock/updatepricestockbychannel
This function can be used to update stock and price differentiated by channel, these fields can be optional, it is not mandatory to send both. The required field is that of the channel. This call is limited to one SKU's simultaneously.
Body parameters
Channels allowed
MercadoLibre (mercadolibre)
Linio (linio)
Shopify (shopify)
Claroshop (claroshop)
Amazon (amazon)
Walmart (walmart)
Mercadoshops (mercadoshops)
WooCommerce (woocommerce)
Magento (magento)
Walmart (walmart)
Wish (wish)
Field availableDays is added to indicate the availability in days of the product (This only applies to Mercado Libre as soon as they release their API)
GET
https://ventiapi.azurewebsites.net/api/stock/getpricestockbychannel/{sku}/
This function can be used to obtain the stock and price differentiated by channel. Simply replace the SKU of the url with the desired one. If the SKU uses characters like dots or commas, it is recommended to put the bar at the end of the query string
POST
https://ventiapi.azurewebsites.net/api/stock/updatepricebyerpid
This function works similar to Update Price but requires the ERP ID. This function should only be invoked if you have a custom integration of Ventiapp with your ERP.
Body parameters
POST
https://ventiapi.azurewebsites.net/api/stock/UpdatePriceAndStockAsync
This option should be used when you want to process large quantities of SKU's. It is recommended to run at night hours due to the time it can take to process the data. This option should be used when you want to process large amounts of SKUs or the desired channel is taking a long time to respond with a previous endpoint. This process generates a task within Ventiapp. The result of this can be consulted from the frontend, or from the GetStatusRequest endpoint
Body Parameters
GET
https://ventiapi.azurewebsites.net/api/stock/GetStatusRequest
This method returns the state of the previously generated asynchronous task
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization
string
Bearer +token
Content-Type
string
application/json
Authorization
string
Bearer +token
Content-Type
string
application/json
Authorization
string
Bearer +token
Content-Type
string
application/json
Authorization
string
Bearer +token
Content-Type
string
application/json
Authorization
string
Bearer +token
Content-Type
string
application/json
Authorization
string
Bearer +token
Content-Type
string
application/json
jobId
number
Id de la tarea generada
Authorization
string
Bearer + token
Content-Type
string
application/json