Upsert regional prices
Create or update regional currency price overrides for a plan price.
Create or update regional currency price overrides for a plan price.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
1 <= itemscurl -X PUT "https://commet.co/api/v1/plans/string/prices/string/regional" \ -H "Content-Type: application/json" \ -d '{ "overrides": [ { "currency": "string", "price": 0 } ] }'Create or update regional currency price overrides for a plan price.
Plan public ID
Price public ID
{
"success": true,
"data": {
"object": "plan",
"livemode": true,
"priceId": "string",
"overrides": [
{
"currency": "string",
"price": 0,
"includedBalance": 0
}
{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}