Reviews API: customer_reference

Modified on: Tue, Oct 16, 2018

Request parameter

Value

Required or optional

Default

Endpoints

Authentication required

customer_reference

string

Optional

None

summary, reviews

Yes

customer_reference is used to filter the JSON feed to reviews from a specific customer based on a unique customer reference. This parameter requires an authenticated request to be submitted. More details can be found at API Authentication.

As this parameter requires authentication, a header should also be submitted with the following details:

Authorization : Token xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx

Where:

version = the version of the API associated with the URL. See API Versions for the version number.

all = returns both service and product reviews.

merchant_identifier = the merchant's unique Feefo identifier, which in this example is example-retail-merchant.

customer_refeence = filter by this unique customer reference. In this example, product reviews for the customer reference 14825796 will be passed to the feed but only if the authentication header details are accepted.