API referenceGenerated
Upsert Seat
Idempotent on (provider, product, plan, pool, effective_from): a new effective_from creates a new effective-dated row (rate cards are versioned, never edited in place).
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/costs/seats" \ -H "Content-Type: application/json" \ -d '{ "provider": "string", "product": "string", "plan": "string", "seat_price_usd": 1, "effective_from": "2019-08-24" }'{ "provider": "string", "product": "string", "plan": "string", "pool": "default", "seat_price_usd": "string", "seat_count": 1, "included_allowance_usd": "string", "allowance_provenance": "published", "reset_cadence": "monthly", "model_filter": "%", "effective_from": "2019-08-24", "id": "string"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}