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
POST https://api.bundeling.com/V1/customers

Parameters

Body

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

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
    ]
}