v1

latestOpenAPI 3.1.02026-08-064323122.5 KB
Products booking

Activate a product or update product booking

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.

put/api/v2/accounts/{accountId}/products

Path parameters

accountIdstring required

Request body

productIdstring required

The ID of the product.

startDatestring 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

endDatestring 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

Ok

productIdstring required

The ID of the product.

startDatestring 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

endDatestring 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