Assortment Transfer (CreateAssortment)
Assortment Transfer
When uploading your delivery assortment to the Horoz system, the createExpectedReceipt() method is used. It supports both single and multiple delivery receipt submissions.
- Prior to executing the delivery assortment transfer with this method, details regarding the Horoz Parametric Property must be communicated to Horoz Logistics.
- The maximum number of delivery assortment that can be sent in each request is 500.
POST CreateAssortment
Use
Parameter Descriptions & Rules
The table below lists the input and output parameters of the CreateAssortment() operation, along with their types and formats.
- Fields
- Example Request
- Example Response
| Field | Required | Description | Type |
|---|---|---|---|
processKey | Yes | Information provided to you for processKey | string |
assortmentCode | Yes | Assortment Code | string |
assortmentDetail | Yes | Assortment Details | array |
parameter01/05 | No | Parameterized Fields | string |
assortmentDetail[]
| Field | Required | Description | Type |
|---|---|---|---|
productCode | Yes | Product Code Information | string |
qty | Yes | Expected Quantity | integer |
parameter01/05 | No | Parameterized Fields | string |
{
"processKey": "A1389BF5246943ED8F40DEF725E0EE84",
"assortmentCode": "assortment_code",
"assortmentDetail": [
{
"productCode": "PRODUCT1",
"qty": 1,
"parameter01": "",
"parameter02": "",
"parameter03": "",
"parameter04": "",
"parameter05": ""
}
],
"parameter01": "",
"parameter02": "",
"parameter03": "",
"parameter04": "",
"parameter05": ""
}
{
"result": "0",
"errorCode": "",
"systemMessage": " "
}
Services Response
| result | errorCode | systemMessage | Description |
|---|---|---|---|
| 1 | Assortment information sent to the rooster system was successfully transmitted. | ||
| 1 | 101 | System Error Message! | There is an error in the assortment information sent to the rooster system. |