company.UserDiscount

Request

Fields when send to the api inside a request.

Field Type Description
percent Int An integer value

Response

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

Examples

Request

When used inside a request.

Example 1

{
    "percent": 10
}

Response

When returned in a response.

Example 1

{
    "percent": 16,
    "user": {
        "id": 16,
        "email": "example@domain.com"
    },
    "id": 16,
    "shop_id": 17
}
This is a development version Do not use this version in production
1.10.0 development