Skip to content

Latest commit

 

History

History
105 lines (69 loc) · 6.67 KB

File metadata and controls

105 lines (69 loc) · 6.67 KB

CreateShipmentV2Request

Properties

Name Type Description Notes
fromAddress FromAddressV2
toAddress ToAddressV2
parcel ParcelV2 [optional]
parcelType String Parcel Type is required for creating a shipment while rating a parcel, which varies as per Carrier selection.<br /> ParcelType can have categories like Package, Envelopes, Paks, Boxes, Tube, etc. <br /> `Max length = 30`
rateShopBy RateShopByEnum RateShop, which is attached to an Enterprise or Location, is done through three approaches: by Carrier, by RateGroup, and by Ruleset. <br /> Through Carrier, customers can choose the carriers as per requirement, based on which services, parcel types, and special services can be selected, and RateShop is done. <br /> Through RateGroup, customers can select the RateGroup, which has been divided into two categories: Cheapest (w.r.t. price) and Fastest (w.r.t. delivery hours). <br /> Through Ruleset, customers can define the Condition/rule for selecting carriers and their services, so they do not need to worry for Rate Shopping every time they create Shipment. For example, For a particular location, they can set one definite carrier, or apply RateGroup - Cheapest/Fastest. Similarly, for a particular amount like below $1000 Dollars, they can select a definite carrier service, based on RateGroup.
byCarrier ByCarrierV2 [optional]
shipmentOptions ShipmentDomesticByRulesetShipmentOptions [optional]
docTab ShipmentDomesticByCarrierDocTab [optional]
deliveryConfirmation DeliveryConfirmationEnum Indicates the supporting special service or document as an evidence of shipment delivery. For the delivery confirmation, user can select any of the following special services, but they may vary as per the carrier selection. <br /> - Signature Required/ Indirect Signature Required : SIG - Signed Hard Copy: SIGHC - Delivery confirmation: DEL_CON - Proof of age required (18 years) Adult Signature Required: ADULT_SIG - Proof of age required (19 years): ADULT_SIG_19 - No Signature Required: NO_SIG - Direct Signature Required: DIRECT_SIG - Chain of Signature: COS Carrier specific options: - UPS supports SIG and ADULT_SIG. - FedEx supports SIG, ADULT_SIG, NO_SIG, and DIRECT_SIG. - Purolator supports ADULT_SIG, NO_SIG, and COS. - GoFor supports SIG. - CPC supports SIG, SIGHC, DEL_CON, ADULT_SIG, ADULT_SIG_19, and NO_SIG. [optional]
handling HandlingEnum Few shipments need a special handling, and the reason can be fragile items or highly secured shipments. There might be other case scenarios. In a simple term, this field defines shipment handling, which provides users a capability to select handling options. <br /> User can select any of the following handling options (special services), but they may vary as per the carrier selection. - Hold For Pickup: HOLD - Saturday Delivery: SAT_DELIVERY - UPS Premium Care: PREM_CARE - Direct Delivery Only: DIRECT - Additional Handling: ADD_HDL Carrier specific options: - UPS supports all handling options mentioned above. - FedEx supports HOLD, SAT_DELIVERY, and ADD_HDL. - Purolator supports HOLD, SAT_DELIVERY, and ADD_HDL. [optional]
insurance InsuranceEnum Indicates the insurance coverage, which is selected by users while create shipment - rate shopping. User can select below-mentioned special service for insurance: - Declared Value Surcharge: INS Carrier specific options: - UPS, FedEx, Purolator, and CPC support special service INS. [optional]
references ReferenceV2 [optional]
metadata List<ShipmentDomesticByRulesetMetadataInner> Additional metadata that needs to be stored for this shipment can be added here.<br /> For now, 'Cost Account Name' is supported. [optional]
labelSize LabelSizeEnum Defines the label size of the Shipment, that is, the Shipping Label is available in different Doc Size. <br /> `Max length = 10`
labelType LabelTypeEnum Defines the type of the Shipment. <br /> `Max length = 14`
labelFormat LabelFormatEnum Defines the file/format in which the label is printed. <br /> `Max length = 14`
printerAliasName String Refers to a printer connected (directly or via network) to a computer. `Max length = 60` [optional]
dateOfShipment LocalDate The date when shipment is created/shipped. The format of the Date is YYYY-MM-DD. [optional]
deliveryOption ShipmentDomesticByRulesetDeliveryOption [optional]
byRateGroup ShipmentDomesticByRateGroupByRateGroup [optional]
byRuleSet ShipmentDomesticByRulesetByRuleSet [optional]

Enum: RateShopByEnum

Name Value
CARRIER "carrier"
RATE_GROUP "rateGroup"
RULESET "ruleset"

Enum: DeliveryConfirmationEnum

Name Value
SIG "SIG"
SIGHC "SIGHC"
DEL_CON "DEL_CON"
ADULT_SIG "ADULT_SIG"
ADULT_SIG_19 "ADULT_SIG_19"
NO_SIG "NO_SIG"
DIRECT_SIG "DIRECT_SIG"
COS "COS"

Enum: HandlingEnum

Name Value
HOLD "HOLD"
SAT_DELIVERY "SAT_DELIVERY"
PREM_CARE "PREM_CARE"
DIRECT "DIRECT"
ADD_HDL "ADD_HDL"

Enum: InsuranceEnum

Name Value
INS "INS"

Enum: LabelSizeEnum

Name Value
_8_X11 "DOC_8X11"
_4_X8 "DOC_4X8"
_4_X6 "DOC_4X6"

Enum: LabelTypeEnum

Name Value
SHIPPING_LABEL "SHIPPING_LABEL"

Enum: LabelFormatEnum

Name Value
ZPL2 "ZPL2"
PDF "PDF"