Warning: API Version 1 is deprecated. Please use API Version 2.
Api Documentation

Customers

Customers are the companies that users are bound to. The logo field contains an ID that can be used in the FILES endpoint to retrieve the actual logo. Updating logos can also be done through the FILES endpoint. Please refer to the FILES endpoint documentation for information on how to do this.
Retrieves a collection of customers and rudimentary information about them.
Retrieves a single customer.
Creates a new customer. Only available to API keys without user authentication.
Updates an existing customer. API keys without user authentication can update all customers. API keys that require user authentication can only update the current user's company.
Deletes a single customer. Only available to API keys without user authentication.
Json
XML
PUT https://api.bundeling.com/V1/customers

Parameters

Url

NameDescriptionType
idA unique integer used to identify a customerint

Body

NameDescriptionTypeNillable
nameThe name of the companystringfalse
sponsor_typeThe type of membership a customer has. Only available to API keys without user authentication.stringfalse
websiteThe company's website.stringfalse
emailThe company's email.stringfalse
addressThe address of the company.stringfalse
zipcodeThe zipcode of the company.stringfalse
townThe town in which the company is located.stringfalse
telephoneThe telephone number of the company.stringfalse
mobileThe mobile phone number of the company.stringfalse
additional_infoA large text field in which additional information about a company can be stored.stringfalse
additional_info_shortA small text field in which additional information about a company can be stored.stringfalse
advertisementA temporary 160 character advertisement can be places herestringfalse
meta_keywordsDescriptive terms for the companystringfalse
number_of_ticketsNumber of tickets the company has availableintfalse
notesAdditional notes for Club Managers.stringfalse
external_referenceReference for linking to external systems.stringfalse
labelsThe labels linked to the customer. This field is only available to API keys without user authentication.array(int)false

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "name": "ECOM Development",
    "sponsor_type": "Elite sponsor",
    "website": "www.ecom.nl",
    "email": "support@bundeling.com",
    "address": "Protonenlaan 2a",
    "zipcode": "5405 NE",
    "town": "Uden",
    "telephone": "0413331869",
    "mobile": "4888",
    "additional_info": "ECOM Development delivers on point solutions and...",
    "additional_info_short": "ECOM Development delivers on point solutions",
    "advertisement": "Check out our special offer at www.ecom.nl",
    "meta_keywords": "Development",
    "number_of_tickets": 3,
    "notes": "Lorem ipsum dolor sit amet, consectetur adipiscing elit...",
    "external_reference": "123908",
    "labels": [
        1,
        4,
        10
    ]
}

Example response

{
    "id": 14,
    "name": "ECOM Development",
    "sponsor_type": "Elite sponsor",
    "website": "www.ecom.nl",
    "email": "support@bundeling.com",
    "address": "Protonenlaan 2a",
    "zipcode": "5405 NE",
    "town": "Uden",
    "telephone": "0413331869",
    "mobile": "4888",
    "logo": "LCJwYeyJjbGllbnQiOjEwXRoIjoidXNlcnNcLzE1XC91...",
    "additional_info": "ECOM Development delivers on point solutions and...",
    "additional_info_short": "ECOM Development delivers on point solutions.",
    "advertisement": "Check out our special offer at www.ecom.nl",
    "meta_keywords": "Development",
    "number_of_tickets": 3,
    "notes": "Lorem ipsum dolor sit amet, consectetur adipiscing elit...",
    "external_reference": "123908",
    "labels": [
        1,
        4,
        10
    ]
}