Skip to main content
PATCH
/
shipments
/
{shipment_id}
/
custom_fields
/
{api_slug}
Update a shipment custom field
curl --request PATCH \
  --url https://api.terminal49.com/v2/shipments/{shipment_id}/custom_fields/{api_slug} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "attributes": {
      "api_slug": "<string>",
      "value": "<string>",
      "display_value": "<string>"
    },
    "relationships": {
      "entity": {
        "data": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      },
      "definition": {
        "data": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      }
    }
  },
  "links": {
    "self": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://terminal49-codex-docs-audit-diataxis-skill.mintlify.app/llms.txt

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

Updates a specific custom field on a shipment by its api_slug.

Path parameters

ParameterRequiredDescription
shipment_idYesThe ID of the shipment
api_slugYesThe api_slug of the custom field definition

Request body

ParameterRequiredDescription
valueYesThe new value to set

Authorization

Requires update permission on the shipment.

Response

Returns 200 OK with the updated custom field resource on success.

Authorizations

Authorization
string
header
required

Use a Terminal49 API key in the Authorization header with the Token prefix.

Authorization: Token YOUR_API_KEY

Path Parameters

shipment_id
string
required

Shipment ID

api_slug
string
required

Custom field api_slug

Body

application/json
data
object

Response

200 - application/json

OK

data
Custom field · object