Skip to content

Commit 87f4fb2

Browse files
committed
Update from latest upstream models
1 parent dc1cbfb commit 87f4fb2

File tree

96 files changed

+4155
-2177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+4155
-2177
lines changed

resources/models/raw/seller/fba-inbound/v2024-03-20.json

Lines changed: 861 additions & 861 deletions
Large diffs are not rendered by default.

resources/models/raw/seller/fba-outbound/v2020-07-01.json

Lines changed: 300 additions & 8 deletions
Large diffs are not rendered by default.

resources/models/raw/seller/finances/v2024-06-19.json

Lines changed: 66 additions & 45 deletions
Large diffs are not rendered by default.

resources/models/raw/seller/seller-wallet/v2024-03-01.json

Lines changed: 198 additions & 105 deletions
Large diffs are not rendered by default.

resources/models/raw/vendor/shipments/v1.json

Lines changed: 374 additions & 1 deletion
Large diffs are not rendered by default.

resources/models/seller/fba-inbound/v2024-03-20.json

Lines changed: 861 additions & 861 deletions
Large diffs are not rendered by default.

resources/models/seller/fba-outbound/v2020-07-01.json

Lines changed: 281 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,189 @@
208208
}
209209
},
210210
"/fba/outbound/2020-07-01/deliveryOfferings": {
211+
"post": {
212+
"tags": [
213+
"FBAOutboundV20200701"
214+
],
215+
"description": "Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify.\n\n**Usage Plan:**\n\n| Rate (requests per second) | Burst |\n| ---- | ---- |\n| 5 | 30 |\n\nThe `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).",
216+
"operationId": "deliveryOfferings",
217+
"requestBody": {
218+
"description": "GetDeliveryOfferingsRequest parameter",
219+
"content": {
220+
"application/json": {
221+
"schema": {
222+
"$ref": "#/components/schemas/GetDeliveryOfferingsRequest"
223+
}
224+
}
225+
},
226+
"required": true
227+
},
228+
"responses": {
229+
"200": {
230+
"description": "Success.",
231+
"headers": {
232+
"x-amzn-RequestId": {
233+
"description": "Unique request reference identifier.",
234+
"schema": {
235+
"type": "string"
236+
}
237+
},
238+
"x-amzn-RateLimit-Limit": {
239+
"description": "Your rate limit (requests per second) for this operation.",
240+
"schema": {
241+
"type": "string"
242+
}
243+
}
244+
},
245+
"content": {
246+
"application/json": {
247+
"schema": {
248+
"$ref": "#/components/schemas/GetDeliveryOfferingsResponse"
249+
}
250+
}
251+
}
252+
},
253+
"400": {
254+
"description": "Request has missing or invalid parameters and cannot be parsed.",
255+
"headers": {
256+
"x-amzn-RequestId": {
257+
"description": "Unique request reference identifier.",
258+
"schema": {
259+
"type": "string"
260+
}
261+
},
262+
"x-amzn-RateLimit-Limit": {
263+
"description": "Your rate limit (requests per second) for this operation.",
264+
"schema": {
265+
"type": "string"
266+
}
267+
}
268+
},
269+
"content": {
270+
"application/json": {
271+
"schema": {
272+
"$ref": "#/components/schemas/GetDeliveryOfferingsResponse"
273+
}
274+
}
275+
}
276+
},
277+
"401": {
278+
"description": "The request's Authorization header is not formatted correctly or does not contain a valid token.",
279+
"headers": {
280+
"x-amzn-RequestId": {
281+
"description": "Unique request reference identifier.",
282+
"schema": {
283+
"type": "string"
284+
}
285+
}
286+
},
287+
"content": {
288+
"application/json": {
289+
"schema": {
290+
"$ref": "#/components/schemas/GetDeliveryOfferingsResponse"
291+
}
292+
}
293+
}
294+
},
295+
"403": {
296+
"description": "Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
297+
"headers": {
298+
"x-amzn-RequestId": {
299+
"description": "Unique request reference identifier.",
300+
"schema": {
301+
"type": "string"
302+
}
303+
}
304+
},
305+
"content": {
306+
"application/json": {
307+
"schema": {
308+
"$ref": "#/components/schemas/GetDeliveryOfferingsResponse"
309+
}
310+
}
311+
}
312+
},
313+
"404": {
314+
"description": "The specified resource does not exist.",
315+
"headers": {
316+
"x-amzn-RequestId": {
317+
"description": "Unique request reference identifier.",
318+
"schema": {
319+
"type": "string"
320+
}
321+
},
322+
"x-amzn-RateLimit-Limit": {
323+
"description": "Your rate limit (requests per second) for this operation.",
324+
"schema": {
325+
"type": "string"
326+
}
327+
}
328+
},
329+
"content": {
330+
"application/json": {
331+
"schema": {
332+
"$ref": "#/components/schemas/GetDeliveryOfferingsResponse"
333+
}
334+
}
335+
}
336+
},
337+
"429": {
338+
"description": "The frequency of requests was greater than allowed.",
339+
"headers": {
340+
"x-amzn-RequestId": {
341+
"description": "Unique request reference identifier.",
342+
"schema": {
343+
"type": "string"
344+
}
345+
}
346+
},
347+
"content": {
348+
"application/json": {
349+
"schema": {
350+
"$ref": "#/components/schemas/GetDeliveryOfferingsResponse"
351+
}
352+
}
353+
}
354+
},
355+
"500": {
356+
"description": "An unexpected condition occurred that prevented the server from fulfilling the request.",
357+
"headers": {
358+
"x-amzn-RequestId": {
359+
"description": "Unique request reference identifier.",
360+
"schema": {
361+
"type": "string"
362+
}
363+
}
364+
},
365+
"content": {
366+
"application/json": {
367+
"schema": {
368+
"$ref": "#/components/schemas/GetDeliveryOfferingsResponse"
369+
}
370+
}
371+
}
372+
},
373+
"503": {
374+
"description": "Temporary overloading or maintenance of the server.",
375+
"headers": {
376+
"x-amzn-RequestId": {
377+
"description": "Unique request reference identifier.",
378+
"schema": {
379+
"type": "string"
380+
}
381+
}
382+
},
383+
"content": {
384+
"application/json": {
385+
"schema": {
386+
"$ref": "#/components/schemas/GetDeliveryOfferingsResponse"
387+
}
388+
}
389+
}
390+
}
391+
},
392+
"x-codegen-request-body-name": "body"
393+
},
211394
"x-amzn-api-sandbox": {
212395
"dynamic": {}
213396
}
@@ -790,18 +973,11 @@
790973
"name": "packageNumber",
791974
"in": "query",
792975
"description": "The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.",
976+
"required": true,
793977
"schema": {
794978
"type": "integer",
795979
"format": "int32"
796980
}
797-
},
798-
{
799-
"name": "amazonFulfillmentTrackingNumber",
800-
"in": "query",
801-
"description": "The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.",
802-
"schema": {
803-
"type": "string"
804-
}
805981
}
806982
],
807983
"responses": {
@@ -4102,6 +4278,55 @@
41024278
},
41034279
"description": "The origin for the delivery offer."
41044280
},
4281+
"GetDeliveryOfferingsRequest": {
4282+
"required": [
4283+
"destinationAddress",
4284+
"sellerSku",
4285+
"shipFromCountryCode"
4286+
],
4287+
"type": "object",
4288+
"properties": {
4289+
"destinationAddress": {
4290+
"$ref": "#/components/schemas/VariablePrecisionAddress"
4291+
},
4292+
"shipFromCountryCode": {
4293+
"maxLength": 2,
4294+
"minLength": 2,
4295+
"type": "string",
4296+
"description": "The two digit country code the items should ship from. In ISO 3166-1 alpha-2 format."
4297+
},
4298+
"sellerSku": {
4299+
"maxLength": 50,
4300+
"type": "string",
4301+
"description": "The seller SKU of the item."
4302+
},
4303+
"quantity": {
4304+
"$ref": "#/components/schemas/DeliveryQuantity"
4305+
}
4306+
},
4307+
"description": "The request body schema for the `getDeliveryOfferings` operation."
4308+
},
4309+
"GetDeliveryOfferingsResult": {
4310+
"type": "object",
4311+
"properties": {
4312+
"deliveryOfferings": {
4313+
"$ref": "#/components/schemas/DeliveryOfferingsList"
4314+
}
4315+
},
4316+
"description": "A list of delivery offerings, including offering expiration, earliest and latest date and time range, and the delivery offering policy."
4317+
},
4318+
"GetDeliveryOfferingsResponse": {
4319+
"type": "object",
4320+
"properties": {
4321+
"payload": {
4322+
"$ref": "#/components/schemas/GetDeliveryOfferingsResult"
4323+
},
4324+
"errors": {
4325+
"$ref": "#/components/schemas/ErrorList"
4326+
}
4327+
},
4328+
"description": "The response schema for the `getDeliveryOfferings` operation."
4329+
},
41054330
"VariablePrecisionAddress": {
41064331
"required": [
41074332
"countryCode",
@@ -4146,6 +4371,54 @@
41464371
},
41474372
"description": "A physical address with varying degrees of precision. A more precise address can provide more accurate results than country code and postal code alone."
41484373
},
4374+
"DeliveryQuantity": {
4375+
"required": [
4376+
"amount",
4377+
"unitOfMeasure"
4378+
],
4379+
"type": "object",
4380+
"properties": {
4381+
"unitOfMeasure": {
4382+
"type": "string",
4383+
"description": "The unit of measure for the amount.",
4384+
"enum": [
4385+
"Each"
4386+
],
4387+
"x-docgen-enum-table-extension": [
4388+
{
4389+
"value": "Each",
4390+
"description": "Specifies an integer count of units."
4391+
}
4392+
]
4393+
},
4394+
"amount": {
4395+
"$ref": "#/components/schemas/Decimal"
4396+
}
4397+
},
4398+
"description": "A quantity based on unit of measure."
4399+
},
4400+
"DeliveryOfferingsList": {
4401+
"type": "array",
4402+
"description": "An array of delivery offering information.",
4403+
"items": {
4404+
"$ref": "#/components/schemas/DeliveryOffering"
4405+
}
4406+
},
4407+
"DeliveryOffering": {
4408+
"type": "object",
4409+
"properties": {
4410+
"expiresAt": {
4411+
"$ref": "#/components/schemas/Timestamp"
4412+
},
4413+
"dateRange": {
4414+
"$ref": "#/components/schemas/DateRange"
4415+
},
4416+
"policy": {
4417+
"$ref": "#/components/schemas/DeliveryPolicy"
4418+
}
4419+
},
4420+
"description": "An available offering for delivery of a product."
4421+
},
41494422
"DateRange": {
41504423
"required": [
41514424
"earliest",

0 commit comments

Comments
 (0)