跳轉到主要內容
POST
/
api
/
Fba
/
FbaInstruction
/
create
Create FBA instructions
curl --request POST \
  --url https://api.returnshelper.com/uat/user/api/Fba/FbaInstruction/create \
  --header 'Content-Type: application/json' \
  --header 'x-rr-apikey: <api-key>' \
  --header 'x-rr-apitoken: <api-key>' \
  --data '
{
  "fbaInstructionHandlingCode": "<string>",
  "fnskuList": [
    {
      "fnsku": "<string>",
      "warehouseId": 123,
      "quantity": 123
    }
  ]
}
'
{
  "data": [
    {
      "fbaInstructionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "apiId": 123,
      "fbaInstructionNumber": "<string>",
      "fbaInstructionHandlingCode": "<string>",
      "handlingStatusCode": "<string>",
      "quantity": 123,
      "warehouseId": 123,
      "warehouseApiId": 123
    }
  ]
}
此頁面由 AI 自動翻譯。API 技術規格以英文呈現為標準。如有任何疑問,請參閱英文版本
建立一條或多條 FBA 指示——告知倉庫如何處理 FBA 庫存的指令:銷毀、召回、補貨、回庫、轉送至 FBA 或其他類型。每條指示對應特定的 FBA 運貨單項目;類型透過 fbaInstructionHandlingCode 設定。狀態變更經 webhook 推送——請參見 Webhooks 中相關事件名稱。

授權

x-rr-apikey
string
header
必填

Your API key

x-rr-apitoken
string
header
必填

Your API token — keep this private

主體

application/json
fbaInstructionHandlingCode
string
必填

FBA instruction handling code (e.g., REPLENISH, RECALL)

fnskuList
object[]
必填

List of FBA SKUs to process. All items must belong to the same warehouse.

回應

Success

data
object[]

List of created FBA instructions