GET PrestashopApi/Articulo/Stock?idPaginaWeb={idPaginaWeb}
Obtenemos una lista de stock de los artículos
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idPaginaWeb |
Identificador de la página web |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Lista de Stock de Artículos
Collection of StockDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IdArticulo | integer |
None. |
|
| Articulo | string |
None. |
|
| IdTalla | integer |
None. |
|
| Talla | string |
None. |
|
| IdColor | integer |
None. |
|
| Color | string |
None. |
|
| Fecha | date |
None. |
|
| Stock | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "2",
"IdArticulo": 1,
"Articulo": "sample string 2",
"IdTalla": 3,
"Talla": "sample string 4",
"IdColor": 5,
"Color": "sample string 6",
"Fecha": "2025-12-06T06:43:27.3448901+01:00",
"Stock": 7.0
},
{
"$ref": "2"
}
]
application/xml, text/xml
Sample:
<ArrayOfStockDto 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.Articulo">
<StockDto z:Id="2">
<Articulo z:Id="3">sample string 2</Articulo>
<Color z:Id="4">sample string 6</Color>
<Fecha>2025-12-06T06:43:27.3448901+01:00</Fecha>
<IdArticulo>1</IdArticulo>
<IdColor>5</IdColor>
<IdTalla>3</IdTalla>
<Stock>7</Stock>
<Talla z:Id="5">sample string 4</Talla>
</StockDto>
<StockDto z:Ref="2" i:nil="true" />
</ArrayOfStockDto>