Chilkat Online Tools

PowerBuilder / Amazon Shipping API / get Carrier Account Form Inputs

Back to Collection Items

integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
string ls_CarrierId
integer j
integer li_Count_j
string ls_AccountType
integer k
integer li_Count_k
string ls_DescriptionLocalizationKey
string ls_Name
string ls_GroupName
string ls_InputType
string ls_IsMandatory
string ls_IsConfidential
string ls_IsHidden
oleobject loo_Json1
integer li_I1
integer li_Count_i1
string ls_ErrorMessage
string ls_ValidationStrategy
string ls_Value
integer i
integer li_Count_i

// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

loo_Http = create oleobject
li_rc = loo_Http.ConnectToNewObject("Chilkat_9_5_0.Http")
if li_rc < 0 then
    destroy loo_Http
    MessageBox("Error","Connecting to COM object failed")
    return
end if

loo_Http.SetRequestHeader("x-amzn-shipping-business-id","AmazonShipping_US")
loo_Http.SetRequestHeader("Accept","application/json")

loo_SbResponseBody = create oleobject
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat_9_5_0.StringBuilder")

li_Success = loo_Http.QuickGetSb("https://sellingpartnerapi-eu.amazon.com/shipping/v2/carrierAccountFormInputs",loo_SbResponseBody)
if li_Success = 0 then
    Write-Debug loo_Http.LastErrorText
    destroy loo_Http
    destroy loo_SbResponseBody
    return
end if

loo_JResp = create oleobject
li_rc = loo_JResp.ConnectToNewObject("Chilkat_9_5_0.JsonObject")

loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0

Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()

li_RespStatusCode = loo_Http.LastStatus
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
    Write-Debug "Response Header:"
    Write-Debug loo_Http.LastHeader
    Write-Debug "Failed."
    destroy loo_Http
    destroy loo_SbResponseBody
    destroy loo_JResp
    return
end if

// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)

// {
//   "linkableCarriersList": [
//     {
//       "carrierId": "<string>",
//       "linkableAccountTypes": [
//         {
//           "accountType": "AMAZON_ACCOUNT",
//           "carrierAccountInputs": [
//             {
//               "descriptionLocalizationKey": "<string>",
//               "name": "<string>",
//               "groupName": "<string>",
//               "inputType": "TEXTBOX",
//               "isMandatory": "<boolean>",
//               "isConfidential": "<boolean>",
//               "isHidden": "<boolean>",
//               "validationMetadata": [
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 },
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 }
//               ]
//             },
//             {
//               "descriptionLocalizationKey": "<string>",
//               "name": "<string>",
//               "groupName": "<string>",
//               "inputType": "PASSWORD",
//               "isMandatory": "<boolean>",
//               "isConfidential": "<boolean>",
//               "isHidden": "<boolean>",
//               "validationMetadata": [
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 },
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 }
//               ]
//             }
//           ]
//         },
//         {
//           "accountType": "SHIPPER_ACCOUNT",
//           "carrierAccountInputs": [
//             {
//               "descriptionLocalizationKey": "<string>",
//               "name": "<string>",
//               "groupName": "<string>",
//               "inputType": "TEXTBOX",
//               "isMandatory": "<boolean>",
//               "isConfidential": "<boolean>",
//               "isHidden": "<boolean>",
//               "validationMetadata": [
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 },
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 }
//               ]
//             },
//             {
//               "descriptionLocalizationKey": "<string>",
//               "name": "<string>",
//               "groupName": "<string>",
//               "inputType": "TEXTBOX",
//               "isMandatory": "<boolean>",
//               "isConfidential": "<boolean>",
//               "isHidden": "<boolean>",
//               "validationMetadata": [
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 },
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 }
//               ]
//             }
//           ]
//         }
//       ]
//     },
//     {
//       "carrierId": "<string>",
//       "linkableAccountTypes": [
//         {
//           "accountType": "SHIPPER_ACCOUNT",
//           "carrierAccountInputs": [
//             {
//               "descriptionLocalizationKey": "<string>",
//               "name": "<string>",
//               "groupName": "<string>",
//               "inputType": "TEXTBOX",
//               "isMandatory": "<boolean>",
//               "isConfidential": "<boolean>",
//               "isHidden": "<boolean>",
//               "validationMetadata": [
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 },
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 }
//               ]
//             },
//             {
//               "descriptionLocalizationKey": "<string>",
//               "name": "<string>",
//               "groupName": "<string>",
//               "inputType": "PASSWORD",
//               "isMandatory": "<boolean>",
//               "isConfidential": "<boolean>",
//               "isHidden": "<boolean>",
//               "validationMetadata": [
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 },
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 }
//               ]
//             }
//           ]
//         },
//         {
//           "accountType": "SHIPPER_ACCOUNT",
//           "carrierAccountInputs": [
//             {
//               "descriptionLocalizationKey": "<string>",
//               "name": "<string>",
//               "groupName": "<string>",
//               "inputType": "PASSWORD",
//               "isMandatory": "<boolean>",
//               "isConfidential": "<boolean>",
//               "isHidden": "<boolean>",
//               "validationMetadata": [
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 },
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 }
//               ]
//             },
//             {
//               "descriptionLocalizationKey": "<string>",
//               "name": "<string>",
//               "groupName": "<string>",
//               "inputType": "TEXTBOX",
//               "isMandatory": "<boolean>",
//               "isConfidential": "<boolean>",
//               "isHidden": "<boolean>",
//               "validationMetadata": [
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 },
//                 {
//                   "errorMessage": "<string>",
//                   "validationStrategy": "<string>",
//                   "value": "<string>"
//                 }
//               ]
//             }
//           ]
//         }
//       ]
//     }
//   ]
// }

// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

i = 0
li_Count_i = loo_JResp.SizeOfArray("linkableCarriersList")
do while i < li_Count_i
    loo_JResp.I = i
    ls_CarrierId = loo_JResp.StringOf("linkableCarriersList[i].carrierId")
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("linkableCarriersList[i].linkableAccountTypes")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_AccountType = loo_JResp.StringOf("linkableCarriersList[i].linkableAccountTypes[j].accountType")
        k = 0
        li_Count_k = loo_JResp.SizeOfArray("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs")
        do while k < li_Count_k
            loo_JResp.K = k
            ls_DescriptionLocalizationKey = loo_JResp.StringOf("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs[k].descriptionLocalizationKey")
            ls_Name = loo_JResp.StringOf("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs[k].name")
            ls_GroupName = loo_JResp.StringOf("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs[k].groupName")
            ls_InputType = loo_JResp.StringOf("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs[k].inputType")
            ls_IsMandatory = loo_JResp.StringOf("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs[k].isMandatory")
            ls_IsConfidential = loo_JResp.StringOf("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs[k].isConfidential")
            ls_IsHidden = loo_JResp.StringOf("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs[k].isHidden")

            loo_Json1 = loo_JResp.ObjectOf("linkableCarriersList[i].linkableAccountTypes[j].carrierAccountInputs[k]")
            li_I1 = 0
            li_Count_i1 = loo_Json1.SizeOfArray("validationMetadata")
            do while li_I1 < li_Count_i1
                loo_Json1.I = li_I1
                ls_ErrorMessage = loo_Json1.StringOf("validationMetadata[i].errorMessage")
                ls_ValidationStrategy = loo_Json1.StringOf("validationMetadata[i].validationStrategy")
                ls_Value = loo_Json1.StringOf("validationMetadata[i].value")
                li_I1 = li_I1 + 1
            loop
            destroy loo_Json1
            k = k + 1
        loop
        j = j + 1
    loop
    i = i + 1
loop


destroy loo_Http
destroy loo_SbResponseBody
destroy loo_JResp

Curl Command

curl -X GET
	-H "x-amzn-shipping-business-id: AmazonShipping_US"
	-H "Accept: application/json"
https://sellingpartnerapi-eu.amazon.com/shipping/v2/carrierAccountFormInputs

Postman Collection Item JSON

{
  "name": "get Carrier Account Form Inputs",
  "request": {
    "method": "GET",
    "header": [
      {
        "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
        "key": "x-amzn-shipping-business-id",
        "value": "AmazonShipping_US"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "url": {
      "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "shipping",
        "v2",
        "carrierAccountFormInputs"
      ]
    },
    "description": "This API will return a list of input schema required to register a shipper account with the carrier. \n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 80 | 100 |\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 then 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": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "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  \"linkableCarriersList\": [\n    {\n      \"carrierId\": \"<string>\",\n      \"linkableAccountTypes\": [\n        {\n          \"accountType\": \"AMAZON_ACCOUNT\",\n          \"carrierAccountInputs\": [\n            {\n              \"descriptionLocalizationKey\": \"<string>\",\n              \"name\": \"<string>\",\n              \"groupName\": \"<string>\",\n              \"inputType\": \"TEXTBOX\",\n              \"isMandatory\": \"<boolean>\",\n              \"isConfidential\": \"<boolean>\",\n              \"isHidden\": \"<boolean>\",\n              \"validationMetadata\": [\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                },\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                }\n              ]\n            },\n            {\n              \"descriptionLocalizationKey\": \"<string>\",\n              \"name\": \"<string>\",\n              \"groupName\": \"<string>\",\n              \"inputType\": \"PASSWORD\",\n              \"isMandatory\": \"<boolean>\",\n              \"isConfidential\": \"<boolean>\",\n              \"isHidden\": \"<boolean>\",\n              \"validationMetadata\": [\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                },\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"accountType\": \"SHIPPER_ACCOUNT\",\n          \"carrierAccountInputs\": [\n            {\n              \"descriptionLocalizationKey\": \"<string>\",\n              \"name\": \"<string>\",\n              \"groupName\": \"<string>\",\n              \"inputType\": \"TEXTBOX\",\n              \"isMandatory\": \"<boolean>\",\n              \"isConfidential\": \"<boolean>\",\n              \"isHidden\": \"<boolean>\",\n              \"validationMetadata\": [\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                },\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                }\n              ]\n            },\n            {\n              \"descriptionLocalizationKey\": \"<string>\",\n              \"name\": \"<string>\",\n              \"groupName\": \"<string>\",\n              \"inputType\": \"TEXTBOX\",\n              \"isMandatory\": \"<boolean>\",\n              \"isConfidential\": \"<boolean>\",\n              \"isHidden\": \"<boolean>\",\n              \"validationMetadata\": [\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                },\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                }\n              ]\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"carrierId\": \"<string>\",\n      \"linkableAccountTypes\": [\n        {\n          \"accountType\": \"SHIPPER_ACCOUNT\",\n          \"carrierAccountInputs\": [\n            {\n              \"descriptionLocalizationKey\": \"<string>\",\n              \"name\": \"<string>\",\n              \"groupName\": \"<string>\",\n              \"inputType\": \"TEXTBOX\",\n              \"isMandatory\": \"<boolean>\",\n              \"isConfidential\": \"<boolean>\",\n              \"isHidden\": \"<boolean>\",\n              \"validationMetadata\": [\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                },\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                }\n              ]\n            },\n            {\n              \"descriptionLocalizationKey\": \"<string>\",\n              \"name\": \"<string>\",\n              \"groupName\": \"<string>\",\n              \"inputType\": \"PASSWORD\",\n              \"isMandatory\": \"<boolean>\",\n              \"isConfidential\": \"<boolean>\",\n              \"isHidden\": \"<boolean>\",\n              \"validationMetadata\": [\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                },\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                }\n              ]\n            }\n          ]\n        },\n        {\n          \"accountType\": \"SHIPPER_ACCOUNT\",\n          \"carrierAccountInputs\": [\n            {\n              \"descriptionLocalizationKey\": \"<string>\",\n              \"name\": \"<string>\",\n              \"groupName\": \"<string>\",\n              \"inputType\": \"PASSWORD\",\n              \"isMandatory\": \"<boolean>\",\n              \"isConfidential\": \"<boolean>\",\n              \"isHidden\": \"<boolean>\",\n              \"validationMetadata\": [\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                },\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                }\n              ]\n            },\n            {\n              \"descriptionLocalizationKey\": \"<string>\",\n              \"name\": \"<string>\",\n              \"groupName\": \"<string>\",\n              \"inputType\": \"TEXTBOX\",\n              \"isMandatory\": \"<boolean>\",\n              \"isConfidential\": \"<boolean>\",\n              \"isHidden\": \"<boolean>\",\n              \"validationMetadata\": [\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                },\n                {\n                  \"errorMessage\": \"<string>\",\n                  \"validationStrategy\": \"<string>\",\n                  \"value\": \"<string>\"\n                }\n              ]\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"
    },
    {
      "name": "Request has missing or invalid parameters and cannot be parsed.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "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  \"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": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "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  \"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": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "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  \"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 resource specified does not exist.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "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  \"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 size exceeded the maximum accepted size.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "status": "Request Entity Too Large",
      "code": 413,
      "_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  \"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 payload is in an unsupported format.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "status": "Unsupported Media Type",
      "code": 415,
      "_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  \"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": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "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  \"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": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "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  \"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": "GET",
        "header": [
          {
            "description": "Amazon shipping business to assume for this request. The default is AmazonShipping_UK.",
            "key": "x-amzn-shipping-business-id",
            "value": "AmazonShipping_US"
          },
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/shipping/v2/carrierAccountFormInputs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "shipping",
            "v2",
            "carrierAccountFormInputs"
          ]
        }
      },
      "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  \"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}"
    }
  ]
}