Skip to content

Commit fdef2b0

Browse files
authored
Merge pull request #711 from julianpetriv/main
Fixed GetFulfillmentPreview call
2 parents c199781 + c7a41d6 commit fdef2b0

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentOutbound/GetFulfillmentPreviewItem.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,20 @@ public GetFulfillmentPreviewItem() { }
7070
/// The seller SKU of the item.
7171
/// </summary>
7272
/// <value>The seller SKU of the item.</value>
73-
[DataMember(Name = "SellerSKU", EmitDefaultValue = false)]
73+
[DataMember(Name = "sellerSku", EmitDefaultValue = false)]
7474
public string SellerSKU { get; set; }
7575

7676
/// <summary>
7777
/// Gets or Sets Quantity
7878
/// </summary>
79-
[DataMember(Name = "Quantity", EmitDefaultValue = false)]
79+
[DataMember(Name = "quantity", EmitDefaultValue = false)]
8080
public int Quantity { get; set; }
8181

8282
/// <summary>
8383
/// A fulfillment order item identifier that the seller creates to track items in the fulfillment preview.
8484
/// </summary>
8585
/// <value>A fulfillment order item identifier that the seller creates to track items in the fulfillment preview.</value>
86-
[DataMember(Name = "SellerFulfillmentOrderItemId", EmitDefaultValue = false)]
86+
[DataMember(Name = "sellerFulfillmentOrderItemId", EmitDefaultValue = false)]
8787
public string SellerFulfillmentOrderItemId { get; set; }
8888

8989
/// <summary>

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentOutbound/GetFulfillmentPreviewRequest.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,42 +68,42 @@ public GetFulfillmentPreviewRequest() { }
6868
/// The marketplace the fulfillment order is placed against.
6969
/// </summary>
7070
/// <value>The marketplace the fulfillment order is placed against.</value>
71-
[DataMember(Name = "MarketplaceId", EmitDefaultValue = false)]
71+
[DataMember(Name = "marketplaceId", EmitDefaultValue = false)]
7272
public string MarketplaceId { get; set; }
7373

7474
/// <summary>
7575
/// The destination address for the fulfillment order preview.
7676
/// </summary>
7777
/// <value>The destination address for the fulfillment order preview.</value>
78-
[DataMember(Name = "Address", EmitDefaultValue = false)]
78+
[DataMember(Name = "address", EmitDefaultValue = false)]
7979
public Address Address { get; set; }
8080

8181
/// <summary>
8282
/// Identifying information and quantity information for the items in the fulfillment order preview.
8383
/// </summary>
8484
/// <value>Identifying information and quantity information for the items in the fulfillment order preview.</value>
85-
[DataMember(Name = "Items", EmitDefaultValue = false)]
85+
[DataMember(Name = "items", EmitDefaultValue = false)]
8686
public GetFulfillmentPreviewItemList Items { get; set; }
8787

8888
/// <summary>
8989
/// A list of shipping methods used for creating fulfillment order previews. Note: Shipping method service level agreements vary by marketplace. Sellers should see the Seller Central website in their marketplace for shipping method service level agreements and fulfillment fees.
9090
/// </summary>
9191
/// <value>A list of shipping methods used for creating fulfillment order previews. Note: Shipping method service level agreements vary by marketplace. Sellers should see the Seller Central website in their marketplace for shipping method service level agreements and fulfillment fees.</value>
92-
[DataMember(Name = "ShippingSpeedCategories", EmitDefaultValue = false)]
92+
[DataMember(Name = "shippingSpeedCategories", EmitDefaultValue = false)]
9393
public ShippingSpeedCategoryList ShippingSpeedCategories { get; set; }
9494

9595
/// <summary>
9696
/// Specifies whether to return fulfillment order previews that are for COD (Cash On Delivery). Possible values: true - Returns all fulfillment order previews (both for COD and not for COD). false - Returns only fulfillment order previews that are not for COD.
9797
/// </summary>
9898
/// <value>Specifies whether to return fulfillment order previews that are for COD (Cash On Delivery). Possible values: true - Returns all fulfillment order previews (both for COD and not for COD). false - Returns only fulfillment order previews that are not for COD.</value>
99-
[DataMember(Name = "IncludeCODFulfillmentPreview", EmitDefaultValue = false)]
99+
[DataMember(Name = "includeCODFulfillmentPreview", EmitDefaultValue = false)]
100100
public bool? IncludeCODFulfillmentPreview { get; set; }
101101

102102
/// <summary>
103103
/// Specifies whether to return the ScheduledDeliveryInfo response object, which contains the available delivery windows for a Scheduled Delivery. The ScheduledDeliveryInfo response object can only be returned for fulfillment order previews with ShippingSpeedCategories &#x3D; ScheduledDelivery.
104104
/// </summary>
105105
/// <value>Specifies whether to return the ScheduledDeliveryInfo response object, which contains the available delivery windows for a Scheduled Delivery. The ScheduledDeliveryInfo response object can only be returned for fulfillment order previews with ShippingSpeedCategories &#x3D; ScheduledDelivery.</value>
106-
[DataMember(Name = "IncludeDeliveryWindows", EmitDefaultValue = false)]
106+
[DataMember(Name = "includeDeliveryWindows", EmitDefaultValue = false)]
107107
public bool? IncludeDeliveryWindows { get; set; }
108108

109109
/// <summary>

0 commit comments

Comments
 (0)