Referencia de endpointsInventario
Inventory - Todos los endpoints de Inventory disponibles
GET
Todos los endpoints de Inventory disponibles
Endpoints de consulta (GET)
| Endpoint | Descripción | Parámetros principales |
|---|---|---|
GET api/Inventory/Get?hash={hash}&code={code}&pricelistId={pricelistId}&siteId={siteId}&includePreferences={includePreferences} | Método de consulta con preferencias | hash, code, pricelistId, siteId, includePreferences |
Endpoints de modificación (POST/PUT)
| Endpoint | Descripción | Parámetros principales |
|---|---|---|
PUT api/Inventory?hash={hash}&mode={mode} | Actualiza producto existente | hash, mode |
Casos de uso:
- Consulta con preferencias: Usando endpoint
/Inventory/Get - 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" }]hash*stringToken de autenticación obtenido del endpoint /Auth
code?stringCódigo específico del producto
siteId?integerID del sitio
pricelistId?integerID de la lista de precios
includePreferences?booleanIncluir preferencias/propiedades del producto
Inventario obtenido exitosamente
curl -X GET "https://example.com/inventory?hash=5de3928b-6018-4b0c-9ebd-bc2c3e18f708"Empty

