跳转到主要内容
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