本文へスキップ

商品の更新

更新日: Markdown で表示

PUT /products/{PRODUCT_ID}

指定された商品の詳細を更新するには、/api/products/{PRODUCT_ID}エンドポイントにPUTリクエストを送信します。

リクエスト:ヘッダー

Name Value
Content-Type application/json
Authorization Basic <認証情報>

PATH パラメータ

Name Type 説明
PRODUCT_ID int 商品ID

リクエスト:ボディ

Name Type 必須 説明 デフォルト値
product string 必須 商品名
category_ids array of int32s 必須 カテゴリID
main_category array 必須 メインカテゴリ
price float 必須 価格
status string 必須 ステータス
amount int32 必須 在庫数
avail_since date-time 入荷日
box_height int32 箱の高さ
box_length int32 箱の長さ
box_width int32 箱の幅
default_layout string デフォルトレイアウト
edp_shipping string 配送の無い商品 Y/N N
exceptions_type string コンビネーションの設定方法 A/F F
feature_comparison string N
free_shipping string 無料配送かどうか N
full_description string 詳細説明
image_pairs array 商品画像
is_edp string EDP商品かどうか N
lang_code string 言語コード
list_price float リスト価格
list_qty_count int32 リスト数量
localization string ローカライゼーション
low_avail_limit string 在庫数通知の下限
main_pair array メイン画像
max_items_in_box int32 箱の最大商品数
max_qty int32 最大数量
meta_description string メタ説明
meta_keywords string メタキーワード
min_items_in_box string 箱の最小商品数
min_qty int32 最小数量
options_type string オプションタイプ P
out_of_stock_actions string 在庫切れ時のアクション N
age_limit int32 年齢制限
page_title string ページタイトル
point_price float ポイント価格
popularity int32 人気度
product_code string 商品コード
product_features string 商品の追加情報
promo_text string プロモーションテキスト
qty_step int32 数量ステップ 0
return_period int32 返品期間 10
sales_amount int32 販売数量
seo_name string SEO名
shared_product string 共有商品かどうか N
shipping_freight float 配送料
short_description string 短い説明
tax_ids string 税金ID
tracking string トラッキング O/B/D B
unlimited_download string ダウンロードを無制限にするかどうか N
usergroup_ids string ユーザーグループID
weight float 重量
zero_price_action string 価格がゼロの時のアクション

レスポンス

{
  "product_id": 162
}
{}
ナビゲーション

検索語を入力してください…

↑↓ 移動↵ 開くEsc 閉じる