Back to Collection Items
integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_QueryParams
oleobject loo_Resp
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
string ls_OrderItemId
string ls_ApprovalType
string ls_ApprovalStatus
integer j
integer li_Count_j
integer li_SequenceId
string ls_Timestamp
string ls_Actor
string ls_Approver
string ls_ApprovalActionProcessStatus
string ls_ApprovalActionProcessStatusMessage
string ls_ActionType
string ls_Comment
string ls_CurrencyCode
string ls_Amount
integer li_Quantity
string ls_IdentifierType
string ls_Identifier
string ls_NextToken
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
// Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
destroy loo_Http
MessageBox("Error","Connecting to COM object failed")
return
end if
loo_QueryParams = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_QueryParams.ConnectToNewObject("Chilkat.JsonObject")
loo_QueryParams.UpdateString("NextToken","incididunt ea cillum")
loo_QueryParams.UpdateString("ItemApprovalTypes","<string>")
loo_QueryParams.UpdateString("ItemApprovalStatus","<string>,<string>")
loo_Http.SetRequestHeader("Accept","application/json")
loo_Resp = loo_Http.QuickRequestParams("GET","https://sellingpartnerapi-na.amazon.com/orders/v0/orders/:orderId/approvals",loo_QueryParams)
if loo_Http.LastMethodSuccess = 0 then
Write-Debug loo_Http.LastErrorText
destroy loo_Http
destroy loo_QueryParams
return
end if
loo_SbResponseBody = create oleobject
// Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat.StringBuilder")
loo_Resp.GetBodySb(loo_SbResponseBody)
loo_JResp = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JResp.ConnectToNewObject("Chilkat.JsonObject")
loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0
Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()
li_RespStatusCode = loo_Resp.StatusCode
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
Write-Debug "Response Header:"
Write-Debug loo_Resp.Header
Write-Debug "Failed."
destroy loo_Resp
destroy loo_Http
destroy loo_QueryParams
destroy loo_SbResponseBody
destroy loo_JResp
return
end if
destroy loo_Resp
// 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
ls_NextToken = loo_JResp.StringOf("payload.NextToken")
i = 0
li_Count_i = loo_JResp.SizeOfArray("payload.OrderItemsApprovalsList")
do while i < li_Count_i
loo_JResp.I = i
ls_OrderItemId = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].OrderItemId")
ls_ApprovalType = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ApprovalType")
ls_ApprovalStatus = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ApprovalStatus")
j = 0
li_Count_j = loo_JResp.SizeOfArray("payload.OrderItemsApprovalsList[i].ItemApprovals")
do while j < li_Count_j
loo_JResp.J = j
li_SequenceId = loo_JResp.IntOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].SequenceId")
ls_Timestamp = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].Timestamp")
ls_Actor = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].Actor")
ls_Approver = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].Approver")
ls_ApprovalActionProcessStatus = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalActionProcessStatus")
ls_ApprovalActionProcessStatusMessage = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalActionProcessStatusMessage")
ls_ActionType = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.ActionType")
ls_Comment = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Comment")
ls_CurrencyCode = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.ItemPrice.CurrencyCode")
ls_Amount = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.ItemPrice.Amount")
li_Quantity = loo_JResp.IntOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.Quantity")
ls_IdentifierType = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.SubstitutedBy.IdentifierType")
ls_Identifier = loo_JResp.StringOf("payload.OrderItemsApprovalsList[i].ItemApprovals[j].ApprovalAction.Changes.SubstitutedBy.Identifier")
j = j + 1
loop
i = i + 1
loop
destroy loo_Http
destroy loo_QueryParams
destroy loo_SbResponseBody
destroy loo_JResp
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}"
}
]
}