cursor and nextCursor must be correctly configured in the request.| CSV Field | Description/Format |
|---|---|
| ENTITY_CODE | Entity code identifying the store or warehouse |
| ENTITY_DESCRIPTION | Description of the entity (store or warehouse) |
| ENTITY_TYPE | Type of entity: warehouse or store |
| ENTITY_CITY | Descriptive data of the entity |
| ENTITY_COUNTRY | ISO 2 code of the country |
| ENTITY_PROVINCE | ISO 2 code of the province |
| ENTITY_REGION | ISO 3 code of the region |
| ENTITY_ZIP_CODE | |
| ITEM_CODE | Product code to which the stock level refers |
| ITEM_DESCRIPTION | Identifying description of the product to which the stock level refers |
| DIMENSION_TYPE1 | Type 1 of the dimensional group that specifies the product (e.g., Size grid for the dimensional group related to sizes) |
| DIMENSION_LEVEL1 | Identifying code of level 1 assigned to identify the product variant (e.g., the identifying code of the valid size for the dimensional group related to sizes) |
| DIMENSION_DESCRIPTION1 | Descriptive description of level 1 assigned to identify the product variant (e.g., description of the valid size - S,M ... 36,37,..- for the dimensional group related to sizes) |
| DIMENSION_TYPE2 | Type 2 of the dimensional group that specifies the product (e.g., Color palette for the dimensional group related to colors) |
| DIMENSION_LEVEL2 | Identifying code of level 2 assigned to identify the product variant (e.g., identifying code of the valid color for the dimensional group related to colors) |
| DIMENSION_DESCRIPTION2 | Descriptive description of level 2 assigned to identify the product variant (e.g., description of the valid color - Black, Red...- for the dimensional group related to colors) |
| DIMENSION_TYPE3 | Type 3 of the dimensional group that specifies the product (e.g., Drop for the dimensional group related to drop) |
| DIMENSION_LEVEL3 | Identifying code of level 3 assigned to identify the product variant (e.g., identifying code of the valid drop for the dimensional group) |
| DIMENSION_DESCRIPTION3 | Descriptive description of level 3 assigned to identify the product variant (e.g., description of the valid drop - R, L... - for the dimensional group) |
| DIMENSION_TYPE4 | Type 4 of the dimensional group that specifies the product (e.g., Stature for the dimensional group related to stature) |
| DIMENSION_LEVEL4 | Identifying code of level 4 assigned to identify the product variant (e.g., identifying code of the valid stature for the dimensional group) |
| DIMENSION_DESCRIPTION4 | Descriptive description of level 4 assigned to identify the product variant (e.g., description of the valid stature - 6,7,... - for the dimensional group) |
| DIMENSION_TYPE5 | Type 5 of the dimensional group that specifies the product (e.g., Heel for the dimensional group related to heel) |
| DIMENSION_LEVEL5 | Identifying code of level 5 assigned to identify the product variant (e.g., identifying code of the valid heel for the dimensional group) |
| DIMENSION_DESCRIPTION5 | Descriptive description of level 5 assigned to identify the product variant (e.g., description of the valid heel - 70,100,... - for the dimensional group) |
| QUANTITY_STOCK | Final stock quantity at warehouse/store |
| QUANTITY_AVAILABLE | Available quantity |
| CREATE_DATE | Creation date of the information Format YYYY-MM-DD HH:MM:SS |
| LAST_UPDATE | Update date of the information Format YYYY-MM-DD HH:MM:SS |
| QUANTITY_RESERVED | SKU quantity reserved only for the entity |
fromDateTime parameter, which is a datetime starting point (maximum of 24 hours ago).curl --location -g --request GET '/api?cmd=getLastStocks_v1&applicationId={{APPLICATION_ID}}&appId={{APPLICATION_ID}}&loadRoles=Y&fromDateTime=2022-05-03 10:10:00&channel=ECOMMERCE' \
--header 'applicationId: {{APPLICATION_ID}}' \
--header 'appId: {{APPLICATION_ID}}' \
--header 'namespace: {{NAMESPACE}}' \
--header 'languageId: {{LANGUAGE}}' \
--header 'username: {{USERNAME}}' \
--header 'password: {{PASSWORD}}' \
--header 'companyId: {{COMPANY_ID}}' \
--header 'siteId: {{SITE_ID}}' \
--header 'loadRoles: Y' \
--header 'User-Agent: Apidog/1.0.0 (https://apidog.com)' \
--header 'Content-Type: application/json'{
"success": true,
"valueObjectList": [
{
"entityCode": "1150",
"entityDescription": "Negozio Mobile shop (Michele)",
"entityType": "",
"entityCity": "",
"entityCountry": "",
"entityProvince": "",
"entityRegion": "",
"entityZipCode": "",
"parentEntityCode": 440,
"itemCode": "191MP2311",
"itemDescription": "GIACCA MY",
"dimensionType1": "TAGLIA",
"dimensionLevel1": "4",
"dimensionDescription1": "L",
"dimensionType2": "COLORE",
"dimensionLevel2": "2138",
"dimensionDescription2": "NERO/WHITE 03459",
"dimensionType3": null,
"dimensionLevel3": null,
"dimensionType4": null,
"dimensionLevel4": null,
"dimensionType5": null,
"dimensionLevel5": null,
"quantityStock": 3,
"quantityAvailable": 2,
"quantityReservated": 1
},
{
"entityCode": "1150",
"entityDescription": "Negozio Mobile shop (Michele)",
"entityType": "",
"entityCity": "",
"entityCountry": "",
"entityProvince": "",
"entityRegion": "",
"entityZipCode": "",
"parentEntityCode": 440,
"itemCode": "AB70791",
"itemDescription": "VESTITO ELISABETTA",
"dimensionType1": "TAGLIA",
"dimensionLevel1": "3",
"dimensionDescription1": "40",
"dimensionType2": "COLORE",
"dimensionLevel2": "441",
"dimensionDescription2": "Nero",
"dimensionType3": null,
"dimensionLevel3": null,
"dimensionType4": null,
"dimensionLevel4": null,
"dimensionType5": null,
"dimensionLevel5": null,
"quantityStock": 2,
"quantityAvailable": 2,
"quantityReservated": 1
},
{
"entityCode": "10",
"entityDescription": "Negozio 10",
"entityType": "SHOP",
"entityCity": "MILANO",
"entityCountry": "IT",
"entityProvince": "MI",
"entityRegion": "LOMBARDIA",
"entityZipCode": "20124",
"parentEntityCode": 440,
"itemCode": "011 N",
"itemDescription": "SCARPA DONNA REBECCA WHITE",
"dimensionType1": "TAGLIA",
"dimensionLevel1": "24",
"dimensionDescription1": "46½",
"dimensionType2": "COLORE",
"dimensionLevel2": "125",
"dimensionDescription2": "Black",
"dimensionType3": null,
"dimensionLevel3": null,
"dimensionType4": null,
"dimensionLevel4": null,
"dimensionType5": null,
"dimensionLevel5": null,
"quantityStock": 5,
"quantityAvailable": -1,
"quantityReservated": 1
}
],
"moreRows": false
}fromDateTime parameter.fromDateTime.fromDateTime parameter.fromDateTime.winston for logging.fromDateTime parameter.