parcelLab Promise API

Pre-checkout delivery date predictions.

Operations 1

GET /v4/promise/prediction/predict/ Predict Delivery Date #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/parcellab-promise-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

parcellab-promise-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: parcelLab Campaigns Promise API
  description: 'parcelLab API v4 Enhanced — the REST API for the parcelLab post-purchase

    experience platform. Send orders and trackings, retrieve order status,

    look up pickup/drop-off locations, predict delivery dates, manage return

    registrations and configurations, evaluate marketing campaigns, and

    publish surveys to your customers.


    Regional base URLs are available for EU and US workloads in addition to

    the global endpoint.

    '
  version: '4'
  contact:
    name: parcelLab Developer Support
    url: https://docs.parcellab.com/docs/developers/readme
  license:
    name: Proprietary
    url: https://parcellab.com/legal/terms-of-service/
servers:
- url: https://api.parcellab.com
  description: Global production endpoint
- url: https://api.eu.parcellab.com
  description: EU regional endpoint
- url: https://api.us.parcellab.com
  description: US regional endpoint
security:
- parcellabApiToken: []
tags:
- name: Promise
  description: Pre-checkout delivery date predictions.
paths:
  /v4/promise/prediction/predict/:
    get:
      tags:
      - Promise
      summary: Predict Delivery Date
      operationId: predictDelivery
      description: Return localized delivery date predictions for a destination, optionally constrained to a courier, service level, and warehouse.
      parameters:
      - in: query
        name: account
        required: true
        schema:
          type: integer
      - in: query
        name: destination_country_iso3
        required: true
        schema:
          type: string
      - in: query
        name: destination_postal_code
        schema:
          type: string
      - in: query
        name: courier
        schema:
          type: string
      - in: query
        name: service_level
        schema:
          type: string
      - in: query
        name: warehouse
        schema:
          type: string
      - in: query
        name: language_iso2
        schema:
          type: string
      - in: query
        name: calibration
        schema:
          type: string
          enum:
          - conservative
          - balanced
          - aggressive
      - in: query
        name: dispatch_now
        schema:
          type: boolean
      - in: query
        name: now_override
        schema:
          type: string
          format: date-time
      - in: query
        name: draft
        schema:
          type: boolean
      responses:
        '200':
          description: Delivery date predictions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromisePrediction'
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  responses:
    BadRequest:
      description: Invalid payload or query parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    PromisePrediction:
      type: object
      properties:
        request_id:
          type: string
        success:
          type: boolean
        prediction:
          type: array
          items:
            type: object
            properties:
              courier:
                type: string
              service_level:
                type: string
              date_min:
                type: string
                format: date
              date_max:
                type: string
                format: date
              date_likely:
                type: string
                format: date
              days_min:
                type: integer
              days_max:
                type: integer
              days_likely:
                type: integer
              cutoff:
                type: string
                format: date-time
              localized:
                type: object
                additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
        errors:
          type: object
          additionalProperties: true
  securitySchemes:
    parcellabApiToken:
      type: apiKey
      in: header
      name: Authorization
      description: '`Authorization: Parcellab-API-Token <base64(account_id:token)>`. App- generated tokens may instead use the `Bearer <token>` scheme.'