---
title: "Update frequency"
method: PUT
path: "/2023-10/subscription/{subscriptionId}/frequency"
---

# Update frequency

`PUT /2023-10/subscription/{subscriptionId}/frequency`

## Request

- Base URL: `https://api.loopsubscriptions.com/admin`
- URL: `https://api.loopsubscriptions.com/admin/2023-10/subscription/{subscriptionId}/frequency`
- Auth: API key in header `X-Loop-Token`

Rate limit - 5/s

## Path parameters

- `subscriptionId` integer, required

## Request body

- object
  - `billingPolicy` object, required
    - `interval` 'WEEK' | 'MONTH' | 'YEAR', required
    - `intervalCount` integer, required
  - `deliveryPolicy` object, required
    - `interval` 'WEEK' | 'MONTH' | 'YEAR', required
    - `intervalCount` integer, required
  - `nextBillingDateEpoch` integer: If not passed, the next order date for the subscription will remain the same.
  - `discountType` 'OLD' | 'NEW', required: Use new discounts as per the new frequency or continue with existing discounts

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `data` unknown
  - `code` string
  - `pageInfo` unknown

---

[API](https://skmtc.dev/loopwork/apis/loop-admin.md) - [All operations](https://skmtc.dev/loopwork/apis/loop-admin/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/loop-admin/revisions/1eaf81bcb1ea?raw)
