1. Home
  2. Docs
  3. API documentation
  4. partner API
  5. Modify your delivery request

Modify your delivery request

After a delivery request is successfully made, you can alter some parts of it later on. Use /delivery-requests/{id} endpoint for these modifications.
Only this parameter is available to you:

NameTypeDescription
orderNumberstringUnique order reference number you have
used to create the delivery request.

See an example of a successful integration:

PUT /delivery-requests/{id}

curl -X 'PUT' \
  ‘…/delivery-requests/{id}’ \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "allowReturn": true
}'														

Status Code 200

{
  "referenceNumber": "string"
}													

Status Code 400

The server cannot or will not process the request due to something that is perceived to be your error (e.g., malformed request syntax, invalid request message). You are to modify the request before sending it again.

{
  "code": "string",
  "message": "string"
}

Status Code 401

Not Authorized. You are either using an expired Access token to access the data or trying to initialize Auth session with invalid data.

Status Code 404

Resource not found. You are authorized but the requested resource does not exist. Make sure the requested URL is correct.