Enterprise
Enterprise

Enterprise Endpoints

Enterprises are the main database of your Salesly.app account. They are the base of all other modules.

Enterprise Object

Property NameType
idinteger
namestring
typeinteger
emailstring
cifstring
phonestring
phone2string
webstring
ibanstring
publicboolean
usersarray of integer
locationobject ( Location )
contacts_idsarray of integer
contactsarray of Contact
EXAMPLE
{
    "id": 2,
    "name": "Salesly.app",
    "email": "test@salesly.app",
    "comments": null,
    "cif": "G123456789",
    "phone": "938206362",
    "phone_2": null,
    "iban": null,
    "web": null,
    "public": 0,
    "last_event": null,
    "next_event": null,
    "last_opportunity_sale_date": null,
    "state": 0,
    "type": 1,
    "no_user": 0,
    "created_at": "2023-10-23 20:09:12",
    "updated_at": "2023-10-23 20:09:12",
    "deleted_at": null,
    "contacted": null,
    "mailchimp_unsubscribed": null,
    "fiscal_equal_commercial": true,
    "fiscal_name": null,
    "fiscal_address": null,
    "store_discount": null,
    "instagram": null,
    "facebook": null,
    "location": {
        "id": 2,
        "enterprise_id": 2,
        "primary": 1,
        "direction": "Carrer Gavarresa",
        "city": "Cabrianes",
        "postal": "08620",
        "country": "Spain",
        "latitude": "41.7984089",
        "longitude": "1.9100628999999572",
        "created_at": "2023-10-23 20:09:12",
        "updated_at": "2023-10-23 20:09:12",
        "deleted_at": null,
        "extra_info": null
    },
    "contacts": [],
    "users": []
}

Location Object

Property NameType
primaryrequired integer
directionrequired string
cityrequired string
postalrequired string
countryrequired string
latitudestring
longitudestring
extra_infostring
EXAMPLE
{
    "primary": 1,
    "direction": "Carrer Gavarresa",
    "city": "Cabrianes",
    "postal": "08620",
    "country": "Spain",
    "latitude": "41.7984089",
    "longitude": "1.9100628999999572"
}