{"method":"GET","path":"https://api.revcent.com/v2/tracking_visitors/{tracking_visitor_id}","summary":"Get A Tracking Visitor","description":"Retrieve the details of a specific tracking visitor. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/GetTrackingVisitor.md for an in-depth overview of this operation.","operationId":"GetTrackingVisitor","parameters":[{"in":"path","name":"tracking_visitor_id","description":"The tracking visitor ID.","required":true,"schema":{"type":"string","description":"A 20 character tracking visitor ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"encoding":{},"schema":{"additionalProperties":false,"properties":{},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"allOf":[{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"The API call response code, 1 = Success","type":"integer","enum":[1]}},"title":"APICallResponseInfo","type":"object","additionalProperties":false},{"type":"object","additionalProperties":false,"properties":{"created_date_unix":{"description":"The unix timestamp of when the item was created.","type":"integer","format":"unix-time"},"id":{"type":"string","description":"A 20 character tracking visitor ID.","minLength":20,"maxLength":20},"ip_address":{"type":"string","description":"The visitor IP address."},"sales":{"type":"array","description":"A list of sales associated with the tracking visitor, if the tracking visitor made a purchase.","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"A 20 character sale ID.","minLength":20,"maxLength":20}}}},"tracking_domain":{"type":"object","additionalProperties":false,"description":"The tracking domain associated with the tracking visitor.","properties":{"id":{"type":"string","description":"A 20 character tracking domain ID.","minLength":20,"maxLength":20},"name":{"type":"string","description":"The tracking domain name."},"domain":{"type":"string","description":"The tracking domain domain."}}},"tracking_entries":{"type":"array","description":"A list of tracking entries, a.k.a page visits, associated with the tracking visitor. In chronological order ascending, the first tracking entry is the first page visit and the last tracking entry is the most recent page visit. If the tracking visitor made a purchase, the tracking entries can be used to track the visitor's path to purchase. Max 50 entries returned.","items":{"type":"object","additionalProperties":false,"properties":{"created_date_unix":{"description":"The unix timestamp of when the item was created.","type":"integer","format":"unix-time"},"hostname":{"type":"string","description":"The tracking entry hostname."},"pathname":{"type":"string","description":"The tracking entry pathname."},"referer":{"type":"string","description":"The tracking entry referer."},"ip_address":{"type":"string","description":"The tracking entry IP address."},"tracking_domain":{"type":"object","additionalProperties":false,"description":"The tracking domain associated with the tracking entry.","properties":{"id":{"type":"string","description":"A 20 character tracking domain ID.","minLength":20,"maxLength":20},"name":{"type":"string","description":"The tracking domain name."},"domain":{"type":"string","description":"The tracking domain domain."}}}}}},"user_agent":{"type":"string","description":"The visitor user agent."},"metadata":{"items":{"additionalProperties":false,"properties":{"name":{"type":"string","description":"A name paired to the value for the metadata object. Limited to 100 characters in length.","minLength":1,"maxLength":100},"value":{"type":"string","description":"A value paired to the name for the metadata object. Limited to 255 characters in length.","minLength":1,"maxLength":255}},"type":"object","required":["name","value"]},"type":"array","description":"An array of metadata objects, each metadata object being a name and value pair."},"updated_date_unix":{"description":"The unix timestamp of when the item was last updated.","type":"integer","format":"unix-time"}}}]}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}