Pergunta

I am newbie to fedex web-services API.

I want to print the return label with the out bound shipment. I tried including below tag under RequestedShipment/SpecialServicesRequested tag. but i am getting the error "Alternate sender not allowed with return shipments".

Here is my request look like..

<RequestedShipment>

    .
    .

    <SpecialServicesRequested>

        .
        .   

        <ReturnShipmentDetail>
            <ReturnType>PRINT_RETURN_LABEL</ReturnType>
        </ReturnShipmentDetail>

        .
        .

    </SpecialServicesRequested>

    .
    .

</RequestedShipment>

Thanks in advance...

Update : I am using fedex API 10.

Foi útil?

Solução

When requesting return label, it should not have following two elements in request.

LabelSpecification/ PrintedLabelOrigin/ Contact LabelSpecification/ PrintedLabelOrigin/ Address

Above elements are used to override return address from default value of shipping address.:)

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top