marketplace
POST /v1/marketplace/projects/{project_id}/quotes/{quote_id}/{action}
Accept or decline a quote (buyer), or withdraw it (freelancer).
Authentication
Send an API key as a bearer token. This endpoint checks no specific permission, so any key for your organisation can call it.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/marketplace/projects/{project_id}/quotes/{quote_id}/{action} \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
accept creates a package on the freelancer's listing RESERVED for the buyer's org — inactive, so no storefront shows it, buyable once and only by that org — marks the project awarded and declines the other open quotes. Put listing_package_id in the basket to pay: payment, the held payout (escrow), delivery, acceptance and disputes are the ordinary marketplace order flow.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
project_id (path) | string | Yes | — |
quote_id (path) | string | Yes | — |
action (path) | string<accept, decline, withdraw> | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | — |
project_id | string | Yes | — |
freelancer | object | Yes | — |
listing | object | Yes | — |
price_minor | integer | Yes | — |
currency | string | Yes | — |
delivery_days | integer | Yes | — |
message | string | Yes | — |
state | string<submitted, accepted, paid, declined, withdrawn> | Yes | — |
conversation_id | string | No | — |
listing_package_id | string | No | Set once accepted — the reserved package the buyer checks out with. |
created_at | string | Yes | — |
Errors this endpoint can return
401 · 404 · 422