メインコンテンツまでスキップ

 

 

Coupa Japanese

選択リスト/フルフィルメント予約API(/選択リスト)

このページは機械翻訳を使用して翻訳されています。


概要

選択リストAPIを使用して、選択リストのリストを取得し、フルフィルメントを更新します。選択リストにアクセスするためのURLは:https://{your_instance_name}/api/pick_lists

詳細については、 選択リスト を参照してください。

アクション

動詞 パス アクション 説明
GET / api / pick_lists インデックス フルフィルメント予約のクエリ
投稿 / api / pick_lists / update_fulfillments フルフィルメントの更新 フルフィルメント予約を更新

要素

要素 説明 必須 一意 許容値 アウト データタイプ
created-at YYYY-MM-DDTHH:MM:SS + HH:MMZ形式のフルフィルメント予約作成時刻         はい 日時
id Coupaの内部一意が識別されました         はい 整数
inventory_balances アイテムの在庫残高         はい 棚卸資産残高在庫残高API
item アイテム         はい アイテムアイテムAPI(/ items)
数量 満たされた数量         はい 小数(30,6)
数量注文済み 注文数量 はい       はい 小数(30,6)
status 値は「アクティブ」または「クローズ」のいずれかです。         はい 文字列(255)
type フルフィルメント予約のタイプ。値は「FulfillmentReservation」または「FulfillmentShortfall」のいずれかです。         はい 文字列(255)
updated-at YYYY-MM-DDTHH:MM:SS + HH:MMZ形式のフルフィルメント予約更新時刻         はい 日時
倉庫 アイテムが置かれている倉庫         はい 倉庫
warehouse_locations アイテムが置かれている倉庫内の場所         はい 倉庫の所在地

呼び出し例

特定の選択リストを取得する

GET 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へのPOST。

ペイロード

<?xml version="1.0" encoding="UTF-8"?>
<fulfillment-reservation>
  <id type="integer">999</id>
  <qty-pick-amt>5</qty-pick-amt>
</fulfillment-reservation>
  • この記事は役に立ちましたか?