Attribuly API Docs
  • Introduction
  • Authentication
  • Endpoint
    • Google Looker Studio
  • API Reference
    • Event summary
    • Order: first and last touchpoint
    • Order: total conversion journey
    • The number of visitors who visited the landing page and then completed the event.
  • Common data structures
    • Customer
    • Order
    • Product
    • Event
      • Page viewed
      • Cart viewed
      • Product viewed
      • Collection viewed
      • Search submitted
      • Product added to cart
      • Product removed to cart
      • Lead form
      • Checkout started
      • Checkout address info submitted
      • Checkout contact info submitted
      • Checkout shipping info submitted
      • Payment info submitted
      • Checkout completed
Powered by GitBook
On this page

Was this helpful?

  1. API Reference

Order: first and last touchpoint

PreviousEvent summaryNextOrder: total conversion journey

Last updated 11 months ago

Was this helpful?

Endpoint URL

Version

  • v2-4-2

Rate limits

  • 20 requests per second

Tips

  • The data returned by the API is generally 10-30 minutes old, and we are sorry that we cannot provide real-time data for querying.

  • Each API request can retrieve no more than 20 orders。

https://data.api.attribuly.com
  • Endpoint URL
  • Version
  • Rate limits
  • POSTOrder's first and last touchpoint

Order's first and last touchpoint

post
Path parameters
versionstringRequiredExample: v2-4-2
Header parameters
ApiKeystringOptional

api secret key

Body
order_idsstring[]Required

The IDs of the order, which Up to 20 orders can be retrieved at a time

Responses
200
Success
application/json
x-200:Failed
Failed
application/json
post
POST /{version}/api/order/attribution-touch HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 22

{
  "order_ids": [
    "text"
  ]
}
{
  "code": 1,
  "message": "Service succeed",
  "data": [
    {
      "order_id": "5154874786005",
      "first_touchpoint": {
        "campaign": "direct/--",
        "channel": "direct",
        "source": "direct",
        "medium": "--",
        "time": "2023-03-29 07:25:56"
      },
      "last_touchpoint": {
        "campaign": "direct/--",
        "channel": "direct",
        "source": "direct",
        "medium": "--",
        "time": "2023-03-29 07:25:56"
      }
    }
  ]
}