Run an operation on an return

Run the operation specified in the request on an return. The contents of the request and response will vary depending on the operation.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

return-idstringRequired
FeedAMP Return ID

Headers

tokenstringRequired

The Authentication token obtained from the v1 get_token route

clientintegerRequired
The ID of the client making the request

Query parameters

opstringRequired
Name of the operation to run

Request

The contents of the request and response will vary depending on the operation.
map from strings to anyRequired
OR
ReturnMiraklReturnComplianceobjectRequired

Response

Operation Result
operationstring
responseobject

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error