オファー
アップデートオファー
送信されたフィールドのみを更新します。
PATCH
/offers/{id}offers:writeリクエスト
idstring · pathリソース識別子。必須urlstring · body製品の元の HTTPS URL。オプションtitlestring · bodyオファーの公開タイトル。オプションmarketplacestring · bodyソースマーケットプレイス。オプションpricenumber · body現在の価格。オプションoriginal_pricenumber · body以前の価格。オプションcurrencystring · bodyISO 4217 通貨。オプションimagestring · body画像のHTTPS URL。オプションstorestring · body店名。オプションcategorystring · bodyカテゴリ。オプションcouponstring · bodyクーポンコード。オプションcopystring · bodyオファーの編集テキスト。オプションstatusstring · body厳選されたステータス。オプション例
curl
curl -X PATCH 'https://achadu.com/api/v1/offers/resource_id' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"url": "https://example.com/product",
"title": "Air fryer 5L",
"marketplace": "string"
}'答え
200操作が完了しました4xxコード、メッセージ、request_id のエラー