return-mail

Request Original

Changed on

Ask for a parcel's original to go to its facility or back to the sender (owner, 2026-11-19).

⛔GATED ON fulfillment:floor, tickets:b2c OR tickets:b2g (D5 as corrected 2026-11-19 ~22:50Z: an account manager holds only tickets:b2g and must be able to ask; the owner's words are on REQUEST_ORIGINAL). A person holding none of the three is refused 403. Claiming and completing a return job stay on COMPLETE, which an account manager still cannot use. ⛔CORRECTED 2026-11-19 ~23:25Z (the line above is left as the record): GATED ON tickets:b2g ONLY. Owner: only an account manager asks for a parcel's original from the parcel page; a consumer uses the public link and customer service and the floor no longer file one here (see REQUEST_ORIGINAL). The person who asks is the person who pressed the button: principal.id is recorded as requested_by, never a value from the body.

Refusals: a missing parcel is a 404; every other refusal (dumped box, no box, no facility for forward, an open request already holds the parcel, no email on the account) is a 409 carrying the sentence the person reads. Owner's rule for these: the refusal says why, in words the desk can act on.

post/api/returns/request-original

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

RequestOriginalBody required

What the parcel page's Actions menu sends (PARCEL-ACTIONS PR 1, 2026-11-19), or the intake piece's (PR 5, D12).

EXACTLY ONE of parcel_id (a parcel) or capture_id (an intake piece, "IN-xxxx", kept in the hold bin and never scanned into a parcel; owner, 2026-11-19 ~21:30Z: "reuse the same rails ... for parcels that we do not scan"). Sending both or neither is refused as a 422 before anything is read.

destination is "facility" (Forward to facility: the piece's own facility, D2) or "sender" (Return to sender). Nothing else is accepted; the owner's two labels are the only two choices.

parcel_id, string uuid nullable
capture_id, string uuid nullable
destination, 'facility' | 'sender' required

Response

Successful Response

object required

Changes

    • info

      added the new optional request property capture_id

    • info

      the request property parcel_id became optional

    • info

      request property parcel_id list-of-types was widened by adding types null to media type application/json