コンテンツにスキップ
AchaduDevelopers
Developers/API/offer_publish
オファー

ポストオファー

オファーのパブリケーションを承認されたグループまたはスレッドのキューに入れます。

POST/offers/{id}/publishpublications:write

リクエスト

idstring · pathリソース識別子。必須
segment_idstring · bodyターゲットセグメント。オプション
group_idstring · body対象グループ。オプション
with_imageboolean · body画像付きで公開します。オプション

curl
curl -X POST 'https://achadu.com/api/v1/offers/resource_id/publish' \
+  -H 'Authorization: Bearer ach_live_...' \
+  -H 'Accept: application/json' \
+  -H 'Content-Type: application/json' \
+  --data '{
  "segment_id": "string",
  "group_id": "string",
  "with_image": true
}'

答え

200操作が完了しました
4xxコード、メッセージ、request_id のエラー