v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
Online Ads

Remove assignees from Online Ads

Endpoint to remove assignees from an OnlineAd.

put/business/v2/online-ads/{onlineAdId}/removeAssignees

Path parameters

onlineAdIdstring required

The OnlineAd ID.

Example:7bf79328-a7ae-4222-aa54-091ff7f429a7

Request body

remove_assigneesstring[] required

List of User IDs to remove from assignees.

Example request

{
  "remove_assignees": [
    "XMPL1234-000001",
    "XMPL1234-000002",
    "XMPL1234-000003"
  ]
}

Response

The returned resource is a single OnlineAd.

idstring

The OnlineAds ID.

namestring

The name of the OnlineAds.

descriptionstring

A custom description of the OnlineAds.

platform'GOOGLE' | 'TWITTER' | 'TABOOLA' | 'PINTEREST' | 'MICROSOFT' | 'FACEBOOK' | 'AMAZON' | 'APPLE' | 'TIKTOK' | 'LINKEDIN' | 'INSTAGRAM' | 'OTHER'
assigneesstring[]

List of User IDs currently assigned to the OnlineAds and its Cards.

status'ACTIVE' | 'ASSIGNED' | 'CANCELLED'
wallet_idstring

The Wallet ID the OnlineAds and its Card are linked to.

last_spent_datestring

The date and time of the last Transaction made with the Card.

last_spentnumber

The amount of the last Transaction made with the Card.

total_spentnumber

The overall amount spent with the Card.

card_idstring

The ID of the Card reserved for this OnlineAds (only available after the OnlineAds has been activated).

creation_timestring

The date and time when the OnlineAds was created.

last_update_timestring

The date and time when the OnlineAds was last updated.

Example response

{
  "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
  "name": "EXAMPLE ONLINE AD",
  "description": "This is an online advertisement",
  "assignees": [
    "XMPL1234-000001",
    "XMPL1234-000002",
    "XMPL1234-000003"
  ],
  "wallet_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
  "last_spent_date": "2020-05-07T12:48:40Z",
  "last_spent": 75.01,
  "total_spent": 775.01,
  "card_id": "c861cc24-6663-410f-8c78-73f886fff4ef",
  "creation_time": "2017-06-01T12:48:40Z",
  "last_update_time": "2017-06-01T12:48:40Z"
}