ピックリスト/フルフィルメント予約API (/pick lists)

概要

ピックリストAPIを使用すると、ピックリストの一覧を取得し、フルフィルメントを更新できます。 選択リストにアクセスするURLは次のとおりです。 https ://{your_instance_name}/api/pick_lists

詳細については、ピックリストを参照してください。

アクション

動詞パスアクションDescription
GET/api/pick_listsIndexフルフィルメント予約を検索
POST/api/pick_lists/update_fulfillmentsフルフィルメントを更新フルフィルメント予約を更新

Elements

要素Description必須一意許容値入力出力データタイプ
作成日時フルフィルメントの時刻予約の作成 (形式: YYYY-MM-DDTHH:MM:SS+HH:MMZ)yes
datetime
IDCoupaの内部一意識別子yes
整数
inventory-balanceアイテムの在庫残高yes
在庫バランス
アイテムアイテムyes
アイテム
order-line発注明細yes
OrderLine
qty-fulfilled実行された数量yes
decimal(30,6)
qty-ordered発注数量yes
yes
decimal(30,6)
ステータス値は「アクティブ」または「クローズ」にすることができます。yes
string(255)
タイプフルフィルメント予約のタイプ。 値は「FulfillmentReservation」または「FulfillmentShortfall」になりますyes
string(255)
updated-atフルフィルメントの時刻予約の更新 (形式: YYYY-MM-DDTHH:MM:SS+HH:MMZ)yes
datetime
倉庫アイテムがある倉庫yes
倉庫
warehouse-locationアイテムがある倉庫内の所在地yes
倉庫内の所在地

呼び出しの例

特定の選択リストを取得

https ://{your_instance_name}/api/pick_lists? id ={id}を取得します。

出力

<?xml version="1.0" encoding="UTF-8"?> <fulfillment-reservations type="array"> <fulfillment-reservation> <id type="integer">3</id> <created-at type="dateTime">2020-02-17T06:52:16+01:00</created-at> <updated-at type="dateTime">2020-04-01T09:14:19+02:00</updated-at> <type>FulfillmentReservation</type> <status>active</status> <qty-ordered type="decimal">1.0</qty-ordered> <qty-fulfilled type="decimal">0.1</qty-fulfilled> <item> ... </item> <inventory-balance> <id type="integer">211</id> <created-at type="dateTime">2019-12-02T21:24:05+01:00</created-at> <updated-at type="dateTime">2020-04-01T09:14:19+02:00</updated-at> <quantity type="decimal">23.689</quantity> <allocated type="decimal">0.9</allocated> <available type="decimal">22.789</available> <item> ... </item> <inventory-valuations type="array"> <inventory-valuation> <id type="integer">206</id> <created-at type="dateTime">2019-12-02T21:24:05+01:00</created-at> <updated-at type="dateTime">2020-04-01T09:14:19+02:00</updated-at> <unit-price type="decimal">12.26</unit-price> <total type="decimal">290.427140</total> <currency> ... </currency> </inventory-valuation> </inventory-valuations> <warehouse> ... </warehouse> <warehouse-location> ... </warehouse-location> <created-by> ... </created-by> <updated-by> ... </updated-by> </inventory-balance> <warehouse> ... </warehouse> <warehouse-location> ... </warehouse-location> </fulfillment-reservation> </fulfillment-reservations>

フルフィルメント計画を更新

https ://{your_instance_name}/api/pick_lists/update_fulfillmentsに投稿

ペイロード

<?xml version="1.0" encoding="UTF-8"?> <fulfillment-reservation> <id type="integer">999</id> <qty-pick-amt>5</qty-pick-amt> </fulfillment-reservation>