---
title: "Create an alias for a subscription id/charge id pair"
method: PUT
path: "/alias/subscriptionCharge/{aliasId}"
tags: ["Billing"]
---

# Create an alias for a subscription id/charge id pair

`PUT /alias/subscriptionCharge/{aliasId}`

This allows you to specify a string alias for a subscription id and a charge id. This can be useful when, for example, you want to upload usage statistics and would rather specify your own id (or another external id), rather than referring to Subskribe's internal ids.

## Path parameters

- `aliasId` string, required

## Query parameters

- `subscriptionId` string
- `chargeId` string

## Response `default`

successful operation

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/versions/c30f5b9fbfab/schema)
