Upsert Batch Stock

Updates a list of product sku stock.
A upsert statement verify if already exists a product with the code set on body request and updates an existing product or creates a new one.
This request is an array, so you can insert more than one stock by query.

❗️

Take notice!

This request updates all values already set. Pay attention and don't have anything lost!

Request body example

[
    {
        "Quantity" : 100,
        "SellerCode" : "1", // seller code
        "SkuCode" : "1780.23.0"
    },
    {
        "Quantity" : 100,
        "SellerCode" : "63845114000152", // cnpj
        "SkuCode" : "1780.23.0"
    }
]

Fields Description

FieldTypeDescription
"Quantity"IntThe product sku quantity on stock.
"SellerCode"StringThe seller's company code.
"SkuCode"StringThe sku code.

📘

Result

A 204- No Content result means that the stock was successfully updated.

Language
Authorization
Basic
base64
:
URL