create a product return .. not working

Leffelaer KristofLeffelaer Kristof Member Posts: 20

Hi,


I want to create a product return to : https://api.webshopapp.com/nl/returns.json

i have try with the method post and also with put (no difference)

i create this string :

{"return" : {"customerId" : 112972312 , "orderId" : 162728595 , "orderProducts": [{"quantity" : 1 , "id" : 325101505}] , "status" : "new" , "updateStock" : false , "notifyStatus" : false , "returnReason" : "kleur" , "returnAction" : "" , "staffNote" : "" , "mailMessage" : "" , "customerComment" : "" }}


but i get a error : 400 (invalid command)


I dont see wher the problem is, somebody that can help ?

Tags:

26 comments

Sign In or Register to comment.