| Parameter | Required | Description |
|---|---|---|
entity_type | Yes | The entity type this field applies to (Shipment or Cargo) |
api_slug | Yes | Unique identifier for the field |
display_name | Yes | Human-readable name for the field |
data_type | Yes | Data type for values (for example: short_text, number, date) |
description | No | Optional description of the field’s purpose |
validation | No | Validation rules (for example: required, pattern, max_length) |
default_format | No | Default format string for numbers or dates |
default_value | No | Default value for new custom fields |
reference_type | No | Required when data_type is reference |
Token YOUR_API_TOKEN
The APIs require authentication to be done using header-based API Key and Secret Authentication.
API key and secret are sent va the Authorization request header.
You send your API key and secret in the following way:
Authorization: Token YOUR_API_KEY