Crowdsourcing Example

Helps improve match rates on an ongoing basis

Please read the Quick Start guide to understand the basics of MRS first.

In order to call the /crowdsourcing endpoint, and report user feedback (see Overview):

Required Fields

In the /merchant/list and /merchant endpoints, the X-Request-Id and X-Timestamp headers are returned. In order to submit a crowdsourcing request, you must store these values and send them in the requestId and requestTimstamp fields. If the report is in relation to a transaction in a /merchant/list request, you must also include the transactionId field of that transaction.

More on this in the OpenAPI spec.

curl --request POST --url https://regional-snowdrop-domain-goes-here.com/api/v3/crowdsourcing --header 'Content-Type: application/json' --header 'X-Api-Key: <YOUR-API-KEY>' --data '{ "requestId": "1234abcd-1234-1234-1234-1234567890abc", "requestTimestamp": 1663766866877, "transactionId": "1234x1234", "wrongFields": [ "name", "address", "img" ], "suggestions": { "name": "McDonalds", "address":"10 Downing Street", "img": "new_logo.url" } }'

Response

If you supplied the required fields correctly, you should recieve a success message:

{
    "message": "Report created"
}

Having problems? Consult Troubleshooting or FAQ.

Last updated