-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschematic-create-plan-example.json
More file actions
44 lines (44 loc) · 1.13 KB
/
schematic-create-plan-example.json
File metadata and controls
44 lines (44 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"title": "Create Plan",
"description": "Create a new subscription plan in Schematic with features and pricing.",
"operation": "POST /plans",
"operationId": "createPlan",
"method": "POST",
"path": "/plans",
"baseUrl": "https://api.schematichq.com",
"authentication": {
"type": "apikey",
"header": "X-Schematic-Api-Key",
"value": "sch_prod_YOUR_API_KEY"
},
"request": {
"method": "POST",
"url": "https://api.schematichq.com/plans",
"headers": {
"Content-Type": "application/json",
"X-Schematic-Api-Key": "sch_prod_YOUR_API_KEY"
},
"body": {
"name": "Professional",
"description": "Full-featured plan for growing teams",
"planType": "base"
}
},
"response": {
"status": 201,
"headers": {
"Content-Type": "application/json"
},
"body": {
"data": {
"id": "plan_01HXYZ999",
"name": "Professional",
"description": "Full-featured plan for growing teams",
"planType": "base",
"current": false,
"createdAt": "2026-05-02T14:22:00Z",
"updatedAt": "2026-05-02T14:22:00Z"
}
}
}
}