セグメント
更新セグメント
セグメントのアイデンティティ、分布、およびショーケースを更新します。
PATCH
/segments/{id}segments:writeリクエスト
idstring · pathリソース識別子。必須namestring · bodyセグメント名。オプションslugstring · body公共のナメクジ。オプションdescriptionstring · body説明。オプションstore_namestring · body店名。オプションstore_taglinestring · body窓からのフレーズ。オプションstore_colorstring · bodyメインカラー。オプションauto_expandboolean · body自動拡張を有効にします。オプションdistributionstring · body配布戦略。オプションwaitlistboolean · bodyキューをアクティブ化します。オプション例
curl
curl -X PATCH 'https://achadu.com/api/v1/segments/resource_id' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"slug": "string",
"description": "string"
}'答え
200操作が完了しました4xxコード、メッセージ、request_id のエラー