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.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
id*string
priceId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
overrides*array<>
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/plans/string/prices/string/regional" \ -H "Content-Type: application/json" \ -d '{ "overrides": [ { "currency": "string", "price": 0 } ] }'{ "success": true, "data": { "priceId": "string", "overrides": [ { "currency": "string", "price": -9007199254740991, "includedBalance": -9007199254740991 } ], "object": "plan", "livemode": true }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}{ "success": false, "error": { "type": "string", "code": "string", "message": "string", "param": "string", "details": null, "doc_url": "string" }}