# GET /admin/api/2020-10/price_rules/{price_rule_id}/discount_codes/{discount_code_id}.json

**Resource:** [discounts/discountcode](../resources/discounts-discountcode.md)
**Retrieves a single discount code**
**Operation ID:** `get_price_rules_param_price_rule_id_discount_codes_param_discount_code_id`

https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#show-2020-10

## Parameters

| Name | In | Type | Required | Description |
|------|------|------|----------|-------------|
| `price_rule_id` | path | string | Yes | price_rule_id |
| `discount_code_id` | path | string | Yes | discount_code_id |

## Responses

| Status | Description |
|--------|-------------|
| 200 |  |

