Logo
maya API Documentation

Get return details

GET {{baseUrl}}/returns/:id

Service urls:
http://yourdomain.com/api/rest/returns/{return_id}
OR
http://yourdomain.com/index.php?route=rest/return/returns&id={return_id}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-Oc-Session
string (Required) User session id
Accept
string




RESPONSES

status OK

{ "success": 1, "error": [ "Error description", "Error description" ], "data": {} }



Curl
curl -X GET 'https://api.opencart-api.com/api/rest/returns/:id' -H 'X-Oc-Session: voluptate' -H 'Accept: application/json'

ENDPOINTS