Price
List of prices
Returns the list of prices
get/api/v1/prices
Request
- Base URLhttps://api.copperx.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pagenumber
Page number. Starts from 1
limitnumber
Number of items per page
Filter by created date
idsstring
Filter by id. Returns items with given ids
visibilitystring
To filter prices by visibility
isActiveboolean
If true, only active prices will be returned
type'one_time' | 'recurring' | 'streaming'
To filter prices by type
productIdstring
To filter prices by product id
Response
Example response
{
"page": 1,
"limit": 10,
"count": 1,
"query": {
"page": 1,
"limit": 10
},
"data": [
{
"productId": "c3611c05-df51-4b47-b601-f2eac02f4ef0",
"intervalCount": 1,
"product": {
"defaultPriceId": "c3611c05-df51-4b47-b601-f2eac02f4ef0"
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.