admin
preferences

Set Campaign Attribution

Rewrite the booking campaign decision from the editor's controls.

Refused when the stored document is not editable: the rewrite is generated from these controls alone, so a branch they cannot express would be dropped and that organization's attribution silently reassigned. Those documents are edited through the decision-document API instead.

put/admin/preferences/organizations/{organization_id}/campaign-attribution

Request

  • Base URL
    https://api-docs.upsmith.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

organization_idstring required

Headers

organization-idstring nullable
timezonestring
x-user-idstring nullable
x-actor-emailstring nullable
x-request-sourcestring nullable
x-operation-idstring nullable
x-commit-messagestring nullable
x-confirmation-idstring nullable
x-chat-idstring nullable

Request body

default_campaign_idinteger nullable
source_campaign_idsobject

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.