From afdd84230de46ab4d545dacfce7d7e2574644795 Mon Sep 17 00:00:00 2001 From: Aviroop Ghosal Date: Wed, 19 May 2021 09:45:17 -0400 Subject: [PATCH] Updating sandbox behaviors in vendorInvoices, vendorOrders, vendorShipments to match the api schema --- .../vendorInvoices.json | 17 +++++++++- .../vendor-orders-api-model/vendorOrders.json | 33 ++++++++++++++++--- .../vendorShipments.json | 29 +++++++++++++++- 3 files changed, 72 insertions(+), 7 deletions(-) diff --git a/models/vendor-invoices-api-model/vendorInvoices.json b/models/vendor-invoices-api-model/vendorInvoices.json index 69d9e3f..4bd5791 100644 --- a/models/vendor-invoices-api-model/vendorInvoices.json +++ b/models/vendor-invoices-api-model/vendorInvoices.json @@ -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." diff --git a/models/vendor-orders-api-model/vendorOrders.json b/models/vendor-orders-api-model/vendorOrders.json index d0161af..191223d 100644 --- a/models/vendor-orders-api-model/vendorOrders.json +++ b/models/vendor-orders-api-model/vendorOrders.json @@ -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", diff --git a/models/vendor-shipments-api-model/vendorShipments.json b/models/vendor-shipments-api-model/vendorShipments.json index daa35fe..9e56e34 100644 --- a/models/vendor-shipments-api-model/vendorShipments.json +++ b/models/vendor-shipments-api-model/vendorShipments.json @@ -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."