Get method to show a Campaign
Name | Description |
---|---|
account_id required | Your account unique identifier to access API. |
campaign_id required | Unique identifier of the campaign |
GET
/v2/account/:account_id/campaigns/:campaign_id
Accept: application/json
Authorization: Token token={account.secret}
Content-Type: application/json
200
{
"campaign": {
"id": "61f25c46d1152010651ddd73",
"name": "Thienphuc_Sc",
"created_at": "2022-01-27T08:48:06.960Z",
"updated_at": "2022-01-27T09:10:57.821Z",
"description": "Thienphuc_Sc",
"status": "completed",
"schedule_type": "scheduled",
"time_zone": "Hanoi",
"start_at": "2022-01-27T16:05:00.000Z",
"filters": [
{
"id": "5e8456aaf703666bc9000009",
"name": "danang"
}
],
"reports": {
"global": {
"totals": 5,
"sent": 0,
"delivered": 5,
"undelivered": 0,
"pending": 0,
"opened": 1,
"clicked": 1,
"unsubscribed": 1
},
"purchases": {
"total_purchases": 0,
"total_products": 0,
"total_contacts": 0,
"total_add_cart": 0,
"total_remove_cart": 0,
"total_product_view": 0,
"total_product_refund": 0,
"total_purchase_failed": 0
}
}
}
}