> For the complete documentation index, see [llms.txt](https://stagesmm.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stagesmm.gitbook.io/docs/api/massovyi-zakaz.md).

# Массовый заказ

***Example*****&#x20;request**

```
{
  "action": "mass_add",
  "key": "ваш_api_ключ",
  "orders": [
    {
      "service": 1,
      "link": "https://example.com",
      "quantity": 100,
      "keywords": "keyword1,keyword2",
      "comments": "комментарий"
    },
    {
      "service": 2,
      "link": "https://example2.com",
      "quantity": 200
    }
  ]
}
```

***Example response***

```
{
  "total": 3,
  "success": 2,
  "errors": 1,
  "results": [
    {
      "index": 0,
      "success": true,
      "order": { /* данные созданного заказа */ }
    },
    {
      "index": 1,
      "success": false,
      "error": "Service not found"
    },
    {
      "index": 2,
      "success": true,
      "order": { /* данные созданного заказа */ }
    }
  ]
}
```
