概要
APIリファレンス
指定されたBOX情報を追加・更新・削除する。
| 項目名 | 内容 |
|---|---|
| アクション名 | updateBoxSubscription |
| リクエストメソッド | POST |
| 項目名 | 内容 | 必須 | フォーマット | 入力例 | 備考 |
|---|---|---|---|---|---|
| subscriptionContractId | 定期購買ID | はい | gid://shopify/SubscriptionContract/*** | gid://shopify/SubscriptionContract/123456789 | |
| boxId | BOXID | はい | 文字列 | dfb3c856-8849-4032-75d3-96cdedssdbee | |
| variantQuantities | 商品バリエーションリスト | はい | 配列 | ||
| L variantId | 商品バリエーションID | はい | gid://shopify/ProductVariant/*** | gid://shopify/ProductVariant/123456789 | |
| L quantity | 数量 | はい | 0以上の数値 | 0 | |
| parentVariantId | 親商品バリエーションID | いいえ | gid://shopify/ProductVariant/*** | gid://shopify/ProductVariant/123456789 | 親商品を指定した商品バリエーションに変更します。 |
■正常時レスポンス
OK
■異常時レスポンス
| --- | --- | --- |