メインコンテンツへスキップ
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 在庫の取り扱いを倉庫に伝えるディレクティブ:dispose、recall、replenish、restock、sendToFulfillment、others)を 1 件以上作成します。各指示は特定の 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