CreateAutoShipScheduleViewModel
New (permanent) autoshipSchedule.
| Name | Description | Type | Additional information |
|---|---|---|---|
| RepDID |
The representative in context. |
string |
Required |
| RepID |
The representative ID in context. |
integer |
None. |
| CustomerDID |
The customer in context. Optional, if passed overrides the RepNumber. |
string |
None. |
| OrderID |
The order in context. If AutoShip profiles are made from an order we want to associate it with the profile. This means this call must come AFTER a successful order export. |
integer |
None. |
| ShippingAddress |
Shipping Address |
AddressViewModel |
None. |
| StartDate |
Start Date of the profile |
date |
Required |
| StopDate |
Start Date of the profile |
date |
None. |
| DateNextRun | date |
None. |
|
| PeriodTypeID |
PeriodTypeID of the profile. |
integer |
Required |
| PeriodDay |
PeriodDay of the profile. |
integer |
None. |
| ShipMethodID |
ShipMethodID of the profile. |
integer |
Required |
| AutoShipRuleID |
AutoShipRuleID of the profile. |
integer |
None. |
| OverrideShipping |
OverrideShipping of the profile. |
boolean |
None. |
| ShippingTotal |
Shipping Total of the profile. |
decimal number |
None. |
| Items |
Items if profile. |
Collection of AutoShipScheduleItemViewModel |
None. |
| PaymentInfo |
Payment information associated to profile. |
TokenizedPaymentProfileViewModel |
None. |