価格ルール設定
店舗別商品価格ルール検索
概要
基本情報
- リクエストパス:
GET /setting/price_product_store_rules
- スコープ:
setting:price_product_store_rule:index
- 店舗IDの指定:
必要なし
- 基本制限レート:
5 rps
query
| key |
説明 |
制約など |
| ids |
ルールID |
整数のみ、カンマ区切りで複数指定可能 |
| product_ids |
商品ID |
整数のみ、カンマ区切りで複数指定可能 |
| page |
ページ |
整数のみ、デフォルト:1 |
| limit |
1ページあたりの件数 |
整数のみ、デフォルト:50、最大: 250 |
例
GET /setting/price_product_store_rules?product_ids=1,2&page=1&limit=50
[
{
"id": 1,
"store": {
"id": 1,
"name": "本店"
},
"product_id": 1,
"settings": [],
"image_urls": ["https://example.com/image.jpg"],
"note": "メモ"
}
]
| key |
type |
説明 |
| *.id |
int |
ルールID |
| *.store |
object |
店舗 |
| *.store.id |
int |
店舗ID |
| *.store.name |
string |
店舗名 |
| *.product_id |
int |
商品ID |
| *.settings |
array<settingSchema> |
設定 |
| *.image_urls |
array<string> |
画像URL |
| *.note |
string | null |
メモ |
本部商品価格ルール検索
概要
基本情報
- リクエストパス:
GET /setting/price_product_company_rules
- スコープ:
setting:price_product_company_rule:index
- 店舗IDの指定:
必要なし
- 基本制限レート:
5 rps
query
| key |
説明 |
制約など |
| ids |
ルールID |
整数のみ、カンマ区切りで複数指定可能 |
| product_ids |
商品ID |
整数のみ、カンマ区切りで複数指定可能 |
| page |
ページ |
整数のみ、デフォルト:1 |
| limit |
1ページあたりの件数 |
整数のみ、デフォルト:50、最大: 250 |
例
GET /setting/price_product_company_rules?product_ids=1,2&page=1&limit=50
[
{
"id": 1,
"product_id": 1,
"settings": [],
"image_urls": ["https://example.com/image.jpg"],
"note": "メモ"
}
]
| key |
type |
説明 |
| *.id |
int |
ルールID |
| *.product_id |
int |
商品ID |
| *.settings |
array<settingSchema> |
設定 |
| *.image_urls |
array<string> |
画像URL |
| *.note |
string | null |
メモ |
店舗別カテゴリ価格ルール検索
概要
基本情報
- リクエストパス:
GET /setting/price_category_store_rules
- スコープ:
setting:price_category_store_rule:index
- 店舗IDの指定:
必要なし
- 基本制限レート:
5 rps
query
| key |
説明 |
制約など |
| ids |
ルールID |
整数のみ、カンマ区切りで複数指定可能 |
| category_ids |
カテゴリID |
整数のみ、カンマ区切りで複数指定可能 |
| page |
ページ |
整数のみ、デフォルト:1 |
| limit |
1ページあたりの件数 |
整数のみ、デフォルト:50、最大: 250 |
例
GET /setting/price_category_store_rules?category_ids=1,2&page=1&limit=50
[
{
"id": 1,
"store": {
"id": 1,
"name": "本店"
},
"category_id": 1,
"settings": []
}
]
| key |
type |
説明 |
| *.id |
int |
ルールID |
| *.store |
object |
店舗 |
| *.store.id |
int |
店舗ID |
| *.store.name |
string |
店舗名 |
| *.category_id |
int |
カテゴリID |
| *.settings |
array<settingSchema> |
設定 |
本部カテゴリ価格ルール検索
概要
基本情報
- リクエストパス:
GET /setting/price_category_company_rules
- スコープ:
setting:price_category_company_rule:index
- 店舗IDの指定:
必要なし
- 基本制限レート:
5 rps
query
| key |
説明 |
制約など |
| ids |
ルールID |
整数のみ、カンマ区切りで複数指定可能 |
| category_ids |
カテゴリID |
整数のみ、カンマ区切りで複数指定可能 |
| page |
ページ |
整数のみ、デフォルト:1 |
| limit |
1ページあたりの件数 |
整数のみ、デフォルト:50、最大: 250 |
例
GET /setting/price_category_company_rules?category_ids=1,2&page=1&limit=50
[
{
"id": 1,
"category_id": 1,
"settings": []
}
]
| key |
type |
説明 |
| *.id |
int |
ルールID |
| *.category_id |
int |
カテゴリID |
| *.settings |
array<settingSchema> |
設定 |
settingSchema
全価格ルールで共通の設定オブジェクト
{
"target": { "grade_ids": [1, 2] },
"buy_price": { "mode": "FIXED", "value": 1000, "mall_ids": null },
"sell_price": { "mode": "FIXED", "value": 2000, "mall_ids": null }
}
| key |
type |
説明 |
| target |
?object | null |
対象条件 |
| target.grade_ids |
?array<int> | null |
対象グレードID一覧 |
| buy_price |
?object | null |
買取価格設定 |
| buy_price.mode |
?string | null |
価格モード |
| buy_price.value |
?int | null |
価格値 |
| buy_price.mall_ids |
?array<string> | null |
対象モールID一覧 |
| sell_price |
?object | null |
販売価格設定 |
| sell_price.mode |
?string | null |
価格モード |
| sell_price.value |
?int | null |
価格値 |
| sell_price.mall_ids |
?array<string> | null |
対象モールID一覧 |