-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
馃帀 Source Amazon Seller Partner: add restock inventory reports (#15063)
* add restock inventory reports * fix acceptance test * add restock inventory reports * fix acceptance test * revert additionalProperties attribute to false * add schema * add entry for restock_inventory integration test * update changelog * remove additional properties attribute
- Loading branch information
1 parent
a4916a4
commit e040362
Showing
10 changed files
with
219 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 107 additions & 0 deletions
107
.../source-amazon-seller-partner/integration_tests/configured_catalog_restock_inventory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "GET_RESTOCK_INVENTORY_RECOMMENDATIONS_REPORT", | ||
"json_schema": { | ||
"title": "Restock Inventory Report", | ||
"description": "Restock Inventory Report", | ||
"type": "object", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"properties": { | ||
"Country": { | ||
"type": ["null", "string"] | ||
}, | ||
"Product Name": { | ||
"type": ["null", "string"] | ||
}, | ||
"FNSKU": { | ||
"type": ["null", "string"] | ||
}, | ||
"Merchant SKU": { | ||
"type": ["null", "string"] | ||
}, | ||
"ASIN": { | ||
"type": ["null", "string"] | ||
}, | ||
"Condition": { | ||
"type": ["null", "string"] | ||
}, | ||
"Supplier": { | ||
"type": ["null", "string"] | ||
}, | ||
"Supplier part no.": { | ||
"type": ["null", "string"] | ||
}, | ||
"Currency code": { | ||
"type": ["null", "string"] | ||
}, | ||
"Price": { | ||
"type": ["null", "string"] | ||
}, | ||
"Sales last 30 days": { | ||
"type": ["null", "string"] | ||
}, | ||
"Units Sold Last 30 Days": { | ||
"type": ["null", "string"] | ||
}, | ||
"Total Units": { | ||
"type": ["null", "string"] | ||
}, | ||
"Inbound": { | ||
"type": ["null", "string"] | ||
}, | ||
"Available": { | ||
"type": ["null", "string"] | ||
}, | ||
"FC transfer": { | ||
"type": ["null", "string"] | ||
}, | ||
"FC Processing": { | ||
"type": ["null", "string"] | ||
}, | ||
"Customer Order": { | ||
"type": ["null", "string"] | ||
}, | ||
"Unfulfillable": { | ||
"type": ["null", "string"] | ||
}, | ||
"Working": { | ||
"type": ["null", "string"] | ||
}, | ||
"Shipped": { | ||
"type": ["null", "string"] | ||
}, | ||
"Receiving": { | ||
"type": ["null", "string"] | ||
}, | ||
"Fulfilled by": { | ||
"type": ["null", "string"] | ||
}, | ||
"Total Days of Supply (including units from open shipments)": { | ||
"type": ["null", "string"] | ||
}, | ||
"Days of Supply at Amazon Fulfillment Network": { | ||
"type": ["null", "string"] | ||
}, | ||
"Alert": { | ||
"type": ["null", "string"] | ||
}, | ||
"Recommended replenishment qty": { | ||
"type": ["null", "string"] | ||
}, | ||
"Recommended ship date": { | ||
"type": ["null", "string"] | ||
}, | ||
"Recommended action": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
}, | ||
"supported_sync_modes": ["full_refresh"] | ||
}, | ||
"sync_mode": "full_refresh", | ||
"destination_sync_mode": "overwrite" | ||
} | ||
] | ||
} |
95 changes: 95 additions & 0 deletions
95
...er/source_amazon_seller_partner/schemas/GET_RESTOCK_INVENTORY_RECOMMENDATIONS_REPORT.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"title": "Restock Inventory Report", | ||
"description": "Restock Inventory Report", | ||
"type": "object", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"properties": { | ||
"Country": { | ||
"type": ["null", "string"] | ||
}, | ||
"Product Name": { | ||
"type": ["null", "string"] | ||
}, | ||
"FNSKU": { | ||
"type": ["null", "string"] | ||
}, | ||
"Merchant SKU": { | ||
"type": ["null", "string"] | ||
}, | ||
"ASIN": { | ||
"type": ["null", "string"] | ||
}, | ||
"Condition": { | ||
"type": ["null", "string"] | ||
}, | ||
"Supplier": { | ||
"type": ["null", "string"] | ||
}, | ||
"Supplier part no.": { | ||
"type": ["null", "string"] | ||
}, | ||
"Currency code": { | ||
"type": ["null", "string"] | ||
}, | ||
"Price": { | ||
"type": ["null", "string"] | ||
}, | ||
"Sales last 30 days": { | ||
"type": ["null", "string"] | ||
}, | ||
"Units Sold Last 30 Days": { | ||
"type": ["null", "string"] | ||
}, | ||
"Total Units": { | ||
"type": ["null", "string"] | ||
}, | ||
"Inbound": { | ||
"type": ["null", "string"] | ||
}, | ||
"Available": { | ||
"type": ["null", "string"] | ||
}, | ||
"FC transfer": { | ||
"type": ["null", "string"] | ||
}, | ||
"FC Processing": { | ||
"type": ["null", "string"] | ||
}, | ||
"Customer Order": { | ||
"type": ["null", "string"] | ||
}, | ||
"Unfulfillable": { | ||
"type": ["null", "string"] | ||
}, | ||
"Working": { | ||
"type": ["null", "string"] | ||
}, | ||
"Shipped": { | ||
"type": ["null", "string"] | ||
}, | ||
"Receiving": { | ||
"type": ["null", "string"] | ||
}, | ||
"Fulfilled by": { | ||
"type": ["null", "string"] | ||
}, | ||
"Total Days of Supply (including units from open shipments)": { | ||
"type": ["null", "string"] | ||
}, | ||
"Days of Supply at Amazon Fulfillment Network": { | ||
"type": ["null", "string"] | ||
}, | ||
"Alert": { | ||
"type": ["null", "string"] | ||
}, | ||
"Recommended replenishment qty": { | ||
"type": ["null", "string"] | ||
}, | ||
"Recommended ship date": { | ||
"type": ["null", "string"] | ||
}, | ||
"Recommended action": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters