The request schema for the directPurchaseShipment operation. When the channel type is Amazon, the shipTo address is not required and will be ignored.

DirectPurchaseRequest

interface DirectPurchaseRequest {
    channelDetails: ChannelDetails;
    labelSpecifications?: RequestedDocumentSpecification;
    packages?: Package[];
    returnTo?: Address;
    shipFrom?: Address;
    shipTo?: Address;
}

Properties

channelDetails: ChannelDetails

DirectPurchaseRequest

labelSpecifications?: RequestedDocumentSpecification

DirectPurchaseRequest

packages?: Package[]

A list of packages to be shipped through a shipping service offering.

DirectPurchaseRequest

returnTo?: Address

DirectPurchaseRequest

shipFrom?: Address

DirectPurchaseRequest

shipTo?: Address

DirectPurchaseRequest