Item
Endpoints
Create new item
/companies/{companycode}/items |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Body |
body |
Get entity list
/companies/{companycode}/items |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Query |
page |
Page index |
integer (int32) |
|
Query |
size |
Entity count per page |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Successfull |
< Item > array |
400 |
Functionnal error |
No Content |
500 |
Internal server error |
No Content |
Import entity list
/companies/{companycode}/items/import |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
companyCode |
Current context company code |
string |
2 characters max |
Body |
body |
Get one item
/companies/{companycode}/items/{code} |
operation.deprecated |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity code to retrieve |
string |
20 characters max |
Delete item
/companies/{companycode}/items/{code} |
Parameters
Type | Name | Description | Schema | Business Rules |
---|---|---|---|---|
Path |
code |
Entity public uuid code to delete |
string |
20 characters max |
Data structure
Item
Item data structure.
Name | Description | Value | Business Rules |
---|---|---|---|
allExpeditionSites |
All expedition sites |
boolean |
|
code |
Item code |
string |
20 characters max |
companyCode |
Current company code |
string |
2 characters max |
consumerPriceUnitCode |
Consumer price unit code |
string |
5 characters max |
downgradedItems |
list |
||
ean |
GTIN |
string |
14 characters max |
establishments |
All establishments code |
Establishment list |
|
expeditionSites |
list |
||
firstUnitCode |
First unit code |
string |
5 characters max |
hierarchies |
GroupLink list |
||
imageCode |
string |
||
label |
Item label |
string |
50 characters max |
outer |
Outer |
integer |
|
planningInfos |
Planning informations |
||
priceUnitCode |
Price unit code |
string |
5 characters max |
publicUuid |
Item public uuid |
string |
|
qualityInfos |
ItemQualityInfos list |
||
secondUnitCode |
Second unit code |
string |
5 characters max |
shortLabel |
Short label |
string |
12 characters max |
stockInfos |
Stock informations |
||
stockManaged |
boolean |
||
substituteItems |
list |
||
unitConversions |
UnitConversion list |
||
useBatch |
boolean |
||
validityEndDate |
Validity end date |
datetime (ISO-8601) |
AAAA-MM-JJTHH:MM:SSZ |
Establishment
Name | Value | Business Rules |
---|---|---|
code |
string |
20 characters max |
label |
string |
50 characters max |
ItemPlanningInfos
Name | Value |
---|---|
internalPurchaseReplenishmentInfos |
|
manufacturingReplenishmentInfos |
|
purchaseReplenishmentInfos |
|
stockInfos |
ItemStockInfos
Name | Value | Business Rules |
---|---|---|
firstUnitCode |
string |
5 characters max |
multiItemBatch |
boolean |
|
referenceItemBatchCode |
string |
|
secondUnitCode |
string |
5 characters max |
thirdUnitCode |
string |
5 characters max |
ItemQualityInfos
Name | Value | Business Rules |
---|---|---|
establishmentCode |
string |
2 characters max |
lockingDuration |
double |
|
preservationDuration |
double |
|
preservationDurationUnit |
string |
DAYS or MONTHS |
useDuration |
double |
|
optimalPreservationDuration |
integer |
|
shippingGuaranteedDuration |
integer |
ImportItemList
Name | Value |
---|---|
callback |
string |
data |
Item list |