Skip to content

Commit ff8a30a

Browse files
author
KevinVenclovas
committed
Merge remote-tracking branch 'upstream/main'
2 parents 5a31f55 + 49963a6 commit ff8a30a

File tree

75 files changed

+5950
-25253
lines changed

Some content is hidden

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

75 files changed

+5950
-25253
lines changed

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Install-Package CSharpAmazonSpAPI
4040
- [x] [shipmentInvoicingV0](https://developer-docs.amazon.com/sp-api/docs/shipment-invoicing-api-v0-reference)
4141
- [x] [Shippings](https://developer-docs.amazon.com/sp-api/docs/shipping-api-v1-reference)
4242
- [x] [CatalogItemsV0](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v0-reference)
43-
- [ ] [CatalogItemsV20201201](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2020-12-01-reference)
43+
- [x] [CatalogItemsV20220401](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference)
4444
- [x] [FBAInventory](https://developer-docs.amazon.com/sp-api/docs/fbainventory-api-v1-reference)
4545
- [x] [FBASmallAndLight](https://developer-docs.amazon.com/sp-api/docs/fbasmallandlight-api-v1-reference)
4646
- [x] [FBAInboundEligibility](https://developer-docs.amazon.com/sp-api/docs/fbainboundeligibility-api-v1-reference)
@@ -262,6 +262,42 @@ while (string.IsNullOrEmpty(ReportDocumentId))
262262
//filePath for report
263263
```
264264

265+
### Product GetCatalogItem Version 2022-04-01
266+
```CSharp
267+
var data = await amazonConnection.CatalogItem.GetCatalogItem202204Async(
268+
new Parameter.CatalogItems.ParameterGetCatalogItem
269+
{
270+
ASIN = "B00JK2YANC",
271+
includedData = new[] { IncludedData.attributes,
272+
IncludedData.salesRanks,
273+
IncludedData.summaries,
274+
IncludedData.productTypes,
275+
IncludedData.relationships,
276+
IncludedData.dimensions,
277+
IncludedData.identifiers,
278+
IncludedData.images }
279+
});
280+
```
281+
282+
### Product SearchCatalogItems Version 2022-04-01
283+
```CSharp
284+
var data = await amazonConnection.CatalogItem.SearchCatalogItems202204Async(
285+
new Parameter.CatalogItems.ParameterSearchCatalogItems202204
286+
{
287+
keywords = new[] { "vitamin c" },
288+
includedData = new[] { IncludedData.attributes,
289+
IncludedData.salesRanks,
290+
IncludedData.summaries,
291+
IncludedData.productTypes,
292+
IncludedData.relationships,
293+
IncludedData.dimensions,
294+
IncludedData.identifiers,
295+
IncludedData.images }
296+
});
297+
```
298+
299+
300+
265301
### Product Pricing, For more Pricing sample please check [Here](https://github.com/abuzuhri/Amazon-SP-API-CSharp/blob/main/Source/FikaAmazonAPI.Test/ProductPricing.cs).
266302
```CSharp
267303

Source/FikaAmazonAPI.SampleCode/Program.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,26 @@ static async Task Main(string[] args)
3434
MarketPlace = MarketPlace.GetMarketPlaceByID(config.GetSection("FikaAmazonAPI:MarketPlaceID").Value),
3535
});
3636

37+
var GetCatalogItem202204 = await amazonConnection.CatalogItem.GetCatalogItem202204Async(new Parameter.CatalogItems.ParameterGetCatalogItem
38+
{
39+
ASIN = "B00JK2YANC",
40+
includedData = new[] { IncludedData.attributes, IncludedData.salesRanks, IncludedData.summaries, IncludedData.productTypes, IncludedData.relationships, IncludedData.dimensions, IncludedData.identifiers, IncludedData.images }
41+
});
42+
43+
var lissting = await amazonConnection.CatalogItem.SearchCatalogItems202204Async(new Parameter.CatalogItems.ParameterSearchCatalogItems202204
44+
{
45+
keywords = new[] { "vitamin c" },
46+
includedData = new[] { IncludedData.attributes, IncludedData.salesRanks, IncludedData.summaries, IncludedData.productTypes, IncludedData.relationships, IncludedData.dimensions, IncludedData.identifiers, IncludedData.images }
47+
});
48+
49+
//IncludedData.images, IncludedData.identifiers, IncludedData.productTypes, IncludedData.salesRanks, IncludedData.summaries, IncludedData.variations, IncludedData.vendorDetails
50+
51+
52+
var test = amazonConnection.ProductPricing.GetItemOffers(new Parameter.ProductPricing.ParameterGetItemOffers()
53+
{
54+
Asin = "B000RTDUOW"
55+
});
56+
3757
var result = amazonConnection.Financial.ListFinancialEventsAsync(new ParameterListFinancialEvents()
3858
{
3959
MaxNumberOfPages = 4,

Source/FikaAmazonAPI/AmazonSpApiSDK/Api/Authorization/AuthorizationApi.cs

Lines changed: 0 additions & 339 deletions
This file was deleted.

Source/FikaAmazonAPI/AmazonSpApiSDK/Api/CatalogItems/CatalogApi.cs

Lines changed: 0 additions & 767 deletions
This file was deleted.

0 commit comments

Comments
 (0)