Skip to content

Set Net Suite Location

Description

寫入門市資料。

Resource

POST /v1/net_suite/location

Authorization

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

Request Body Parameters

Name Type Description
id string 任務編號,不同任務需有不同編號
locations Location[] 門市列表

Request Body Parameters - Location

Name Type Description
Subsidiary string 公司別
Location_Internal_ID string Location唯一ID
Location_Name string Location名稱
G_Location_Description string Location敘述
G_Location_Number string Location敘述
Add_Country string 國家
Add_Attention string 經辦人
Add_Address string 地址
Add_phone string 電話
Add_Address1 string 地址1
Add_Address2 string 地址2
Add_City string 城市
Add_State string 州別
Add_Zip string 郵遞區號
Inactive string
(enum)
是否失效
ALLOWED VALUES:
  • Y
  • N
Created_Date string 新增日期
Last_Updated_Date string 最後修改日期
Status string
(enum)
狀態ALLOWED VALUES:
  • N:新增
  • U:修改

Request Body Example

{
  "id": "230721094511",
  "locations": [
    {
      "Subsidiary": "US02 BFYJ Resultant",
      "Location_Internal_ID": "3",
      "Location_Name": "US03CA_CH001",
      "G_Location_Description": "Chino Hills store",
      "G_Location_Number": "US0309170002",
      "Add_Country": "United States",
      "Add_Attention": "",
      "Add_Address": "US03CA_CH001",
      "Add_phone": "",
      "Add_Address1": "2923 Chino Avenue, Unit H3",
      "Add_Address2": "",
      "Add_City": "Chino Hills",
      "Add_State": "California",
      "Add_Zip": "91709",
      "Inactive": "N",
      "Created_Date": "2023-07-13 09:15:25",
      "Last_Updated_Date": "2023-07-13 09:15:25",
      "Status": "N"
    }
  ]
}

Response

Status-Code: 204 No Content