Orders API
Orders API Documentation
Introduction
Overview
The EuroStocks Orders-API is an interface to provide information for classified orders.
Orders API access can be granted to suppliers who wants to get orders information, and it requires username, password and API Key to access API.
The API is available at this base URL:
Main Features
Orders List
Order Details
Update ProcessedByIntegrator flag
Prerequisites
Orders API access can be granted to suppliers who wants to get orders informations, and it requires username, password and API Key to access API.
Limited support for the development process and maintenance:
Please note that all examples provided in our documentation are considered as guidelines for your development process but EuroStocks for itself is not able to directly assist with any of your preferred programming languages and/or used scripts.
Test Account
A test environment can be provided. Please ask for the test account details and all the information will be used as mention in Prerequisites on test API url https://test-orders-api.eurostocks.com.
Working with Orders API
Get Orders list
GET
/api/v1/order/list
Query Parameters
Headers
{
"orders": [
{
"orderId": 1488616,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-21T11:44:04.893Z",
"totalItemsOrdered": 1,
"orderAmount": 1012.49,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "Dhrumin Chandarana",
"customerEmail": "dhrumin@eurostocks.com",
"orderSource": "directautos.eu"
},
{
"orderId": 1488570,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-21T08:35:27.557Z",
"totalItemsOrdered": 1,
"orderAmount": 11.52,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Registered",
"salutation": "Salutation_Mr",
"customerName": "Montu P Patel",
"customerEmail": "montu.patel@autofacets.in",
"orderSource": "www.mercedesreparaties.nl"
},
{
"orderId": 1488547,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-20T02:08:38.233Z",
"totalItemsOrdered": 1,
"orderAmount": 1012.49,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "D C",
"customerEmail": "dhrumin@eurostocks.com",
"orderSource": "directautos.eu"
},
{
"orderId": 1488538,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-20T02:05:30.333Z",
"totalItemsOrdered": 1,
"orderAmount": 1012.49,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "D C",
"customerEmail": "dhrumines@gmail.com",
"orderSource": "directautos.eu"
},
{
"orderId": 1488529,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-20T02:03:37.297Z",
"totalItemsOrdered": 1,
"orderAmount": 1012.49,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "D C",
"customerEmail": "dhrumin@eurostocks.com",
"orderSource": "directautos.eu"
},
{
"orderId": 1488520,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-20T02:01:36.140Z",
"totalItemsOrdered": 1,
"orderAmount": 1012.49,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "D C",
"customerEmail": "dhrumin@eurostocks.com",
"orderSource": "directautos.eu"
},
{
"orderId": 1488511,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-20T01:48:39.310Z",
"totalItemsOrdered": 1,
"orderAmount": 1012.49,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "D C",
"customerEmail": "dhrumin@eurostocks.com",
"orderSource": "directautos.eu"
},
{
"orderId": 1488502,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-20T12:37:48.957Z",
"totalItemsOrdered": 1,
"orderAmount": 1012.49,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "D C",
"customerEmail": "dhrumin@eurostocks.com",
"orderSource": "directautos.eu"
},
{
"orderId": 1488493,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-20T12:25:21.590Z",
"totalItemsOrdered": 1,
"orderAmount": 1012.49,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "Dhrumin C",
"customerEmail": "dhrumin@eurostocks.com",
"orderSource": "directautos.eu"
},
{
"orderId": 1488484,
"orderStatus": "OrderStatus_New",
"orderDateTime": "2023-07-20T12:07:32.223Z",
"totalItemsOrdered": 1,
"orderAmount": 1230,
"orderCurrency": "EUR",
"paymentStatus": "PaymentStatus_Paid",
"paymentInitiated": true,
"paymentExpired": false,
"processedByIntegrator": false,
"customerType": "CustomerType_Guest",
"salutation": "Salutation_Mr",
"customerName": "Dhrumin Chandarana",
"customerEmail": "dhrumin@eurostocks.com",
"orderSource": "www.nlcarparts.nl"
}
],
"totalPages": 1990,
"totalRows": 19894,
"currentPageNumber": 1
}
Sample Success Request
Sample Success Response
Get Order Details
GET
/api/v1/order/details
https://orders-api.eurostocks.com/api/v1/order/details/1488616/nl
Query Parameters
Headers
Sample Success Request
Sample Success Response
Update Processed By Integrator Flag
PATCH
/api/v1/order
https://orders-api.eurostocks.com/api/v1/order/1488616/true
Query Parameters
Headers
Sample Success Request
Get Order Statuses
GET
/api/v1/orderStatus
Query Parameters
Headers
Sample Success Request
Sample Success Response
Get Payment Statuses
GET
/api/v1/paymentStatus
Query Parameters
Headers
Sample Success Request
Sample Success Response
Get Salutations
GET
/api/Salutation
Query Parameters
Headers
Sample Success Request
Sample Success Response
Get Sort Order List
GET
/api/v1/sortOrder
Query Parameters
Headers
Sample Success Request
Sample Success Response
Last updated