Back to Collection Items
; This example assumes the Chilkat API to have been previously unlocked.
; See Global Unlock Sample for sample code.
$oHttp = ObjCreate("Chilkat.Http")
Local $bSuccess
$oQueryParams = ObjCreate("Chilkat.JsonObject")
$oQueryParams.UpdateString("NextToken","incididunt ea cillum")
$oQueryParams.UpdateString("ItemApprovalTypes","<string>")
$oQueryParams.UpdateString("ItemApprovalStatus","<string>,<string>")
$oHttp.SetRequestHeader "Accept","application/json"
Local $oResp = $oHttp.QuickRequestParams("GET","https://sellingpartnerapi-na.amazon.com/orders/v0/orders/:orderId/approvals",$oQueryParams)
If ($oHttp.LastMethodSuccess = False) Then
ConsoleWrite($oHttp.LastErrorText & @CRLF)
Exit
EndIf
$oSbResponseBody = ObjCreate("Chilkat.StringBuilder")
$oResp.GetBodySb($oSbResponseBody)
$oJResp = ObjCreate("Chilkat.JsonObject")
$oJResp.LoadSb($oSbResponseBody)
$oJResp.EmitCompact = False
ConsoleWrite("Response Body:" & @CRLF)
ConsoleWrite($oJResp.Emit() & @CRLF)
Local $iRespStatusCode = $oResp.StatusCode
ConsoleWrite("Response Status Code = " & $iRespStatusCode & @CRLF)
If ($iRespStatusCode >= 400) Then
ConsoleWrite("Response Header:" & @CRLF)
ConsoleWrite($oResp.Header & @CRLF)
ConsoleWrite("Failed." & @CRLF)
Exit
EndIf
; Sample JSON response:
; (Sample code for parsing the JSON response is shown below)
; {
; "payload": {
; "NextToken": "2YgYW55IGNhcm5hbCBwbGVhc3VyZS4",
; "OrderItemsApprovalsList": [
; {
; "OrderItemId": "12354324",
; "ApprovalType": "LEONARDI_APPROVAL",
; "ApprovalStatus": "PENDING_SELLING_PARTNER_APPROVAL",
; "ItemApprovals": [
; {
; "SequenceId": 1,
; "Timestamp": "string",
; "Actor": "SELLING_PARTNER",
; "Approver": "approver-id-123",
; "ApprovalActionProcessStatus": "ERROR",
; "ApprovalActionProcessStatusMessage": "Invalid substitution request.",
; "ApprovalAction": {
; "ActionType": "APPROVE",
; "Comment": "Set price and units",
; "Changes": {
; "ItemPrice": {
; "CurrencyCode": "EUR",
; "Amount": "8.5"
; },
; "Quantity": 2,
; "SubstitutedBy": {
; "IdentifierType": "EXTERNAL_ID",
; "Identifier": "P12325"
; }
; }
; }
; }
; ]
; },
; {
; "OrderItemId": "79039765272157",
; "ApprovalType": "LEONARDI_APPROVAL",
; "ApprovalStatus": "DECLINED",
; "ItemApprovals": [
; {
; "SequenceId": 1,
; "Timestamp": "string",
; "Actor": "SELLING_PARTNER",
; "Approver": "approver-id-123",
; "ApprovalActionProcessStatus": "SUCCESS",
; "ApprovalActionProcessStatusMessage": "Approval request validated",
; "ApprovalAction": {
; "ActionType": "DECLINE",
; "Comment": "Out of stock."
; }
; }
; ]
; }
; ]
; }
; }
; Sample code for parsing the JSON response...
; Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
Local $sOrderItemId
Local $sApprovalType
Local $sApprovalStatus
Local $iJ
Local $iCount_j
Local $iSequenceId
Local $sTimestamp
Local $sActor
Local $sApprover
Local $sApprovalActionProcessStatus
Local $sApprovalActionProcessStatusMessage
Local $sActionType
Local $sComment
Local $sCurrencyCode
Local $sAmount
Local $iQuantity
Local $sIdentifierType
Local $sIdentifier
Local $sNextToken = $oJResp.StringOf("payload.NextToken")
Local $i = 0
Local $iCount_i = $oJResp.SizeOfArray("payload.OrderItemsApprovalsList")
While $i < $iCount_i
$oJResp.I = $i
$sOrderItemId = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].OrderItemId")
$sApprovalType = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ApprovalType")
$sApprovalStatus = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ApprovalStatus")
$iJ = 0
$iCount_j = $oJResp.SizeOfArray("payload.OrderItemsApprovalsList[i].ItemApprovals")
While $iJ < $iCount_j
$oJResp.J = $iJ
$iSequenceId = $oJResp.IntOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].SequenceId")
$sTimestamp = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].Timestamp")
$sActor = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].Actor")
$sApprover = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].Approver")
$sApprovalActionProcessStatus = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalActionProcessStatus")
$sApprovalActionProcessStatusMessage = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalActionProcessStatusMessage")
$sActionType = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.ActionType")
$sComment = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Comment")
$sCurrencyCode = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.ItemPrice.CurrencyCode")
$sAmount = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.ItemPrice.Amount")
$iQuantity = $oJResp.IntOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.Quantity")
$sIdentifierType = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.SubstitutedBy.IdentifierType")
$sIdentifier = $oJResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.SubstitutedBy.Identifier")
$iJ = $iJ + 1
Wend
$i = $i + 1
Wend
Curl Command
curl -G -d "NextToken=incididunt%20ea%20cillum"
-d "ItemApprovalTypes=%3Cstring%3E"
-d "ItemApprovalStatus=%3Cstring%3E,%3Cstring%3E"
-H "Accept: application/json"
https://sellingpartnerapi-na.amazon.com/orders/v0/orders/:orderId/approvals
Postman Collection Item JSON
{
"name": "get Order Items Approvals",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/orders/v0/orders/:orderId/approvals?NextToken=incididunt ea cillum&ItemApprovalTypes=<string>&ItemApprovalStatus=<string>,<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"orders",
"v0",
"orders",
":orderId",
"approvals"
],
"query": [
{
"key": "NextToken",
"value": "incididunt ea cillum",
"description": "A string token returned in the response of your previous request."
},
{
"key": "ItemApprovalTypes",
"value": "<string>",
"description": "When set, only return approvals for items which approval type is contained in the specified approval types."
},
{
"key": "ItemApprovalStatus",
"value": "<string>,<string>",
"description": "When set, only return approvals that contain items which approval status is contained in the specified approval status."
}
],
"variable": [
{
"key": "orderId",
"value": "incididunt ea cillum",
"description": "(Required) An Amazon-defined order identifier, in 3-7-7 format, e.g. 933-1671587-0818628."
}
]
},
"description": "Returns detailed order items approvals information for the order specified. If NextToken is provided, it's used to retrieve the next page of order items approvals.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 0.5 | 30 |\n|Selling partner specific| Variable | Variable |\n\nThe x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation."
},
"response": [
{
"name": "Success.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/orders/v0/orders/:orderId/approvals?NextToken=incididunt ea cillum&ItemApprovalTypes=<string>&ItemApprovalStatus=<string>,<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"orders",
"v0",
"orders",
":orderId",
"approvals"
],
"query": [
{
"key": "NextToken",
"value": "incididunt ea cillum"
},
{
"key": "ItemApprovalTypes",
"value": "<string>"
},
{
"key": "ItemApprovalStatus",
"value": "<string>,<string>"
}
],
"variable": [
{
"key": "orderId",
"value": "incididunt ea cillum",
"description": "(Required) An Amazon-defined order identifier, in 3-7-7 format, e.g. 933-1671587-0818628."
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "x-amzn-RateLimit-Limit",
"value": "incididunt ea cillum",
"description": "Your rate limit (requests per second) for this operation."
},
{
"key": "x-amzn-RequestId",
"value": "incididunt ea cillum",
"description": "Unique request reference identifier."
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"NextToken\": \"2YgYW55IGNhcm5hbCBwbGVhc3VyZS4\",\n \"OrderItemsApprovalsList\": [\n {\n \"OrderItemId\": \"12354324\",\n \"ApprovalType\": \"LEONARDI_APPROVAL\",\n \"ApprovalStatus\": \"PENDING_SELLING_PARTNER_APPROVAL\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": 1,\n \"Timestamp\": \"string\",\n \"Actor\": \"SELLING_PARTNER\",\n \"Approver\": \"approver-id-123\",\n \"ApprovalActionProcessStatus\": \"ERROR\",\n \"ApprovalActionProcessStatusMessage\": \"Invalid substitution request.\",\n \"ApprovalAction\": {\n \"ActionType\": \"APPROVE\",\n \"Comment\": \"Set price and units\",\n \"Changes\": {\n \"ItemPrice\": {\n \"CurrencyCode\": \"EUR\",\n \"Amount\": \"8.5\"\n },\n \"Quantity\": 2,\n \"SubstitutedBy\": {\n \"IdentifierType\": \"EXTERNAL_ID\",\n \"Identifier\": \"P12325\"\n }\n }\n }\n }\n ]\n },\n {\n \"OrderItemId\": \"79039765272157\",\n \"ApprovalType\": \"LEONARDI_APPROVAL\",\n \"ApprovalStatus\": \"DECLINED\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": 1,\n \"Timestamp\": \"string\",\n \"Actor\": \"SELLING_PARTNER\",\n \"Approver\": \"approver-id-123\",\n \"ApprovalActionProcessStatus\": \"SUCCESS\",\n \"ApprovalActionProcessStatusMessage\": \"Approval request validated\",\n \"ApprovalAction\": {\n \"ActionType\": \"DECLINE\",\n \"Comment\": \"Out of stock.\"\n }\n }\n ]\n }\n ]\n }\n}"
},
{
"name": "Request has missing or invalid parameters and cannot be parsed.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/orders/v0/orders/:orderId/approvals?NextToken=incididunt ea cillum&ItemApprovalTypes=<string>&ItemApprovalStatus=<string>,<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"orders",
"v0",
"orders",
":orderId",
"approvals"
],
"query": [
{
"key": "NextToken",
"value": "incididunt ea cillum"
},
{
"key": "ItemApprovalTypes",
"value": "<string>"
},
{
"key": "ItemApprovalStatus",
"value": "<string>,<string>"
}
],
"variable": [
{
"key": "orderId",
"value": "incididunt ea cillum",
"description": "(Required) An Amazon-defined order identifier, in 3-7-7 format, e.g. 933-1671587-0818628."
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "x-amzn-RateLimit-Limit",
"value": "incididunt ea cillum",
"description": "Your rate limit (requests per second) for this operation."
},
{
"key": "x-amzn-RequestId",
"value": "incididunt ea cillum",
"description": "Unique request reference identifier."
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"OrderItemsApprovalsList\": [\n {\n \"OrderItemId\": \"consequat occaecat\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"OrderItemId\": \"occaecat\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ],\n \"NextToken\": \"cupidatat irure incididunt dolor\"\n },\n \"errors\": [\n {\n \"code\": \"Ut adipisicing nostrud\",\n \"message\": \"laboris laborum voluptate adipisicing\",\n \"details\": \"ut sed Excepteur ex\"\n },\n {\n \"code\": \"ex reprehenderit veniam\",\n \"message\": \"minim eu\",\n \"details\": \"minim cupida\"\n }\n ]\n}"
},
{
"name": "Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/orders/v0/orders/:orderId/approvals?NextToken=incididunt ea cillum&ItemApprovalTypes=<string>&ItemApprovalStatus=<string>,<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"orders",
"v0",
"orders",
":orderId",
"approvals"
],
"query": [
{
"key": "NextToken",
"value": "incididunt ea cillum"
},
{
"key": "ItemApprovalTypes",
"value": "<string>"
},
{
"key": "ItemApprovalStatus",
"value": "<string>,<string>"
}
],
"variable": [
{
"key": "orderId",
"value": "incididunt ea cillum",
"description": "(Required) An Amazon-defined order identifier, in 3-7-7 format, e.g. 933-1671587-0818628."
}
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "json",
"header": [
{
"key": "x-amzn-RequestId",
"value": "incididunt ea cillum",
"description": "Unique request reference identifier."
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"OrderItemsApprovalsList\": [\n {\n \"OrderItemId\": \"consequat amet est\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"OrderItemId\": \"dolore enim\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ],\n \"NextToken\": \"est voluptate et\"\n },\n \"errors\": [\n {\n \"code\": \"qui est dolor\",\n \"message\": \"irure Duis\",\n \"details\": \"proident laborum culpa eu laboris\"\n },\n {\n \"code\": \"adipisicing\",\n \"message\": \"ipsum magna fugiat\",\n \"details\": \"aute officia\"\n }\n ]\n}"
},
{
"name": "The resource specified does not exist.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/orders/v0/orders/:orderId/approvals?NextToken=incididunt ea cillum&ItemApprovalTypes=<string>&ItemApprovalStatus=<string>,<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"orders",
"v0",
"orders",
":orderId",
"approvals"
],
"query": [
{
"key": "NextToken",
"value": "incididunt ea cillum"
},
{
"key": "ItemApprovalTypes",
"value": "<string>"
},
{
"key": "ItemApprovalStatus",
"value": "<string>,<string>"
}
],
"variable": [
{
"key": "orderId",
"value": "incididunt ea cillum",
"description": "(Required) An Amazon-defined order identifier, in 3-7-7 format, e.g. 933-1671587-0818628."
}
]
}
},
"status": "Not Found",
"code": 404,
"_postman_previewlanguage": "json",
"header": [
{
"key": "x-amzn-RateLimit-Limit",
"value": "incididunt ea cillum",
"description": "Your rate limit (requests per second) for this operation."
},
{
"key": "x-amzn-RequestId",
"value": "incididunt ea cillum",
"description": "Unique request reference identifier."
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"OrderItemsApprovalsList\": [\n {\n \"OrderItemId\": \"consequat amet est\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"OrderItemId\": \"dolore enim\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ],\n \"NextToken\": \"est voluptate et\"\n },\n \"errors\": [\n {\n \"code\": \"qui est dolor\",\n \"message\": \"irure Duis\",\n \"details\": \"proident laborum culpa eu laboris\"\n },\n {\n \"code\": \"adipisicing\",\n \"message\": \"ipsum magna fugiat\",\n \"details\": \"aute officia\"\n }\n ]\n}"
},
{
"name": "The frequency of requests was greater than allowed.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/orders/v0/orders/:orderId/approvals?NextToken=incididunt ea cillum&ItemApprovalTypes=<string>&ItemApprovalStatus=<string>,<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"orders",
"v0",
"orders",
":orderId",
"approvals"
],
"query": [
{
"key": "NextToken",
"value": "incididunt ea cillum"
},
{
"key": "ItemApprovalTypes",
"value": "<string>"
},
{
"key": "ItemApprovalStatus",
"value": "<string>,<string>"
}
],
"variable": [
{
"key": "orderId",
"value": "incididunt ea cillum",
"description": "(Required) An Amazon-defined order identifier, in 3-7-7 format, e.g. 933-1671587-0818628."
}
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "json",
"header": [
{
"key": "x-amzn-RateLimit-Limit",
"value": "incididunt ea cillum",
"description": "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."
},
{
"key": "x-amzn-RequestId",
"value": "incididunt ea cillum",
"description": "Unique request reference identifier."
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"OrderItemsApprovalsList\": [\n {\n \"OrderItemId\": \"consequat amet est\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"OrderItemId\": \"dolore enim\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ],\n \"NextToken\": \"est voluptate et\"\n },\n \"errors\": [\n {\n \"code\": \"qui est dolor\",\n \"message\": \"irure Duis\",\n \"details\": \"proident laborum culpa eu laboris\"\n },\n {\n \"code\": \"adipisicing\",\n \"message\": \"ipsum magna fugiat\",\n \"details\": \"aute officia\"\n }\n ]\n}"
},
{
"name": "An unexpected condition occurred that prevented the server from fulfilling the request.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/orders/v0/orders/:orderId/approvals?NextToken=incididunt ea cillum&ItemApprovalTypes=<string>&ItemApprovalStatus=<string>,<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"orders",
"v0",
"orders",
":orderId",
"approvals"
],
"query": [
{
"key": "NextToken",
"value": "incididunt ea cillum"
},
{
"key": "ItemApprovalTypes",
"value": "<string>"
},
{
"key": "ItemApprovalStatus",
"value": "<string>,<string>"
}
],
"variable": [
{
"key": "orderId",
"value": "incididunt ea cillum",
"description": "(Required) An Amazon-defined order identifier, in 3-7-7 format, e.g. 933-1671587-0818628."
}
]
}
},
"status": "Internal Server Error",
"code": 500,
"_postman_previewlanguage": "json",
"header": [
{
"key": "x-amzn-RateLimit-Limit",
"value": "incididunt ea cillum",
"description": "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."
},
{
"key": "x-amzn-RequestId",
"value": "incididunt ea cillum",
"description": "Unique request reference identifier."
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"OrderItemsApprovalsList\": [\n {\n \"OrderItemId\": \"consequat amet est\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"OrderItemId\": \"dolore enim\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ],\n \"NextToken\": \"est voluptate et\"\n },\n \"errors\": [\n {\n \"code\": \"qui est dolor\",\n \"message\": \"irure Duis\",\n \"details\": \"proident laborum culpa eu laboris\"\n },\n {\n \"code\": \"adipisicing\",\n \"message\": \"ipsum magna fugiat\",\n \"details\": \"aute officia\"\n }\n ]\n}"
},
{
"name": "Temporary overloading or maintenance of the server.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/orders/v0/orders/:orderId/approvals?NextToken=incididunt ea cillum&ItemApprovalTypes=<string>&ItemApprovalStatus=<string>,<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"orders",
"v0",
"orders",
":orderId",
"approvals"
],
"query": [
{
"key": "NextToken",
"value": "incididunt ea cillum"
},
{
"key": "ItemApprovalTypes",
"value": "<string>"
},
{
"key": "ItemApprovalStatus",
"value": "<string>,<string>"
}
],
"variable": [
{
"key": "orderId",
"value": "incididunt ea cillum",
"description": "(Required) An Amazon-defined order identifier, in 3-7-7 format, e.g. 933-1671587-0818628."
}
]
}
},
"status": "Service Unavailable",
"code": 503,
"_postman_previewlanguage": "json",
"header": [
{
"key": "x-amzn-RateLimit-Limit",
"value": "incididunt ea cillum",
"description": "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."
},
{
"key": "x-amzn-RequestId",
"value": "incididunt ea cillum",
"description": "Unique request reference identifier."
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"payload\": {\n \"OrderItemsApprovalsList\": [\n {\n \"OrderItemId\": \"consequat amet est\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n },\n {\n \"OrderItemId\": \"dolore enim\",\n \"ApprovalType\": \"<string>\",\n \"ApprovalStatus\": \"<string>\",\n \"ItemApprovals\": [\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n {\n \"SequenceId\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Timestamp\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Actor\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalAction\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatus\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Approver\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"ApprovalActionProcessStatusMessage\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n }\n ]\n }\n ],\n \"NextToken\": \"est voluptate et\"\n },\n \"errors\": [\n {\n \"code\": \"qui est dolor\",\n \"message\": \"irure Duis\",\n \"details\": \"proident laborum culpa eu laboris\"\n },\n {\n \"code\": \"adipisicing\",\n \"message\": \"ipsum magna fugiat\",\n \"details\": \"aute officia\"\n }\n ]\n}"
}
]
}