Skip to main content
PUT
/
labels
/
{id}
Update Label Status
curl --request PUT \
  --url https://api.loopreturns.com/api/v1/labels/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "new"
}
'
{
  "error": {
    "code": "400",
    "http_code": "GEN-BAD-REQUEST",
    "message": "The request could not be processed. Please verify that the provided data is correct."
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.loopreturns.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer
required

The unique identifier for the label, created by Loop. This is the identifier that is returned from the Create Label request.

Example:

67329889100573

Body

application/json
status
enum<string>
required

The status of the label.

Available options:
new,
pre_transit,
in_transit,
out_for_delivery,
delivered
Example:

"new"

Response

OK