Update Program Resource
growsurf_update_program_resourceUpdates a GrowSurf participant resource field or moves it to a zero-based position, applying only supplied changes and targeting the chosen campaign.
Instructions
Update at least one participant resource field, or move it to a zero-based position. Only supplied fields change. A replacement FILE requires a one-time uploadTicket and the unmodified uploadResult from GrowSurf's secure upload flow. API reference: https://docs.growsurf.com/developer-tools/rest-api/api-reference. Targets campaignId if supplied, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Used with `LINK`. | |
| text | No | Used with `TEXT`. | |
| type | No | ||
| title | No | ||
| category | No | ||
| position | No | ||
| campaignId | No | Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. | |
| resourceId | Yes | ||
| description | No | ||
| isPublished | No | ||
| uploadResult | No | The unmodified result returned by the secure upload flow for a replacement `FILE`. | |
| uploadTicket | No | The one-time upload ticket for a replacement `FILE`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||