Order Controller

Extend document link validity

Extend the document download link validity for a specific order. The customer keeps using the same tracking link until the new expiry date.

post/orders/extend-link-validity/{id}

Path parameters

idnumber required
Example:1

The ID of the entity

Request body

durationValuenumber required

How long to extend the document link validity

durationUnit'day' | 'month' | 'year' required

Unit for the extension duration

reasonstring

Optional reason for the extension

Example request

{
  "durationValue": 30,
  "durationUnit": "day",
  "reason": "Customer requested additional access time"
}

Response

Document link validity extended successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.