テンプレート
テンプレートの作成
再利用可能な公開テンプレートを作成します。
POST
/templatestemplates:writeリクエスト
namestring · bodyテンプレート名。必須bodystring · bodyAchadu 変数を含む本文。必須marketplacestring · bodyオプションのマーケットプレイス。オプションwith_previewboolean · body製品プレビューが含まれています。オプション例
curl
curl -X POST 'https://achadu.com/api/v1/templates' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"body": "string",
"marketplace": "string",
"with_preview": true
}'答え
201リソースが作成されました4xxコード、メッセージ、request_id のエラー