Price

Prices

Flex API Reference

Welcome to the Flex API reference docs. Here you'll find all the endpoints exposed by Flex, learn how to use them and what they return.

API Endpoint
https://api.withflex.com

List Prices

Returns a list of your prices.

Parameters

No parameters available.

get/v1/prices
RESPONSE
[]

Create Price

Creates a new price for an existing product. The price can be recurring or one-time.

Parameters

No parameters available.

post/v1/prices
RESPONSE
[]

Get Price

Retrieves the price with the given ID.

Parameters

No parameters available.

get/v1/prices/{id}
RESPONSE
[]

Update Price

Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.

Parameters

No parameters available.

post/v1/prices/{id}
RESPONSE
[]