Articles on: Shipper Account

Get Credentials to Access DPD Portugal Shipping API


Overview


AfterShip Shipping is a multi-carrier shipping software and API that enables you to automate shipping processes across USPS, UPS, FedEx, DHL, and 100+ other carriers. You can access the DPD Portugal shipping API via AfterShip Shipping by obtaining the required credentials and completing a few setup steps.


Get DPD Portugal credentials


  • Contact your DPD Portugal point of contact (POC) to get API credentials: Username and Password.
  • Consult your DPD Portugal POC regarding your subscribed services (e.g., DPD Home, DPD Parcel Shop Delivery). DPD will configure the services and sub-accounts for you.


Required DPD Portugal credentials


  • Username
  • Password


Required DPD Portugal settings


  • Sub-accounts


How to fill:


AfterShip supports the following DPD Portugal services. Work with your DPD POC to subscribe to the required services and get the corresponding sub-account codes for your service. If your subscribed service is not listed, please contact your AfterShip POC to request support.


service_type

service_name

ship_from.country

ship_to.country

dpd-prt_home_delivery

DPD Portugal Home Delivery

PRT

PRT

dpd-prt_parcel_shop_delivery

DPD Portugal Parcel Shop Delivery

PRT

PRT

dpd-prt_eu_road

DPD Portugal Europe Road (except Spain)

PRT

[EU except PRT]

dpd-prt_spain_road

DPD Portugal Spain Road

PRT

ESP

dpd-prt_domestic_return

DPD Portugal domestic return

PRT

PRT

dpd-prt_eu_return

DPD Portugal Europe return

[EU except PRT]

PRT


For your subscribed services, you must provide AfterShip with the sub-account(s) created by DPD. Fill in Settings >> Sub-accounts using the format below:


dpd-prt_home_delivery:{your DPD Home account}


If you have multiple subscribed services, join them with a “comma (,)”, for example:


dpd-prt_home_delivery:{your DPD Home account},dpd-prt_parcel_shop_delivery:{your DPD Shop account}


If you have multiple accounts for the same service (e.g., one DPD HOME account that do not need complimentary insurance, another DPD HOME account that do need complimentary insurance), use the following format:


dpd-prt_home_delivery:{your DPD Home account that do not need insurance},dpd-prt_home_delivery.insurance:{your DPD Home account that do need insurance}


If your actual use case is not mentioned above, contact us for guidance about the settings.


Examples:


dpd-prt_home_delivery:09990010,dpd-prt_parcel_shop_delivery:09990012


dpd-prt_home_delivery:01010101,dpd-prt_home_delivery.insurance:01010102


DPD Portugal Developer resources



service_type

service_name

ship_from.country

ship_to.country

dpd-prt_home_delivery

DPD Portugal Home Delivery

PRT

PRT

dpd-prt_parcel_shop_delivery

DPD Portugal Parcel Shop Delivery

PRT

PRT

dpd-prt_eu_road

DPD Portugal Europe Road (except Spain)

PRT

[EU except PRT]

dpd-prt_spain_road

DPD Portugal Spain Road

PRT

ESP

dpd-prt_domestic_return

DPD Portugal domestic return

PRT

PRT

dpd-prt_eu_return

DPD Portugal Europe return

[EU except PRT]

PRT


For assistance with DPD Portugal integration in AfterShip Shipping, contact: support+shipping@aftership.com


Updated on: 23/04/2026