From 64d76224d746b9e7a58205f46e5d616cd1c4c886 Mon Sep 17 00:00:00 2001 From: cpfk <65398263+cpfk@users.noreply.github.com> Date: Thu, 9 Oct 2025 17:19:30 -0400 Subject: [PATCH] Update TimeWindow.cs see https://developer-docs.shipping.amazon.com/apis/docs/shipping-api-v2-reference#timewindow it's start & end, not startTime and endTime From actual response: "promise": { "deliveryWindow": { "end": "2025-10-19T06:59:59Z", "start": "2025-10-19T06:59:59Z" }, "pickupWindow": { "end": null, "start": null } --- .../AmazonSpApiSDK/Models/ShippingV2/TimeWindow.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/TimeWindow.cs b/Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/TimeWindow.cs index 54d22b37..0f6805a3 100644 --- a/Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/TimeWindow.cs +++ b/Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/TimeWindow.cs @@ -16,16 +16,16 @@ public class TimeWindow { /// The start time of the time window. /// /// The start time of the time window. - [DataMember(Name="startTime", EmitDefaultValue=false)] - [JsonProperty(PropertyName = "startTime")] + [DataMember(Name="start", EmitDefaultValue=false)] + [JsonProperty(PropertyName = "start")] public DateTime? StartTime { get; set; } /// /// The end time of the time window. /// /// The end time of the time window. - [DataMember(Name="endTime", EmitDefaultValue=false)] - [JsonProperty(PropertyName = "endTime")] + [DataMember(Name="end", EmitDefaultValue=false)] + [JsonProperty(PropertyName = "end")] public DateTime? EndTime { get; set; }