Update Stock

UpdateStock: Updates the stock of your products across your different warehouses.

You can send stock of a product directly to a specific warehouse or assign it to your default warehouse. It is not possible to use this API to add stock to Fulfillment by Falabella warehouses.


🚧

Important

  • If GSCFacilityID or SellerWarehouseId is not included, the main warehouse will be used by default. Sellers who have only one warehouse do not need to include it.
  • Remember that you should only include FacilityID or SellerWarehouseId; using both in the same request will generate an error.
  • The maximum number of SKUs per request is 500.

How to obtain the SellerWarehouseId or FacilityId?

To obtain the SellerWarehouseId or FacilityId of your warehouses, remember that you can use the method GetWarehouse.

If you only have one warehouse, you should not send the SellerWarehouseId or FacilityId in the request.

Request Data

<?xml version="1.0" encoding="UTF-8" ?>  
<Request>
    <Warehouse>
        <Stock>
            <GSCFacilityId>477584939</GSCFacilityId>
            <SellerSku>abc02</SellerSku>
            <Quantity>234</Quantity>
        </Stock>
        <Stock>
            <GSCFacilityId>4775849395</GSCFacilityId>
            <SellerSku>abc02</SellerSku>
            <Quantity>230</Quantity>
        </Stock>
    </Warehouse>
</Request>
<?xml version="1.0" encoding="UTF-8" ?>  
<Request>
    <Warehouse>
        <Stock>
            <SellerWarehouseId>477584939</SellerWarehouseId>
            <SellerSku>abc02</SellerSku>
            <Quantity>234</Quantity>
        </Stock>
        <Stock>
            <SellerWarehouseId>4775849395</SellerWarehouseId>
            <SellerSku>abc02</SellerSku>
            <Quantity>230</Quantity>
        </Stock>
    </Warehouse>
</Request>
<?xml version="1.0" encoding="UTF-8" ?>  
<Request>
    <Warehouse>
        <Stock>
            <SellerSku>abc02</SellerSku>
            <Quantity>234</Quantity>
        </Stock>
        <Stock>
            <SellerSku>abc03</SellerSku>
            <Quantity>230</Quantity>
        </Stock>
    </Warehouse>
</Request>


Common Errors and Their Mitigation

Error CodeError MessageMitigation
100000: Internal application errorCorrect the payload structure.
100002:Format Error Detected: The limit of SellerSkus is 500Create or update 500 SKUs or fewer
100003:Format Error Detected: Facility in StockGenerate a support ticket
100004:Format Error Detected: SellerSku in NodeCheck for SKU associated with warehouses or validate that the SKU is being written correctly
100005:Format Error Detected: Quantity in NodeAdd stock value in request

Language