create return This featured has been disabled?

JarekJarek Member Posts: 8


I'm trying to create return by API

curl -X POST \

 -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"



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?


  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 406 moderator

    Hi @Jarek,

    Thank you for reaching out to us.

    You have to enable the option Allow Returns in your backoffice:

    After doing this, then try again.

Sign In or Register to comment.