> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set entry

> Set entry

### Path parameters

<ParamField path="id" type="string" required>
  Price level ID
</ParamField>

### Request body

`SetEntryRequest`

<ParamField body="price" type="string" required>
  Scheduled price as a string.
</ParamField>

<ParamField body="product_id" type="string" required />

### Responses

<ResponseField name="200" type="PriceLevelEntryResponse" />

<ResponseField name="400" type="ErrorBody" />

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.stateset.com/api/v1/price-levels/{id}/entries' \
    --header 'Authorization: Bearer YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "price": "string",
    "product_id": "string"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "price": "string",
    "product_id": "string"
  }
  ```
</ResponseExample>
