Skip to content

Structure "Offer owner"

This structure describes the owner of the offer. It is a part of the "Freight" structure and "Vehicles" structure under the name owner.

Field description

Name Description Data type Required
refId Owner id. Number +
name Owner's name. String +
face Contact person. String +
contactId ID of user's subordinate contact. Number +
phones Phone numbers. Array of "Phone number" structures +
address User's address. "User's address" structure +
rating Opinions on a user. Array of "Offer owner rating" structures +

Sample

JSON
{
    "refId": 5682958473,
    "name": "LLG LTD",
    "face": "Николай",
    "contactId": 0,
    "phones": [
        {
            "number": "+380(95)7877273",
            "messengers": ["VIBER"]
        }
    ],
    "address": {
        "town": {
            "id": 137,
            "name": "Kyiv"
        },
        "area": {
            "id": 23,
            "name": "Kyiv Reg."
        },
        "country": {
            "sign": "UA",
            "name": "Ukraine"
        }
    },
    "rating": {
        "positiveCommentCount": 136,
        "negativeCommentCount ": 0
    }
}