eShop

GET /Api/v2.2.0/eShop/GetShops

GetShops

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true

Response Messages

HTTP Status Code Reason
200 OK
401 Not authorized

Request Example Code

Response Example

GET /Api/v2.2.0/eShop/GetShopControl

GetShopControl

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId query int true
countryId query int true

Response Messages

HTTP Status Code Reason
200 OK
401 Not authorized

Request Example Code

Response Example

POST /Api/v2.2.0/eShop/GetStatusCount

GetStatusCount

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
customWhere filter the result ex. (WHERE gatewayCardType = 'dankort') body string false

Response Messages

HTTP Status Code Reason
200 OK
401 Not authorized

Request Example Code

Response Example

POST /Api/v2.2.0/eShop/GetOrderList

GetOrderList

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
status body int true
customWhere filter the result ex. (WHERE gatewayCardType = 'dankort') body string false
period filter the result by a given period (all,year,6month,3month,month,week,day) body string false
search search for orderId, e-mail, address or customer name body string false

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

POST /Api/v2.2.0/eShop/GetOrder

GetOrder

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
orderId body int true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

POST /Api/v2.2.0/eShop/GetOrderDetails

GetOrderDetails

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
orderId body int true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

POST /Api/v2.2.0/eShop/UpdateOrder

UpdateOrder

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
orderId body int true
count body int[] true
productId body int[] true
productNumber body string[] true
productNane body string[] true
price body string[] true
discountAmount body string true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

GET /Api/v2.2.0/eShop/UpdateCustomerData

UpdateCustomerData

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId query int true
countryId query int true
orderId query int true
customerId query int true
companyName query string true
customerName query string true
customerAddress query string true
customerZip query string true
customerCity query string true
customerCountry query string true
customerPhone query string true
customerEmail query string true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

GET /Api/v2.2.0/eShop/UpdateDeliveryData

UpdateDeliveryData

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId query int true
countryId query int true
orderId query int true
customerId query int true
deliveryCompanyName query string true
deliveryName query string true
deliveryAddress query string true
deliveryZip query string true
deliveryCity query string true
deliveryCountry query string true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

GET /Api/v2.2.0/eShop/SendUpdatedOrderMail

SendUpdatedOrderMail

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId query int true
countryId query int true
orderId query int true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

GET /Api/v2.2.0/eShop/UpdateShopComment

UpdateShopComment

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId query int true
countryId query int true
orderId query int true
shopComment query string true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

POST /Api/v2.2.0/eShop/AcceptOrder

AcceptOrder

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
orderId body int true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

POST /Api/v2.2.0/eShop/CaptureOrder

CaptureOrder

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
orderId body int true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

POST /Api/v2.2.0/eShop/RefundOrder

RefundOrder

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
orderId body int true
refundAmount body string true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example

POST /Api/v2.2.0/eShop/GatewayStatus

GatewayStatus

Request Parameters

Parameter Description Parameter Type Data Type Default Required?
Authorization Use Bearer token to authorize to the API header string true
siteId body int true
countryId body int true
orderId body int true

Response Messages

HTTP Status Code Reason
200 OK
400 Bad request
401 Not authorized

Request Example Code

Response Example

Error Example