Updating sandbox behaviors in vendorInvoices, vendorOrders, vendorShipments to match the api schema
This commit is contained in:
parent
7008586cac
commit
afdd84230d
|
@ -314,8 +314,19 @@
|
||||||
"value": {
|
"value": {
|
||||||
"invoices": [
|
"invoices": [
|
||||||
{
|
{
|
||||||
|
"id": "TestInvoice202",
|
||||||
|
"date": "2020-06-08T12:00:00.000Z",
|
||||||
|
"billToParty": {
|
||||||
|
"partyId": "TES1"
|
||||||
|
},
|
||||||
"invoiceType": "Invoice",
|
"invoiceType": "Invoice",
|
||||||
"id": "TestInvoice202"
|
"remitToParty": {
|
||||||
|
"partyId": "ABCDE"
|
||||||
|
},
|
||||||
|
"invoiceTotal": {
|
||||||
|
"amount": "112.05",
|
||||||
|
"currencyCode": "USD"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -395,6 +406,10 @@
|
||||||
"$ref": "#/definitions/SubmitInvoicesResponse"
|
"$ref": "#/definitions/SubmitInvoicesResponse"
|
||||||
},
|
},
|
||||||
"headers": {
|
"headers": {
|
||||||
|
"x-amzn-RateLimit-Limit": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Your rate limit (requests per second) for this operation."
|
||||||
|
},
|
||||||
"x-amzn-RequestId": {
|
"x-amzn-RequestId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "unique request reference identifier."
|
"description": "unique request reference identifier."
|
||||||
|
|
|
@ -1069,7 +1069,7 @@
|
||||||
"headers": {
|
"headers": {
|
||||||
"x-amzn-RateLimit-Limit": {
|
"x-amzn-RateLimit-Limit": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "TPS rate customer is authorized for."
|
"description": "Your rate limit (requests per second) for this operation."
|
||||||
},
|
},
|
||||||
"x-amzn-RequestId": {
|
"x-amzn-RequestId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -1470,7 +1470,7 @@
|
||||||
"headers": {
|
"headers": {
|
||||||
"x-amzn-RateLimit-Limit": {
|
"x-amzn-RateLimit-Limit": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "TPS rate customer is authorized for."
|
"description": "Your rate limit (requests per second) for this operation."
|
||||||
},
|
},
|
||||||
"x-amzn-RequestId": {
|
"x-amzn-RequestId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -1639,7 +1639,30 @@
|
||||||
"value": {
|
"value": {
|
||||||
"acknowledgements": [
|
"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": {
|
"headers": {
|
||||||
"x-amzn-RateLimit-Limit": {
|
"x-amzn-RateLimit-Limit": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "TPS rate customer is authorized for."
|
"description": "Your rate limit (requests per second) for this operation."
|
||||||
},
|
},
|
||||||
"x-amzn-RequestId": {
|
"x-amzn-RequestId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -2621,7 +2644,7 @@
|
||||||
"headers": {
|
"headers": {
|
||||||
"x-amzn-RateLimit-Limit": {
|
"x-amzn-RateLimit-Limit": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "TPS rate customer is authorized for."
|
"description": "Your rate limit (requests per second) for this operation."
|
||||||
},
|
},
|
||||||
"x-amzn-RequestId": {
|
"x-amzn-RequestId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
|
@ -249,7 +249,30 @@
|
||||||
"value": {
|
"value": {
|
||||||
"shipmentConfirmations": [
|
"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"
|
"$ref": "#/definitions/SubmitShipmentConfirmationsResponse"
|
||||||
},
|
},
|
||||||
"headers": {
|
"headers": {
|
||||||
|
"x-amzn-RateLimit-Limit": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Your rate limit (requests per second) for this operation."
|
||||||
|
},
|
||||||
"x-amzn-RequestId": {
|
"x-amzn-RequestId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Unique request reference identifier."
|
"description": "Unique request reference identifier."
|
||||||
|
|
Loading…
Reference in New Issue