Skip to content

Commit

Permalink
Change type of Fulfillment.OriginAddress to FulfillmentOriginAddress
Browse files Browse the repository at this point in the history
The Fulfillment.OriginAddress was previously type `Address`, which is a generic address entity used by several address  endpoints. It was not meant to be used as the origin address for a fulfillment. Most properties on that object were always null for the origin address.
  • Loading branch information
nozzlegear committed Jul 13, 2023
1 parent d807caf commit d497856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShopifySharp/Entities/Fulfillment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ public class Fulfillment : ShopifyObject
public string Name { get; set; }

/// <summary>
/// The address of the fulfillment location
/// The address of the fulfillment location.
/// </summary>
[JsonProperty("origin_address")]
public Address OriginAddress { get; set; }
public FulfillmentOriginAddress OriginAddress { get; set; }
}
}

0 comments on commit d497856

Please sign in to comment.