Create new ShopTracker
POST/trackers
Creates a new ShopTracker.
Request
- application/json
Body
Input data
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.
Responses
- 200
- 403
- 404
- 406
ShopTracker created.
- application/json
- Schema
- Example (from schema)
Schema
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": "2023-08-01T14:40:24+00:00",
"updated_at": "2023-08-01T14:40:24+00:00"
}
Unauthorized. You do not have permission to manager the Shop or the ShopTrackers for the Company of the Shop.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
ShopTracker not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}