marketplace

POST /v1/marketplace/vendor/sales/{sale_id}/deliver

Mark the work delivered — starts the buyer's acceptance window.

Tous les points de terminaison marketplace

Authentification

Envoyez une clé d'API en tant que jeton du porteur (bearer token). Cet endpoint n'indique pas de permission spécifique dans la spécification, attribuez donc à votre clé le minimum requis et vérifiez la réponse plutôt que de faire des suppositions.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

curl -X POST https://api.zinndigital.com/v1/marketplace/vendor/sales/{sale_id}/deliver \
  -H "Authorization: Bearer zdk_live_…"

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

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.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
sale_id (path)stringOui

Réponse

NomTypeObligatoireQu'est-ce que c'est
idUuidOuiUUIDv7 identifier — sortable by creation time (docs/02 §8).
stateMarketplaceSaleStateOuiWhere 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_idUuidOuiUUIDv7 identifier — sortable by creation time (docs/02 §8).
listing_titlestringOui
package_namestringOui
delivery_daysintegerNon
revisions_includedintegerNon
revision_countintegerNon
billing_modeMarketplaceBillingModeNonHow 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_intervalobjectNon
period_indexintegerNon
gross_minorintegerOuiWhat the buyer paid for this line, excluding tax.
commission_bpsintegerNon
commission_minorintegerNon
vendor_net_minorintegerNongross - commission, always. Never a second independent rounding: a half-penny landing in neither figure is too small to find and too persistent to ignore.
currencyCurrencyCodeOuiISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
auto_acceptsbooleanNon
accept_byobjectNon
delivered_atobjectNon
accepted_atobjectNon
accepted_automaticallybooleanNon
last_revision_reasonstringNonWhat 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_atobjectNon
created_atstringNon

Erreurs que cet point de terminaison peut renvoyer

401 · 404 · 422