Skip to content

Commit

Permalink
Update models on GitHub match models on Readme
Browse files Browse the repository at this point in the history
Update every model on GitHub to match those at
https://developer-docs.amazon.com/sp-api
  • Loading branch information
hudalexa committed Mar 4, 2022
1 parent f208226 commit 0956094
Show file tree
Hide file tree
Showing 15 changed files with 105 additions and 113 deletions.
6 changes: 3 additions & 3 deletions models/catalog-items-api-model/catalogItems_2020-12-01.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"description": "The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog.\n\nFor more information, see the [Catalog Items API Use Case Guide](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/use-case-guides/catalog-items-api-use-case-guide/catalog-items-api-use-case-guide_2020-12-01.md).",
"description": "The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog.\n\nFor more information, see the [Catalog Items API Use Case Guide](doc:catalog-items-api-v2020-12-01-use-case-guide).",
"version": "2020-12-01",
"title": "Selling Partner API for Catalog Items",
"contact": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"tags": [
"catalog"
],
"description": "Search for and return a list of Amazon catalog items and associated information.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 5 |\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](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).",
"description": "Search for and return a list of Amazon catalog items and associated information.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 5 |\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](doc:usage-plans-and-rate-limits-in-the-sp-api).",
"operationId": "searchCatalogItems",
"consumes": [
"application/json"
Expand Down Expand Up @@ -570,7 +570,7 @@
"tags": [
"catalog"
],
"description": "Retrieves details for an item in the Amazon catalog.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 5 |\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](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).",
"description": "Retrieves details for an item in the Amazon catalog.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 5 |\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](doc:usage-plans-and-rate-limits-in-the-sp-api).",
"operationId": "getCatalogItem",
"consumes": [
"application/json"
Expand Down
5 changes: 5 additions & 0 deletions models/fba-inbound-eligibility-api-model/fbaInbound.json
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@
"FBA_INB_0100",
"FBA_INB_0103",
"FBA_INB_0104",
"FBA_INB_0197",
"UNKNOWN_INB_ERROR_CODE"
],
"x-docgen-enum-table-extension": [
Expand Down Expand Up @@ -617,6 +618,10 @@
"value": "FBA_INB_0104",
"description": "Item Requires Manufacturer Barcode. Only NEW products can be stored in our fulfillment centers without product labels."
},
{
"value": "FBA_INB_0197",
"description": "Item requires safety and compliance documentation. Orders for this product cannot be fulfilled by FBA without required safety and compliance documentation."
},
{
"value": "UNKNOWN_INB_ERROR_CODE",
"description": "Unknown Ineligibility Reason."
Expand Down
2 changes: 1 addition & 1 deletion models/fba-inventory-api-model/fbaInventory.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"description": "The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network. Today this API is available only in the North America region. In 2021 we plan to release this API in the Europe and Far East regions.",
"description": "The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network. This API is available in the North America region.",
"version": "v1",
"title": "Selling Partner API for FBA Inventory",
"contact": {
Expand Down
2 changes: 1 addition & 1 deletion models/feeds-api-model/feeds_2020-09-04.json
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,7 @@
},
"FeedOptions": {
"type": "object",
"description": "Additional options to control the feed. For feeds that use the feedOptions parameter, you can find the parameter values in the feed description in [feedType values](https://github.com/amzn/selling-partner-api-docs/blob/main/references/feeds-api/feedtype-values.md).",
"description": "Additional options to control the feed. For feeds that use the feedOptions parameter, you can find the parameter values in the feed description in [feedType values](doc:feed-type-values).",
"additionalProperties": {
"type": "string"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4941,7 +4941,17 @@
"UNDELIVERABLE",
"DELAYED",
"AVAILABLE_FOR_PICKUP",
"CUSTOMER_ACTION"
"CUSTOMER_ACTION",
"UNKNOWN",
"OUT_FOR_DELIVERY",
"DELIVERY_ATTEMPTED",
"PICKUP_SUCCESSFUL",
"PICKUP_CANCELLED",
"PICKUP_ATTEMPTED",
"PICKUP_SCHEDULED",
"RETURN_REQUEST_ACCEPTED",
"REFUND_ISSUED",
"RETURN_RECEIVED_IN_FC"
],
"x-docgen-enum-table-extension": [
{
Expand Down Expand Up @@ -4975,6 +4985,46 @@
{
"value": "CUSTOMER_ACTION",
"description": "Requires customer action."
},
{
"value": "UNKNOWN",
"description": "Unknown Status Code was returned."
},
{
"value": "OUT_FOR_DELIVERY",
"description": "Out for Delivery."
},
{
"value": "DELIVERY_ATTEMPTED",
"description": "Delivery Attempted."
},
{
"value": "PICKUP_SUCCESSFUL",
"description": "Pickup Successful."
},
{
"value": "PICKUP_CANCELLED",
"description": "Pickup Cancelled."
},
{
"value": "PICKUP_ATTEMPTED",
"description": "Pickup Attempted."
},
{
"value": "PICKUP_SCHEDULED",
"description": "Pickup Scheduled."
},
{
"value": "RETURN_REQUEST_ACCEPTED",
"description": "Return Request Accepted."
},
{
"value": "REFUND_ISSUED",
"description": "Refund Issued."
},
{
"value": "RETURN_RECEIVED_IN_FC",
"description": "Return Received In FC."
}
]
},
Expand Down
8 changes: 4 additions & 4 deletions models/listings-items-api-model/listingsItems_2020-09-01.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"description": "The Selling Partner API for Listings Items (Listings Items API) provides programmatic access to selling partner listings on Amazon. Use this API in collaboration with the Selling Partner API for Product Type Definitions, which you use to retrieve the information about Amazon product types needed to use the Listings Items API.\n\nFor more information, see the [Listing Items API Use Case Guide](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/use-case-guides/listings-items-api-use-case-guide/listings-items-api-use-case-guide_2020-09-01.md).",
"description": "The Selling Partner API for Listings Items (Listings Items API) provides programmatic access to selling partner listings on Amazon. Use this API in collaboration with the Selling Partner API for Product Type Definitions, which you use to retrieve the information about Amazon product types needed to use the Listings Items API.\n\nFor more information, see the [Listing Items API Use Case Guide](doc:listings-items-api-v2020-09-01-use-case-guide).",
"version": "2020-09-01",
"title": "Selling Partner API for Listings Items",
"contact": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"tags": [
"listings"
],
"description": "Delete a listings item for a selling partner.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 10 |\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](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).",
"description": "Delete a listings item for a selling partner.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 10 |\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](doc:usage-plans-and-rate-limits-in-the-sp-api).",
"operationId": "deleteListingsItem",
"consumes": [
"application/json"
Expand Down Expand Up @@ -250,7 +250,7 @@
"tags": [
"listings"
],
"description": "Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 10 |\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](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).",
"description": "Partially update (patch) a listings item for a selling partner. Only top-level listings item attributes can be patched. Patching nested attributes is not supported.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 10 |\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](doc:usage-plans-and-rate-limits-in-the-sp-api).",
"operationId": "patchListingsItem",
"consumes": [
"application/json"
Expand Down Expand Up @@ -482,7 +482,7 @@
"tags": [
"listings"
],
"description": "Creates a new or fully-updates an existing listings item for a selling partner.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 10 |\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](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/usage-plans-rate-limits/Usage-Plans-and-Rate-Limits.md).",
"description": "Creates a new or fully-updates an existing listings item for a selling partner.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 5 | 10 |\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](doc:usage-plans-and-rate-limits-in-the-sp-api).",
"operationId": "putListingsItem",
"consumes": [
"application/json"
Expand Down
Loading

0 comments on commit 0956094

Please sign in to comment.