Skip to main content

Rate A Supplier

curl -X GET \
'https://apistg.ahamove.com/v1/order/rate_supplier?token=5d352c14eb44d753c5dcfc0b&order_id=ABCDEF&rating=5&comment=Good+guy' \
-H 'cache-control: no-cache'

This API is used to rate a supplier after complete an order

HTTP Request

GET https://apistg.ahamove.com/v1/order/rate_supplier

Query Parameters

ParameterTypeRequiredDescription
tokenStringYesUser Token
order_idStringYesOrder Id
ratingNumberYesRating score, range 1-5
commentStringNoComment

Response

JSON response example:

{}

Status-Code: 200 OK

Errors

CodeTextDescription
404Not Found- Token not found
- Order not found
- Supplier not found
401UnauthorizedUnauthorized
500Internal Server ErrorWe had a problem with our server. Try again later.
503Service UnavailableWe're temporarily offline for maintenance. Please try again later.