In the ManageCustomerRequest response, there is a new parameter, created specifically for the flexible returns:
<enabledAdvanceReturn>
This new field can be enabled by the MBE Center only if the fields enabledThirdPartyPickup and canCreateCourierWaybill are both set at true within the ManageCustomerRequest response.
So, if the user has within the response:
<enabledThirdPartyPickups> = true;
<canCreateCourierWaybill> = true;
<enabledAdvanceReturn> = true;
then, the user will be able to use the flexible returns.
These fundamental requirements must be always applied for the usage of the flexible return, because those who are not generally authorized to print waybills and third shipments and pick-up, will not have the possibility to enable the new field for this return method.
If the fields are set to:
CanCreateCourierWaybill = true, enabledThirdPartyPickups = false, canCreateAdvanceReturn = false
CanCreateCourierWaybill = true, enabledThirdPartyPickups = true, canCreateAdvanceReturn = false
CanCreateCourierWaybill = false, enabledThirdPartyPickups = false, canCreateAdvanceReturn = false
the user cannot use the flexible return and in these cases, the process used for a return will be the simple return workflow.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns3:ManageCustomerRequestResponse xmlns:ns3="http://www.onlinembe.it/ws/">
<RequestContainer>
<Status>OK</Status>
<InternalReferenceID>Test</InternalReferenceID>
<Customer>
<customerID></customerID>
<DepartmentID></DepartmentID>
<Login>test.mol</Login>
<CompanyName>TEST SRL</CompanyName>
<CustomerName>Test</CustomerName>
<CustomerFirstName>Test</CustomerFirstName>
<CustomerLastName>Test</CustomerLastName>
<Address>XXXX</Address>
<Address1>XXXX</Address1>
<Address2/>
<Address3/>
<ZIPCode>12345</ZIPCode>
<City>CITY</City>
<State></State>
<Country>XX</Country>
<Email>yyyyyy@mail.com</Email>
<AdditionalEmail>xxxxx@mail.com</AdditionalEmail>
<B2B>false</B2B>
<Enabled>true</Enabled>
<Permissions>
<canSeeTracking>true</canSeeTracking>
<canSpecifyCOD>true</canSpecifyCOD>
<maxCODvalue>0.0</maxCODvalue>
<canSpecifyInsurance>true</canSpecifyInsurance>
<maxInsuranceValue>0.0</maxInsuranceValue>
<canCreateCourierWaybill>true</canCreateCourierWaybill>
<canSpecifyCustomToSender>false</canSpecifyCustomToSender>
<canSpecifySaturdayDelivery>false</canSpecifySaturdayDelivery>
<canChooseMBEService>true</canChooseMBEService>
<canChooseCourier>true</canChooseCourier>
<canChooseCourierService>true</canChooseCourierService>
<canRequestImport>false</canRequestImport>
<canChooseMBEShipType>false</canChooseMBEShipType>
<canViewInvoices>true</canViewInvoices>
<canViewLoyalty>true</canViewLoyalty>
<canUploadfiles>false</canUploadfiles>
<canDeleteShipments>true</canDeleteShipments>
<enabledCouriers>XXXXXXXXXXXXXXX</enabledCouriers>
<enabledCouriersDesc>TNT,TNT</enabledCouriersDesc>
<enabledCourierServices>TNC,TNC</enabledCourierServices>
<enabledCourierServicesDesc>Express</enabledCourierServicesDesc>
<enabledCourierShipTypes>DOMESTIC</enabledCourierShipTypes>
<enabledCouriersPickup>08146649</enabledCouriersPickup>
<enabledCourierServicesPickup>TNC,TNC</enabledCourierServicesPickup>
<enabledPickupShipTypes>,DOMESTIC</enabledPickupShipTypes>
<canViewPricelist>true</canViewPricelist>
<maxShipmentWeight>0.0</maxShipmentWeight>
<maxParcelWeight>0.0</maxParcelWeight>
<enabledServices>SAR,SEE,SSE</enabledServices>
<enabledServicesDesc>MBE Standard,MBE Express</enabledServicesDesc>
<enabledServicesPackTypeDesc>GENERIC,DOCUMENTS,ENVELOPE</enabledServicesPackTypeDesc>
<canSpecifyMBESafeValue>true</canSpecifyMBESafeValue>
<maxMBESafeValueValue>0.0</maxMBESafeValueValue>
<enabledShipUAP>true</enabledShipUAP>
<enabledThirdPartyPickups>true</enabledThirdPartyPickups>
<enabledTaxAndDuties>false</enabledTaxAndDuties>
<canSpecifyMBESafeValue4Business>true</canSpecifyMBESafeValue4Business>
<enabledPaperless>true</enabledPaperless>
<customerAddressAsSender>true</customerAddressAsSender>
<mandatoryDepartment>false</mandatoryDepartment>
<departmentDefault>1111</departmentDefault>
<enabledAdvanceReturn>true</enabledAdvanceReturn>
</Permissions>
</Customer>
</RequestContainer>
</ns3:ManageCustomerRequestResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>