marketplace
POST /v1/marketplace/vendor/sales/{sale_id}/deliver
Mark the work delivered — starts the buyer's acceptance window.
Autentifikimi
Drgoni një çelës API si një token mbajtës. Ky pikëndalim nuk specifikon një leje specifike në specifikim, prandaj jepini çelësit tuaj minimumin e nevojshëm dhe kontrolloni përgjigjen në vend që të supozoni.
Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.
Provoje
Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.
curl -X POST https://api.zinndigital.com/v1/marketplace/vendor/sales/{sale_id}/deliver \
-H "Authorization: Bearer zdk_live_…"Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së
Detajet
Delivery is the **seller's claim**, never the end of the sale, and it moves no money: it starts the buyer's acceptance window and nothing else. Redelivery after a revision **restarts** the clock, measured from the redelivery rather than from the original — the buyer's window is a window on the delivery in front of them. Without that, a seller redelivering on day four of a five-day window would hand the buyer one day to check a whole revision. Scoped to the SELLER's org. A buyer marking their own purchase delivered would be starting the clock that releases the seller's money before anything was sent.
Parametrat
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
sale_id (path) | string | Po | — |
Përgjigja
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
id | Uuid | Po | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
state | MarketplaceSaleState | Po | Where one purchased package is in its life (docs/82 §3). The terminal state is `accepted`, not `delivered`: delivery is the vendor's claim, acceptance is the buyer's act, and it… |
listing_id | Uuid | Po | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
listing_title | string | Po | — |
package_name | string | Po | — |
delivery_days | integer | Jo | — |
revisions_included | integer | Jo | — |
revision_count | integer | Jo | — |
billing_mode | MarketplaceBillingMode | Jo | How an offer is charged (docs/82 §2a). A property of the OFFER, chosen by the seller from what the listing type permits — a $200 one-off audit and $150/month of link building si… |
billing_interval | object | Jo | — |
period_index | integer | Jo | — |
gross_minor | integer | Po | What the buyer paid for this line, excluding tax. |
commission_bps | integer | Jo | — |
commission_minor | integer | Jo | — |
vendor_net_minor | integer | Jo | gross - commission, always. Never a second independent rounding: a half-penny landing in neither figure is too small to find and too persistent to ignore. |
currency | CurrencyCode | Po | ISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8). |
auto_accepts | boolean | Jo | — |
accept_by | object | Jo | — |
delivered_at | object | Jo | — |
accepted_at | object | Jo | — |
accepted_automatically | boolean | Jo | — |
last_revision_reason | string | Jo | What the buyer asked to be changed. The seller MUST be able to read this — it is the instruction, and a rejection without one produces a second rejection. |
last_revision_at | object | Jo | — |
created_at | string | Jo | — |
Gabimet që ky pikëndalim mund të kthejë
401 · 404 · 422