s1 API Host

<back to all web services

UpdatePreorderEnrollmentProductRequest

The following routes are available for this service:
PUT, OPTIONS/api/admin/preorders/{preorderId}/enrollments/{enrollmentId}/{productId}Place a preorder orderUser has to be authenticated to place the order.
Parameters:
NameParameterData TypeRequiredDescription
preorderIdpathstringNo
enrollmentIdpathstringNo
ProductIdpathstringNo

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/UpdatePreorderEnrollmentProductRequest HTTP/1.1 
Host: api-beta.ghs-automotive.nl 
Content-Type: text/csv
Content-Length: length

PreorderId,EnrollmentId,ProductId,Quantity,IsDirectDelivery,IsDelivered
0,0,String,0,False,False

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

Product,ResponseStatus,UrgentMessages
"{productId:String,quantity:0,isDirectDelivery:False,isDelivered:False}","{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}",