---
title: "POST /create-pricing-rule"
method: POST
path: "/create-pricing-rule"
---

# POST /create-pricing-rule

`POST /create-pricing-rule`

Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.

## Headers

- `X-Amzn-Client-Token` string

## Request body

- object
  - `Name` string, password, required — The pricing rule name. The names must be unique to each pricing rule.
  - `Description` string, password — The pricing rule description.
  - `Scope` 'GLOBAL' | 'SERVICE' | 'BILLING_ENTITY' | 'SKU', required — The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
  - `Type` 'MARKUP' | 'DISCOUNT' | 'TIERING', required — The type of pricing rule.
  - `ModifierPercentage` number, double — A percentage modifier that's applied on the public pricing rates. Your entry will be rounded to the nearest 2 decimal places.
  - `Service` string — If the <code>Scope</code> attribute is set to <code>SERVICE</code> or <code>SKU</code>, the attribute indicates which service the <code>PricingRule</code> is applicable for.
  - `Tags` object — A map that contains tag keys and tag values that are attached to a pricing rule.
  - `BillingEntity` string — The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
  - `Tiering` object — The set of tiering configurations for the pricing rule.
    - `FreeTier` object — The possible Amazon Web Services Free Tier configurations.
      - `Activated` boolean, required — Activate or deactivate Amazon Web Services Free Tier.
  - `UsageType` string — <p> Usage type is the unit that each service uses to measure the usage of a specific type of resource.</p> <p>If the <code>Scope</code> attribute is set to <code>SKU</code>, this attribute indicates which usage type the <code>PricingRule</code> is modifying. For example, <code>USW2-BoxUsage:m2.2xlarge</code> describes an<code> M2 High Memory Double Extra Large</code> instance in the US West (Oregon) Region. </p>
  - `Operation` string — <p> Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.</p> <p> If the <code>Scope</code> attribute is set to <code>SKU</code>, this attribute indicates which operation the <code>PricingRule</code> is modifying. For example, a value of <code>RunInstances:0202</code> indicates the operation of running an Amazon EC2 instance.</p>

## Response `200`

Success

- CreatePricingRuleOutput
  - `Arn` string — The Amazon Resource Name (ARN) of the created pricing rule.

## Other responses

- `480` — ConflictException
- `481` — ThrottlingException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — ServiceLimitExceededException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/billingconductor.md) · [All operations](https://skmtc.net/aws/apis/billingconductor/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/billingconductor/versions/2cc5849dea95/schema)
