Get all ShopTrackers
GET/trackers/:type
Returns all ShopTrackers of the requested Company. When there are no ShopTrackers an empty array will be returned.
The "trashed" operation returns all ShopTrackers including deleted ShopTrackers.
The "justtrashed" operation returns only the deleted ShopTrackers.
Note, "normal" will yield the same result as without a type.
Request
Path Parameters
- "normal"
- Returns all the ShopTrackers except those which are deleted.
- "trashed"
- Returns all the ShopTrackers including those which are deleted.
- "justtrashed"
- Returns all and only the deleted ShopTrackers.
Possible values: [normal
, trashed
, justtrashed
]
Type of operations for querying deleted ShopTrackers.
Responses
- 200
- 403
- 404
ShopTrackers found.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The guid of the ShopTracker.
Possible values: <= 255 characters
The guid of the Shop this ShopTracker belongs to.
Possible values: <= 255 characters
The code of the ShopTracker.
Possible values: <= 255 characters
The name of the ShopTracker.
Possible values: <= 65536 characters
The description of the ShopTracker.
The type of the ShopTracker.
Possible values: <= 255 characters
Any extra url parameters. Not used.
How many times the link of the ShopTracker is visited.
The time it was created.
The time it was last updated.
[
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"shop_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"code": "string",
"name": "string",
"description": "string",
"type": "string",
"clicks": 0,
"created_at": "string",
"updated_at": "string"
}
]
Unauthorized. You do not have permission to retrieve the ShopTrackers of the requested Company.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Company not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}