create return This featured has been disabled?

JarekJarek Member Posts: 8

Hi,

I'm trying to create return by API


curl -X POST https://api.shoplightspeed.com/en/returns.json \

 -u {key}:{secret} \

 -d return[customerId]="2026523" \

 -d return[orderId]="1623567" \

 -d orderProducts[0][quantity]="1" \

 -d orderProducts[0][id]="3515321" \

 -d return[status]="new" \

 -d return[updateStock]="true" \

 -d return[notifyStatus]="false" \

 -d return[returnReason]="Return Reason" \

 -d return[returnAction]="Return Action" \

 -d return[staffNote]="Staff Note" \

 -d return[mailMessage]="Mail Message" \

 -d return[customerComment]="Customer Comment"


 


URL : https://api.webshopapp.com/nl/returns.json


but I'm getting error

Response Code : 400


got {"error":{"code":400,"method":"CREATE","request":"\/nl\/returns.json","message":"This featured has been disabled."}}


what to do?

Answers

Sign In or Register to comment.