- Authentication
- Pagination
- Rate limits
- Error codes
- Changelog
- Configuration Service
- Endpoints
- Authentication
- Customer
- Supplier
- Product
- Product
- Groups
- Discount
- Stock
- Prices
- Descriptions
- References
- Compositions
- Quote
- Sales order
- Invoice
- Delivery
- Purchase order
Get stock for products
Testing
GET
/rest/v1/products/stock
Request
Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Query Params
pageSize
integer
optional
Example:
100
pageNumber
integer
optional
Example:
1
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.logictrade.cloud/rest/v1/products/stock?pageSize=100&pageNumber=1' \
--header 'api-key;'
Responses
🟢200Success
application/json
Body
pagination
object
optional
totalResults
integer
optional
pageNumber
integer
optional
pageSize
integer
optional
totalPages
integer
optional
results
array [object {4}]
optional
productId
integer
optional
configurationId
integer
optional
stock
number
optional
locations
array [object {3}]
optional
Example
{
"pagination": {
"totalResults": 0,
"pageNumber": 0,
"pageSize": 0,
"totalPages": 0
},
"results": [
{
"productId": 0,
"configurationId": 0,
"stock": 0,
"locations": [
{
"description": "string",
"code": "string",
"stock": 0
}
]
}
]
}
Modified at 2024-11-07 14:19:02