---
title: "Publish Reward Store"
method: POST
path: "/{client_id}/reward-stores/{id}/publish/"
---

# Publish Reward Store

`POST /{client_id}/reward-stores/{id}/publish/`

## Request

- Base URL: `https://cf-blast.livelikecdn.com/api/v1/applications`
- URL: `https://cf-blast.livelikecdn.com/api/v1/applications/{client_id}/reward-stores/{id}/publish/`
- Auth: API key in header `Authorization`

Moves a draft or unpublished reward store to the `published` state. It takes no request body. Requires a producer access token for the application.

The store must have a reward item attached, and a store that is already published is rejected. The response is the updated store, in the same shape as Retrieve Reward Store.

## Path parameters

- `client_id` string, required
- `id` string, uuid, required

## Response `200`

OK. The store is returned with state published.

- object
  - `id` string, uuid
  - `name` string
  - `state` string

## Other responses

- `400`: The store can't be published.

---

[API](https://skmtc.dev/livelike/apis/applications.md) - [All operations](https://skmtc.dev/livelike/apis/applications/llms.txt) - [OpenAPI document](https://skmtc.dev/livelike/apis/applications/revisions/841be2451373?raw)
