s1 API Host

<back to all web services

MagentoOrdersRequest

The following routes are available for this service:
POST, OPTIONS/api/magento-ordersGet a list orders by Magento ordernumber ordered by order date (latest first)Only possible if the user is authenticated
Parameters:
NameParameterData TypeRequiredDescription
MagentoOrderNumberquerystringYesMagentoOrderNumber

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/MagentoOrdersRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: text/csv
Content-Length: length

MagentoOrderNumber
String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

MagentoOrderNumber,DebtorId,DeliveryName,DeliveryAddress,DeliveryZipCode,DeliveryCity,DeliveryCountry,DeliveryPhoneNumber,DeliveryEmailAddress,ExternalSystemId,InvoiceName,InvoiceAddress,InvoiceZipCode,InvoiceCity,InvoiceCountry,CanBeCancelled,IsAlreadyCancelled,IsAllPalletOrders,Uuid,MagentoOrders,HadErrors,ReasonsMatrix,Reasons,Transporters,ResponseStatus,UrgentMessages
String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,False,False,False,String,,False,,,,"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}",