Update a unit
Updates a unit’s content and tap redirect URL. Send only the fields to change. attributes replaces the full set. Send null to clear a field. external_id cannot be cleared.
Authorizations
Use Authorization: Bearer end_sk_* for partner API keys (e.g. end_sk_AbCd_example_api_key).
Path Parameters
Unit id.
"33333333-3333-3333-3333-333333333333"
Body
Unique identifier for the unit within the credential's environment. Cannot be cleared.
1 - 256"unit-002"
Human-readable name for the unit. Send null to clear.
1 - 256"Example Unit"
Plain-text description of the unit, 1 to 10,000 characters. Send null to clear.
1 - 10000"Hand-built interconnect with silver-gold conductors."
Free-form JSON attributes. Replaces the full stored set, so send every attribute to keep. Send null to clear all.
Tap redirect URL for this unit. Send null to clear.
"https://brand.example/p"
Response
The updated unit.
Plain-text description of the unit. Null when none.
"Hand-built interconnect with silver-gold conductors."
Tap redirect URL for this unit; takes precedence over product/collection/org defaults.
"https://brand.example/p"
The unit's collection. Null only for units created before collections existed.
Chips paired to this unit.

