{"_id":"544a342927b7fc140078dad0","parentDoc":null,"user":"54352decadf50e0800b89024","editedParams":true,"__v":0,"version":{"_id":"543d1e5e5276641a00a593cf","forked_from":"543d1e263a300f20000d31fe","project":"543d1e263a300f20000d31fb","__v":16,"createdAt":"2014-10-14T13:00:14.946Z","releaseDate":"2014-10-14T13:00:14.946Z","categories":["543d1e5f5276641a00a593d0","543d1ee45276641a00a593da","5448e2cbc64edd1a00453c29","5449135acdc944220048845c","544a0a93778b3e08002b2289","544a0a9727b7fc140078da58","544a456f27b7fc140078daff","544e027cbd51b9080037f680","544e029ab80812080035bba6","544e3a2eb80812080035bd67","5450b7c5a66f020800dba7b3","5450c0e47abbbc0800a5e989","5450c0f97abbbc0800a5e98a","5450c103a66f020800dba819","54f99f588d09b7390007ea45","565c81dbf3e9360d00823e43"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"is_link":false,"editedParams2":true,"project":"543d1e263a300f20000d31fb","category":{"_id":"544a0a93778b3e08002b2289","pages":["544a0c5d778b3e08002b2291","544a0c9727b7fc140078da5f","544a1cfe778b3e08002b22b6","544a20d927b7fc140078daac","544a2316778b3e08002b22d1","544a2ffd27b7fc140078dac8","544a342927b7fc140078dad0"],"version":"543d1e5e5276641a00a593cf","project":"543d1e263a300f20000d31fb","__v":7,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-24T08:15:15.030Z","from_sync":false,"order":5,"slug":"offer","title":"Offer"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-10-24T11:12:41.589Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":false,"method":"post","results":{"codes":[{"code":"{\n\t  /* If you send invalid input data, you will get a status 400.\n    \t The return object will contain a message about what went wrong. */\n}","language":"json","status":400,"name":""}]},"try":false,"auth":"never","params":[{"_id":"544a342927b7fc140078dad3","ref":"","in":"body","required":true,"desc":"Your API session token.","default":"","type":"string","name":"_token"},{"_id":"544a342927b7fc140078dad2","ref":"","in":"body","required":false,"desc":"Your API signature.","default":"","type":"string","name":"_signature"},{"_id":"544a342927b7fc140078dad1","ref":"","in":"path","required":true,"desc":"Offer id to add stats on.","default":"","type":"string","name":"offer_id"}],"url":"/v2/offers/:offer_id/collect"},"isReference":false,"order":6,"body":"This endpoint is used to indicate to the server that the client actually showed an offer to a user.\n\nYou MUST send a request to this endpoint if you show details about an offer to a consumer.\n**Note** that you SHOULD NOT send a request to this endpoint when the user is seeing the offer in a list.\nExceptions to this rule exists. If in doubt, open a support ticket.","excerpt":"","slug":"offer-collect-stats","type":"endpoint","title":"Offer Collect Statistics"}

postOffer Collect Statistics


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

offer_id:
required
string
Offer id to add stats on.

Body Params

_token:
required
string
Your API session token.
_signature:
string
Your API signature.

Result Format


Documentation

This endpoint is used to indicate to the server that the client actually showed an offer to a user. You MUST send a request to this endpoint if you show details about an offer to a consumer. **Note** that you SHOULD NOT send a request to this endpoint when the user is seeing the offer in a list. Exceptions to this rule exists. If in doubt, open a support ticket.