Skip to main content
POST
/
api
/
v1
/
prices
Create Price
curl --request POST \
  --url https://app.flowglad.com/api/v1/prices \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "price": {
    "intervalUnit": "day",
    "name": "<string>",
    "intervalCount": 123,
    "type": "<string>",
    "trialPeriodDays": 4503599627370495,
    "isDefault": true,
    "unitPrice": 4503599627370495,
    "usageEventsPerUnit": null,
    "productId": "<string>",
    "active": true,
    "startsWithCreditTrial": true,
    "slug": "<string>",
    "usageMeterId": null
  }
}'
{
  "price": {
    "id": "<string>",
    "createdAt": 0,
    "updatedAt": 0,
    "livemode": true,
    "intervalUnit": "day",
    "name": "<string>",
    "intervalCount": 123,
    "type": "<string>",
    "trialPeriodDays": 4503599627370495,
    "isDefault": true,
    "unitPrice": 4503599627370495,
    "usageEventsPerUnit": null,
    "productId": "<string>",
    "active": true,
    "currency": "USD",
    "startsWithCreditTrial": null,
    "slug": "<string>",
    "usageMeterId": null
  }
}

Authorizations

Authorization
string
header
required

Body

application/json
price
object
required
  • Option 1
  • Option 2
  • Option 3

Response

Successful response

price
object
required
  • Option 1
  • Option 2
  • Option 3
I