E3 Stores
Referencia de endpointsInventario

Inventory - Todos los endpoints de Inventory disponibles

GET
/inventory

Todos los endpoints de Inventory disponibles

Endpoints de consulta (GET)

EndpointDescripciónParámetros principales
GET api/Inventory/Get?hash={hash}&code={code}&pricelistId={pricelistId}&siteId={siteId}&includePreferences={includePreferences}Método de consulta con preferenciashash, code, pricelistId, siteId, includePreferences

Endpoints de modificación (POST/PUT)

EndpointDescripciónParámetros principales
PUT api/Inventory?hash={hash}&mode={mode}Actualiza producto existentehash, mode

Casos de uso:

  1. Consulta con preferencias: Usando endpoint /Inventory/Get
  2. Actualización de inventario: Usando endpoint PUT /Inventory
[  {    "InternalId": "number",    "Code": "string",    "Stock": "number",    "Price": "number",    "OfferPrice": "number",    "Taxes": "null or object",    "ForSale": "boolean",    "Published": "boolean",    "IsItem": "boolean",    "ParentItemId": "number",    "ParentItemCode": "string",    "PriceListId": "number",    "PriceListCode": "string or null",    "PriceMode": "number",    "PrecioOriginal": "string",    "DepStock": "null or object",    "Properties": [      {        "Key": "string",        "Value": "string"      }    ],    "Name": "string",    "Code2": "string",    "ExternalReference": "string",    "SiteId": "number",    "ExtendedWarranty": "null or object"  }]

Query Parameters

hash*string

Token de autenticación obtenido del endpoint /Auth

code?string

Código específico del producto

siteId?integer

ID del sitio

pricelistId?integer

ID de la lista de precios

includePreferences?boolean

Incluir preferencias/propiedades del producto

Response Body

Inventario obtenido exitosamente

curl -X GET "https://example.com/inventory?hash=5de3928b-6018-4b0c-9ebd-bc2c3e18f708"
Empty