GET PrestashopApi/Lotes?idArticulo={idArticulo}

Obtenemos una lista de todos los lotes de un artículo para Prestashop

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idArticulo

Identificador del Artículo

integer

Required

Body Parameters

None.

Response Information

Resource Description

Lista de Lotes

Collection of LotePrestashopDto
NameDescriptionTypeAdditional information
IdLote

integer

None.

IdLocalLote

integer

None.

NumLote

string

None.

Caducidad

date

None.

Preferentemente

date

None.

Stock

decimal number

None.

Cantidad

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "IdLote": 1,
    "IdLocalLote": 2,
    "NumLote": "sample string 3",
    "Caducidad": "2025-12-06T06:41:52.2062183+01:00",
    "Preferentemente": "2025-12-06T06:41:52.2062183+01:00",
    "Stock": 6.0,
    "Cantidad": 7.0
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLotePrestashopDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Sofycom.Sofygest.Service.Application.Models.Dtos.Prestashop">
  <LotePrestashopDto z:Id="2">
    <Caducidad>2025-12-06T06:41:52.2062183+01:00</Caducidad>
    <Cantidad>7</Cantidad>
    <IdLocalLote>2</IdLocalLote>
    <IdLote>1</IdLote>
    <NumLote z:Id="3">sample string 3</NumLote>
    <Preferentemente>2025-12-06T06:41:52.2062183+01:00</Preferentemente>
    <Stock>6</Stock>
  </LotePrestashopDto>
  <LotePrestashopDto z:Ref="2" i:nil="true" />
</ArrayOfLotePrestashopDto>