From 82a5a8a2db7a2ad77f2ed46a584be25e439b09b2 Mon Sep 17 00:00:00 2001 From: Abby Menting Date: Mon, 23 Aug 2021 16:45:04 -0700 Subject: [PATCH] Update sandbox extension --- .../fba-inventory-api-model/fbaInventory.json | 66 ++++++++++--------- 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/models/fba-inventory-api-model/fbaInventory.json b/models/fba-inventory-api-model/fbaInventory.json index 53e72c2..21c0b7b 100644 --- a/models/fba-inventory-api-model/fbaInventory.json +++ b/models/fba-inventory-api-model/fbaInventory.json @@ -120,17 +120,18 @@ "description": "Unique request reference ID." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "details": { - "value": true - }, - "granularityType": { - "value": "Marketplace" - }, - "granularityId": { + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "details": { + "value": true + }, + "granularityType": { + "value": "Marketplace" + }, + "granularityId": { "value": "ATVPDKIKX0DER" }, "marketplaceIds": { @@ -268,8 +269,9 @@ ] } } - } - ] + } + ] + } }, "400": { "description": "Request has missing or invalid parameters and cannot be parsed.", @@ -346,27 +348,29 @@ "description": "Unique request reference ID." } }, - "x-amazon-spds-sandbox-behaviors": [ - { - "request": { - "parameters": { - "marketplaceIds": { - "value": [ - "1" - ] + "x-amzn-api-sandbox": { + "static": [ + { + "request": { + "parameters": { + "marketplaceIds": { + "value": [ + "1" + ] + } } + }, + "response": { + "errors": [ + { + "message": "We encountered an internal error. Please try again.", + "code": "InternalFailure" + } + ] } - }, - "response": { - "errors": [ - { - "message": "We encountered an internal error. Please try again.", - "code": "InternalFailure" - } - ] } - } - ] + ] + } }, "503": { "description": "Temporary overloading or maintenance of the server.",