Admin
Create a product price
Create a new product price.
post/admin/products/{product_id}/prices
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/admin/products/{product_id}/prices
- Auth: HTTP bearer
Path parameters
product_idstring uuid required
Example:e997edd0-e15b-4f50-b98c-93f0db85ff69
Request body
Example request
{
"unit_amount": 742.4,
"type": "ONE_TIME",
"interval": "MONTH"
}Response
Product price created successfully
Example response
{
"prices": [
{
"unit_amount": 742.4
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.