Golfmanager - V3 API
API Version 2025-03-23 (latest)

Integrate, retrieve data, and automate workflows with the Golfmanager V3 API.

Introduction

Authentication

Include an HTTP header named "key" with your API Key to authenticate requests.

Most endpoints also require specifying a tenant using the "tenant" header.

Example request:

curl -H "key: [API Key]" -H "tenant: [tenant]" "https://eu.golfmanager.com/api/model/customer"

Dates

All dates are expressed in the tenant's local time.

UTC timestamps will be automatically converted to the tenant's local time.

The API supports ISO and Unix timestamp formats.

Examples:

Format Example
Local2024-01-20T20:00
Local2024-01-20T20:00:00
UTC2024-01-20T18:00Z
UTC2024-01-20T18:00:00Z
Unix1705777200

Examples

Retrieve a customer by ID

curl -H "key: [API Key]" -H "tenant: [tenant]" "https://eu.golfmanager.com/api/model/customer/[id]"

Response:

{ "id": 1, "name": "Alicia García", ... }

Create a customer

curl -H "key: [API Key]" -H "tenant: [tenant]" -d "{"name":"Bill"}" "https://eu.golfmanager.com/api/model/customer"

Response:

{ "id": 2, "name": "John", ... }

Update a customer

curl -H "key: [API Key]" -H "tenant: [tenant]" -d '{"name":"Bill"}' "https://eu.golfmanager.com/api/model/customer/[id]"

Delete a customer

curl -H "key: [API Key]" -H "tenant: [tenant]" -X DELETE "https://eu.golfmanager.com/api/model/customer/[id]"

Retrieve multiple customers

curl -H "key: [API Key]" -H "tenant: [tenant]" "https://eu.golfmanager.com/api/model/customer"

Response:

{ "data": [ { "id": 1, "name": "Alicia García", ... }, { "id": 2, "name": "Bill Smith", ... }, ... ], "hasMore": true, "lastId": 23 }

Responses are paginated with a default page size of 20. If more results are available, the response will include "hasMore": true.

To retrieve the next page, use the "lastId" parameter:

curl -H "key: [API Key]" -H "tenant: [tenant]" "https://eu.golfmanager.com/api/model/customer?lastId=23"

To adjust the number of results per page, use the "limit" parameter (allowed range: 20 - 100).

By default the responses don't include null fields. If you want to include them add includeNulls=true

https://eu.golfmanager.com/api/model/customer?includeNulls=true

Field Selection

You can specify which fields to include in the response. Some fields, like "id", are always included.

https://eu.golfmanager.com/api/model/customer?fields=["name", "avatar"]

URL parameters are shown unencoded for clarity but must be encoded:

https://eu.golfmanager.com/api/model/customer?fields=%5B%22name%22%2C%20%22avatar%22%5D

Filtering

To filter results, use the format ["field", "operator", "value"]. Examples:

Filter by date

https://eu.golfmanager.com/api/model/customer?search=["created",">","05-07-2023"]

Filter by null values

["end","=",null]

Include deleted records

["deleted","in",[0,1]]

Nested filters

["OR", ["status","in",[3,4]], ["price","=",0]]

Filter records created or updated since a date

["OR", ["created",">","2023-07-01"], ["updated",">","2023-07-01"]]

Endpoints

Cancel a group of bookings Cancel a sale Create/update a sale Pay sales Save a group of bookings Search booking availability Tenant Tenants
Action file Addon Area Article Beneficiary Blocking Booking Booking rule Booking type Cash register movement Client files Coach Comment Company Contact Country Courses Customer Customer Group Customer group element Customer tag Customer tag Delivery note Delivery note invoice line Delivery note line Detailed charges Documentation Dynamic price Dynamic price tag Edited receipt Family Federal license Giveaway Request Help article Home menu Ingredient Invoice Invoice line Invoice payment Invoice series Invoice type Line Q19 Locker type Metrics data Multiple reserve Order Order Order line POS payment method Package Package booking type Participant Payment Payment method Period Point of sale Product Product division Product filter Product tag ProductToTag Profile Purchase option Receipt Receipt omitted Redsys transaction Region Registro de acceso Relationship Relationship Group Resource Resource type Sale Sale Share Share transfer Shopping cart Shopping cart Stock Stock movement Subfamily Subscription Subscription type Supplier Supplier invoice Ticket office Ticket office Transaction Transaction Transaction operates Unit User Voucher Voucher beneficiary Voucher type VoucherPrice Warehouse
Terms of Service


Cancel a group of bookings

Allows to save a group of bookings.

POST https://eu.golfmanager.com/api/bookings/cancel

Parameters

 {
    ids: "int[]",
    notify: "bool?",
    cancelGroup: "bool?"
}

Example request:

{
    "ids": [30, 31, 32],
    "notify": true,
    "cancelGroup": true
}


Cancel a sale

Allows to cancel a sale

POST https://eu.golfmanager.com/api/billing/cancel

Parameters

{
    ids: "int[]"
}

Example request:

{
   "ids": [11, 20, 35]
}

Response

Status 200


Create/update a sale

Allows to create a new sale or update an existing one

POST https://eu.golfmanager.com/api/billing/saveSale

status can be 0 for draft or 2 for pending, default is 2.

Example request:

{
    "description": "",
    "discountRate": 0,
    "price": 3,
    "product": 1100,
    "taxRate": 10,
    "taxes":  [
        {
            "name": "IVA 10%",
            "rate": 10,
            "tax": 2
        }
    ],
    "total": 3,
    "units": 1,
    "customer": null,
    "pos": null,
    "issueDate": null,
    "useDate": null,
    "timeout": null,
    "parent": null,
}

Response

{
    "allowPaymentPending": false,
    "bankAccount": null,
    "bankAccountLastDigits": null,
    "beneficiary": null,
    "beneficiaryName": null,
    "businessName": null,
    "cancelationOf": null,
    "canceled": 0,
    "code": "05.02",
    "comments": null,
    "company": 2,
    "companyName": "TEST COMPANY",
    "compensation": false,
    "createUser": 43,
    "createUserName": "admin",
    "created": "2025-02-21T09:07:41-05:00",
    "currency": null,
    "currencyName": null,
    "currencyRate": null,
    "customer": null,
    "customerName": null,
    "customerTaxNumber": null,
    "data": null,
    "deleted": false,
    "description": "TEST PRODUCT",
    "directDebit": false,
    "discountRate": 0,
    "discountReasons": null,
    "discountReasonsReason": null,
    "doNotInvoice": false,
    "dueDate": "2025-02-21T09:07:41-05:00",
    "dynamicPrice": null,
    "dynamicPriceName": null,
    "familyName": "Restaurant",
    "fkId": null,
    "fkModel": null,
    "id": 10958,
    "invoice": null,
    "invoiceDate": null,
    "invoiceNumber": null,
    "invoiced": 0,
    "isAgency": null,
    "issueDate": null,
    "link": null,
    "minutes": 0,
    "name": null,
    "onCredit": false,
    "online": false,
    "paidFor": null,
    "paidForName": null,
    "parent": null,
    "parentFkId": null,
    "parentFkModel": null,
    "pos": null,
    "posName": null,
    "price": 3,
    "product": 1100,
    "productImage": null,
    "productName": "TEST PRODUCT",
    "proforma": null,
    "proformaNumber": null,
    "promotion": null,
    "promotionName": null,
    "publicComments": null,
    "q19": null,
    "q19Description": null,
    "requiresInvoice": null,
    "restaurantGroup": null,
    "secondaryCurrency": 1,
    "secondaryCurrencyName": null,
    "secondaryCurrencyRate": 1,
    "sentToPrinter": false,
    "status": 2,
    "statusColor": "#8f3b00",
    "subfamily": 12,
    "subfamilyName": "TEST SUBFAMILY",
    "supply": false,
    "taxExempt": false,
    "taxRate": 10,
    "taxes": [
        {
            "id": 10646,
            "name": "IVA 10%",
            "rate": 10,
            "tax": 2
        }
    ],
    "ticketNote": null,
    "timeout": null,
    "total": 3,
    "totalBeforeTaxes": 2.727273,
    "units": 1,
    "updateUser": null,
    "updateUserName": null,
    "updated": null,
    "useDate": "2025-02-21T09:07:41-05:00",
    "voucherType": null
}


Pay sales

Allows to pay multiple sales specifying a payment method and optionally a customer

POST https://eu.golfmanager.com/api/billing/paySales

Parameters

{
    ids: int[]
    amount: float
    paymentMethod: int
    customer: int?
}

Example request:

{
    ids: [11],
    amount: 5,
    paymentMethod: 2,
}

Response

[
   {
      "amount":5,
      "created":"2025-03-14T13:25:04+01:00",
      "id":1364,
      "method":2,
      "virtual":false
   }
]


Save a group of bookings

Allows to save a group of bookings.

POST https://eu.golfmanager.com/api/bookings/saveGroup

Parameters

 {
    bookings: "any[]",
    group: "int?"
}

Example request:

{
    "bookings": [
        {
            "start": "2025-12-12T12:00",
            "type": 1
        },
        {
            "start": "2025-12-12T12:00",
            "type": 1
        }
    ]
}

Response

[
   {
      "area": 1,
      "areaName": "Padel",
      "typeName": "1 Hora",
      ...
   },
   {
      "area": 1,
      "areaName": "Padel",
      "typeName": "1 Hora",
      ...
   }
]


Search booking availability

Search available booking slots.

GET https://eu.golfmanager.com/api/bookings/searchAvailability

Parameters

{
    area: "int",
    start: "datetime",
    end: "datetime?",
    online: "bool?",
    customer: "int?",
    resourceType: "int?",
    resource: "int?",
    onlyTypes: "bool?",
    customerTags: "int[]?",
    bookingTypeTags: "int[]?",
    validTypes: "int[]?",
    enforceTags: "bool?",
    includePacks: "bool?",
    participants: "int?"
}

Example request:

{
    "area": 1,
    "start": "2025-02-10T10:00"
}

Response

[
   {
      "area": 1,
      "areaName": "Padel",
      "typeName": "1 Hora",
      ...
   },
   {
      "area": 1,
      "areaName": "Padel",
      "typeName": "1 Hora",
      ...
   }
]


Tenant

Returns information about a tenant

GET https://eu.golfmanager.com/api/tenant

Response

{
   "locale": {
      "culture": "es",
      "currencyName": "::Euro",
      "currencySymbol": "€",
      "dateMonthPattern": "ddd, dd MMMM",
      "dateMonthTimePattern": "ddd, dd MMMM HH:mm",
      "dateTimePattern": "dd-MM-yyyy HH:mm",
      "decimalSeparator": ",",
      "firstDayOfWeek": 1,
      "language": "es",
      "languageName": "Español",
      "leftSymbol": false,
      "location": "Europe/Madrid",
      "longDatePattern": "ddd, dd MMMM yyyy",
      "monthDayPattern": "dd-MM",
      "numberOfDecimals": 2,
      "shortDatePattern": "dd-MM-yyyy",
      "shortTimePattern": "HH:mm",
      "tenantLanguage": "es",
      "tenantLanguageName": "Español",
      "thousandSeparator": "."
   },
   "modules": [
      "system",
      "globalSearch",
      "customers",
      "billing",
      "consumer",
      "checkout",
      "bookings",
      "shop",
      "barcodes",
      "pos",
      "vouchers",
      "oauth2",
      "invoicing",
      "demopay"
   ],
   "settings": {
      "allowDeleteAccount": false,
      "allowRegistration": true,
      "discountColumn": true,
      "lat": 40.426942,
      "loginImageCentered": true,
      "long": -3.68916,
      "pricesTaxIncluded": true,
      "printTicketCreateUSer": true
   },
   "tenantLabel": "Demo"
}


Tenants

Returns all the tenants that the API Key has access to.

GET https://eu.golfmanager.com/api/tenants

Response

[
  {
    "name": "demo1"
  },
  {
    "name": "demo2"
  },
]

isResetToDraft

Action file

Module Shares

Retrieve by ID

GET https://eu.golfmanager.com/api/model/shareFile/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/shareFile

Create

POST https://eu.golfmanager.com/api/model/shareFile

Update

POST https://eu.golfmanager.com/api/model/shareFile/[id

Delete

DELETE https://eu.golfmanager.com/api/model/shareFile/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Addon

Module Subscriptions

Retrieve by ID

GET https://eu.golfmanager.com/api/model/subscriptionAddon/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/subscriptionAddon

Create

POST https://eu.golfmanager.com/api/model/subscriptionAddon

Update

POST https://eu.golfmanager.com/api/model/subscriptionAddon/[id

Delete

DELETE https://eu.golfmanager.com/api/model/subscriptionAddon/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
subscriptionCustomer int yes no
customer Customer string yes no
product Product int yes no
price Custom price currency no no
start Home date no no
end End date no no
comments Private observations text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Area

Module Bookings

Retrieve by ID

GET https://eu.golfmanager.com/api/model/bookingArea/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/bookingArea

Create

POST https://eu.golfmanager.com/api/model/bookingArea

Update

POST https://eu.golfmanager.com/api/model/bookingArea/[id

Delete

DELETE https://eu.golfmanager.com/api/model/bookingArea/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
code Code string no no
name Name string yes no
image Image image no no
startTime Start time time yes no
endTime End time time yes no
increment Increment duration yes no
timeout Prebooking timeout duration yes no
cardTag Card tag string no no
tags Customers tags manyToMany no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Article

Module Checkout online

Retrieve by ID

GET https://eu.golfmanager.com/api/model/shopItem/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/shopItem

Create

POST https://eu.golfmanager.com/api/model/shopItem

Update

POST https://eu.golfmanager.com/api/model/shopItem/[id

Delete

DELETE https://eu.golfmanager.com/api/model/shopItem/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Beneficiary

Module Subscriptions

Retrieve by ID

GET https://eu.golfmanager.com/api/model/subscriptionBeneficiary/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/subscriptionBeneficiary

Create

POST https://eu.golfmanager.com/api/model/subscriptionBeneficiary

Update

POST https://eu.golfmanager.com/api/model/subscriptionBeneficiary/[id

Delete

DELETE https://eu.golfmanager.com/api/model/subscriptionBeneficiary/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
subscriptionCustomer Subscription int yes no
customer Customer int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Blocking

Module Bookings

Retrieve by ID

GET https://eu.golfmanager.com/api/model/bookingBlocking/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/bookingBlocking

Create

POST https://eu.golfmanager.com/api/model/bookingBlocking

Update

POST https://eu.golfmanager.com/api/model/bookingBlocking/[id

Delete

DELETE https://eu.golfmanager.com/api/model/bookingBlocking/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
area Area int no no
resourceType Resource type int no no
resource Resource int no no
bgColor Color color no no
comments Observations text no no
allowCrossings Allow crossings bool yes no
tags Customer tags manyToMany no no
disabled Disabled bool yes no
timeout Expiration before start duration no no
allowAdmin Allow in demo mode bool yes no
slots Slots int no no
startDate Start date date no no
endDate End date date no no
daysOfWeek Days of the week daysOfWeek no no
startTime Start time time no no
endTime End time time no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Booking

Module Bookings

Retrieve by ID

GET https://eu.golfmanager.com/api/model/booking/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/booking

Create

POST https://eu.golfmanager.com/api/model/booking

Update

POST https://eu.golfmanager.com/api/model/booking/[id

Delete

DELETE https://eu.golfmanager.com/api/model/booking/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
reference Locator string yes yes
groupId Group int no yes
description Description string no no
name Name string no no
email Email email no no
customer Customer int no no
area Area int yes yes
resource Resource int yes no
type Booking type int no no
categoryName Category string yes no
start Start date datetime yes no
end End date datetime yes no
cancelation Cancellation date datetime no no
crossing Crossing bool yes yes
extra Extra bool yes yes
minCapacity Minimum places int no no
maxCapacity Máximo Plazas int no no
payPerPerson Price per person bool yes no
hasParticipants It has participants bool yes no
parent Main booking int no no
timeout Expiration date datetime no yes
product Product int no no
sale Sale int no yes
checkin Checkin bool yes no
checkout Checkout bool yes no
price Price currency yes no
status Status select yes yes
needInfo Requires information bool yes yes
online Created online bool yes yes
notify Notify bool yes no
remind Reminder bool yes no
noShow No show bool yes no
confirmationSent Confirmation sent bool yes yes
reminderSent Reminder envoy bool yes no
byDays Book by days bool yes no
beneficiary Beneficiary int no no
origin Origin int no no
tag Tag string no no
comments Observations text no no
onlineComments Online observations text no no
multipack Pack int no no
afterMailSent Subsequent email sent bool yes no
pin PIN string no no
automaticExtras Automatic extras json no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for status
Value Name
0 Draft
1 For free
2 Not paid
3 Paid
4 Cancelled

Booking rule

Module Bookings

Retrieve by ID

GET https://eu.golfmanager.com/api/model/bookingRule/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/bookingRule

Create

POST https://eu.golfmanager.com/api/model/bookingRule

Update

POST https://eu.golfmanager.com/api/model/bookingRule/[id

Delete

DELETE https://eu.golfmanager.com/api/model/bookingRule/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
priority Priority int yes no
typeTag Reserve -type label int no no
customerTag Customer tag int no no
customerMode Client mode select yes no
ignoreInAdmin Ignore in administration bool yes no
amount Amount int yes no
period Period select yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for customerMode
Value Name
0 All
1 Customer
Values for period
Value Name
0 Fringe
1 Hour
2 Day
3 Week
4 Month
5 Year
6 Active bookings

Booking type

Module Bookings

Retrieve by ID

GET https://eu.golfmanager.com/api/model/bookingType/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/bookingType

Create

POST https://eu.golfmanager.com/api/model/bookingType

Update

POST https://eu.golfmanager.com/api/model/bookingType/[id

Delete

DELETE https://eu.golfmanager.com/api/model/bookingType/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
product Product int no no
name Name string yes no
description Description text no no
longDescription Long description text no no
image Image image no no
area Area int yes no
duration Duration duration yes no
hasCrossings It has crossings bool yes no
multiple Multiples int no no
separable Separable bool yes no
isPack It's pack bool yes no
hasParticipants It has participants bool yes no
minCapacity Minimum places int no no
maxCapacity Máximo Plazas int no no
payPerPerson Price per person bool yes no
participantAsCustomer Participant as client bool yes no
isExtra It is extra bool yes no
identifyCustomer Identify the client bool yes no
identifyAsText Identify by name bool yes no
identifySearchByMemberCode Search by membership number bool yes no
identifySearchByName Search by name in the club's database bool yes no
customerRequired Require a client bool yes no
confirmationEmailCopy Confirmation copy bool yes no
startDate Start date date no no
endDate End date date no no
daysOfWeek Days of the week daysOfWeek no no
holidays Holidays select no no
startTime Start time time no no
endTime End time time no no
minLimit Minimum limit before start duration no no
maxLimit Limit to book in advance duration no no
minLimitFullDays Limit for full days bool yes no
maxLimitFullDays Advance limit for full days bool yes no
resourceType Resource type int no no
resource Resource int no no
customerTags Customer tags manyToMany no no
allowAsGuest Allow as guest bool yes no
online Available online bool yes no
allowPaymentPending Allow pending payment bool yes no
allowCancel Allow Cancel bool yes no
cancelLimit Limit to cancel duration no no
levelMin Minimum level int no no
levelMax Maximum level int no no
ageMin Minimum age int no no
ageMax Maximum age int no no
gender Gender select no no
minAmount Minimum quantity int no no
maxAmount Maximum quantity int no no
tags Booking type labels manyToMany no no
color Text Color color no no
bgColor Background color color no no
icon Icon string no no
crossings BookingCrossing[] yes no
category Category int no no
priority Priority int yes no
calendar Calendar int no no
confirmTemplate Confirmation email int no no
cancelTemplate Cancellation email int no no
remindTemplate Reminder email int no no
consumerTags Card tag manyToMany no no
apiTags API tags string no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for holidays
Value Name
0 Include holidays
1 Exclude holidays
Values for gender
Value Name
0 Mixed
1 Male
2 Female

Cash register movement

Module Cash register

Retrieve by ID

GET https://eu.golfmanager.com/api/model/posMovement/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/posMovement

Create

POST https://eu.golfmanager.com/api/model/posMovement

Update

POST https://eu.golfmanager.com/api/model/posMovement/[id

Delete

DELETE https://eu.golfmanager.com/api/model/posMovement/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
pos POS int yes yes
type Type select yes yes
realCashCount Real cash quantity currency no yes
expectedCashCount Cash quantity expected currency no yes
realCreditCardCount Real card quantity currency no yes
expectedCreditCardCount Card quantity expected currency no yes
amount Deposit/Withdrawal currency no yes
payment Payment int no yes
comments Observations text no no
typeColor color yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for type
Value Name
1 Opening
2 Close
3 Balance check
4 Entry
5 Withdrawal
6 Cash payment
7 Card payment
8 Propina

Client files

Module Customers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/customerFile/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/customerFile

Create

POST https://eu.golfmanager.com/api/model/customerFile

Update

POST https://eu.golfmanager.com/api/model/customerFile/[id

Delete

DELETE https://eu.golfmanager.com/api/model/customerFile/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Coach

Module School

Retrieve by ID

GET https://eu.golfmanager.com/api/model/teacher/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/teacher

Create

POST https://eu.golfmanager.com/api/model/teacher

Update

POST https://eu.golfmanager.com/api/model/teacher/[id

Delete

DELETE https://eu.golfmanager.com/api/model/teacher/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
avatar Image image no no
email Email email no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Comment

Module Tasks

Retrieve by ID

GET https://eu.golfmanager.com/api/model/taskComment/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/taskComment

Create

POST https://eu.golfmanager.com/api/model/taskComment

Update

POST https://eu.golfmanager.com/api/model/taskComment/[id

Delete

DELETE https://eu.golfmanager.com/api/model/taskComment/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
body Description markdown yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Company

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/company/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/company

Create

POST https://eu.golfmanager.com/api/model/company

Update

POST https://eu.golfmanager.com/api/model/company/[id

Delete

DELETE https://eu.golfmanager.com/api/model/company/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
footerText Invoice footer text text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Contact

Module CRM

Retrieve by ID

GET https://eu.golfmanager.com/api/model/crmContact/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/crmContact

Create

POST https://eu.golfmanager.com/api/model/crmContact

Update

POST https://eu.golfmanager.com/api/model/crmContact/[id

Delete

DELETE https://eu.golfmanager.com/api/model/crmContact/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Full name string yes no
avatar Image image no no
email Email email no no
email2 Another email email no no
phone Phone string no no
phone2 Another phone string no no
gender Gender select no no
street Street string no no
street2 Street 2 string no no
city City string no no
region Region int no no
zipCode Zip Code string no no
country Country int no no
birthdate Birthdate date no no
language Language select no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for gender
Value Name
0 Male
1 Female
Values for language
Value Name
es Spanish
en English

Country

Module System

Retrieve by ID

GET https://eu.golfmanager.com/api/model/country/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/country

Create

POST https://eu.golfmanager.com/api/model/country

Update

POST https://eu.golfmanager.com/api/model/country/[id

Delete

DELETE https://eu.golfmanager.com/api/model/country/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
isoCode ISO Code string no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Courses

Module School

Retrieve by ID

GET https://eu.golfmanager.com/api/model/courseType/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/courseType

Create

POST https://eu.golfmanager.com/api/model/courseType

Update

POST https://eu.golfmanager.com/api/model/courseType/[id

Delete

DELETE https://eu.golfmanager.com/api/model/courseType/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
endDate End Date date no no
duration Duration duration no no
maxParticipants Number of places int no no
image Image image no no
shortDescription Description markdown no no
longDescription Long description markdown no no
tags Course type labels manyToMany no no
extrasTag Extras label int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Customer

Module Customers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/customer/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/customer

Create

POST https://eu.golfmanager.com/api/model/customer

Update

POST https://eu.golfmanager.com/api/model/customer/[id

Delete

DELETE https://eu.golfmanager.com/api/model/customer/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Full name string yes no
firstName Name string yes no
lastName Surnames string no no
alias Alias string no no
description Description text no no
avatar Image image no no
isCompany It is a company bool yes no
email Email email no no
email2 Another email email no no
phone Phone string no no
phone2 Another phone string no no
taxNumber Tax number string no no
taxExempt Tax exempt bool yes no
memberCode Membership number string no no
centerCard Center card number string no no
businessName Business name string no no
gender Gender select no no
street Street string no no
street2 Street 2 string no no
city City string no no
region Region int no no
zipCode Zip Code string no no
country Country int no no
birthdate Birthdate date no no
company Company int no no
tags Tags manyToMany no no
language Language select no no
nationality Nationality int no no
disabled Blocked bool yes no
paymentCondition Payment conditions select no no
onCredit On credit bool yes no
account Accounting account string no no
onlineName Online name string no no
alert Alert string no no
pending Not paid currency no no
isAgency It's an agency bool no no
requiresInvoice Request invoice bool no no
invoiceTo Invoice to int no no
invoicesEmail Email for invoices email no no
autoCollect Automatically charge bool yes no
sendInvoices Send invoices by email bool yes no
invoiceComments Invoice observations text no no
paymentMethod Preferred payment method int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for gender
Value Name
0 Male
1 Female
Values for language
Value Name
Values for paymentCondition
Value Name
0 Early payment
1 15 days
2 30 days
3 60 days
4 90 days

Customer Group

Module Customer groups

Retrieve by ID

GET https://eu.golfmanager.com/api/model/customerGroup/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/customerGroup

Create

POST https://eu.golfmanager.com/api/model/customerGroup

Update

POST https://eu.golfmanager.com/api/model/customerGroup/[id

Delete

DELETE https://eu.golfmanager.com/api/model/customerGroup/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
area Area int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Customer group element

Module Customer groups

Retrieve by ID

GET https://eu.golfmanager.com/api/model/customerGroupItem/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/customerGroupItem

Create

POST https://eu.golfmanager.com/api/model/customerGroupItem

Update

POST https://eu.golfmanager.com/api/model/customerGroupItem/[id

Delete

DELETE https://eu.golfmanager.com/api/model/customerGroupItem/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
group Group int yes no
customer Customer int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Customer tag

Module Customers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/customerToTag/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/customerToTag

Create

POST https://eu.golfmanager.com/api/model/customerToTag

Update

POST https://eu.golfmanager.com/api/model/customerToTag/[id

Delete

DELETE https://eu.golfmanager.com/api/model/customerToTag/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer int yes no
tag Type int yes no
start Home datetime no no
end End datetime no no
fkModel fkModel no yes
fkId int no yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Customer tag

Module Customers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/customerTag/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/customerTag

Create

POST https://eu.golfmanager.com/api/model/customerTag

Update

POST https://eu.golfmanager.com/api/model/customerTag/[id

Delete

DELETE https://eu.golfmanager.com/api/model/customerTag/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
isDefault Default bool yes no
public Public bool yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Delivery note

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stockDelivery/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stockDelivery

Create

POST https://eu.golfmanager.com/api/model/stockDelivery

Update

POST https://eu.golfmanager.com/api/model/stockDelivery/[id

Delete

DELETE https://eu.golfmanager.com/api/model/stockDelivery/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Delivery note invoice line

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stockInvoiceLine/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stockInvoiceLine

Create

POST https://eu.golfmanager.com/api/model/stockInvoiceLine

Update

POST https://eu.golfmanager.com/api/model/stockInvoiceLine/[id

Delete

DELETE https://eu.golfmanager.com/api/model/stockInvoiceLine/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
stockInvoice delivery note invoice int yes yes
description Description string yes no
product Product int no no
price Price currency yes no
priceBeforeTaxes Price without taxes currency yes no
units Units float yes no
discountRate % Disc percent no no
taxRate % Taxes percent no no
taxAmount Tax Amount currency no yes
totalBeforeTaxes Net total currency no no
total Gross total currency no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Delivery note line

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stockDeliveryLine/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stockDeliveryLine

Create

POST https://eu.golfmanager.com/api/model/stockDeliveryLine

Update

POST https://eu.golfmanager.com/api/model/stockDeliveryLine/[id

Delete

DELETE https://eu.golfmanager.com/api/model/stockDeliveryLine/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
delivery Delivery note int yes yes
deliveryNumber delivery note number string yes yes
stockInvoice Invoice int no no
stockInvoiceNumber Invoice Number string yes yes
orderLine Order line int yes yes
orderNumber Order number string yes no
product Product int yes yes
pending Pending float yes yes
received Received float yes no
sku SKU string yes yes
supplierName Supplier string yes yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Detailed charges

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/salePayment/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/salePayment

Fields

Name Label Type Required Readonly
id ID int no yes
sale Sale int yes no
parent int no no
payment Payment int yes no
units Units float yes no
amount Amount currency yes no
refunded Cancelled bool yes yes
virtual Virtual bool yes yes
paymentMethodName Payment method string yes no
customer Customer int yes no
customerName Customer string yes no
useDate Production date date yes no
productName Product string yes no
familyName Family string yes no
subfamilyName Subfamily string yes no
invoice Invoice int no yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Documentation

Module Documentation

Retrieve by ID

GET https://eu.golfmanager.com/api/model/kbaseArticle/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/kbaseArticle

Create

POST https://eu.golfmanager.com/api/model/kbaseArticle

Update

POST https://eu.golfmanager.com/api/model/kbaseArticle/[id

Delete

DELETE https://eu.golfmanager.com/api/model/kbaseArticle/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
tags Tags manyToMany no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Dynamic price

Module Dynamic prices

Retrieve by ID

GET https://eu.golfmanager.com/api/model/dynamicPrice/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/dynamicPrice

Create

POST https://eu.golfmanager.com/api/model/dynamicPrice

Update

POST https://eu.golfmanager.com/api/model/dynamicPrice/[id

Delete

DELETE https://eu.golfmanager.com/api/model/dynamicPrice/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
product Product int no no
productTag Product tag int no no
customerTags Customer tags manyToMany no no
customer Customer int no no
ageMin Minimum age int no no
ageMax Maximum age int no no
ageOffsetDays Age range int no no
startDate Start date date no no
endDate End date date no no
daysOfWeek Days of the week daysOfWeek no no
holidays Holidays select no no
calendar Calendar int no no
startTime Start time time no no
endTime End time time no no
minLimit Minimum limit before start duration no no
maxLimit Limit in advance duration no no
directDebit Direct debit bool yes no
priority Priority int yes no
channel Channel select yes no
family Family int no no
subfamily Subfamily int no no
minSaleCount Minimum sales number int no no
maxSaleCount Maximum sales number int no no
evalSalesByHour Evaluate per hour bool yes no
value Value float yes no
type Value type select yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for holidays
Value Name
0 Include holidays
1 Exclude holidays
Values for channel
Value Name
0 Apply always
1 Apply only Online
2 Apply only in the back office
Values for type
Value Name
0 Fixed price
1 Amount to be discounted from the price
2 Percentage to be discounted from the price
3 Percentage to discount from the price. Round out

Dynamic price tag

Module Dynamic prices

Retrieve by ID

GET https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag

Create

POST https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag

Update

POST https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag/[id

Delete

DELETE https://eu.golfmanager.com/api/model/dynamicPriceToCustomerTag/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
price int yes no
tag int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Edited receipt

Module Subscriptions

Retrieve by ID

GET https://eu.golfmanager.com/api/model/editedSale/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/editedSale

Create

POST https://eu.golfmanager.com/api/model/editedSale

Update

POST https://eu.golfmanager.com/api/model/editedSale/[id

Delete

DELETE https://eu.golfmanager.com/api/model/editedSale/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
subscriptionCustomer Subscription int yes no
issueDate Date date yes no
amount Amount currency yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Family

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/family/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/family

Create

POST https://eu.golfmanager.com/api/model/family

Update

POST https://eu.golfmanager.com/api/model/family/[id

Delete

DELETE https://eu.golfmanager.com/api/model/family/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
code Code string no no
useStock Manage stock bool yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Federal license

Module Federal licenses

Retrieve by ID

GET https://eu.golfmanager.com/api/model/federativeLicense/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/federativeLicense

Create

POST https://eu.golfmanager.com/api/model/federativeLicense

Update

POST https://eu.golfmanager.com/api/model/federativeLicense/[id

Delete

DELETE https://eu.golfmanager.com/api/model/federativeLicense/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int no no
license License string yes no
handicap Handicap float no no
points Points int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Giveaway Request

Module Draw

Retrieve by ID

GET https://eu.golfmanager.com/api/model/bookingDrawItem/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/bookingDrawItem

Create

POST https://eu.golfmanager.com/api/model/bookingDrawItem

Update

POST https://eu.golfmanager.com/api/model/bookingDrawItem/[id

Delete

DELETE https://eu.golfmanager.com/api/model/bookingDrawItem/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
blocking Blocking int yes no
customer Customer int yes no
option Option int yes no
groupId Group int yes no
position Position int yes no
rejections Rejections int yes no
rejectionsAverage Group average float yes no
options Options int yes no
status Status select yes no
resource Resource int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for status
Value Name
0 Pending
1 Accepted
2 Refused
3 Accepted in another option

Help article

Module Help (Server)

Retrieve by ID

GET https://eu.golfmanager.com/api/model/helpArticle/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/helpArticle

Create

POST https://eu.golfmanager.com/api/model/helpArticle

Update

POST https://eu.golfmanager.com/api/model/helpArticle/[id

Delete

DELETE https://eu.golfmanager.com/api/model/helpArticle/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
tags Tags manyToMany no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Home menu

Module Consumer zone

Retrieve by ID

GET https://eu.golfmanager.com/api/model/consumerHomeItem/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/consumerHomeItem

Create

POST https://eu.golfmanager.com/api/model/consumerHomeItem

Update

POST https://eu.golfmanager.com/api/model/consumerHomeItem/[id

Delete

DELETE https://eu.golfmanager.com/api/model/consumerHomeItem/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
tags Customers tags manyToMany no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Ingredient

Module Ingredients

Retrieve by ID

GET https://eu.golfmanager.com/api/model/ingredient/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/ingredient

Create

POST https://eu.golfmanager.com/api/model/ingredient

Update

POST https://eu.golfmanager.com/api/model/ingredient/[id

Delete

DELETE https://eu.golfmanager.com/api/model/ingredient/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
parent Father product int yes no
product Ingredient int yes no
quantity Amount float yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Invoice

Module Invoicing

Retrieve by ID

GET https://eu.golfmanager.com/api/model/invoice/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/invoice

Create

POST https://eu.golfmanager.com/api/model/invoice

Update

POST https://eu.golfmanager.com/api/model/invoice/[id

Delete

DELETE https://eu.golfmanager.com/api/model/invoice/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
type Type int yes no
customer Customer int no no
paidFor Paid to int no no
name Name or Social reason string no no
taxNumber Tax number string no no
address Address text no no
street Street string no no
street2 Street 2 string no no
zipCode Zip Code string no no
city City string no no
regionName Region string no no
country Country int no no
countryIsoCode Country string no no
countryName Country string no no
company Company int no no
companyName Company name string no no
companyTaxNumber NIF company string no no
companyAddress Company address text no no
companyStreet Company street string no no
companyStreet2 Company street 2 string no no
companyZipCode Company Zip Code string no no
companyCity Company city string no no
companyRegionName Company region string no no
companyCountry Country int no no
companyCountryIsoCode Company Country Code string no no
companyCountryName Company country string no no
companyPhone Company telephone string no no
guid string yes yes
number Invoice number string no yes
sequenceNumber Number int no no
counter Serie int no no
totalBeforeTaxes Total before taxes currency yes yes
total Total currency yes yes
pending Pending currency yes yes
discounts Discounts currency yes yes
companyInfo Company information text no no
date Date date no no
dueDate Due date date no yes
lines Lines InvoiceLine[] yes no
taxExempt Tax exempt bool yes no
taxes InvoiceTax[] no no
publicComments Public comments text no no
footerText Invoice footer text text no no
comments Observations text no no
isCreditNote It is cancellation bool yes yes
isInternal It is internal bool yes yes
isReceipt It is receipt bool yes yes
isProforma It is proforma bool yes yes
isSummary It is global bool yes yes
isReplace Exchange invoice bool yes no
manual Created manually bool yes yes
online Created online bool yes yes
printed Printed bool yes yes
purchaseOrder Order number string no no
status Status select yes yes
paymentCondition Payment conditions select no yes
paymentStatus Payment status select no yes
sendStatus Shipping status select no yes
paymentMethods Payment methods string no yes
initialized bool yes yes
convertedTo Converted to int no yes
summaryInvoice Global int no yes
source Original int no yes
convertedFrom int no yes
originalNumber Original number string no yes
skipValidations Ignore validations bool yes no
convertibleInto int no no
pricesTaxIncluded bool yes no
discountColumn bool yes no
convertibleIntoName string no no
relations Invoice[] no no
document blob no yes
paymentMethod int yes no
logo string yes no
copyNumber string yes no
payments InvoicePayment[] yes no
discountTotal float yes no
customerStreet1 string yes no
customerStreet2 string yes no
customerCity string yes no
customerRegion string yes no
customerZipcode string yes no
customerCountry string yes no
companyEmail string yes no
companyWeb string yes no
companyCost string yes no
currency string yes no
copyLabels any[] yes no
numberOfCopies int yes no
invoiceFooterText string yes no
taxTotal float yes no
skipRecalculate bool yes no
customerMemberCode string yes no
data any yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for status
Value Name
0 Draft
1 Confirmed
2 Cancelled
Values for paymentCondition
Value Name
0 Early payment
1 15 days
2 30 days
3 60 days
4 90 days
Values for paymentStatus
Value Name
0 Not paid
1 Partially paid
2 Paid
Values for sendStatus
Value Name
1 Pending Shipping
2 Sent
3 Shipping error

Invoice line

Module Invoicing

Retrieve by ID

GET https://eu.golfmanager.com/api/model/invoiceLine/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/invoiceLine

Create

POST https://eu.golfmanager.com/api/model/invoiceLine

Update

POST https://eu.golfmanager.com/api/model/invoiceLine/[id

Delete

DELETE https://eu.golfmanager.com/api/model/invoiceLine/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
invoice Invoice int yes yes
invoiceStatus Invoice int yes no
description Description string yes no
product Product int no no
price Price currency yes no
priceBeforeTaxes Price without taxes currency yes no
units Units float yes no
minutes Minutes int yes no
taxes Taxes InvoiceLineTax[] yes no
tax Taxes string no no
discountRate % Discount percent yes no
taxRate Taxes percent yes no
taxAmount Tax Amount currency yes yes
totalBeforeTaxes Total before taxes currency yes no
total Total currency yes no
canceled Cancelled bool yes yes
credited Subscriber currency yes no
allowPaymentPending Allow pending payment bool yes no
parentLine int no no
uuid any yes no
parentUuid any yes no
parent InvoiceLine no no
useDate Production date datetime no no
timeout Expiration datetime no yes
supply Supply bool yes no
hasChildren bool yes no
source Original line int no no
sourceInvoice Original invoice string yes no
sale Sale int no no
fkModel fkModel no yes
fkId int no no
parentFkModel fkModel no yes
parentFkId int no yes
options any[] yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Invoice payment

Module Invoicing

Retrieve by ID

GET https://eu.golfmanager.com/api/model/invoicePayment/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/invoicePayment

Fields

Name Label Type Required Readonly
id ID int no yes
receipt Invoice int no no
invoice Invoice int yes no
paymentMethod Payment method int yes no
payment Payment int no no
amount Amount currency yes no
comments Observations text no no
isFTR Of invoice receipt bool yes no
salePayment int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Invoice series

Module Invoicing

Retrieve by ID

GET https://eu.golfmanager.com/api/model/invoiceCounter/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/invoiceCounter

Create

POST https://eu.golfmanager.com/api/model/invoiceCounter

Update

POST https://eu.golfmanager.com/api/model/invoiceCounter/[id

Delete

DELETE https://eu.golfmanager.com/api/model/invoiceCounter/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
company Company int no no
type Type int yes no
format Format string no no
zeros Number of ceros to the left int yes no
prefix Prefix bool yes no
initialValue Initial value int no no
lastValue Last value int yes no
lastDate Last date date no no
reset Reset select no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for reset
Value Name
1 Year

Invoice type

Module Invoicing

Retrieve by ID

GET https://eu.golfmanager.com/api/model/invoiceType/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/invoiceType

Create

POST https://eu.golfmanager.com/api/model/invoiceType

Update

POST https://eu.golfmanager.com/api/model/invoiceType/[id

Delete

DELETE https://eu.golfmanager.com/api/model/invoiceType/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
code Code string no no
name Name string yes no
reverseType Cancellation by int no no
convertibleInto Convertible into int no no
isReceipt Invoice receipt bool yes no
isCreditNote Rectifying invoice bool yes no
isProforma Proforma invoice bool yes no
isInternal Internal document bool yes no
isSummary Global invoice bool yes no
isReplace Exchange invoice bool yes no
preventNegative Prevent negative total bool yes no
skipValidations Ignore validations bool yes no
maxAmount Maximum limit currency no no
customerRequired Require a client bool yes no
taxNumberRequired Require Tax Number ID bool yes no
addressRequired Require an address bool yes no
allowReceipts Allows receipts bool yes no
template Invoice template A4 int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Line Q19

Module SEPA

Retrieve by ID

GET https://eu.golfmanager.com/api/model/q19Line/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/q19Line

Fields

Name Label Type Required Readonly
id ID int no yes
bounceStatus Refund select yes yes
bounceReason Reason for return select no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for bounceStatus
Value Name
0 Not returned
2 Returned
3 Returned and excluded
Values for bounceReason
Value Name
1 Incorrect account format
2 Closed account
3 Account blocked
4 Invalid or unauthorized debit customer account
5 Prohibited transaction
6 Invalid bank transaction code
7 Insufficient funds
8 Duplicate
9 Identified party/Creditor inconsistent with payment amount
10 Creditor sends refund of credit transfer/on return
11 Requested by customer
12 Debtor sends refund request
13 Duplicate payment
14 Invalid file format
15 Following request cancellation
16 There is no direct debit order
17 Required data is missing or incorrect
18 Non-existent mandate
19 deceased debtor
20 Reason not specified by client
21 Reason not specified by agent
22 Incorrect entity identifier
23 Non-existent operation reference
24 Specific service offered by the debtor bank
25 Unacceptable payment

Locker type

Module Lockers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/lockerType/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/lockerType

Create

POST https://eu.golfmanager.com/api/model/lockerType

Update

POST https://eu.golfmanager.com/api/model/lockerType/[id

Delete

DELETE https://eu.golfmanager.com/api/model/lockerType/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
subscription Subscription int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Metrics data

Module Tenant Summary

Retrieve by ID

GET https://eu.golfmanager.com/api/model/metricData/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/metricData

Create

POST https://eu.golfmanager.com/api/model/metricData

Update

POST https://eu.golfmanager.com/api/model/metricData/[id

Delete

DELETE https://eu.golfmanager.com/api/model/metricData/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
metric metrics string yes no
tenant TENANT string yes no
result Result string yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Multiple reserve

Module School

Retrieve by ID

GET https://eu.golfmanager.com/api/model/course/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/course

Create

POST https://eu.golfmanager.com/api/model/course

Update

POST https://eu.golfmanager.com/api/model/course/[id

Delete

DELETE https://eu.golfmanager.com/api/model/course/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
type Type int yes no
maxParticipants Number of places int no no
start Start date date yes no
end End date date yes no
startTime Start time time no no
endTime End time time no no
daysOfWeek Days of the week daysOfWeek no no
price float yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Order

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stockOrder/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stockOrder

Create

POST https://eu.golfmanager.com/api/model/stockOrder

Update

POST https://eu.golfmanager.com/api/model/stockOrder/[id

Delete

DELETE https://eu.golfmanager.com/api/model/stockOrder/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
supplier Supplier int no no
date Order date date no no
estimatedDeliveryDate Estimated date of reception date no no
deliveryDate Deadline date no no
globalDiscount Global discount float yes no
comments Observations text no no
lines Lines StockOrderLine[] yes no
status Status select yes no
amount Amount float yes yes
received Received float yes yes
total Total float yes yes
globalDiscountAmount Global discount amount float yes yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for status
Value Name
0 Open
1 Sent
2 Partially received
3 Received

Order

Module Ecommerce - Online store

Retrieve by ID

GET https://eu.golfmanager.com/api/model/ecommerceOrder/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/ecommerceOrder

Create

POST https://eu.golfmanager.com/api/model/ecommerceOrder

Update

POST https://eu.golfmanager.com/api/model/ecommerceOrder/[id

Delete

DELETE https://eu.golfmanager.com/api/model/ecommerceOrder/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int no no
shippingAddress Address int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Order line

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stockOrderLine/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stockOrderLine

Create

POST https://eu.golfmanager.com/api/model/stockOrderLine

Update

POST https://eu.golfmanager.com/api/model/stockOrderLine/[id

Delete

DELETE https://eu.golfmanager.com/api/model/stockOrderLine/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
stockOrder Order int yes no
product Product int yes no
grossUnitCost Purchase unit cost currency yes no
total Total float yes yes
amount Amount float yes no
discount Line discount float yes no
received Received float yes yes
pending Pending float yes yes
difference Difference float yes yes
globalDiscountAmount Global Discount Quantity float yes yes
globalDiscount Global Discount float yes yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

POS payment method

Module POS

Retrieve by ID

GET https://eu.golfmanager.com/api/model/posPaymentMethod/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/posPaymentMethod

Create

POST https://eu.golfmanager.com/api/model/posPaymentMethod

Update

POST https://eu.golfmanager.com/api/model/posPaymentMethod/[id

Delete

DELETE https://eu.golfmanager.com/api/model/posPaymentMethod/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
pos POS int yes no
paymentMethod int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Package

Module Multipack

Retrieve by ID

GET https://eu.golfmanager.com/api/model/multipack/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/multipack

Create

POST https://eu.golfmanager.com/api/model/multipack

Update

POST https://eu.golfmanager.com/api/model/multipack/[id

Delete

DELETE https://eu.golfmanager.com/api/model/multipack/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
start Start date date no no
end End date date no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Package booking type

Module Multipack

Retrieve by ID

GET https://eu.golfmanager.com/api/model/multipackItem/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/multipackItem

Create

POST https://eu.golfmanager.com/api/model/multipackItem

Update

POST https://eu.golfmanager.com/api/model/multipackItem/[id

Delete

DELETE https://eu.golfmanager.com/api/model/multipackItem/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
pack Pack int no no
type Booking type int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Participant

Module Bookings

Retrieve by ID

GET https://eu.golfmanager.com/api/model/bookingParticipant/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/bookingParticipant

Create

POST https://eu.golfmanager.com/api/model/bookingParticipant

Update

POST https://eu.golfmanager.com/api/model/bookingParticipant/[id

Delete

DELETE https://eu.golfmanager.com/api/model/bookingParticipant/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string no no
email Email email no no
onlineComments Online observations text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Payment

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/payment/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/payment

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int no yes
method Payment method int yes no
amount Amount currency yes yes
refunded Returned bool yes yes
compensation Compensation bool yes yes
online Online bool yes yes
virtual Virtual bool yes yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Payment method

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/paymentMethod/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/paymentMethod

Create

POST https://eu.golfmanager.com/api/model/paymentMethod

Update

POST https://eu.golfmanager.com/api/model/paymentMethod/[id

Delete

DELETE https://eu.golfmanager.com/api/model/paymentMethod/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
consumerName Consumer name string no no
color Color color no no
type Type select yes no
maxAmount Maximum amount allowed float no no
priority Priority int yes no
consumer Available online bool yes no
pos POS bool yes no
unattended Automatizable bool yes no
refund Refund at POS bool yes no
refundProvider Refund supplier bool yes no
productTag Product Tag int no no
virtual Virtual bool yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for type
Value Name
0 Personalized
1 Money
2 Card
3 Transfer
4 Direct debit
5 Gateway
6 Deposit
7 Voucher
8 Opera
100 Stripe

Period

Module School plans

Retrieve by ID

GET https://eu.golfmanager.com/api/model/schoolPlanningExercise/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/schoolPlanningExercise

Create

POST https://eu.golfmanager.com/api/model/schoolPlanningExercise

Update

POST https://eu.golfmanager.com/api/model/schoolPlanningExercise/[id

Delete

DELETE https://eu.golfmanager.com/api/model/schoolPlanningExercise/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
tags Tags manyToMany no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Point of sale

Module POS

Retrieve by ID

GET https://eu.golfmanager.com/api/model/pos/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/pos

Create

POST https://eu.golfmanager.com/api/model/pos

Update

POST https://eu.golfmanager.com/api/model/pos/[id

Delete

DELETE https://eu.golfmanager.com/api/model/pos/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
account Accounting account string no no
tipAmounts Propinas por defecto string no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Product

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/product/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/product

Create

POST https://eu.golfmanager.com/api/model/product

Update

POST https://eu.golfmanager.com/api/model/product/[id

Delete

DELETE https://eu.golfmanager.com/api/model/product/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
image Image image no no
price Price currency yes no
taxes Taxes manyToMany no no
tags Tags manyToMany no no
perHour By hours bool yes no
subfamily Subfamily int no no
roundingError bool yes no
priority Priority int no no
sid string yes no
account Accounting account string no no
divisible Divisible bool yes no
shipping Shipping costs bool yes no
hasIngredients Has ingredients bool yes no
sku SKU code string no no
supplier Supplier int no no
supplierBarcode Supplier barcode string no no
useStock Manage stock bool yes no
costPrice Last purchase price currency no yes
inDeposit In deposit bool yes no
buyTax Purchase tax int no no
ballsQuantity Balls amount int no no
barcode Barcode string no no
baseProduct Basic product int no no
basePercent Base percentage percent no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Product division

Module Product division

Retrieve by ID

GET https://eu.golfmanager.com/api/model/productSplit/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/productSplit

Create

POST https://eu.golfmanager.com/api/model/productSplit

Update

POST https://eu.golfmanager.com/api/model/productSplit/[id

Delete

DELETE https://eu.golfmanager.com/api/model/productSplit/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
parentProduct Main product int yes no
product Product int yes no
percent Price percentage float yes no
amount Amount float yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Product filter

Module Vouchers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/voucherProduct/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/voucherProduct

Create

POST https://eu.golfmanager.com/api/model/voucherProduct

Update

POST https://eu.golfmanager.com/api/model/voucherProduct/[id

Delete

DELETE https://eu.golfmanager.com/api/model/voucherProduct/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
type Type int yes no
product Product int yes no
ratio Ratio float no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Product tag

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/productTag/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/productTag

Create

POST https://eu.golfmanager.com/api/model/productTag

Update

POST https://eu.golfmanager.com/api/model/productTag/[id

Delete

DELETE https://eu.golfmanager.com/api/model/productTag/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

ProductToTag

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/productToTag/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/productToTag

Create

POST https://eu.golfmanager.com/api/model/productToTag

Update

POST https://eu.golfmanager.com/api/model/productToTag/[id

Delete

DELETE https://eu.golfmanager.com/api/model/productToTag/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
product int yes no
productTag int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Profile

Module System

Retrieve by ID

GET https://eu.golfmanager.com/api/model/profile/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/profile

Create

POST https://eu.golfmanager.com/api/model/profile

Update

POST https://eu.golfmanager.com/api/model/profile/[id

Delete

DELETE https://eu.golfmanager.com/api/model/profile/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
azureId Azure ID string no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Purchase option

Module Ingredients

Retrieve by ID

GET https://eu.golfmanager.com/api/model/purchaseFormat/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/purchaseFormat

Create

POST https://eu.golfmanager.com/api/model/purchaseFormat

Update

POST https://eu.golfmanager.com/api/model/purchaseFormat/[id

Delete

DELETE https://eu.golfmanager.com/api/model/purchaseFormat/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
product Product int yes no
name Name string yes no
quantity Amount float yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Receipt

Module Invoicing

Retrieve by ID

GET https://eu.golfmanager.com/api/model/invoiceReceipt/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/invoiceReceipt

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int no no
number Receipt number string yes no
sequenceNumber Number int yes no
amount Amount currency yes no
comments Observations text no no
payments InvoicePayment[] yes no
isFTR Of invoice receipt bool yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Receipt omitted

Module Subscriptions

Retrieve by ID

GET https://eu.golfmanager.com/api/model/ommitedSale/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/ommitedSale

Create

POST https://eu.golfmanager.com/api/model/ommitedSale

Update

POST https://eu.golfmanager.com/api/model/ommitedSale/[id

Delete

DELETE https://eu.golfmanager.com/api/model/ommitedSale/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
subscriptionCustomer Subscription int yes no
issueDate Date date yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Redsys transaction

Module Redsys

Retrieve by ID

GET https://eu.golfmanager.com/api/model/redsysTransaction/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/redsysTransaction

Fields

Name Label Type Required Readonly
id ID int no yes
code string no no
draft Draft bool yes no
orderId string no no
customer Customer int no no
card Card int no no
amount Total currency yes no
saveCard Tokenize card bool yes no
authorization Authorization type int yes no
refund Refund bool yes no
request text no no
data json no no
result text no no
resultData mediumtext no no
success Success bool yes no
error text no no
refunded Returned currency yes no
fkModel fkModel yes no
fkId int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Region

Module System

Retrieve by ID

GET https://eu.golfmanager.com/api/model/region/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/region

Create

POST https://eu.golfmanager.com/api/model/region

Update

POST https://eu.golfmanager.com/api/model/region/[id

Delete

DELETE https://eu.golfmanager.com/api/model/region/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name string yes no
country Country int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Registro de acceso

Module Club de Campo

Retrieve by ID

GET https://eu.golfmanager.com/api/model/accessControlLog/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/accessControlLog

Create

POST https://eu.golfmanager.com/api/model/accessControlLog

Update

POST https://eu.golfmanager.com/api/model/accessControlLog/[id

Delete

DELETE https://eu.golfmanager.com/api/model/accessControlLog/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int yes yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Relationship

Module Relations

Retrieve by ID

GET https://eu.golfmanager.com/api/model/relationship/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/relationship

Create

POST https://eu.golfmanager.com/api/model/relationship

Update

POST https://eu.golfmanager.com/api/model/relationship/[id

Delete

DELETE https://eu.golfmanager.com/api/model/relationship/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int yes no
customer2 Relationship int yes no
status Status select yes no
allowLogin Allow login for me bool yes no
allowPayVoucher Allow my bonuses bool yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for status
Value Name
1 Sent
2 Accepted
3 declined
4 Blocked up

Relationship Group

Module Relations

Retrieve by ID

GET https://eu.golfmanager.com/api/model/relationshipGroup/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/relationshipGroup

Create

POST https://eu.golfmanager.com/api/model/relationshipGroup

Update

POST https://eu.golfmanager.com/api/model/relationshipGroup/[id

Delete

DELETE https://eu.golfmanager.com/api/model/relationshipGroup/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int yes no
customer1 Client 1 int no no
customer2 Client 2 int no no
customer3 Client 3 int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Resource

Module Bookings

Retrieve by ID

GET https://eu.golfmanager.com/api/model/bookingResource/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/bookingResource

Create

POST https://eu.golfmanager.com/api/model/bookingResource

Update

POST https://eu.golfmanager.com/api/model/bookingResource/[id

Delete

DELETE https://eu.golfmanager.com/api/model/bookingResource/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
area Area int yes no
name Name string yes no
type Type int no no
slots Slots int no no
preventMixed Prevent loose slots bool yes no
priority Priority int no no
multiple bool yes no
icon string yes no
online Available online bool yes no
periods BookingPeriod[] no no
color Background color color no no
minCapacity Minimum capacity int no no
maxCapacity Maximum capacity int no no
teacher Coach int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Resource type

Module Bookings

Retrieve by ID

GET https://eu.golfmanager.com/api/model/bookingResourceType/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/bookingResourceType

Create

POST https://eu.golfmanager.com/api/model/bookingResourceType

Update

POST https://eu.golfmanager.com/api/model/bookingResourceType/[id

Delete

DELETE https://eu.golfmanager.com/api/model/bookingResourceType/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
area Area int yes no
name Name string yes no
icon Icon string no no
isExtra It is extra bool yes no
assignRandom Randomly assign bool yes no
multiple Multiple bool yes no
priority Priority int no no
online Available online bool yes no
image Image image no no
color Background color color no no
showCheckoutButton Show checkout button bool yes no
checkoutChangesEndDate Checkout changes the end date bool yes no
shortDescription Description markdown no no
consumerTags Card tag manyToMany no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Sale

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/sale/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/sale

Create

POST https://eu.golfmanager.com/api/model/sale

Update

POST https://eu.golfmanager.com/api/model/sale/[id

Delete

DELETE https://eu.golfmanager.com/api/model/sale/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int no no
customerTaxNumber ID string no no
beneficiary Beneficiary int no no
paidFor Paid to int no yes
taxExempt Tax exempt bool yes yes
description Description string yes no
product Product int yes no
price Unit price currency yes no
units Units float yes no
discountRate % Discount percent yes no
taxes Taxes SaleTax[] no no
total Total currency yes no
totalBeforeTaxes Total before taxes currency yes no
allowPaymentPending Allow pending payment bool yes no
status Status select yes yes
cancelationOf Cancellation of int no yes
parent Line on which it depends int no yes
link Linked to int no yes
dueDate Due date date yes no
useDate Production date datetime yes no
timeout Expiration datetime no no
online Online bool yes yes
company Company int no no
comments Observations text no no
publicComments Public comments text no no
invoice Invoice int no yes
proforma Proforma int no yes
invoiced Billed bool yes yes
invoiceDate Invoice date date no yes
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for status
Value Name
0 Draft
1 For free
2 Not paid
3 Paid
4 Cancelled
5 Cancellation

Sale

Module POS

Retrieve by ID

GET https://eu.golfmanager.com/api/model/posCartSale/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/posCartSale

Fields

Name Label Type Required Readonly
id ID int no yes
cart int yes no
sale int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Share

Module Shares

Retrieve by ID

GET https://eu.golfmanager.com/api/model/share/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/share

Create

POST https://eu.golfmanager.com/api/model/share

Update

POST https://eu.golfmanager.com/api/model/share/[id

Delete

DELETE https://eu.golfmanager.com/api/model/share/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int yes no
number Number string yes no
title Title string yes no
serie Serie string yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Share transfer

Module Shares

Retrieve by ID

GET https://eu.golfmanager.com/api/model/shareTransfer/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/shareTransfer

Create

POST https://eu.golfmanager.com/api/model/shareTransfer

Update

POST https://eu.golfmanager.com/api/model/shareTransfer/[id

Delete

DELETE https://eu.golfmanager.com/api/model/shareTransfer/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
share Share int yes no
seller Seller int yes no
buyer Buyer int yes no
price Price currency yes no
date Date date yes no
comments Observations text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Shopping cart

Module POS

Retrieve by ID

GET https://eu.golfmanager.com/api/model/posCart/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/posCart

Create

POST https://eu.golfmanager.com/api/model/posCart

Update

POST https://eu.golfmanager.com/api/model/posCart/[id

Delete

DELETE https://eu.golfmanager.com/api/model/posCart/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int no no
items Sale[] yes no
taxes PosCartTax[] yes no
totalBeforeTaxes Total before taxes currency yes no
total Total currency yes no
payments Payment[] yes no
virtualPayments Payment[] yes no
parked Parked datetime no no
change currency yes no
lineCount Lines int yes no
ticketNotes string[] yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Shopping cart

Module Checkout online

Retrieve by ID

GET https://eu.golfmanager.com/api/model/shopCart/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/shopCart

Fields

Name Label Type Required Readonly
id ID int no yes
shippingAddress Address int no no
shippingCost Shipping costs int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Stock

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stock/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stock

Create

POST https://eu.golfmanager.com/api/model/stock

Update

POST https://eu.golfmanager.com/api/model/stock/[id

Delete

DELETE https://eu.golfmanager.com/api/model/stock/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
warehouse Warehouse int yes yes
product Product int yes yes
amount Amount float yes yes
averageUnitCost Average cost float yes yes
desired Wished float no no
alert Alert float no no
value Assessment currency yes no
price Price currency yes no
subfamily subfamily id string yes no
subfamilyName Subfamily string yes no
familyName Family string yes no
supplierName Supplier string yes no
inDeposit In deposit bool yes no
sku SKU string yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Stock movement

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stockTransaction/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stockTransaction

Fields

Name Label Type Required Readonly
id ID int no yes
product Product int yes no
warehouse Warehouse int yes no
amount Amount float yes no
grossUnitCost Coste bruto currency yes no
grossUnitPrice Gross price currency yes no
stock Remaining stock float yes yes
averageUnitCost Average unit cost float yes yes
type Type select yes yes
fkModel Origin fkModel no yes
fkId Origin reference int no yes
comments Observations text no no
sku SKU string yes no
supplierName Supplier string yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for type
Value Name
0 Order
1 Inventory
2 Transfer
3 Sale
4 Regulate

Subfamily

Module Sales

Retrieve by ID

GET https://eu.golfmanager.com/api/model/subfamily/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/subfamily

Create

POST https://eu.golfmanager.com/api/model/subfamily

Update

POST https://eu.golfmanager.com/api/model/subfamily/[id

Delete

DELETE https://eu.golfmanager.com/api/model/subfamily/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
family Family int yes no
name Name string yes no
code Code string no no
company Company int no no
supply Supplies bool yes no
account Accounting account string no no
recommendedTag Recommended products int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Subscription

Module Subscriptions

Retrieve by ID

GET https://eu.golfmanager.com/api/model/subscriptionCustomer/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/subscriptionCustomer

Create

POST https://eu.golfmanager.com/api/model/subscriptionCustomer

Update

POST https://eu.golfmanager.com/api/model/subscriptionCustomer/[id

Delete

DELETE https://eu.golfmanager.com/api/model/subscriptionCustomer/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
type Subscription type int yes no
customer Customer int yes no
start Home date yes no
end End date no no
price Custom price currency no no
description Description string no no
comments Private observations text no no
publicComments Invoice observations text no no
active Active bool yes no
fkModel fkModel no yes
fkId int no yes
sale int no yes
language string yes no
directDebit Direct debit bool no no
share Share int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Subscription type

Module Subscriptions

Retrieve by ID

GET https://eu.golfmanager.com/api/model/subscription/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/subscription

Create

POST https://eu.golfmanager.com/api/model/subscription

Update

POST https://eu.golfmanager.com/api/model/subscription/[id

Delete

DELETE https://eu.golfmanager.com/api/model/subscription/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
period Periodicity select yes no
apportionment Prorate bool yes no
product Product int yes no
customerTag Will assign this tag int no no
beneficiaryTag Beneficiary tag int no no
online Online sale bool yes no
image Image image no no
description Description text no no
expiration Expiration duration no no
customers Customers int yes no
temporarySubscription Temporary leave fee int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for period
Value Name
0 Single payment
1 Monthly
20 Bimonthly
30 Quarterly
60 Biannual
120 Annual

Supplier

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/supplier/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/supplier

Create

POST https://eu.golfmanager.com/api/model/supplier

Update

POST https://eu.golfmanager.com/api/model/supplier/[id

Delete

DELETE https://eu.golfmanager.com/api/model/supplier/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
logo Logo image no no
main Default bool yes no
taxNumber Tax number string no no
email Email email no no
phone Phone string no no
web Web url no no
street Street string no no
street2 Street 2 string no no
city City string no no
region Region int no no
zipCode Zip Code string no no
country Country int no no
paymentConditions Payment conditions int no no
comments Observations text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Supplier invoice

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stockInvoice/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stockInvoice

Create

POST https://eu.golfmanager.com/api/model/stockInvoice

Update

POST https://eu.golfmanager.com/api/model/stockInvoice/[id

Delete

DELETE https://eu.golfmanager.com/api/model/stockInvoice/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
supplier Supplier int no no
taxNumber Tax number string no no
company Company int no no
number Invoice number string no yes
totalBeforeTaxes Net total currency yes yes
total Gross total currency yes yes
pending Pending currency no yes
date Date date no no
lines Lines StockInvoiceLine[] yes no
discountTotal float yes no
currency string yes no
taxTotal float yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Ticket office

Module Lockers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/lockerCustomer/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/lockerCustomer

Create

POST https://eu.golfmanager.com/api/model/lockerCustomer

Update

POST https://eu.golfmanager.com/api/model/lockerCustomer/[id

Delete

DELETE https://eu.golfmanager.com/api/model/lockerCustomer/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
locker Ticket office int yes no
customer Customer int yes no
start Home date yes no
end End date no no
active Active bool yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Ticket office

Module Lockers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/locker/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/locker

Create

POST https://eu.golfmanager.com/api/model/locker

Update

POST https://eu.golfmanager.com/api/model/locker/[id

Delete

DELETE https://eu.golfmanager.com/api/model/locker/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
type Type int yes no
status Status select yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for status
Value Name
0 Enabled
1 Disabled

Transaction

Module Vouchers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/voucherTransaction/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/voucherTransaction

Create

POST https://eu.golfmanager.com/api/model/voucherTransaction

Update

POST https://eu.golfmanager.com/api/model/voucherTransaction/[id

Delete

DELETE https://eu.golfmanager.com/api/model/voucherTransaction/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
voucher Voucher int yes no
description Description string yes no
sale Sale int no no
salePayment int no no
payment Payment int no no
amount Amount float yes no
balanceAfter Balance float yes no
unitPrice currency yes no
useDate Production date datetime yes no
fkModel fkModel no yes
fkId int no yes
ratio Ratio float no no
refunded Back bool yes no
type Type select yes no
voucherType Type string yes no
customerName Customer string yes no
beneficiary Beneficiary int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for type
Value Name
1 Top up
2 Consumption
3 Manual
4 Bulk Top up

Transaction

Module Stripe

Retrieve by ID

GET https://eu.golfmanager.com/api/model/stripeTransaction/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/stripeTransaction

Fields

Name Label Type Required Readonly
id ID int no yes
paymentMethod Payment method int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Transaction operates

Module Integration with opera

Retrieve by ID

GET https://eu.golfmanager.com/api/model/operaTransaction/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/operaTransaction

Create

POST https://eu.golfmanager.com/api/model/operaTransaction

Update

POST https://eu.golfmanager.com/api/model/operaTransaction/[id

Delete

DELETE https://eu.golfmanager.com/api/model/operaTransaction/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
posCart Shopping cart int no no
payment Grouped collection int no no
reservationID Booking id string no no
roomID Room id string no no
success Success bool no no
type Type select no no
response Answer json no no
request Petition json no no
error Error text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for type
Value Name
1 Payment
2 Refund
3 Mass shipping

Unit

Module Ingredients

Retrieve by ID

GET https://eu.golfmanager.com/api/model/unit/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/unit

Create

POST https://eu.golfmanager.com/api/model/unit

Update

POST https://eu.golfmanager.com/api/model/unit/[id

Delete

DELETE https://eu.golfmanager.com/api/model/unit/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

User

Module System

Retrieve by ID

GET https://eu.golfmanager.com/api/model/user/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/user

Create

POST https://eu.golfmanager.com/api/model/user

Update

POST https://eu.golfmanager.com/api/model/user/[id

Delete

DELETE https://eu.golfmanager.com/api/model/user/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
company Company int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Voucher

Module Vouchers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/voucher/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/voucher

Create

POST https://eu.golfmanager.com/api/model/voucher

Update

POST https://eu.golfmanager.com/api/model/voucher/[id

Delete

DELETE https://eu.golfmanager.com/api/model/voucher/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Customer int yes no
type Type int yes no
unitPrice Price per unit currency yes no
balance Balance float yes no
startDate Valid from date no no
endDate Valid until date no no
startTime Time from time no no
endTime Time until time no no
daysOfWeek Days of the week daysOfWeek no no
comments Observations text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Voucher beneficiary

Module Vouchers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/voucherBeneficiary/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/voucherBeneficiary

Create

POST https://eu.golfmanager.com/api/model/voucherBeneficiary

Update

POST https://eu.golfmanager.com/api/model/voucherBeneficiary/[id

Delete

DELETE https://eu.golfmanager.com/api/model/voucherBeneficiary/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
customer Holder int yes no
beneficiary Beneficiary int yes no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Voucher type

Module Vouchers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/voucherType/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/voucherType

Create

POST https://eu.golfmanager.com/api/model/voucherType

Update

POST https://eu.golfmanager.com/api/model/voucherType/[id

Delete

DELETE https://eu.golfmanager.com/api/model/voucherType/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
kind Type select yes no
product Product int yes no
shortDescription Short description string no no
expiration Expiration duration no no
startTime Time from time no no
endTime Time until time no no
daysOfWeek Days of the week daysOfWeek no no
customerTag Will assign this tag int no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes
Values for kind
Value Name
1 Money
3 Units

VoucherPrice

Module Vouchers

Retrieve by ID

GET https://eu.golfmanager.com/api/model/voucherPrice/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/voucherPrice

Create

POST https://eu.golfmanager.com/api/model/voucherPrice

Update

POST https://eu.golfmanager.com/api/model/voucherPrice/[id

Delete

DELETE https://eu.golfmanager.com/api/model/voucherPrice/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
type Type int yes no
tagFilter Filter tag int no no
amount Top up amount float yes no
price Price currency yes no
online Available online bool yes no
minAge Minimum age int no no
maxAge Maximum age int no no
description Description text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Warehouse

Module Warehouse

Retrieve by ID

GET https://eu.golfmanager.com/api/model/warehouse/[id]

Retrieve many

GET https://eu.golfmanager.com/api/model/warehouse

Create

POST https://eu.golfmanager.com/api/model/warehouse

Update

POST https://eu.golfmanager.com/api/model/warehouse/[id

Delete

DELETE https://eu.golfmanager.com/api/model/warehouse/[id]

Fields

Name Label Type Required Readonly
id ID int no yes
name Name string yes no
comments Observations text no no
created Creation date datetime no yes
createUser Created by int no yes
updated Update date datetime no yes
updateUser Updated by int no yes

Terms of Service

Thank you for using Golfmanager! When you develop on the Golfmanager Platform, you agree to be bound by the following terms, so please read them carefully.

The API is provided as-is and without any warranty whatsoever. Golfmanager is not liable for any damage due to unavailable or incorrect APIs.

Whilst Golfmanager uses all reasonable endeavours to correct any errors or omissions on the Golfmanager Platform as soon as practicable once they have been brought to Golfmanager's attention, Golfmanager makes no promises, guarantees, representations or warranties of any kind whatsoever (express or implied).

Abuse or excessively frequent requests to Golfmanager via the API may result in the temporary or permanent suspension of your Account's access to the API. Golfmanager, in our sole discretion, will determine abuse or excessive usage of the API. We will make a reasonable attempt to warn you via email prior to suspension.

Golfmanager has the right to change these General API Terms and Conditions and any Specific API Terms and Conditions.