---
title: "Calculate Partner Subscription Renewal Price"
method: POST
path: "/channelmanager/subscriptions/renewalPrice"
tags: ["Partner subscriptions"]
---

# Calculate Partner Subscription Renewal Price

`POST /channelmanager/subscriptions/renewalPrice`

Calculate the renewal price for partner subscriptions including discounts, margins, and pricing options.
This endpoint allows partners to get accurate pricing before placing a renewal order.

## Headers

- `Accept` 'application/json', required
- `X-Avangate-Authentication` string, required

## Request body

- PartnerSubscriptionRenewalPriceRequest
  - `Items` PartnerSubscriptionRenewalItem[], required — Array of subscription items to renew
    - `SubscriptionReference` string, required — Unique subscription reference
    - `Quantity` integer — Quantity for renewal
    - `PricingOptions` PricingOption[] — Pricing options for the subscription
      - `Code` string, required — Pricing option code
  - `ExtraDiscount` ExtraDiscountMargin
    - `Value` number, float, required — Value of the discount or margin
    - `Type` 'PERCENT' | 'FIXED', required — Type of discount/margin
  - `ExtraMargin` ExtraDiscountMargin
    - `Value` number, float, required — Value of the discount or margin
    - `Type` 'PERCENT' | 'FIXED', required — Type of discount/margin

## Response `200`

Renewal price calculated successfully

- PartnerSubscriptionPriceResponse
  - `Currency` string — Currency code
  - `NetPrice` number, float — Net price (excluding tax)
  - `GrossPrice` number, float — Gross price (including tax)
  - `Vat` number, float — VAT/tax amount
  - `TotalDiscount` number, float — Total discount amount
  - `Discount` number, float — Base discount amount
  - `PartnerMargin` number, float — Partner margin amount
  - `ExtraMargin` number, float — Extra margin applied
  - `ExtraDiscount` number, float — Extra discount applied
  - `Items` PartnerSubscriptionCartItem[] — Detailed pricing for each cart item
    - `PurchaseType` string — Type of purchase (RENEWAL or UPGRADE)
    - `PricingListCode` string — Pricing configuration code
    - `SubscriptionReference` string — Subscription reference
    - `Quantity` integer — Quantity
    - `Prices` PartnerSubscriptionCartItemPrices — Detailed pricing breakdown for cart item
      - `NetPrice` number, float
      - `GrossPrice` number, float
      - `TotalDiscount` number, float
      - `PartnerMargin` number, float
      - `ExtraMargin` number, float
      - `ExtraDiscount` number, float
      - `Discount` number, float
      - `CouponDiscount` number, float
      - `Vat` number, float
      - `UnitNetPrice` number, float
      - `UnitGrossPrice` number, float
      - `UnitTotalDiscount` number, float
      - `UnitPartnerMargin` number, float
      - `UnitExtraMargin` number, float
      - `UnitExtraDiscount` number, float
      - `UnitDiscount` number, float
      - `UnitCouponDiscount` number, float
      - `UnitVat` number, float
      - `VatPercent` number, float
      - `PartnerMarginPercent` number, float
    - `Product` PartnerSubscriptionCartProduct — Product information
      - `Name` string
      - `Code` string
      - `Version` string
      - `ShortDescription` string
    - `ProductOptions` PartnerSubscriptionProductOption[] — Product options selected
      - `Code` string
    - `Promotion` PartnerSubscriptionCartPromotion — Applied promotion information
      - `Name` string
      - `Code` string
      - `Coupon` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/2checkout/apis/api-rest-documentation.md) · [All operations](https://skmtc.dev/2checkout/apis/api-rest-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/2checkout/api-rest-documentation/revisions/8a7ea610933e/schema)
