Back to Collection Items
#include <C_CkHttpW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkHttpResponseW.h>
#include <C_CkStringBuilderW.h>
void ChilkatSample(void)
{
HCkHttpW http;
BOOL success;
HCkJsonObjectW json;
HCkHttpResponseW resp;
HCkStringBuilderW sbResponseBody;
HCkJsonObjectW jResp;
int respStatusCode;
const wchar_t *isCODCapable;
const wchar_t *isFulfillable;
const wchar_t *marketplaceId;
const wchar_t *shippingSpeedCategory;
const wchar_t *DeliveryTimeZone;
const wchar_t *Unit;
const wchar_t *Value;
int j;
int count_j;
const wchar_t *endDate;
const wchar_t *startDate;
const wchar_t *CurrencyCode;
const wchar_t *amountValue;
const wchar_t *name;
const wchar_t *earliestShipDate;
const wchar_t *latestShipDate;
const wchar_t *earliestArrivalDate;
const wchar_t *latestArrivalDate;
int k;
int count_k;
const wchar_t *quantity;
const wchar_t *sellerFulfillmentOrderItemId;
const wchar_t *sellerSku;
const wchar_t *estimatedShippingWeightUnit;
const wchar_t *estimatedShippingWeightValue;
const wchar_t *shippingWeightCalculationMethod;
const wchar_t *strVal;
const wchar_t *featureName;
const wchar_t *featureFulfillmentPolicy;
const wchar_t *code;
const wchar_t *message;
const wchar_t *details;
int i;
int count_i;
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http = CkHttpW_Create();
// Use this online tool to generate code from sample JSON: Generate Code to Create JSON
// The following JSON is sent in the request body.
// {
// "address": {
// "addressLine1": "<string>",
// "countryCode": "<string>",
// "stateOrRegion": "<string>",
// "name": "<string>",
// "postalCode": "<string>",
// "addressLine2": "<string>",
// "addressLine3": "<string>",
// "city": "<string>",
// "districtOrCounty": "<string>",
// "phone": "<string>"
// },
// "items": [
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "perUnitDeclaredValue": {
// "currencyCode": "<string>",
// "value": "<string>"
// }
// },
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "perUnitDeclaredValue": {
// "currencyCode": "<string>",
// "value": "<string>"
// }
// }
// ],
// "marketplaceId": "<string>",
// "shippingSpeedCategories": [
// "Standard",
// "ScheduledDelivery"
// ],
// "includeCODFulfillmentPreview": "<boolean>",
// "includeDeliveryWindows": "<boolean>",
// "featureConstraints": [
// {
// "featureName": "<string>",
// "featureFulfillmentPolicy": "NotRequired"
// },
// {
// "featureName": "<string>",
// "featureFulfillmentPolicy": "Required"
// }
// ]
// }
json = CkJsonObjectW_Create();
CkJsonObjectW_UpdateString(json,L"address.addressLine1",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.countryCode",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.stateOrRegion",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.name",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.postalCode",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.addressLine2",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.addressLine3",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.city",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.districtOrCounty",L"<string>");
CkJsonObjectW_UpdateString(json,L"address.phone",L"<string>");
CkJsonObjectW_UpdateString(json,L"items[0].quantity",L"<integer>");
CkJsonObjectW_UpdateString(json,L"items[0].sellerFulfillmentOrderItemId",L"<string>");
CkJsonObjectW_UpdateString(json,L"items[0].sellerSku",L"<string>");
CkJsonObjectW_UpdateString(json,L"items[0].perUnitDeclaredValue.currencyCode",L"<string>");
CkJsonObjectW_UpdateString(json,L"items[0].perUnitDeclaredValue.value",L"<string>");
CkJsonObjectW_UpdateString(json,L"items[1].quantity",L"<integer>");
CkJsonObjectW_UpdateString(json,L"items[1].sellerFulfillmentOrderItemId",L"<string>");
CkJsonObjectW_UpdateString(json,L"items[1].sellerSku",L"<string>");
CkJsonObjectW_UpdateString(json,L"items[1].perUnitDeclaredValue.currencyCode",L"<string>");
CkJsonObjectW_UpdateString(json,L"items[1].perUnitDeclaredValue.value",L"<string>");
CkJsonObjectW_UpdateString(json,L"marketplaceId",L"<string>");
CkJsonObjectW_UpdateString(json,L"shippingSpeedCategories[0]",L"Standard");
CkJsonObjectW_UpdateString(json,L"shippingSpeedCategories[1]",L"ScheduledDelivery");
CkJsonObjectW_UpdateString(json,L"includeCODFulfillmentPreview",L"<boolean>");
CkJsonObjectW_UpdateString(json,L"includeDeliveryWindows",L"<boolean>");
CkJsonObjectW_UpdateString(json,L"featureConstraints[0].featureName",L"<string>");
CkJsonObjectW_UpdateString(json,L"featureConstraints[0].featureFulfillmentPolicy",L"NotRequired");
CkJsonObjectW_UpdateString(json,L"featureConstraints[1].featureName",L"<string>");
CkJsonObjectW_UpdateString(json,L"featureConstraints[1].featureFulfillmentPolicy",L"Required");
CkHttpW_SetRequestHeader(http,L"Content-Type",L"application/json");
CkHttpW_SetRequestHeader(http,L"Accept",L"application/json");
resp = CkHttpW_PostJson3(http,L"https://sellingpartnerapi-na.amazon.com/fba/outbound/2020-07-01/fulfillmentOrders/preview",L"application/json",json);
if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
wprintf(L"%s\n",CkHttpW_lastErrorText(http));
CkHttpW_Dispose(http);
CkJsonObjectW_Dispose(json);
return;
}
sbResponseBody = CkStringBuilderW_Create();
CkHttpResponseW_GetBodySb(resp,sbResponseBody);
jResp = CkJsonObjectW_Create();
CkJsonObjectW_LoadSb(jResp,sbResponseBody);
CkJsonObjectW_putEmitCompact(jResp,FALSE);
wprintf(L"Response Body:\n");
wprintf(L"%s\n",CkJsonObjectW_emit(jResp));
respStatusCode = CkHttpResponseW_getStatusCode(resp);
wprintf(L"Response Status Code = %d\n",respStatusCode);
if (respStatusCode >= 400) {
wprintf(L"Response Header:\n");
wprintf(L"%s\n",CkHttpResponseW_header(resp));
wprintf(L"Failed.\n");
CkHttpResponseW_Dispose(resp);
CkHttpW_Dispose(http);
CkJsonObjectW_Dispose(json);
CkStringBuilderW_Dispose(sbResponseBody);
CkJsonObjectW_Dispose(jResp);
return;
}
CkHttpResponseW_Dispose(resp);
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "payload": {
// "fulfillmentPreviews": [
// {
// "isCODCapable": "<boolean>",
// "isFulfillable": "<boolean>",
// "marketplaceId": "<string>",
// "shippingSpeedCategory": "Expedited",
// "scheduledDeliveryInfo": {
// "deliveryTimeZone": "<string>",
// "deliveryWindows": [
// {
// "endDate": "<dateTime>",
// "startDate": "<dateTime>"
// },
// {
// "endDate": "<dateTime>",
// "startDate": "<dateTime>"
// }
// ]
// },
// "estimatedShippingWeight": {
// "unit": "POUNDS",
// "value": "<string>"
// },
// "estimatedFees": [
// {
// "amount": {
// "currencyCode": "<string>",
// "value": "<string>"
// },
// "name": "FBAPerUnitFulfillmentFee"
// },
// {
// "amount": {
// "currencyCode": "<string>",
// "value": "<string>"
// },
// "name": "FBAPerUnitFulfillmentFee"
// }
// ],
// "fulfillmentPreviewShipments": [
// {
// "fulfillmentPreviewItems": [
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "estimatedShippingWeight": {
// "unit": "KG",
// "value": "<string>"
// },
// "shippingWeightCalculationMethod": "Dimensional"
// },
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "estimatedShippingWeight": {
// "unit": "KILOGRAMS",
// "value": "<string>"
// },
// "shippingWeightCalculationMethod": "Dimensional"
// }
// ],
// "earliestShipDate": "<dateTime>",
// "latestShipDate": "<dateTime>",
// "earliestArrivalDate": "<dateTime>",
// "latestArrivalDate": "<dateTime>",
// "shippingNotes": [
// "<string>",
// "<string>"
// ]
// },
// {
// "fulfillmentPreviewItems": [
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "estimatedShippingWeight": {
// "unit": "KILOGRAMS",
// "value": "<string>"
// },
// "shippingWeightCalculationMethod": "Dimensional"
// },
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "estimatedShippingWeight": {
// "unit": "POUNDS",
// "value": "<string>"
// },
// "shippingWeightCalculationMethod": "Dimensional"
// }
// ],
// "earliestShipDate": "<dateTime>",
// "latestShipDate": "<dateTime>",
// "earliestArrivalDate": "<dateTime>",
// "latestArrivalDate": "<dateTime>",
// "shippingNotes": [
// "<string>",
// "<string>"
// ]
// }
// ],
// "unfulfillablePreviewItems": [
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "itemUnfulfillableReasons": [
// "<string>",
// "<string>"
// ]
// },
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "itemUnfulfillableReasons": [
// "<string>",
// "<string>"
// ]
// }
// ],
// "orderUnfulfillableReasons": [
// "<string>",
// "<string>"
// ],
// "featureConstraints": [
// {
// "featureName": "<string>",
// "featureFulfillmentPolicy": "Required"
// },
// {
// "featureName": "<string>",
// "featureFulfillmentPolicy": "Required"
// }
// ]
// },
// {
// "isCODCapable": "<boolean>",
// "isFulfillable": "<boolean>",
// "marketplaceId": "<string>",
// "shippingSpeedCategory": "Priority",
// "scheduledDeliveryInfo": {
// "deliveryTimeZone": "<string>",
// "deliveryWindows": [
// {
// "endDate": "<dateTime>",
// "startDate": "<dateTime>"
// },
// {
// "endDate": "<dateTime>",
// "startDate": "<dateTime>"
// }
// ]
// },
// "estimatedShippingWeight": {
// "unit": "LB",
// "value": "<string>"
// },
// "estimatedFees": [
// {
// "amount": {
// "currencyCode": "<string>",
// "value": "<string>"
// },
// "name": "FBATransportationFee"
// },
// {
// "amount": {
// "currencyCode": "<string>",
// "value": "<string>"
// },
// "name": "FBATransportationFee"
// }
// ],
// "fulfillmentPreviewShipments": [
// {
// "fulfillmentPreviewItems": [
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "estimatedShippingWeight": {
// "unit": "KG",
// "value": "<string>"
// },
// "shippingWeightCalculationMethod": "Package"
// },
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "estimatedShippingWeight": {
// "unit": "KILOGRAMS",
// "value": "<string>"
// },
// "shippingWeightCalculationMethod": "Package"
// }
// ],
// "earliestShipDate": "<dateTime>",
// "latestShipDate": "<dateTime>",
// "earliestArrivalDate": "<dateTime>",
// "latestArrivalDate": "<dateTime>",
// "shippingNotes": [
// "<string>",
// "<string>"
// ]
// },
// {
// "fulfillmentPreviewItems": [
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "estimatedShippingWeight": {
// "unit": "KG",
// "value": "<string>"
// },
// "shippingWeightCalculationMethod": "Package"
// },
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "estimatedShippingWeight": {
// "unit": "KILOGRAMS",
// "value": "<string>"
// },
// "shippingWeightCalculationMethod": "Package"
// }
// ],
// "earliestShipDate": "<dateTime>",
// "latestShipDate": "<dateTime>",
// "earliestArrivalDate": "<dateTime>",
// "latestArrivalDate": "<dateTime>",
// "shippingNotes": [
// "<string>",
// "<string>"
// ]
// }
// ],
// "unfulfillablePreviewItems": [
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "itemUnfulfillableReasons": [
// "<string>",
// "<string>"
// ]
// },
// {
// "quantity": "<integer>",
// "sellerFulfillmentOrderItemId": "<string>",
// "sellerSku": "<string>",
// "itemUnfulfillableReasons": [
// "<string>",
// "<string>"
// ]
// }
// ],
// "orderUnfulfillableReasons": [
// "<string>",
// "<string>"
// ],
// "featureConstraints": [
// {
// "featureName": "<string>",
// "featureFulfillmentPolicy": "NotRequired"
// },
// {
// "featureName": "<string>",
// "featureFulfillmentPolicy": "NotRequired"
// }
// ]
// }
// ]
// },
// "errors": [
// {
// "code": "<string>",
// "message": "<string>",
// "details": "<string>"
// },
// {
// "code": "<string>",
// "message": "<string>",
// "details": "<string>"
// }
// ]
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
// Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
isCODCapable = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].isCODCapable");
isFulfillable = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].isFulfillable");
marketplaceId = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].marketplaceId");
shippingSpeedCategory = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].shippingSpeedCategory");
DeliveryTimeZone = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].scheduledDeliveryInfo.deliveryTimeZone");
Unit = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].estimatedShippingWeight.unit");
Value = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].estimatedShippingWeight.value");
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].scheduledDeliveryInfo.deliveryWindows");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
endDate = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].scheduledDeliveryInfo.deliveryWindows[j].endDate");
startDate = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].scheduledDeliveryInfo.deliveryWindows[j].startDate");
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].estimatedFees");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
CurrencyCode = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].estimatedFees[j].amount.currencyCode");
amountValue = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].estimatedFees[j].amount.value");
name = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].estimatedFees[j].name");
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
earliestShipDate = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].earliestShipDate");
latestShipDate = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].latestShipDate");
earliestArrivalDate = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].earliestArrivalDate");
latestArrivalDate = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].latestArrivalDate");
k = 0;
count_k = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].fulfillmentPreviewItems");
while (k < count_k) {
CkJsonObjectW_putK(jResp,k);
quantity = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].fulfillmentPreviewItems[k].quantity");
sellerFulfillmentOrderItemId = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].fulfillmentPreviewItems[k].sellerFulfillmentOrderItemId");
sellerSku = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].fulfillmentPreviewItems[k].sellerSku");
estimatedShippingWeightUnit = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].fulfillmentPreviewItems[k].estimatedShippingWeight.unit");
estimatedShippingWeightValue = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].fulfillmentPreviewItems[k].estimatedShippingWeight.value");
shippingWeightCalculationMethod = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].fulfillmentPreviewItems[k].shippingWeightCalculationMethod");
k = k + 1;
}
k = 0;
count_k = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].shippingNotes");
while (k < count_k) {
CkJsonObjectW_putK(jResp,k);
strVal = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].fulfillmentPreviewShipments[j].shippingNotes[k]");
k = k + 1;
}
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].unfulfillablePreviewItems");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
quantity = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].unfulfillablePreviewItems[j].quantity");
sellerFulfillmentOrderItemId = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].unfulfillablePreviewItems[j].sellerFulfillmentOrderItemId");
sellerSku = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].unfulfillablePreviewItems[j].sellerSku");
k = 0;
count_k = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].unfulfillablePreviewItems[j].itemUnfulfillableReasons");
while (k < count_k) {
CkJsonObjectW_putK(jResp,k);
strVal = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].unfulfillablePreviewItems[j].itemUnfulfillableReasons[k]");
k = k + 1;
}
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].orderUnfulfillableReasons");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
strVal = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].orderUnfulfillableReasons[j]");
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"payload.fulfillmentPreviews[i].featureConstraints");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
featureName = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].featureConstraints[j].featureName");
featureFulfillmentPolicy = CkJsonObjectW_stringOf(jResp,L"payload.fulfillmentPreviews[i].featureConstraints[j].featureFulfillmentPolicy");
j = j + 1;
}
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"errors");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
code = CkJsonObjectW_stringOf(jResp,L"errors[i].code");
message = CkJsonObjectW_stringOf(jResp,L"errors[i].message");
details = CkJsonObjectW_stringOf(jResp,L"errors[i].details");
i = i + 1;
}
CkHttpW_Dispose(http);
CkJsonObjectW_Dispose(json);
CkStringBuilderW_Dispose(sbResponseBody);
CkJsonObjectW_Dispose(jResp);
}
Curl Command
curl -X POST
-H "Content-Type: application/json"
-H "Accept: application/json"
-d '{
"address": {
"addressLine1": "<string>",
"countryCode": "<string>",
"stateOrRegion": "<string>",
"name": "<string>",
"postalCode": "<string>",
"addressLine2": "<string>",
"addressLine3": "<string>",
"city": "<string>",
"districtOrCounty": "<string>",
"phone": "<string>"
},
"items": [
{
"quantity": "<integer>",
"sellerFulfillmentOrderItemId": "<string>",
"sellerSku": "<string>",
"perUnitDeclaredValue": {
"currencyCode": "<string>",
"value": "<string>"
}
},
{
"quantity": "<integer>",
"sellerFulfillmentOrderItemId": "<string>",
"sellerSku": "<string>",
"perUnitDeclaredValue": {
"currencyCode": "<string>",
"value": "<string>"
}
}
],
"marketplaceId": "<string>",
"shippingSpeedCategories": [
"Standard",
"ScheduledDelivery"
],
"includeCODFulfillmentPreview": "<boolean>",
"includeDeliveryWindows": "<boolean>",
"featureConstraints": [
{
"featureName": "<string>",
"featureFulfillmentPolicy": "NotRequired"
},
{
"featureName": "<string>",
"featureFulfillmentPolicy": "Required"
}
]
}'
https://sellingpartnerapi-na.amazon.com/fba/outbound/2020-07-01/fulfillmentOrders/preview
Postman Collection Item JSON
{
"name": "get Fulfillment Preview",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
},
"description": "Returns a list of fulfillment order previews based on shipping criteria that you specify.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 2 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)."
},
"response": [
{
"name": "Success.",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"fulfillmentPreviews\": [\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Expedited\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n },\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Priority\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"LB\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n }\n ]\n }\n ]\n },\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "Request has missing or invalid parameters and cannot be parsed.",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"fulfillmentPreviews\": [\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Expedited\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n },\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Priority\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"LB\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n }\n ]\n }\n ]\n },\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "The request's Authorization header is not formatted correctly or does not contain a valid token.",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"fulfillmentPreviews\": [\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Expedited\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n },\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Priority\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"LB\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n }\n ]\n }\n ]\n },\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"fulfillmentPreviews\": [\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Expedited\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n },\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Priority\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"LB\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n }\n ]\n }\n ]\n },\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "The specified resource does not exist.",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
}
},
"status": "Not Found",
"code": 404,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"fulfillmentPreviews\": [\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Expedited\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n },\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Priority\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"LB\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n }\n ]\n }\n ]\n },\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "The frequency of requests was greater than allowed.",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"fulfillmentPreviews\": [\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Expedited\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n },\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Priority\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"LB\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n }\n ]\n }\n ]\n },\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "An unexpected condition occurred that prevented the server from fulfilling the request.",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
}
},
"status": "Internal Server Error",
"code": 500,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"fulfillmentPreviews\": [\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Expedited\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n },\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Priority\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"LB\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n }\n ]\n }\n ]\n },\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
},
{
"name": "Temporary overloading or maintenance of the server.",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"addressLine1\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"stateOrRegion\": \"<string>\",\n \"name\": \"<string>\",\n \"postalCode\": \"<string>\",\n \"addressLine2\": \"<string>\",\n \"addressLine3\": \"<string>\",\n \"city\": \"<string>\",\n \"districtOrCounty\": \"<string>\",\n \"phone\": \"<string>\"\n },\n \"items\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"perUnitDeclaredValue\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n }\n }\n ],\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategories\": [\n \"Standard\",\n \"ScheduledDelivery\"\n ],\n \"includeCODFulfillmentPreview\": \"<boolean>\",\n \"includeDeliveryWindows\": \"<boolean>\",\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/fba/outbound/2020-07-01/fulfillmentOrders/preview",
"host": [
"{{baseUrl}}"
],
"path": [
"fba",
"outbound",
"2020-07-01",
"fulfillmentOrders",
"preview"
]
}
},
"status": "Service Unavailable",
"code": 503,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "x-amzn-RateLimit-Limit",
"value": "<string>",
"description": {
"content": "Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned.",
"type": "text/plain"
}
},
{
"key": "x-amzn-RequestId",
"value": "<string>",
"description": {
"content": "Unique request reference identifier.",
"type": "text/plain"
}
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"fulfillmentPreviews\": [\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Expedited\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBAPerUnitFulfillmentFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"POUNDS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Dimensional\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"Required\"\n }\n ]\n },\n {\n \"isCODCapable\": \"<boolean>\",\n \"isFulfillable\": \"<boolean>\",\n \"marketplaceId\": \"<string>\",\n \"shippingSpeedCategory\": \"Priority\",\n \"scheduledDeliveryInfo\": {\n \"deliveryTimeZone\": \"<string>\",\n \"deliveryWindows\": [\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n },\n {\n \"endDate\": \"<dateTime>\",\n \"startDate\": \"<dateTime>\"\n }\n ]\n },\n \"estimatedShippingWeight\": {\n \"unit\": \"LB\",\n \"value\": \"<string>\"\n },\n \"estimatedFees\": [\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n },\n {\n \"amount\": {\n \"currencyCode\": \"<string>\",\n \"value\": \"<string>\"\n },\n \"name\": \"FBATransportationFee\"\n }\n ],\n \"fulfillmentPreviewShipments\": [\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"fulfillmentPreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KG\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"estimatedShippingWeight\": {\n \"unit\": \"KILOGRAMS\",\n \"value\": \"<string>\"\n },\n \"shippingWeightCalculationMethod\": \"Package\"\n }\n ],\n \"earliestShipDate\": \"<dateTime>\",\n \"latestShipDate\": \"<dateTime>\",\n \"earliestArrivalDate\": \"<dateTime>\",\n \"latestArrivalDate\": \"<dateTime>\",\n \"shippingNotes\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"unfulfillablePreviewItems\": [\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n {\n \"quantity\": \"<integer>\",\n \"sellerFulfillmentOrderItemId\": \"<string>\",\n \"sellerSku\": \"<string>\",\n \"itemUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ]\n }\n ],\n \"orderUnfulfillableReasons\": [\n \"<string>\",\n \"<string>\"\n ],\n \"featureConstraints\": [\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n },\n {\n \"featureName\": \"<string>\",\n \"featureFulfillmentPolicy\": \"NotRequired\"\n }\n ]\n }\n ]\n },\n \"errors\": [\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n },\n {\n \"code\": \"<string>\",\n \"message\": \"<string>\",\n \"details\": \"<string>\"\n }\n ]\n}"
}
]
}