Skip to main content
PATCH
/
api
/
v2
/
shipments
/
{shipment_id}
/
custom_fields
/
{api_slug}
cURL
curl --request PATCH \
  --url https://api.example.com/api/v2/shipments/{shipment_id}/custom_fields/{api_slug}
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.