Hanzo AI

Create feedback

Rates the other party of a settled job — the seller when the caller's org bought, the buyer when it sold — once per party per job, and never edited.

POST /v1/marketplace/jobs/{id}/feedback

Addresshttps://api.hanzo.ai/v1/marketplace/jobs/{id}/feedback
MethodPOST
Operationpost_marketplace_jobs_by_id_feedback
AuthAuthorization: Bearer $HANZO_API_KEY

Rates the other party of a settled job — the seller when the caller's org bought, the buyer when it sold — once per party per job, and never edited. A job counts as settled once it was released, or refunded after the seller took it on; one cancelled or declined before any work earns nothing. What buyers say of a seller is its listing's and its own reputation in the shop. It answers 201 with the feedback recorded.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the job, from the path.
commentbodystring—Comment is the party's words, at most 4096 characters.
idbodystring—ID is the job, from the path.
ratingbodyinteger (int64)—Rating is 1 to 5 stars.

Response

StatusBodyMeaning
201marketplace.Feedbackcreated
defaultproblem-detailsrefused

201 body — 7 fields.

FieldInTypeAlwaysDescription
aboutbodystring—About is the other party of the job, the org it is about.
atbodyinteger (int64)—At is when, unix seconds.
commentbodystring—Comment is the party's words, at most 4096 characters.
frombodystring—From is the org that gave it.
jobbodystring—Job is the job it is about.
listingbodystring—Listing is the listing the job was hired through; empty for a direct offer.
ratingbodyinteger (int64)—Rating is 1 to 5 stars.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Marketplace API · All Hanzo APIs · Interactive reference

How is this guide?

On this page