Skip to content

Get Net Suite Materials

Description

取得料件列表。

Resource

GET /v1/net_suite/materials

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Request Body Parameters

Name Type Description
Subsidiary_ID string 公司別ID

Request Example

GET /v1/net_suite/materials?Subsidiary_ID=US02

Response Body Parameters

Name Type Description
materials Material[] 料件列表

Response Body Parameters - Material

Name Type Description
Subsidiary string 公司別
Item_Type string 料件類別
Item_Internal_ID string Netsuite內部ID
Item_Name string 料號編號
Display_Name string 料號名稱
Sale_Unit string 料號主檔上的primary sale unit
G_IM1 string 大分類
G_IM2 string 中分類
G_IM3 string 小分類
G_Store_Unit string 門市物料盤點單位
G_Store_Unit_Conversion_Rate string 門市單位轉換率(與sale unit轉換率)
Created_Date string 新增日期
Last_Updated_Date string 最後修改日期

Response

{
  "materials": [
    {
      "Subsidiary": "US02 BFYJ Foods",
      "Item_Type": "Inventory Item",
      "Item_Internal_ID": "1215",
      "Item_Name": "US_MA0011117",
      "Display_Name": "Pudding powder",
      "Sale_Unit": "Bag",
      "G_IM1": "1 MA00 Raw Material",
      "G_IM2": "1 Normal temp.",
      "G_IM3": "1 Seasoning",
      "G_Store_Unit": "G",
      "G_Store_Unit_Conversion_Rate": "600",
      "Created_Date": "2023-07-13 09:15:25",
      "Last_Updated_Date": "2023-07-13 09:15:25"
    }
  ]
}