Sample response of abandoned cart in marketing activities

Highlighted
New Member
4 0 0

Hi, Is there any sample response for the abandoned cart in marketing activities? Otherwise, please give me the sample response.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
582 70 127

Hey @Ragavendar-Rao,

 

I think this is what you're looking for:

 

{
  "marketing_event": {
    "id": 1234567890,
    "event_type": "abandoned_cart",
    "remote_id": "1a1111aa1aaa1a1aa111a1a1a1aa11",
    "started_at": "2020-04-10T18:00:00-05:00",
    "ended_at": null,
    "scheduled_to_end_at": null,
    "budget": null,
    "currency": null,
    "manage_url": null,
    "preview_url": null,
    "utm_campaign": "abandoned_checkout_email",
    "utm_source": "abandoned_cart_email_app",
    "utm_medium": "email",
    "budget_type": null,
    "description": "Abandoned checkout",
    "marketing_channel": "email",
    "paid": false,
    "referring_domain": null,
    "breadcrumb_id": null,
    "marketing_activity_id": 1234567890,
    "admin_graphql_api_id": "gid:\/\/shopify\/MarketingEvent\/1234567890",
    "marketed_resources": [
      {
        "type": "shop",
        "id": 1234567
      }
    ]
  }
}

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes