iLogistic Products (1.1.0)
iLogistic Products
List products
List all of your products, optionally using limit/offset for pagination.
Authorizations:
query Parameters
limit | integer <int64> Number of items to list. |
offset | integer <int64> Number of items to be skipped. |
hasSerial | boolean Filter for products based on the product's serial number management. Accepted values are 0 (as turned off) or 1 (as turned on). |
hasExpirationDate | boolean Filter for products based on the product's expiration date management. Accepted values are 0 (as turned off) or 1 (as turned on). |
isVirtual | boolean Filter for products based on the product's category. Accepted values are 0 (as non virtual products) or 1 (as virtual products). |
isPackage | boolean Filter for products based on whether the product is a package product. Accepted values are 0 (as not package products) or 1 (as package products only). |
changedSince | string Filter for products based on the time of it's most recent stock change event. Accepted values are date time strings defined as ISO-8601 (ex. 2023-01-12T12:45:57 ). |
Responses
Response samples
- 200
- 401
[- {
- "id": 54379,
- "name": "Teszt Sajt",
- "type": "Tej",
- "weight": 11,
- "width": 25,
- "depth": 10,
- "height": 45,
- "price": 350,
- "tax": 27,
- "created": "2019-08-24",
- "edited": "2021-05-28 17:03:21",
- "onStock": 0,
- "physicalStock": 0,
- "importSource": "Internal API",
- "expirationDates": [
- {
- "expirationDate": "2023-01-12",
- "count": 2
}
], - "barCode": [
- "5998900130062",
- "5998900130063"
], - "itemNumber": "Tej-9761",
- "category": "termek",
- "status": 1,
- "fragile": 1,
- "hasSerial": false,
- "hasExpirationDate": false
}
]
Create product
Create a new product.
Authorizations:
Request Body schema: application/json
name | string <= 255 characters Name of the product | ||||
type | string <= 255 characters Custom label like, product category. | ||||
weight | integer <int64> Item's weight in kilogram. | ||||
width | integer <int64> Item's width in centimeter. | ||||
depth | integer <int64> Item's depth in centimeter. | ||||
height | integer <int64> Item's height in centimeter. | ||||
price | integer <int64> Integer price of the product in HUF. | ||||
tax | integer <int64> Tax rate of the product in percentage. | ||||
barCode | Array of strings unique [ items <= 4 items ] ID's CAN ONLY BE ADDED, NOT MODIFIED! Unique non required barcodes that helps warehouse workers identify the product. [MAX 4] | ||||
itemNumber | string <= 255 characters unique Unique required item identifier that helps warehouse workers and the order API identify the product. It is not updatable after creating a product. | ||||
category | string Default: "termek" Enum: "termek" "virtual" "csomag" Type of the product, is it a physical product or virtual. | ||||
fragile | integer Enum: 0 1 If the product is fragile physically this should be 1 else-wise 0. | ||||
hasSerial | boolean If this enabled, in the warehouse they will required to handle the product with unique identifier presented on the product. It will be included every order which identifier is used. | ||||
hasExpirationDate | boolean If this enabled, in the warehouse, they will store/handle this product by it's expiration date. | ||||
critical | integer <int64> Critical stock of the product, if enabled the system will send you a notification if the stock falls below this value. | ||||
bundleDescription | string Description of the package product for the warehouse | ||||
needsPackage | boolean Marker if the package needs seperal wrapping before sending it to the customer. | ||||
Array of objects | |||||
Array
|
Responses
Request samples
- Payload
Example body to create a normal product.
{- "itemNumber": "Tej-9761",
- "barCode": [
- "5998900130062",
- "5998900130063"
], - "name": "Teszt Sajt",
- "type": "Tej,",
- "category": "termek",
- "weight": 11,
- "width": 25,
- "depth": 10,
- "height": 45,
- "fragile": 1,
- "price": 350,
- "hasSerial": false,
- "hasExpirationDate": false,
- "tax": 27,
- "critical": 10
}
Response samples
- 201
- 400
- 401
- 404
{- "id": 62
}
Get product
Get a single order by its id.
Authorizations:
path Parameters
id required | integer <int64> ID of the product. |
Responses
Response samples
- 200
- 401
- 404
[- {
- "id": 54379,
- "name": "Teszt Sajt",
- "type": "Tej",
- "weight": 11,
- "width": 25,
- "depth": 10,
- "height": 45,
- "price": 350,
- "tax": 27,
- "created": "2019-08-24",
- "edited": "2021-05-28 17:03:21",
- "onStock": 0,
- "physicalStock": 0,
- "importSource": "Internal API",
- "expirationDates": [
- {
- "expirationDate": "2023-01-12",
- "count": 2
}
], - "barCode": [
- "5998900130062",
- "5998900130063"
], - "itemNumber": "Tej-9761",
- "category": "termek",
- "status": 1,
- "fragile": 1,
- "hasSerial": false,
- "hasExpirationDate": false
}
]
Modify product
Update an product by id, only the updatable fields should be present.
Authorizations:
path Parameters
id required | integer <int64> ID of the product. |
Request Body schema: application/json
name | string <= 255 characters Name of the product |
type | string <= 255 characters Custom label like, product category. |
weight | integer <int64> Item's weight in kilogram. |
width | integer <int64> Item's width in centimeter. |
depth | integer <int64> Item's depth in centimeter. |
height | integer <int64> Item's height in centimeter. |
price | integer <int64> Integer price of the product in HUF. |
tax | integer <int64> Tax rate of the product in percentage. |
barCode | Array of strings unique [ items <= 4 items ] ID's CAN ONLY BE ADDED, NOT MODIFIED! Unique non required barcodes that helps warehouse workers identify the product. [MAX 4] |
Responses
Request samples
- Payload
{- "name": "Teszt Sajt",
- "type": "Tej",
- "weight": 11,
- "width": 25,
- "depth": 10,
- "height": 45,
- "price": 350,
- "tax": 27,
- "barCode": [
- "5998900130062",
- "5998900130063"
]
}
Response samples
- 201
- 400
- 401
- 404
- 409
{- "id": 62
}