Skip to main content
POST
/
cabinet
/
admin
/
tariffs
/
{tariff_id}
/
sync-squads
Sync Tariff Squads
curl --request POST \
  --url https://api.example.com/cabinet/admin/tariffs/{tariff_id}/sync-squads \
  --header 'Authorization: Bearer <token>'
{
  "tariff_id": 123,
  "tariff_name": "<string>",
  "total_subscriptions": 123,
  "updated_count": 123,
  "failed_count": 123,
  "skipped_count": 123,
  "errors": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tariff_id
integer
required

Response

Successful Response

Response after syncing squads for tariff subscriptions.

tariff_id
integer
required
tariff_name
string
required
total_subscriptions
integer
required
updated_count
integer
required
failed_count
integer
required
skipped_count
integer
required
errors
string[]