s1 API Host

<back to all web services

CreateRetourRequest

The following routes are available for this service:
POST,OPTIONS/api/retours/current/itemsCreate a new retour item.User has to be authenticated.
Parameters:
NameParameterData TypeRequiredDescription
CreateRetourRequestbodyCreateRetourRequestYesThe required information to return a product.

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/CreateRetourRequest HTTP/1.1 
Host: api2.ghs-automotive.nl 
Content-Type: text/jsv
Content-Length: length

{
	productId: String,
	orderId: String,
	orderLineId: String,
	quantity: 0,
	reason: String,
	isDepositRetour: False,
	depositAmount: 0,
	characteristic: String
}