SOP-14: Create a Treatment
API SOPDefine a new treatment type with pricing, recovery info, and keywords.
1 nodes · 0 edgesmedirank
apisopmediranktreatments
Visual
ex-sop-14-create-treatment.osop.yaml
# 原始:SOP-14: 建立療程
osop_version: '1.0'
id: sop-14-create-treatment
name: 'SOP-14: Create a Treatment'
description: Define a new treatment type with pricing, recovery info, and keywords.
version: 1.0.0
tags:
- api
- sop
- medirank
- treatments
nodes:
- id: step_1
type: api
subtype: rest
name: POST /treatments
description: Define a new treatment with description, pricing, recovery info, and keywords.
runtime:
method: POST
url: https://medi-rank.com/api/v1
endpoint: /treatments
headers:
Authorization: Bearer ${secrets.TOKEN}
content_type: multipart/form-data
body:
name: Hyaluronic Acid Filler
category: injection
description: Hyaluronic acid injection for facial contouring...
how_it_works: Inject hyaluronic acid into target areas...
suitable_for: Nasolabial folds, tear troughs...
risks: Possible mild swelling...
aftercare: Avoid sun exposure for 24 hours...
typical_price_min: 8000
typical_price_max: 25000
recovery_days_min: 1
recovery_days_max: 7
keywords[]:
- hyaluronic acid
- filler
cover_image: (file)
is_published: true