商品ページ(カテゴリ)検索
POST
/api_v1_master_goods_page_shopcategory/search
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'access_token=xxx&refresh_token=yyy&wait_flag=1&fields=goods_page_goods_code,goods_page_shop_c_shop_category_name,goods_page_shop_c_display_order,goods_page_shop_c_creation_date,goods_page_shop_c_creator_id,goods_page_shop_c_creator_name,goods_page_shop_c_last_modified_date,goods_page_shop_c_last_modified_by_id,goods_page_shop_c_last_modified_by_name&goods_page_goods_code-eq=syohin' https://api.next-engine.org/api_v1_master_goods_page_shopcategory/search// POST /api_v1_master_goods_page_shopcategory/search - 商品ページ(カテゴリ)検索const params = new URLSearchParams({ access_token: '<access_token>', fields: 'field1,field2', offset: '0', limit: '50',})const res = await fetch('https://api.next-engine.org/api_v1_master_goods_page_shopcategory/search', { method: 'POST', headers: { 'content-type': 'application/x-www-form-urlencoded' }, body: params,})const json = await res.json()if (json.result !== 'success') throw new Error(json.message ?? json.code)console.log(json.data)# POST /api_v1_master_goods_page_shopcategory/search - 商品ページ(カテゴリ)検索import requests
params = { 'access_token': '<access_token>', 'fields': 'field1,field2', 'offset': '0', 'limit': '50',}res = requests.post( 'https://api.next-engine.org/api_v1_master_goods_page_shopcategory/search', data=params,)json = res.json()if json['result'] != 'success': raise RuntimeError(json.get('message') or json.get('code'))print(json.get('data'))Request Body required
Section titled “Request Body required ” Media type application/x-www-form-urlencoded
object
access_token
required
OAuth2 アクセストークン (必須)
string
refresh_token
OAuth2 リフレッシュトークン (access_token 期限切れ時の自動更新に使用)
string
wait_flag
同期実行フラグ。“1” 指定で処理完了を待つ
string
fields
取得するフィールドをカンマ区切りで指定 (search 系のみ)
string
offset
検索開始位置 (search 系のみ)
integer
limit
取得件数 (search 系のみ)
integer
Responses
Section titled “ Responses ”実行結果 (result が success / error / redirect のいずれか)
Media type application/json
object
result
required
実行結果ステータス
string
code
エラー時のエラーコード
string
message
One of:
string
Array<object>
object
access_token
更新後のアクセストークン
string
access_token_end_date
アクセストークン有効期限 (YYYY-MM-DD HH:MM:SS)
string
refresh_token
更新後のリフレッシュトークン
string
refresh_token_end_date
リフレッシュトークン有効期限
string
data
エンドポイント固有のレスポンスデータ
count
Count/search 系のヒット件数 (form-urlencoded レスポンスでは文字列で返ることがある)
integer | string
data
Array<object>
object
goods_page_goods_code
ページコード(商品コードまたは代表商品コード) / 文字列型
string | integer | number | boolean | null
goods_page_shop_c_shop_category_name
店舗内カテゴリ名 / 文字列型
string | integer | number | boolean | null
goods_page_shop_c_display_order
表示順 / 数値型
string | integer | number | boolean | null
goods_page_shop_c_creation_date
作成日 / 日時型
string | integer | number | boolean | null
goods_page_shop_c_creator_id
作成担当者ID / 数値型
string | integer | number | boolean | null
goods_page_shop_c_creator_name
作成担当者名 / 文字列型
string | integer | number | boolean | null
goods_page_shop_c_last_modified_date
最終更新日 / 日時型
string | integer | number | boolean | null
goods_page_shop_c_last_modified_by_id
最終更新者ID / 数値型
string | integer | number | boolean | null
goods_page_shop_c_last_modified_by_name
最終更新者名 / 文字列型
string | integer | number | boolean | null
key
additional properties
any
Example
{ "result": "success"}クライアントエラー (HTTP ステータス自体は 200 + result=error で返ることが多い)
Media type application/json
object
result
required
実行結果ステータス
string
code
エラー時のエラーコード
string
message
One of:
string
Array<object>
object
access_token
更新後のアクセストークン
string
access_token_end_date
アクセストークン有効期限 (YYYY-MM-DD HH:MM:SS)
string
refresh_token
更新後のリフレッシュトークン
string
refresh_token_end_date
リフレッシュトークン有効期限
string
data
エンドポイント固有のレスポンスデータ
count
Count/search 系のヒット件数 (form-urlencoded レスポンスでは文字列で返ることがある)
integer | string
Example
{ "result": "success"}