Price
Create a price
Creates a price with product
post/api/v1/prices
Request
- Base URLhttps://api.copperx.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"intervalCount": 1,
"productId": "c3611c05-df51-4b47-b601-f2eac02f4ef0"
}Response
Example response
{
"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.