---
title: "POST /v1/{+name}:entitle"
method: POST
path: "/v1/{+name}:entitle"
tags: ["partners"]
---

# POST /v1/{+name}:entitle

`POST /v1/{+name}:entitle`

Entitles a previously provisioned subscription to the current end user. The end user identity is inferred from the authorized credential of the request. This API must be authorized by the end user using OAuth.

## Path parameters

- `name` string, required

## Request body

- EntitleSubscriptionRequest — Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.
  - `lineItemEntitlementDetails` EntitleSubscriptionRequestLineItemEntitlementDetails[] — Optional. The line items to be entitled. If unspecified, all line items will be entitled.
    - `lineItemIndex` integer — Required. The index of the line item to be entitled.
    - `products` string[] — Optional. Only applicable if the line item corresponds to a hard bundle. Product resource names that identify the bundle elements to be entitled in the line item. If unspecified, all bundle elements will be entitled. The format is 'partners/{partner_id}/products/{product_id}'.

## Response `200`

Successful response

---

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