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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/oneway/CreateRetourRequest HTTP/1.1 
Host: api-beta.ghs-automotive.nl 
Content-Type: application/json
Content-Length: length

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