coupang
POST/v2/providers/openapi/apis/api/v5/vendors/{vendorId}/outboundShippingCenters2609170000

建立發貨地址

# 01

簡介

建立發貨地址

# 02

詳細內容

API 適用的买方用户區域:韓國、台灣

建立發貨地址。您可透過該API建立多個發貨地,所建立的發貨地將被指定為註冊商品時使用的的發貨地。

建立相同地址的發貨地會受限。

建立/修改發貨地時,請將usable引數值設定為true (use)。

路徑

POST/v2/providers/openapi/apis/api/v5/vendors/{vendorId}/outboundShippingCenters

範例端點

https://api-gateway.coupang.com/v2/providers/openapi/apis/api/v5/vendors/A00012345/outboundShippingCenters
# 03

Path 參數

NameTypeDescription
vendorId*string
賣家ID

酷澎提供給賣家的固有程式碼

例) A00012345
# 04

回應內容

回應訊息

NameTypeDescription
codenumber
伺服器響應碼
messagestring
伺服器響應訊息
dataobject
發貨地建立結果
resultCode
data.resultCode
string
結果程式碼

SUCCESS or FAIL
resultMessage
data.resultMessage
string
結果資訊(發貨地程式碼)

顯示為outbound shipping place code

可透過該程式碼檢視發貨地列表
# 05

錯誤碼

HTTP代碼訊息
400HTTP_400Bad Request

錯誤說明

HTTP類型錯誤訊息解決方案
400400 (確認請求引數)

You can enter KRW 0 or between KRW 100 - 400

當currencyCode是KRW時,如果是 EPOST 快遞,請確保輸入0 KRW 或100 - 400 KRW之間

400400 (確認請求引數)

Post code can't be empty

請確認是否輸入了returnZipCode值。

400400 (重複輸入)

[發貨地重複] 該地址已被登入。(重複地址程式碼: 2026xxxx)

請確認是否輸入過相同的returnAddress 值。

400400 (重複輸入)

[發貨地重複] Duplicated request. 公司名:xxxxx

請確認是否輸入過相同的shippingPlaceName值。

400400 (確認請求引數)

運費可為0韓元或1000~20000韓元。

請確認您輸入的jeju, notJeju數值範圍是否正確 。當currencyCode是KRW時,偏遠地區配送費請輸入0韓元或1,000~20,000韓元。

400400 (確認請求引數)

The format of postal code is invalid, it can only be number

請為 returnZipCode值輸入非數字字元。

400400 (確認請求引數)

params are not allowed null...

請確認是否輸入了null 值。

400400 (確認請求引數)

params's vendorId not equals gateway's vendorId!

請確認您輸入的 vendorId是否正確。

400400 (確認請求引數)

The max length of the shipping place name is 50, please input the correct length name

請確認shippingPlaceName值是否小於50個字元。

400400 (確認請求引數)

The address detail info can't be null(placeAddress)

請確認是否輸入了returnAddress值。

400400 (確認請求引數)

Must input the default phone number(phoneNumber1)

請確認是否輸入了phoneNumber1值。

400400 (確認請求引數)

Must input the default address(address1)

請確認是否輸入了returnAddress值。

400400 (確認請求引數)

The length of country code is 2, please input correct length country code

請確認您輸入的countryCode值是否正確。

400400 (確認請求引數)

The format of phone number is invalid, min length is 11 and max length is 14

400400 (確認請求引數)

include the character '-'

請確認您輸入的companyContactNumber值是否符合格式要求。正確格式需符合E.164標準。

400400 (確認請求引數)

The format of postal code is invalid, it can only be number, min length is 5 and max length is 6

請確認您輸入的returnZipCode值是否正確。請輸入5~6個數字。

400400 (確認請求引數)

Please input the correct phone number format including numbers and '-' (min 9, max 13)

請檢查companyContactNumber 或者 phoneNumber2 欄位值是否輸入正確。正確格式需符合E.164標準 。

500500 (確認請求引數)

shipping-places create error.

請確認輸入的物流公司合同程式碼(contractNumber)數值是否正確。