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": 18
}
When returned in a response.
{
"percent": 18,
"user": {
"id": 15,
"email": "example@domain.com"
},
"id": 16,
"shop_id": 16
}