s1 API Host

<back to all web services

UpdatePreorderAdminRequest

The following routes are available for this service:
PUT, OPTIONS/api/admin/preorders/{id}Update the preorderUser has to be authenticated and admin to be able to update the preorder.
Parameters:
NameParameterData TypeRequiredDescription
IdpathstringYesThe id of the preorder

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

HTTP + JSV

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

POST /jsv/oneway/UpdatePreorderAdminRequest HTTP/1.1 
Host: s1-api.fource.nl 
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	advertId: 0,
	imageUrl: String,
	isExpired: False,
	mainText: String,
	subText: String,
	isForAllWarehouses: False
}