Skip to main content

Create a Proration Policy

POST 

https://euwest.api.elasticpath.com/v2/subscriptions/proration-policies

In Subscriptions, you configure proration by creating a proration policy and attaching it to an offering. Once you have attached the policy, the proration policy applies to all subscriptions that use the offering.

Request

Responses

Success. The proration policy is created.

Authorization: http

name: BearerTokentype: httpscheme: bearer

Request Collapse all
Base URL
https://euwest.api.elasticpath.com/v2
Auth
Body
{
  "data": {
    "type": "subscription_proration_policy",
    "attributes": {
      "name": "Main Policy",
      "rounding": "up",
      "external_ref": "abc123"
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!