Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
percent | Int | An integer value |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
percent | Int | An integer value |
user | Dictionary | A dictionary with fields |
id | Int | An integer value |
shop_id | Int | An integer value |
When used inside a request.
{
"percent": 10
}
When returned in a response.
{
"percent": 16,
"user": {
"id": 16,
"email": "example@domain.com"
},
"id": 16,
"shop_id": 17
}