Skip to content

Commit 00710c7

Browse files
ShipmentStatusList is made of ShipmentStatus items
This is a critical fix, without this change you can not run getShipments like this. var param = new Parameter.FulFillmentInbound.ParameterGetShipments() { QueryType = Constants.QueryType.DATE_RANGE, MarketplaceId = MarketPlace.US.ID, ShipmentStatusList = (new List<ShipmentStatus> { ShipmentStatus.CLOSED, ShipmentStatus.DELIVERED, ShipmentStatus.RECEIVING }), LastUpdatedAfter = DateTime.Now.AddDays(-60), LastUpdatedBefore = DateTime.Now }; return amazonConnection.FulFillmentInbound.GetShipments(param);
1 parent e052b06 commit 00710c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Source/FikaAmazonAPI/Parameter/FulFillmentInbound/ParameterGetShipments.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
using FikaAmazonAPI.Search;
1+
using FikaAmazonAPI.Search;
22
using System;
33
using System.Collections.Generic;
44
using static FikaAmazonAPI.Utils.Constants;
5+
using FikaAmazonAPI.AmazonSpApiSDK.Models.FulfillmentInbound;
56

67
namespace FikaAmazonAPI.Parameter.FulFillmentInbound
78
{
89
public class ParameterGetShipments : ParameterBased
910
{
10-
public IList<ShipmentStatusList> ShipmentStatusList { get; set; }
11+
public IList<ShipmentStatus> ShipmentStatusList { get; set; }
1112
public IList<string> ShipmentIdList { get; set; }
1213
public DateTime? LastUpdatedAfter { get; set; }
1314
public DateTime? LastUpdatedBefore { get; set; }

0 commit comments

Comments
 (0)