...
Codes | Description |
---|---|
0 | Set imported |
1 | The "discountPercent" parameter must be an integer between 0 and 100 |
2 | The parameter "initialPrice" must be a fractional number higher than 0 |
3 | The "discountedPrice" parameter must be a fractional number higher than O |
4 | The number of items in the set must be between 2 and the "maximum allowed number of items configured on the site". |
5 | The items in the set must not be repeated |
101 | The parameter "article" is mandatory |
102 | The article of the set can not coincide with set article cannot match the article of an existing product. |
103 | The "products" parameter is mandatory |
104 | Product with a certain article is not found |
105 | No article is specified for one of the items in the set |
106 | Currency not found |
400 | "The payload is not JSON". The request is made incorrectly. |
1000 | One of the products has an incorrect object type |
2000 | Unknown error |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "status":"WARNING", "response":{ "log":[ { "article":"PRODUCT_SET_ARTICLE", "info":[ { "code":0, "message":"КомплектSet обновлёнimported" } ] }, { "article":"2317217", "info":[ { "code":102, "message":"АртикулThe set комплектаarticle \"2317217\" неcannot match можетthe совпадатьarticle сof артикуломan существующегоexisting товараproduct" } ] } ] } } |