---
title: "Activate a product or update product booking"
method: PUT
path: "/api/v2/accounts/{accountId}/products"
tags: ["Products booking"]
---

# Activate a product or update product booking

`PUT /api/v2/accounts/{accountId}/products`

This endpoint activates or updates a product for a user in a gym. The product is active starting from the specified start date to the end date in Timezone of the club.

## Path parameters

- `accountId` string, required

## Request body

- UserProductDTO
  - `productId` string, required — The ID of the product.
  - `startDate` string, date — The date from which the specified product is active and can be used by the user. It must be today’s or future date in Timezone of the club. format: yyyy-MM-dd
  - `endDate` string, date — The date to which the specified product is active and can be used by the user. It must be future date in Timezone of the club. format: yyyy-MM-dd. Max date is 2050-12-31

## Response `200`

Ok

- UserProductDTO
  - `productId` string, required — The ID of the product.
  - `startDate` string, date — The date from which the specified product is active and can be used by the user. It must be today’s or future date in Timezone of the club. format: yyyy-MM-dd
  - `endDate` string, date — The date to which the specified product is active and can be used by the user. It must be future date in Timezone of the club. format: yyyy-MM-dd. Max date is 2050-12-31

## Other responses

- `201` — Created
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/egym/apis/mms-api-v2.md) · [All operations](https://skmtc.net/egym/apis/mms-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/egym/mms-api-v2/versions/07d571d34bd8/schema)
