CalculateOrderRequest
The standard ISO 4217 3-letter currency code
The unique identifier for the warehouse
The unique identifier for the ship method
The shipping address' street address. Used to calculate shipping and taxes.
The shipping address' city. Used to calculate shipping and taxes.
The shipping address' state or region code. Used to calculate shipping and taxes.
The shipping address' zip code. Used to calculate shipping and taxes.
The shipping address' country code. Used to calculate shipping and taxes.
The shipping address' county. Can be used to calculate shipping and taxes.
The unique identifier of the customer
The type of order. OrderType should be defined if you have custom order calculation rules associated with certain order types.
ReturnShipMethods [Required]
Specifies whether to return ship methods. Defaults to false.
OrderDetailRequest
The alphanumeric unique identifier for the item
The kit's master item code. If this is defined, this item will be considered a part of a kit and it's price will not be used when calculating it into the order.
The overridden price per item. Defining this will override the default value set in Exigo.
The overridden taxable amount per item. Defining this will override the default value set in Exigo.
ShippingPriceEachOverride
The overridden shipping amount per item. Defining this will override the default value set in Exigo.
BusinessVolumeEachOverride
The overridden BV amount earned per item. Defining this will override the default value set in Exigo.
CommissionableVolumeEachOverride
The overridden CV amount earned per item. Defining this will override the default value set in Exigo.
The overridden custom Other1 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other2 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other3 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other4 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other5 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other6 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other7 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other8 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other9 amount per item. Defining this will override the default value set in Exigo.
The overridden custom Other10 amount per item. Defining this will override the default value set in Exigo.
The overridden item description. Defining this will override the default value set in Exigo.
CalculateOrderResponse
The subtotal of the order
The total taxes of the order
The total shipping fees of the order
The total discounts applied to the order
The total weight of the item
The total business volume of the order
CommissionableVolumeTotal
The total commissionable volume of the order
The total value of the Other1 price of the order
The total value of the Other2 price of the order
The total value of the Other3 price of the order
The total value of the Other4 price of the order
The total value of the Other5 price of the order
The total value of the Other6 price of the order
The total value of the Other7 price of the order
The total value of the Other8 price of the order
The total value of the Other9 price of the order
The total value of the Other10 price of the order
The total tax from shipping of the order
The status of your web service call response. This property tells you if the call was executed successfully, any errors that occurred and other miscellanous, method-specific information.
OrderDetailResponse
The alphanumeric unique identifier for the item
The total amount for this item, based on the price of the item and the quantity selected
The tax charged for the item
The weight of the items, based on the quantity selected
The BV earned for each item
The BV earned for the item, based on the quantity selected
The CV earned for each item
The CV earned for the item, based on the quantity selected
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
A company-defined custom price amount per item.
A company-defined custom price total.
The kit's master item code. If this is defined, this item will be considered a part of a kit and it's price will not be used when calculating it into the order.
Specifies whether the item is taxable
The federal tax charged for the item
The state tax charged for the item
The city tax charged for the item
The cities' local tax charged for the item
The county tax charged for the item
The counties' local tax charged for the item
The manually-added tax charged for the item
Specifies whether the state tax was overridden for the item
The 0-based index position of the item in the order's detail collection
ShipMethodResponse
The unique identifier for the ship method
The calculated amount added to the order if this ship method is used
ApiResult
Specifies whether the web service call was successfully executed.
An array of error messages that were returned from Exigo. If the web service call was successful, this colleciton will be empty.
The unique GUID identifier assigned to this web service call for logging purposes.
C# Sample
var request = new CalculateOrderRequest();
request.CurrencyCode = "";
request.WarehouseID = 1;
request.ShipMethodID = 1;
request.PriceType = 1;
request.ReturnShipMethods = true;
request.City = "";
request.State = "";
request.Zip = "";
request.Country = "";
request.Details = new OrderDetailRequest[0];
var response = context.CalculateOrder(request);