Create a Delivery Review
This endpoint allows both auth token and delivery recipient code/email verification for authorisation.
There are a few fields available to attribute the review to the correct order. The attribution fields are:
code/emailorder_idlocation_id
An auth token must be sent with the request when attributing using the order_id and location_id fields.
To prevent abiguity in the data, presenting more than one of these fields in a request will result in a validation error. For example, a request with both order_id and the code and email fields will fail, even if the order ID matches the code and email.
Request
Optional, but required if email is present in the request data. The tracking code of a delivery.
Optional, but required if code is present in the request data. The email address of the delivery recipient.
The ID of the drop-off location to create a review for.
Response
The details of a review given for the order (delivery) or drop-off.
