marketplace

POST /v1/marketplace/projects/{project_id}/quotes/{quote_id}/{action}

Accept or decline a quote (buyer), or withdraw it (freelancer).

All marketplace endpoints

All developer docs →

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

NameTypeRequiredWhat it is
project_id (path)stringYes—
quote_id (path)stringYes—
action (path)string<accept, decline, withdraw>Yes—

Response

NameTypeRequiredWhat it is
idstringYes—
project_idstringYes—
freelancerobjectYes—
listingobjectYes—
price_minorintegerYes—
currencystringYes—
delivery_daysintegerYes—
messagestringYes—
statestring<submitted, accepted, paid, declined, withdrawn>Yes—
conversation_idstringNo—
listing_package_idstringNoSet once accepted — the reserved package the buyer checks out with.
created_atstringYes—

Errors this endpoint can return

401 · 404 · 422