parcelLab · Arazzo Workflow

parcelLab PUDO Lookup and Register Return

Version 1.0.0

Find a nearby drop-off point, then open a return registration for the order.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Post-PurchaseE-CommerceTrackingReturnsShippingDeliveryCustomer ExperienceLogisticsCommunicationsGermanyArazzoWorkflows

Provider

parcellab

Workflows

pudo-lookup-and-register-return
Look up a drop-off point and create a return registration.
Resolves the nearest PUDO point for a courier and country, then opens a return registration for the order against the same account.
2 steps inputs: account, articlesReturn, authToken, code, countryIso3, courier, customerEmail, latitude, longitude, reference outputs: nearestAddress, returnExternalId, returnStatus
1
lookupPudo
Find nearby pickup/drop-off points for the courier, ranked by distance from the supplied coordinates.
2
registerReturn
Create a return registration for the order so the customer can drop the parcel at the resolved location.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: parcelLab PUDO Lookup and Register Return
  summary: Find a nearby drop-off point, then open a return registration for the order.
  description: >-
    Supports the self-service return journey. The workflow looks up nearby
    pickup/drop-off (PUDO) locations for a courier near the customer, captures the
    closest point, and then creates a return registration for the order so the
    customer has a return label flow tied to a real drop-off location. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: placeInfoApi
  url: ../openapi/parcellab-place-info-api-openapi.yml
  type: openapi
- name: returnsApi
  url: ../openapi/parcellab-returns-api-openapi.yml
  type: openapi
workflows:
- workflowId: pudo-lookup-and-register-return
  summary: Look up a drop-off point and create a return registration.
  description: >-
    Resolves the nearest PUDO point for a courier and country, then opens a
    return registration for the order against the same account.
  inputs:
    type: object
    required:
    - authToken
    - account
    - countryIso3
    - courier
    - code
    - reference
    - customerEmail
    properties:
      authToken:
        type: string
        description: Authorization header value for the parcelLab API.
      account:
        type: integer
        description: The parcelLab account id.
      countryIso3:
        type: string
        description: ISO3 country code for the PUDO search and return.
      courier:
        type: string
        description: Courier code to look up drop-off points for.
      latitude:
        type: number
        description: Latitude to rank drop-off points by distance.
      longitude:
        type: number
        description: Longitude to rank drop-off points by distance.
      code:
        type: string
        description: Return configuration code to register the return against.
      reference:
        type: string
        description: Order reference the return belongs to.
      customerEmail:
        type: string
        description: Customer email for the return registration.
      articlesReturn:
        type: array
        description: Line items being returned.
  steps:
  - stepId: lookupPudo
    description: >-
      Find nearby pickup/drop-off points for the courier, ranked by distance
      from the supplied coordinates.
    operationId: lookupPlaceInfo
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authToken
    - name: account
      in: query
      value: $inputs.account
    - name: ordering
      in: query
      value: distance
    requestBody:
      contentType: application/json
      payload:
        account: $inputs.account
        country_iso3: $inputs.countryIso3
        lookups:
        - courier: $inputs.courier
        location:
          latitude: $inputs.latitude
          longitude: $inputs.longitude
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      nearestPlaceType: $response.body#/0/place_type
      nearestAddress: $response.body#/0/address
      nearestDistance: $response.body#/0/distance_meters
  - stepId: registerReturn
    description: >-
      Create a return registration for the order so the customer can drop the
      parcel at the resolved location.
    operationId: createReturnRegistration
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authToken
    requestBody:
      contentType: application/json
      payload:
        account: $inputs.account
        code: $inputs.code
        reference: $inputs.reference
        customer_email: $inputs.customerEmail
        articles_return: $inputs.articlesReturn
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      externalId: $response.body#/external_id
      sequenceNumber: $response.body#/sequence_number
      status: $response.body#/status
  outputs:
    nearestAddress: $steps.lookupPudo.outputs.nearestAddress
    returnExternalId: $steps.registerReturn.outputs.externalId
    returnStatus: $steps.registerReturn.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/parcellab-pudo-lookup-and-register-return-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.