ロジクラ API (1.0)

Download OpenAPI specification:

ロジクラで管理しているデータを外部から利用するためのAPIです。

概要

認証

ロジクラ API は OAuth 2.0 の認可コードフローを使用します。

アプリケーションの登録

API を利用するには、https://logikura.com/oauth/applications にアクセスしてアプリケーションを登録し、クライアント ID とクライアントシークレットを取得してください。

登録時に、アプリケーションが必要とするスコープを選択してください。

スコープ 説明
read データの読み取り
write データの作成・更新

認可コードフロー

1. 認可コードの取得

以下の URL にリダイレクトすると、ロジクラのアクセス許可画面が表示されます。ユーザーが承認すると、認可コードが発行されます。

https://logikura.com/oauth/authorize?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&scope={SCOPE}
パラメーター 説明
response_type code を指定
client_id アプリケーション登録時に取得したクライアント ID
redirect_uri アプリケーション登録時に設定したリダイレクト URI
scope アプリケーション登録時に指定したスコープを + 区切りで指定(例: read+write

ユーザーが承認すると、指定したリダイレクト URI に認可コードが付与されてリダイレクトされます。認可コードの有効期限は 10 分 です。

{REDIRECT_URI}?code={AUTHORIZATION_CODE}

2. アクセストークンの取得

取得した認可コードを使ってアクセストークンとリフレッシュトークンを発行します。

curl --request POST 'https://logikura.com/oauth/token' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'grant_type=authorization_code&code={AUTHORIZATION_CODE}&client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&redirect_uri={REDIRECT_URI}'

レスポンス例:

{
  "access_token": "...",
  "token_type": "Bearer",
  "expires_in": 86400,
  "refresh_token": "...",
  "scope": "read write",
  "created_at": 1234567890
}

3. API リクエスト

取得したアクセストークンを Authorization ヘッダーに指定してリクエストを送信します。

Authorization: Bearer {ACCESS_TOKEN}

例:

curl --request GET 'https://api.logikura.com/api/v1/warehouses' \
  --header 'Authorization: Bearer {ACCESS_TOKEN}'

トークンの更新

アクセストークンの有効期限が切れた場合、リフレッシュトークンを使って新しいアクセストークンを取得できます。

curl --request POST 'https://logikura.com/oauth/token' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'grant_type=refresh_token&refresh_token={REFRESH_TOKEN}&client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}'

リフレッシュトークンには 90 日間の有効期限 があります。有効期限が切れた場合は、1. 認可コードの取得 から再度実行してアクセストークンを再発行してください。

リクエスト制限

ロジクラAPIでは1分あたり100回のリクエスト制限を設けています。 リクエスト制限に関する情報はヘッダに含まれています。

ヘッダ名 説明
X-RateLimit-Limit 1分あたりのリクエスト数
X-RateLimit-Remaining リクエスト可能数
X-RateLimit-Reset リクエスト数がリセットされるまでの秒数

エラーレスポンス

HTTPステータスコード 種類 原因
400 Bad Request リクエストの形式が不正(必須項目の欠落など)
401 Unauthorized アクセストークンが不正
404 Not Found リソースが存在しません
422 Unprocessable Entity 不正なパラメーター
429 Too Many Requests リクエスト制限の上限を超えました

ページネーション

リストを返すAPIに関しては応答にLinkヘッダーを追加します。

<https://api.logikura.com/api/v1/path/to?page=1>; rel="prev",
<https://api.logikura.com/api/v1/path/to?page=3>; rel="next"

拠点

拠点一覧

拠点一覧

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
{
  • "warehouses": [
    ]
}

商品カテゴリ

商品カテゴリ一覧

商品カテゴリ(画面表記「カテゴリ」)の一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

Responses

Response samples

Content type
application/json
{
  • "product_types": [
    ]
}

商品カテゴリ作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object

Responses

Request samples

Content type
application/json
{
  • "product_type": {
    }
}

Response samples

Content type
application/json
{
  • "product_type": {
    }
}

商品カテゴリ更新

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

商品カテゴリID

Request Body schema: application/json
required
required
object

Responses

Request samples

Content type
application/json
{
  • "product_type": {
    }
}

Response samples

Content type
application/json
{
  • "product_type": {
    }
}

商品マスター

商品マスター一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

name
string

商品名で絞り込む(部分一致・大文字小文字を区別しない)

master_code
string

商品代表コードで絞り込む(部分一致・大文字小文字を区別しない)

country_code
string
Example: country_code=JP

原産国で絞り込む(完全一致。ISO 3166-1 alpha-2)

ids[]
Array of integers <int64> (Id) <= 100 items [ items <int64 > >= 1 ]
Example: ids[]=1

商品 ID で絞り込む(IN 検索。最大 100 件、超過は 400)

supplier_id
integer <int64> (Id) >= 1
Example: supplier_id=1

仕入先 ID で絞り込む(完全一致)

tax_type_id
integer
Enum: 1 2

消費税率で絞り込む(完全一致。1=8.00、2=10.00)

product_type_id
integer <int64> (Id) >= 1
Example: product_type_id=1

商品カテゴリで絞り込む(完全一致。カテゴリ一覧は GET /api/v1/product_types で取得できる)

updated_from
string
Example: updated_from=2026-07-03T10:00:00+09:00

更新日時がこの値以降(以上・inclusive)の商品に絞り込む。ISO 8601 形式で、 タイムゾーン省略時は UTC として解釈する。指定時はページングがカーソル方式になる(cursor 参照)。

updated_to
string
Example: updated_to=2026-07-04T10:00:00+09:00

更新日時がこの値より前(未満・exclusive)の商品に絞り込む。ISO 8601 形式で、 タイムゾーン省略時は UTC として解釈する。指定時はページングがカーソル方式になる(cursor 参照)。

created_from
string
Example: created_from=2026-07-03T10:00:00+09:00

作成日時がこの値以降(以上・inclusive)の商品に絞り込む。ISO 8601 形式で、 タイムゾーン省略時は UTC として解釈する。指定時はページングがカーソル方式になる(cursor 参照)。

created_to
string
Example: created_to=2026-07-04T10:00:00+09:00

作成日時がこの値より前(未満・exclusive)の商品に絞り込む。ISO 8601 形式で、 タイムゾーン省略時は UTC として解釈する。指定時はページングがカーソル方式になる(cursor 参照)。

cursor
string

カーソルページネーション用の不透明トークン。updated_from / updated_to / created_from / created_to のいずれかを指定した場合はページ番号(page)の代わりに使用する(page との併用は 400)。 並び順とカーソルの基準は updated 系指定時は updated_at、created 系のみ指定時は created_at (両方指定時は updated_at)の昇順+ id 昇順。 次ページの URL はレスポンスの Link ヘッダー(rel="next")で返る。

Responses

Response samples

Content type
application/json
{
  • "products": [
    ]
}

商品マスター作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object (商品)

Responses

Request samples

Content type
application/json
{
  • "product": {
    }
}

Response samples

Content type
application/json
{
  • "product": {
    }
}

商品マスター詳細

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

商品マスターID

Responses

Response samples

Content type
application/json
{
  • "product": {
    }
}

商品マスター更新

リクエストに含めた項目のみを更新する部分更新です。送信しなかった項目は既存値を保持します。 値を消したい場合は、空の値を明示的に送信してください (country_code は "" または null、tax_type_id は null、suppliers は [] または null)。

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

商品マスターID

Request Body schema: application/json
required
required
object (商品)

Responses

Request samples

Content type
application/json
{
  • "product": {
    }
}

Response samples

Content type
application/json
{
  • "product": {
    }
}

種類

種類一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

Responses

Response samples

Content type
application/json
{
  • "product_variants": [
    ]
}

種類作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object (種類)

Responses

Request samples

Content type
application/json
{
  • "product_variant": {
    }
}

Response samples

Content type
application/json
{
  • "product_variant": {
    }
}

種類詳細

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

種類ID

Responses

Response samples

Content type
application/json
{
  • "product_variant": {
    }
}

種類更新

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object (種類)

Responses

Request samples

Content type
application/json
{
  • "product_variant": {
    }
}

Response samples

Content type
application/json
{
  • "product_variant": {
    }
}

入荷

入荷予定一覧

入荷予定一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

Responses

Response samples

Content type
application/json
{
  • "receiving_schedules": [
    ]
}

入荷予定作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object

Responses

Request samples

Content type
application/json
{
  • "receiving_schedule": {
    }
}

Response samples

Content type
application/json
{
  • "receiving_schedule": {
    }
}

入荷予定詳細

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

入荷予定ID

Responses

Response samples

Content type
application/json
{
  • "receiving_schedule": {
    }
}

入荷予定更新

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

入荷予定ID

Request Body schema: application/json
required
required
object

Responses

Request samples

Content type
application/json
{
  • "receiving_schedule": {
    }
}

Response samples

Content type
application/json
{
  • "receiving_schedule": {
    }
}

入荷予定削除

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

入荷予定ID

Responses

Response samples

Content type
application/json
{
  • "error": "Unauthorized"
}

入荷確定

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

入荷予定ID

Responses

Response samples

Content type
application/json
{
  • "receiving_schedule": {
    }
}

入荷履歴詳細

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

入荷履歴ID

Responses

Response samples

Content type
application/json
{
  • "receiving_history": {
    }
}

入荷履歴削除

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

入荷履歴ID

Responses

Response samples

Content type
application/json
{
  • "error": "Unauthorized"
}

入荷履歴一覧

入荷履歴一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

received_date_from
string <date>
Example: received_date_from=2020-01-01

指定した入荷日以降の履歴が返されます

received_date_to
string <date>
Example: received_date_to=2020-01-31

指定した入荷日以前の履歴が返されます

Responses

Response samples

Content type
application/json
{
  • "receiving_histories": [
    ]
}

入荷履歴作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object

Responses

Request samples

Content type
application/json
{
  • "receiving_history": {
    }
}

Response samples

Content type
application/json
{
  • "receiving_history": {
    }
}

出荷

出荷予定一覧

出荷予定一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

Responses

Response samples

Content type
application/json
{
  • "shipping_schedules": [
    ]
}

出荷予定作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object (受注(作成・更新))

出荷予定に紐づく受注情報。手動作成では各項目を省略できる(未指定の金額項目はサーバが 0 を補完する)。

required
object (出荷予定)

Responses

Request samples

Content type
application/json
{
  • "sales_order": {
    },
  • "shipping_schedule": {
    }
}

Response samples

Content type
application/json
{
  • "shipping_schedule": {
    }
}

出荷作業開始

Authorizations:
OAuth2
Request Body schema: application/json
required
warehouse_id
required
integer >= 1

拠点ID

Responses

Request samples

Content type
application/json
{
  • "warehouse_id": 1
}

Response samples

Content type
application/json
{
  • "shipping_schedule": {
    }
}

出荷確定

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

出荷予定ID

Responses

Response samples

Content type
application/json
{
  • "shipping_schedule": {
    }
}

出荷予定詳細

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

出荷予定ID

Responses

Response samples

Content type
application/json
{
  • "shipping_schedule": {
    }
}

出荷予定更新

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

出荷予定ID

Request Body schema: application/json
required
required
object (受注(作成・更新))

出荷予定に紐づく受注情報。手動作成では各項目を省略できる(未指定の金額項目はサーバが 0 を補完する)。

required
object (出荷予定)

Responses

Request samples

Content type
application/json
{
  • "sales_order": {
    },
  • "shipping_schedule": {
    }
}

Response samples

Content type
application/json
{
  • "shipping_schedule": {
    }
}

出荷予定削除

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

出荷予定ID

Responses

Response samples

Content type
application/json
{
  • "error": "Unauthorized"
}

出荷履歴詳細

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

出荷履歴ID

Responses

Response samples

Content type
application/json
{
  • "shipping_history": {
    }
}

出荷履歴一覧

出荷履歴一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

shipped_date_from
string <date>
Example: shipped_date_from=2020-01-01

指定した出荷実績日以降の履歴が返されます

shipped_date_to
string <date>
Example: shipped_date_to=2020-01-31

指定した出荷実績日以前の履歴が返されます

Responses

Response samples

Content type
application/json
{
  • "shipping_histories": [
    ]
}

出荷履歴作成

Authorizations:
OAuth2
Request Body schema: application/json
required
object or null (受注(作成・更新))

出荷予定に紐づく受注情報。手動作成では各項目を省略できる(未指定の金額項目はサーバが 0 を補完する)。

required
object (出荷履歴)

sales_order を省略または null にした場合は shipping_history 内の order_number / order_date を受注情報として使う。

Responses

Request samples

Content type
application/json
{
  • "sales_order": {
    },
  • "shipping_history": {
    }
}

Response samples

Content type
application/json
{
  • "shipping_history": {
    }
}

在庫

在庫詳細取得

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

在庫ID

Responses

Response samples

Content type
application/json
{
  • "stock": {
    }
}

在庫一覧

在庫一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

warehouse_id
integer
Example: warehouse_id=1

指定した倉庫の在庫のみが返されます

Responses

Response samples

Content type
application/json
{
  • "inventories": [
    ]
}

在庫の直接作成(在庫調整として記録・入荷ではない)

在庫レコードを直接作成し、初期数量を「在庫調整」として記録します。入荷実績・入荷履歴は作成されません。 入荷として計上する場合は、入荷予定作成 → 入荷確定、または入荷履歴作成を使用してください。 外部サービス連携の在庫連携が有効な場合、この操作による在庫数の変動は「在庫調整」として外部サービスへ通知されます。 lot_code・expiration_date(ロット・消費期限)の指定には対応していません。

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object (在庫)

Responses

Request samples

Content type
application/json
{
  • "inventory": {
    }
}

Response samples

Content type
application/json
{
  • "inventory": {
    }
}

出荷先

出荷先一覧

出荷先一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

Responses

Response samples

Content type
application/json
{
  • "consignees": [
    ]
}

出荷先作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object (出荷先)

Responses

Request samples

Content type
application/json
{
  • "consignee": {
    }
}

Response samples

Content type
application/json
{
  • "consignee": {
    }
}

出荷先更新

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

出荷先ID

Request Body schema: application/json
required
required
object (出荷先)

Responses

Request samples

Content type
application/json
{
  • "consignee": {
    }
}

Response samples

Content type
application/json
{
  • "consignee": {
    }
}

仕入先

仕入先一覧

仕入先一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

Responses

Response samples

Content type
application/json
{
  • "suppliers": [
    ]
}

仕入先作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object (出荷先)

Responses

Request samples

Content type
application/json
{
  • "supplier": {
    }
}

Response samples

Content type
application/json
{
  • "consignee": {
    }
}

仕入先更新

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

仕入先ID

Request Body schema: application/json
required
required
object (仕入先)

Responses

Request samples

Content type
application/json
{
  • "supplier": {
    }
}

Response samples

Content type
application/json
{
  • "consignee": {
    }
}

ショップ

ショップ一覧

入荷履歴一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

Responses

Response samples

Content type
application/json
{
  • "shops": [
    ]
}

ショップ作成

Authorizations:
OAuth2
Request Body schema: application/json
required
required
object (ショップ)

Responses

Request samples

Content type
application/json
{
  • "shop": {
    }
}

Response samples

Content type
application/json
{
  • "shop": {
    }
}

外部連携

外部連携アカウント一覧

外部連携アカウント一覧

Authorizations:
OAuth2
query Parameters
page
integer <int64> >= 1
Default: 1
Example: page=1

取得するページ番号(1 始まりの整数。10 進数字のみ)。1 ページあたりの件数は 100 件固定で、クライアントからは変更できません(per_page 等で件数を指定しても無視されます)。 前後のページはレスポンスの Link ヘッダー(rel="next" / rel="prev")で辿れます。 Hash・配列(例 page[size])や 0 以下・非整数、先頭ゼロ・0x・アンダースコア等の表記は 400 を返します。

Responses

Response samples

Content type
application/json
{
  • "external_service_accounts": [
    ]
}

商品の外部サービス連携紐付け作成

Authorizations:
OAuth2
Request Body schema: application/json
required
external_service_account_id
required
integer <int64> >= 1

外部連携アカウントID

product_variant_id
required
integer <int64> >= 1

種類ID

external_service_product_code
required
string

連携先コード

Responses

Request samples

Content type
application/json
{
  • "external_service_account_id": 1,
  • "product_variant_id": 1,
  • "external_service_product_code": "SHOPIFY-PRODUCT-CODE"
}

Response samples

Content type
application/json
{
  • "external_service_product_variant": {
    }
}

商品の外部サービス連携紐付け更新

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

外部連携紐付けID

Request Body schema: application/json
required
external_service_product_code
required
string

連携先コード

Responses

Request samples

Content type
application/json
{
  • "external_service_product_code": "SHOPIFY-PRODUCT-CODE"
}

Response samples

Content type
application/json
{
  • "external_service_product_variant": {
    }
}

商品の外部サービス連携紐付け削除

Authorizations:
OAuth2
path Parameters
id
required
integer <int64> (Id) >= 1
Example: 1

外部連携紐付けID

Responses

Response samples

Content type
application/json
{
  • "external_service_product_variant": {
    }
}