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": "<string>",
    "http_code": "<string>",
    "message": "<string>"
  }
}

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.

Body

application/json
status
enum<string>
required

The status of the label.

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

Response

OK