Updating sandbox behaviors in vendorInvoices, vendorOrders, vendorShipments to match the api schema

This commit is contained in:
Aviroop Ghosal 2021-05-19 09:45:17 -04:00
parent 7008586cac
commit afdd84230d
3 changed files with 72 additions and 7 deletions

View File

@ -314,8 +314,19 @@
"value": {
"invoices": [
{
"id": "TestInvoice202",
"date": "2020-06-08T12:00:00.000Z",
"billToParty": {
"partyId": "TES1"
},
"invoiceType": "Invoice",
"id": "TestInvoice202"
"remitToParty": {
"partyId": "ABCDE"
},
"invoiceTotal": {
"amount": "112.05",
"currencyCode": "USD"
}
}
]
}
@ -395,6 +406,10 @@
"$ref": "#/definitions/SubmitInvoicesResponse"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"type": "string",
"description": "Your rate limit (requests per second) for this operation."
},
"x-amzn-RequestId": {
"type": "string",
"description": "unique request reference identifier."

View File

@ -1069,7 +1069,7 @@
"headers": {
"x-amzn-RateLimit-Limit": {
"type": "string",
"description": "TPS rate customer is authorized for."
"description": "Your rate limit (requests per second) for this operation."
},
"x-amzn-RequestId": {
"type": "string",
@ -1470,7 +1470,7 @@
"headers": {
"x-amzn-RateLimit-Limit": {
"type": "string",
"description": "TPS rate customer is authorized for."
"description": "Your rate limit (requests per second) for this operation."
},
"x-amzn-RequestId": {
"type": "string",
@ -1639,7 +1639,30 @@
"value": {
"acknowledgements": [
{
"purchaseOrderNumber": "TestOrder202"
"purchaseOrderNumber": "TestOrder202",
"sellingParty": {
"partyId": "API01"
},
"acknowledgementDate": "2021-03-12T17:35:26.308Z",
"items": [
{
"vendorProductIdentifier": "028877454078",
"orderedQuantity": {
"amount": 10
},
"netCost": {
"amount": "10.2"
},
"itemAcknowledgements": [
{
"acknowledgementCode": "Accepted",
"acknowledgedQuantity": {
"amount": 10
}
}
]
}
]
}
]
}
@ -1733,7 +1756,7 @@
"headers": {
"x-amzn-RateLimit-Limit": {
"type": "string",
"description": "TPS rate customer is authorized for."
"description": "Your rate limit (requests per second) for this operation."
},
"x-amzn-RequestId": {
"type": "string",
@ -2621,7 +2644,7 @@
"headers": {
"x-amzn-RateLimit-Limit": {
"type": "string",
"description": "TPS rate customer is authorized for."
"description": "Your rate limit (requests per second) for this operation."
},
"x-amzn-RequestId": {
"type": "string",

View File

@ -249,7 +249,30 @@
"value": {
"shipmentConfirmations": [
{
"shipmentIdentifier": "TestShipmentConfirmation202"
"shipmentIdentifier": "TestShipmentConfirmation202",
"shipmentConfirmationDate": "2021-03-11T12:38:23.388Z",
"sellingParty": {
"partyId": "ABCD1"
},
"shipFromParty": {
"partyId": "EFGH1"
},
"shipToParty": {
"partyId": "JKL1"
},
"shipmentConfirmationType": "Original",
"shippedItems": [
{
"itemSequenceNumber": "001",
"shippedQuantity": {
"amount": 100,
"unitOfMeasure": "Eaches"
},
"itemDetails": {
"purchaseOrderNumber": "TestOrder202"
}
}
]
}
]
}
@ -310,6 +333,10 @@
"$ref": "#/definitions/SubmitShipmentConfirmationsResponse"
},
"headers": {
"x-amzn-RateLimit-Limit": {
"type": "string",
"description": "Your rate limit (requests per second) for this operation."
},
"x-amzn-RequestId": {
"type": "string",
"description": "Unique request reference identifier."