Variable | Type | Description |
---|---|---|
list_id | string|int | The ID of the list to which the feed belongs |
feed_id | string | The ID of the fixed type feed in which the products are to be added |
product_ids | struct|array | Array containing the ids of the products to be added to the feed. The products must also exist in a dymamic type feed. Fixed feeds are selections of products. |
ignore_missing | string|int | If you specify ids of products which do not exist in other feeds, an error will be returned. Set the value 1 for this parameter to ignore missing products. |
Parameter | Description |
---|---|
int | The new count of products in the feed |
100
Code | Message | Description |
---|---|---|
407 | Missing required param list_id | list_id param is required |
407 | Missing required param feed_id | feed_id param is required |
407 | Missing required param product_ids | product_ids param is required |
407 | Missing required param ignore_missing | ignore_missing param is required |
1808 | No such feed with ID: %s. | Invalid access to feed |
1811 | No valid product ids were sent | No valid product ids were sent |
1812 | Please send max 5000 products at once | Please send max 5000 products at once |
1812 | Please send max 5000 products at once | Vă rugăm să trimiteți maxim 5000 produse deodată |
{ "err": true, "message": "Missing required param list_id", "code": 407 }
{ "err": true, "message": "Missing required param feed_id", "code": 407 }
{ "err": true, "message": "Missing required param product_ids", "code": 407 }
{ "err": true, "message": "Missing required param ignore_missing", "code": 407 }
{ "err": true, "message": "No such feed with ID: %s", "code": 1808 }
{ "err": true, "message": "Could not add products: not all products were found", "code": 1815 }
{ "err": true, "message": "Please send max 5000 products at once", "code": 1812 }