Stock: Operations on product stock

Update the stock of the specified product on the specified account

The indicated account number must correspond to the one authorized by the provided API KEY. Otherwise, an authentication error will occur.<br /><br /> When generating the detail of stocks to be updated, please note the following business rules:<br /> • The 'Code' (SKU) field is mandatory and must match exactly the product code in the catalog.<br /> • The 'Brand' field is optional if and only if the product catalog codes (SKU) are unique. If there are two identical codes (SKU) with the same brand, the change will be reported as invalid.<br /> • The 'New stock' field is optional. It indicates the stock to be updated on the product.<br /> • The 'Minimum publication stock' field is optional. It indicates the reference stock to automatically pause the product publications.<br /> • The 'Movement stock' field is optional. It adds or subtracts the quantity of items to the product stock. It allows negative values. The StockNuevo and StockMovimiento fields cannot be modified at the same time.<br /> • Without prejudice to the foregoing, it is mandatory to inform at least ONE of the stock fields: 'New stock' or 'Minimum publication stock' or 'Movement stock'.<br /> • The value of the stock fields to report CANNOT be empty. It must be a 0 (zero) or a higher number.
• If a negative or less than 0 (zero) stock value is sent, the change will be ignored and an error will be reported.<br />

post/Stock

Request

  • Base URL
    https://api.alephee.com
  • URL
    https://api.alephee.com/Stock
  • Auth
    none declared

Query parameters

IdCuentainteger required

Request body

Marcastring
Codigostring
StockNuevointeger
StockMinimoPublicacioninteger
StockMovimientointeger
StockPortalB2Binteger

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.