Gift links

Delete retained source columns

Deletes retained columns of one import by their original positions. Recipients, gift history and paid gifts stay. Send the JSON body with Content-Type: application/json. Accepts an MCP OAuth token with gifts:write.

delete/campaigns/{id}/distribution/source-columns

Request

  • Base URL: https://gtmswag.com/api/v1
  • URL: https://gtmswag.com/api/v1/campaigns/{id}/distribution/source-columns
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://gtmswag.com/oauth/authorize, token URL https://gtmswag.com/oauth/token, scopes: gifts:write)

Path parameters

idstring required

Campaign or playbook ID (cmp_).

Request body

importIdstring required

Stable customer import ID; reuse with identical retry data.

indicesinteger[] required

Original source column positions to remove from retained data.

Response

Success: {"data": SourceImport}.

Changes

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