Sets tags on a Transaction
POST
https://api.withpersona.com/api/v1/transactions/:transaction-id/set-tags
Set the list of tags on a transaction. Remove all tags on the transaction that don't appear on the list. Add all tags on the transaction from the list.
Path parameters
transaction-idstringRequired
ID of the transaction to set tags on.
Headers
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
Key-InflectionenumOptional
Determines casing for the API response.
Allowed values:
Idempotency-KeystringOptional
Ensures the request is idempotent.
Persona-VersionenumOptionalDefaults to
2023-01-05
Allowed values:
Query parameters
includestringOptional
A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the included
key in the response. See Serialization for more details.
fieldsmap from strings to stringsOptional
Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response. See Serialization for more details.
Request
This endpoint expects an object.
metaobjectOptional
Response
This endpoint returns a Transaction object and (optionally) its related objects in included
.
dataobject