diff --git a/official/docs/csharp/current/orders/one-call-buy.cs b/official/docs/csharp/current/orders/one-call-buy.cs index 5beb5d5f..df627ebd 100644 --- a/official/docs/csharp/current/orders/one-call-buy.cs +++ b/official/docs/csharp/current/orders/one-call-buy.cs @@ -55,9 +55,12 @@ public static async Task Main() } }, Service = "NextDayAir", - CarrierAccountIds = new List + CarrierAccounts = new List { - "ca_..." + new CarrierAccount + { + Id = "ca_..." + } } }; diff --git a/official/docs/csharp/current/pickups/create.cs b/official/docs/csharp/current/pickups/create.cs index d9dfc9ba..a013f4ca 100644 --- a/official/docs/csharp/current/pickups/create.cs +++ b/official/docs/csharp/current/pickups/create.cs @@ -33,7 +33,14 @@ public static async Task Main() MinDatetime = "2022-10-01 10:30:00", MaxDatetime = "2022-10-01 17:30:00", Instructions = "Special pickup instructions", - IsAccountAddress = false + IsAccountAddress = false, + CarrierAccounts = new List + { + new CarrierAccount + { + Id = "ca_..." + } + } }; Pickup pickup = await client.Pickup.Create(parameters); diff --git a/official/docs/csharp/v5/orders/one-call-buy.cs b/official/docs/csharp/v5/orders/one-call-buy.cs index e5af0ad1..41ac6b0b 100644 --- a/official/docs/csharp/v5/orders/one-call-buy.cs +++ b/official/docs/csharp/v5/orders/one-call-buy.cs @@ -55,9 +55,12 @@ public static async Task Main() } }, Service = "NextDayAir", - CarrierAccountIds = new List + CarrierAccounts = new List { - "ca_..." + new CarrierAccount + { + Id = "ca_..." + } } }; diff --git a/official/docs/csharp/v5/pickups/create.cs b/official/docs/csharp/v5/pickups/create.cs index d8719248..131a0066 100644 --- a/official/docs/csharp/v5/pickups/create.cs +++ b/official/docs/csharp/v5/pickups/create.cs @@ -33,7 +33,14 @@ public static async Task Main() MinDatetime = "2022-10-01 10:30:00", MaxDatetime = "2022-10-01 17:30:00", Instructions = "Special pickup instructions", - IsAccountAddress = false + IsAccountAddress = false, + CarrierAccounts = new List + { + new CarrierAccount + { + Id = "ca_..." + } + } }; Pickup pickup = await client.Pickup.Create(parameters);