Priser

API

Product

Get product list

Endpoint: pakman.dk/apiv1/Product
Method: GET
Header: PartnerToken
Header: AccountToken
Format: Json
Max result on page: 1000
Filter: lastupdated, Page
Example: Pakman.dk/APIV1/product?LastUpdate=2023-09-01&page=1

Field Datatype Mandatory / Optional Description
Number string Mandatory The number of the order from external system
Name string Mandatory Whether the order is paid by cash or credit
EAN string Optional EAN code for the product
LastUpdate date Mandatory Date when the product was last updated (Set manually in PAKMAN)
Status bool Mandatory Shows the status of the product
CostPrice Decimal Mandatory Last cost price of the product
SalesPrices List Mandatory List of sales prices on the product
SalesPrices/PriceGroupName String Mandatory Shows name from the price group the price belongs to
SalesPrices/Quantity int Mandatory Quantity for which the price applies
SalesPrices/Price Decimal Mandatory The sales price

Create product

POST product

Endpoint: pakman.dk/apiv1/product
Method: POST
Header: PartnerToken
Header: AccountToken
Format: Json

Field Datatype Mandatory / Optional Description
Number string Mandatory The unique product number
Name string Mandatory Product name

Salesorder

Upload salesorder

Endpoint: pakman.dk/apiv1/salesorder
Method: POST
Header: PartnerToken
Header: AccountToken
Format: Json

Field Datatype Mandatory / Optional Description
Number string Mandatory The number of the order from external system
PaymentType Enum Cash/Credit Mandatory Whether the order is paid by cash or credit
ExternalId string Optional Used if order has ID in external system
BlockingReason string Optional If set, then order cannot be automatically released for delivery
HighPriority Bool True/False Optional Used if articles on this order should be locked to this order
DateCreated Date DD-MM-YYYY Optional Date the order is created in external system
Company string Optional Set if you are running multiple companies in PAKMAN, then this field can set to which company the order is related to.
DistributorProduct Enum Optional If set, the value must be equal to value set up in distributor settings on the account
CurrencyCode string Optional If set, the value must be equal to value set up in Currency settings on the account. If not set, then order is by default set in DKK.
Customer Object Mandatory Customer object
Customer/Name string Mandatory Name of the Customer
Customer/Number string Mandatory Customer number
Customer/Street1 string Optional Street name 1 on the customer
Customer/Street2 string Optional Additional address information
Customer/PostalCode string Optional Customers zip or area code
Customer/City string Optional Customer city
Customer/CountryCode string Optional Customer country code
Customer/Phone string Optional Customers phone number
Customer/Email string Optional Customers email
Customer/VAT string Optional Customers vat number if any
DeliveryAddress Object Mandatory Customers delivery address for this order
DeliveryAddress/Name string Mandatory Delivery address name
DeliveryAddress/Street1 string Optional Delivery street information
DeliveryAddress/Street2 string Optional Additional street information
DeliveryAddress/PostalCode string Optional Deliveryaddress postal code
DeliveryAddress/City string Optional Deliveryaddress city
DeliveryAddress/CountryCode Enum Optional Delivery address country code
DeliveryAddress/Phone string Optional Delivery address phone number
DeliveryAddress/Email string Optional Delivery address email
CustomerPONumber string Optional Used if customer has a Purchase order reference to put on the order
CustomerContact string Optional Used if customer has a contact person related to this order
InternalNote string Optional Used if there is something to note internal on this order (Not shown to customer)
ExternalNote string Optional Used if there is something to note external on this order (shown to customer)
DeliveryInstruct string Optional Used if there is an instruction related to the delivery
OrderTotal Decimal Mandatory Monetary total of the order
Tax Decimal Mandatory Monetary tax of the order
LinesTotal Decimal Mandatory Monetary total of line before tax
Lines List of line object Mandatory 1:N Salesorder lines on this order
Lines/CustomerLineRef string Optional Used if customer has a line refference to put on the order line
Lines/SKU string Mandatory Product SKU ordered on this line
Lines/ProductName string Mandatory Product name of the product ordered on this line
Lines/LineTotal Decimal Mandatory Monetary total of line before tax
Lines/QuantityOrdered int Mandatory Quantity ordered on this line
Lines/UnitPrice Decimal Mandatory Monetary unit price of the product
Lines/ExpectedDeliveryDate Date DD-MM-YYYY Optional Date we expect to deliver this product
Lines/Discount Decimal Optional Monetary discount given. This value is to be specified pr. unit and not line total

Purchaseorder

Upload purchaseorder

Endpoint: pakman.dk/apiv1/Purchaseorder
Method: POST
Header: PartnerToken
Header: AccountToken
Format: Json

Field Datatype Mandatory / Optional Description
SupplierNumber string Optional Supplier number from PAKMAN. If not filled, default supplier is selected
WarehouseNumber string Optional Warehouse number from PAKMAN. If not filled, default warehouse is selected
Header string Optional Header description or note for the purchase
Lines List of line object Mandatory 1:N Purchase lines on this order
Lines/SKU string Mandatory Can be SKU, EAN or barcode from PAKMAN
Lines/QuantityOrdered int Mandatory Quantity ordered on this line

Get purchaseprice

Get Purchaseprices on product

Endpoint: pakman.dk/apiv1/getPurchasePrice/[ProductNumber]
Method: GET
Header: PartnerToken
Header: AccountToken
Format: Json

Field Datatype Mandatory / Optional Description
Guid string Guid on the purchase price
Priority int The priority of the purchase price
Quantity string Quantity for which the purchase price apply
Price Decimal The actual price
ExpectedLeadDays int Expected numbers of days before the product will be delivered after purchase
SupplierProductNumber string The suppliers own product number
SupplierInstruct string Instruction to the supplier
Product Object 1:1 Product information
Product/Number string The unique identification number of the product
Product/Name string The name of the product
Supplier Object 1:1 Supplier information
Supplier/Number string The unique identification number of the supplier
Supplier/Name string The name of the Supplier

Create purchaseprice

POST Purchase prices on product

Endpoint: pakman.dk/apiv1/getPurchasePrice
Method: POST
Header: PartnerToken
Header: AccountToken
Format: Json

Field Datatype Mandatory / Optional Description
Priority int Optional The priority of the purchase price. If not given in the file, default set to 1.
Quantity string Optional Quantity for which the purchase price apply. If not given in the file, default set to 1.
Price Decimal Mandatory The actual price
ExpectedLeadDays int Optional Expected numbers of days before the product will be delivered after purchase. If not given in the file, default set to 1.
SupplierProductNumber string Optional The suppliers own product number
SupplierInstruct string Optional Instruction to the supplier
Product Object 1:1 Mandatory Product information
Product/Number string Mandatory The unique identification number of the product
Supplier Object 1:1 Mandatory Supplier information
Supplier/Number string Mandatory The unique identification number of the supplier

Update purchaseprice

PUT Purchase prices on product

Endpoint: pakman.dk/apiv1/getPurchasePrice
Method: PUT
Header: PartnerToken
Header: AccountToken
Format: Json

Field Datatype Mandatory / Optional Description
Guid string Mandatory Either productnumber or Guid must be given
Priority int Optional The priority of the purchase price. If not given in the file, we keep the one already on the purchaseprice.
Quantity string Optional Quantity for which the purchase price apply. If not given in the file, we keep the one already on the purchaseprice.
Price Decimal Optional The actual price. If not given in the file, we keep the one already on the purchaseprice.
ExpectedLeadDays int Optional Expected numbers of days before the product will be delivered after purchase. If not given in the file, we keep the one already on the purchaseprice.
SupplierProductNumber string Optional The suppliers own product number. If not given in the file, we keep the one already on the purchaseprice.
SupplierInstruct string Optional Instruction to the supplier. If not given in the file, we keep the one already on the purchaseprice.
Product Object 1:1 Mandatory Product information. Can be left out, if Guid is given
Product/Number string Mandatory The unique identification number of the product. Can be left out, if Guid is given
Supplier Object 1:1 Mandatory Supplier information. Can be left out, if Guid is given
Supplier/Number string Mandatory The unique identification number of the supplier. Can be left out, if Guid is given

Stock

Get stock

Endpoint: pakman.dk/apiv1/Stock/[ProductNumber]
Method: GET
Header: PartnerToken
Header: AccountToken
Format: Json

Field Datatype Mandatory / Optional Description
ProductNumber string Mandatory The product number
ProductName string Mandatory The product name
Quantity int Mandatory The sum of stock across all warehouses and locations
Stocks Object Optional List of all stocks registered on the warehouse. In case product is registered on two different locations, then two different objects will occur in the list
Stocks/Quantity int Mandatory The quantity on the location
Stocks/WarehouseNumber string Mandatory Warehouse number the stock is located on
Stocks/WarehouseName string Mandatory Warehouse name the stock is located on
Stocks/Location string Mandatory Location the stock is located on

Update Stock

upload stock correction

Endpoint: pakman.dk/apiv1/Stock/[ProductNumber]
Method: POST
Header: PartnerToken
Header: AccountToken
Format: Json

Field Datatype Mandatory / Optional Description
Quantity int Mandatory Quantity to update. Minus in front if you want to decrease stock, and plain if you want to increase
WarehouseNumber string Optional The warehouse number in PAKMAN on which you want to update stock. Can be left blank if you are not running multiple warehouse
LocationNumber string Optional The location number in PAKMAN on which you want to update stock. Can be left blank if you are not using location management
Reason string Mandatory The reason for the update... Is written to the product log