POST call, passing a JSON body as specified below.| Field | Description | Type | Mandatory |
|---|---|---|---|
| callbackUrl | URL to be called with a POST request once the stock creation is termined | String | |
| catalogsRecords | Array of catalogs objects | An array of objects (see below for the complete structure). | ā |
| Field | Description | Type | Mandatory |
|---|---|---|---|
| catalogCode | Catalog code | Varchar(250) | ā |
| description | Catalog description | Varchar(250) | ā |
| startDate | Date start validity catalog | Date | ā |
| endDate | Date end validity catalog.End date must be greater then start date | Date | |
| channel | Channel of catalog | Varchar(250) | ā |
| active | Indicates wether the catalog is active or not ('T' for actived or 'F' for not actived) | Char(1) | ā |
| priceList | Price list code | Varchar(250) | ā |
| status | Indicates wether the tag is active or not ('E' for actived or 'D' for not actived) | Char(1) |
| Field | Description | Type | Mandatory |
|---|---|---|---|
| itemCode | Item code | Varchar(250) | ā |
| active | Indicates wether the item is active or not for catalog ('T' for actived or 'F' for not actived) | Varchar(250) | ā |
| title | Title of item.You can also pass the description in language (e.g. titleIt) | Varchar(250) | ā |
| descriptionText | Extended description.You can also pass the description in language (e.g. descriptionTextIt) | Varchar(715827882) | |
| productInformation | Product information.You can also pass the description in language (e.g. productInformationIt) | Varchar(715827882) | |
| productCare | Product care.You can also pass the description in language (e.g. productCareIt) | Varchar(715827882) | |
| status | Indicates wether the tag is active or not ('E' for actived or 'D' for not actived) | Char(1) | |
| itemCatalogTags | Array of tags catalog objects (see below for the complete structure) | Array | |
| itemCatalogHieLevels | Object of branch hierarchy levels catalog (see below for the complete structure) | Object |
| Field | Description | Type | Mandatory |
|---|---|---|---|
| tag | Tag | Varchar(250) | ā |
| status | Indicates wether the tag is active or not ('E' for actived or 'D' for not actived) | Char(1) |
insertHierarchiesItemCatalog_v3****.| Field | Description | Type | Mandatory |
|---|---|---|---|
| status | Indicates wether the tag is active or not ('E' for actived or 'D' for not actived) | Char(1) | |
| array | Array of hierarchy levels objects (see below for the complete structure) | Array | ā |
| Field | Description | Type | Mandatory |
|---|---|---|---|
| levelNumber | Level tree | Numeric(5) | ā |
| hierarchyCode | Hie Levels code | Varchar(250) | ā |
"catalogsRecords": [{
"itemCatalogs": {
"catalogCode": "catalog code",
"description": "catalog description",
"startDate": "start date validity catalog",
"endDate": "end date validity catalog",
"channel": "channel catalog",
"active": "Indicates wether the catalog is active or not ('T' for actived or 'F' for not actived)",
"priceList": "price list code",
"status": "status"
},
"catalogDetail": [{
"itemCode": "item code",
"active": "Indicates wether the item is active or not for catalog ('T' for actived or 'F' for not actived)",
"title": "title product",
"titleEn": "title product in english",
"descriptionText": "extended description",
"productInformation": "product information",
"productCare": "product care",
"status": "status",
"itemCatalogTags": [{
"tag": "tag",
"status": "status"
}],
"itemCatalogHieLevels": {
"branch1":{
"status":"E",
"array": [
{
"levelNumber": "level tree",
"hierarchyCode": "hie Levels code"
},
{
"levelNumber": "level tree",
"hierarchyCode": "hie Levels code"
}]
}
}
}]
}]
{
"success": true,
"code": 200,
"message": "Insert/update successful",
"errorObjects": [],
"insertedObjects": [
{
"progId": "2604",
"catalogCode": "TEST"
}
]
}