サプライヤーアイテムAPI (/supplier_items)

サプライヤーアイテムAPIを使用すると、従業員が申請書の作成時に選択するサプライヤーが提供する商品を作成、更新、または照会できます。

サプライヤーアイテムにアクセスするためのURL:
https ://<instance>/api/supplier items

詳細については、統合のベストプラクティスを参照してください。

アクション

サプライヤーアイテムAPIでは以下の操作が可能です。

動詞パスアクションDescription
POST/api/items/:item_id/supplier_items作成サプライヤーアイテムを作成
POST/api/supplier_items作成サプライヤーアイテムを作成
GET/api/items/:item_id/supplier_itemsインデックスサプライヤーアイテムのクエリ
GET/api/supplier_itemsインデックスサプライヤーアイテムのクエリ
GET/api/supplier_items/searchsearchサプライヤーアイテムの高度な検索
GET/api/items/:item_id/supplier_items/:id表示サプライヤーアイテムの表示
GET/api/supplier_items/:id表示サプライヤーアイテムの表示
PUT/api/items/:item_id/supplier_items/:id更新サプライヤーアイテムの更新
PUT/api/supplier_items/:id更新サプライヤーアイテムの更新
DELETE/api/supplier_items/:iddeleteサプライヤーアイテムの削除

Elements

サプライヤーアイテムAPIでは次の要素を使用できます。

要素Description必須フィールド?一意?許容値Api_Inフィールド?Api_Outフィールド?データタイプ
availability提供状況in_stock, out_of_stock, backorderedyes&#10;string(255)
availability-date利用可能日anyyes&#10;datetime
catalogcatalogyes&#10;yes&#10;
contractcontractyes&#10;yes&#10;契約
contract-termcontract_termyes&#10;yes&#10;ContractTerm
作成日時CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成しますyes&#10;datetime
created-by作成したユーザーyes&#10;ユーザー
currency取引の通貨yes&#10;yes&#10;Currency
IDCoupaの一意の識別子yes&#10;整数
アイテムアイテムyes&#10;yes&#10;アイテム
lead-timelead_timeyes&#10;yes&#10;整数
manufacturermanufactureryes&#10;yes&#10;文字列
minimum_order_quantityminimum_order_quantityなしなしanyyes&#10;yes&#10;decimal(30,6)
order_incrementorder_incrementなしなしanyyes&#10;yes&#10;decimal(30,6)
preferredこのアイテムの優先サプライヤーを示します。 この要素をクエリパラメータとして使用する場合は、 preferred_flag に変更します。 例: /api/supplier_items? item [item_number] =<item_id>& preferred_flag = falsetrue、falseyes&#10;yes&#10;boolean
価格価格yes&#10;yes&#10;小数
price-change価格変更yes&#10;yes&#10;float
price-tier-1価格層1yes&#10;yes&#10;小数
price-tier-10価格層10yes&#10;yes&#10;小数
price-tier-11価格層11yes&#10;yes&#10;小数
price-tier-12価格層12yes&#10;yes&#10;小数
price-tier-13価格層13yes&#10;yes&#10;小数
price-tier-14価格層14yes&#10;yes&#10;小数
price-tier-15価格層15yes&#10;yes&#10;小数
price-tier-16価格層16yes&#10;yes&#10;小数
price-tier-17価格層17yes&#10;yes&#10;小数
price-tier-18価格層18yes&#10;yes&#10;小数
price-tier-19価格層19yes&#10;yes&#10;小数
price-tier-2価格層2yes&#10;yes&#10;小数
price-tier-20価格層20yes&#10;yes&#10;小数
price-tier-3価格層3yes&#10;yes&#10;小数
price-tier-4価格層4yes&#10;yes&#10;小数
price-tier-5価格層5yes&#10;yes&#10;小数
price-tier-6価格層6yes&#10;yes&#10;小数
price-tier-7価格層7yes&#10;yes&#10;小数
price-tier-8価格層8yes&#10;yes&#10;小数
price-tier-9価格層9yes&#10;yes&#10;小数
savings-pct節減率yes&#10;yes&#10;小数
suppliersupplieryes&#10;yes&#10;yes&#10;サプライヤー
supplier-aux-part-numサプライヤー予備品番yes&#10;yes&#10;文字列
supplier-part-numサプライヤー品番yes&#10;yes&#10;yes&#10;文字列
unspsc-codeUNSPSCコードnonoanyyes&#10;string(255)
updated-atCoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成しますyes&#10;datetime
updated-by更新したユーザーyes&#10;ユーザー
注:

supplier_number、contract_name、item_name、currency_codeは、システム内にすでに存在している必要があります。