同じ拠点内で棚を移動する
同じ拠点内の有効な棚へ移します。同じ棚ならmoved=false。別拠点はdifferent_siteで拒否され、transfersを使います。 inventory:readに加え、この操作のスコープと許可したメンバーのinventory.write権限が必要です。
POST
/inventory/items/{id}/move認証
AuthorizationOAuth2 アクセストークン · header必須認可コードフロー(PKCE S256 必須)。認可・トークン・更新のリクエストには resource=https://api.toreca-cloud.com/partner/v1 を付けます。アクセストークンは15分、リフレッシュトークンは90日有効で、更新のたびに入れ替わります。
スコープ:
inventory:readinventory:moveパスパラメーター
idstring<uuid>必須リクエストボディ
必須application/jsontoLocationIdstring<uuid>必須reasonstring必須最小長 1 · 最大長 2000
レスポンス
200
成功
movedboolean必須itemInventoryItem必須プロパティを表示プロパティを非表示
idstring<uuid>必須createdAtstring<date-time>必須updatedAtstring<date-time>必須assetNumberstring必須sourceKindstring必須許可される値:
purchasereceipttenant_transferstatusstring必須versioninteger必須siteIdstring<uuid> | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string<uuid>
string<uuid>null
nulllocationIdstring<uuid> | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string<uuid>
string<uuid>null
nullgradeobject | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
object
serviceCodestring必須serviceNamestring必須serviceKindstring必須許可される値:
third_partyinternalcodestring必須labelstring必須numericScorenumber | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
number
numbernull
nullnull
nullcertificationNumberstring | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string
stringnull
nullcertificationVerifiedboolean必須conditionNotestring | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string
stringnull
nullacquisitionAmountMinorinteger | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
integer
integernull
nullcurrencystring必須acquiredAtstring<date-time>必須lastMovedAtstring<date-time>必須allocationstring必須許可される値:
yoursothersnoneholdableboolean必須commitmentobject | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
object
idstring<uuid>必須purposestring必須許可される値:
oripasalelabelstring必須externalRefstring | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string
stringnull
nullnull
nullmarketValueMarketValue | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
MarketValue
amountMinorinteger必須currencystring必須pricedAtstring<date-time>必須null
nullconditionTagsobject[]必須プロパティを表示プロパティを非表示
object の配列idstring<uuid>必須namestring必須photosobject必須プロパティを表示プロパティを非表示
frontobject | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
object
urlstring<uri>必須updatedAtstring<date-time>必須null
nullbackobject | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
object
urlstring<uri>必須updatedAtstring<date-time>必須null
nullcardobject必須プロパティを表示プロパティを非表示
idstring<uuid>必須namestring必須localizedNamesobject必須cardNumberstring | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string
stringnull
nulllanguageCodestring必須variantstring | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string
stringnull
nullfinishstring | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string
stringnull
nullimageUrlstring | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string
stringnull
nullrarityobject | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
object
codestring必須namestring必須null
nullsetobject | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
object
idstring<uuid>必須codestring必須namestring必須nameEnstring | null必須プロパティを表示プロパティを非表示
いずれか 1 つ:
string
stringnull
nullnull
nullgameGame必須プロパティを表示プロパティを非表示
idstring<uuid>codestringnamestring400
invalid_request。パラメーターが正しくありません。
errorstring必須エラーのコード
scopestringinsufficient_scope のとき、足りない権限
requestIdstring<uuid>inventoryItemIdsstring<uuid>[]holdIdsstring<uuid>[]commitmentIdsstring<uuid>[]401
invalid_token。トークンがない、期限切れ、または別のリソース向けです。
errorstring必須エラーのコード
scopestringinsufficient_scope のとき、足りない権限
requestIdstring<uuid>inventoryItemIdsstring<uuid>[]holdIdsstring<uuid>[]commitmentIdsstring<uuid>[]403
insufficient_scope、connection_revoked、client_disabled、forbidden のいずれかです。
errorstring必須エラーのコード
scopestringinsufficient_scope のとき、足りない権限
requestIdstring<uuid>inventoryItemIdsstring<uuid>[]holdIdsstring<uuid>[]commitmentIdsstring<uuid>[]404
not_found
errorstring必須エラーのコード
scopestringinsufficient_scope のとき、足りない権限
requestIdstring<uuid>inventoryItemIdsstring<uuid>[]holdIdsstring<uuid>[]commitmentIdsstring<uuid>[]409
競合・requestIdの流用・受取未確認
errorstring必須エラーのコード
scopestringinsufficient_scope のとき、足りない権限
requestIdstring<uuid>inventoryItemIdsstring<uuid>[]holdIdsstring<uuid>[]commitmentIdsstring<uuid>[]422
現在の状態・対象・値では実行できません。errorと対象IDを確認します。
errorstring必須エラーのコード
scopestringinsufficient_scope のとき、足りない権限
requestIdstring<uuid>inventoryItemIdsstring<uuid>[]holdIdsstring<uuid>[]commitmentIdsstring<uuid>[]
