Skip to content

Renames, changes the priority of or moves a shipment

PATCH/packages/{id}

Requires: Cookie fret_session / Bearer

Path parameters

  • idintegerrequired

Request body

application/jsonobjectrequired

  • namestring
  • priorityPriority

    Allowed values: "express", "standard", "night"

  • positioninteger

    New place at the dock

    0 to …

Responses

200OKPackage
  • idinteger
  • namestring

    Empty for an unnamed shipment of several parcels: the client words it ("Shipment of 3 parcels")

  • dirstring
  • priorityPriority

    Allowed values: "express", "standard", "night"

  • positioninteger
  • heldboolean

    Collected, awaiting confirmation

  • sourcestring
  • createdAtstring (date-time)
  • storedAtstring (date-time) | null

    Stored in the warehouse; null while on the dock

  • filesFile[]
    Fields · 19
    • idinteger
    • numberstring
    • packageIdinteger
    • urlstring
    • namestring
    • subdirstring

      Place in a consignment's folder tree, inside the shipment's warehouse folder; empty at its root

    • sizeinteger

      -1 when unknown

    • receivedinteger
    • speedinteger

      bytes/s

    • hosterstring
    • debridstring
    • statusStatus

      Parcel status, see Statuses

      Allowed values: "queued", "resolving", "waiting", "downloading", "retrying", "paused", "verifying", "extracting", "finished", "offline", "corrupted", "duplicate"

    • errorstring
    • attemptsinteger
    • waitUntilstring (date-time) | null
    • unpackedboolean
    • unpackErrorstring
    • createdAtstring (date-time)
    • updatedAtstring (date-time)
404Errorobject
  • errorobject
    Fields · 2
    • codestring
    • messagestring
Built with Kiln