Skip to content

Commit 64d7622

Browse files
authored
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 }
1 parent f02ff17 commit 64d7622

File tree

1 file changed

+4
-4
lines changed
  • Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2

1 file changed

+4
-4
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/ShippingV2/TimeWindow.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ public class TimeWindow {
1616
/// The start time of the time window.
1717
/// </summary>
1818
/// <value>The start time of the time window.</value>
19-
[DataMember(Name="startTime", EmitDefaultValue=false)]
20-
[JsonProperty(PropertyName = "startTime")]
19+
[DataMember(Name="start", EmitDefaultValue=false)]
20+
[JsonProperty(PropertyName = "start")]
2121
public DateTime? StartTime { get; set; }
2222

2323
/// <summary>
2424
/// The end time of the time window.
2525
/// </summary>
2626
/// <value>The end time of the time window.</value>
27-
[DataMember(Name="endTime", EmitDefaultValue=false)]
28-
[JsonProperty(PropertyName = "endTime")]
27+
[DataMember(Name="end", EmitDefaultValue=false)]
28+
[JsonProperty(PropertyName = "end")]
2929
public DateTime? EndTime { get; set; }
3030

3131

0 commit comments

Comments
 (0)