Stock Models
Delivery note
Endpoints
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 |
deleted |
Removed |
bool |
no |
yes |
Delivery note invoice line
Endpoints
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 |
Gross Price |
currency |
yes |
no |
priceBeforeTaxes |
Net Price |
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 |
deleted |
Removed |
bool |
no |
yes |
Delivery note line
Endpoints
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 |
deleted |
Removed |
bool |
no |
yes |
Order
Endpoints
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 |
deleted |
Removed |
bool |
no |
yes |
Values for status
Value |
Name |
0 |
Open |
1 |
Sent |
2 |
Partially received |
3 |
Received |
Order line
Endpoints
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 |
deleted |
Removed |
bool |
no |
yes |
Stock
Endpoints
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 |
deleted |
Removed |
bool |
no |
yes |
Stock movement
Endpoints
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 |
Net Cost |
currency |
yes |
no |
grossUnitPrice |
Net 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 |
deleted |
Removed |
bool |
no |
yes |
Values for type
Value |
Name |
0 |
Order |
1 |
Inventory |
2 |
Transfer |
3 |
Sale |
4 |
Regulate |
Supplier
Endpoints
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 |
deleted |
Removed |
bool |
no |
yes |
Supplier invoice
Endpoints
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 |
deleted |
Removed |
bool |
no |
yes |
Warehouse
Endpoints
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 |
deleted |
Removed |
bool |
no |
yes |