marketplace

GET /v1/marketplace/purchases/{sale_id}

One purchase, as the buyer sees it.

అన్ని marketplace ఎండ్‌పాయింట్లు

ప్రమాణీకరణ

ఒక API కీని బేరర్ టోకెన్‌గా పంపండి. ఈ ఎండ్‌పాయింట్ స్పెసిఫికేషన్‌లో నిర్దిష్ట అనుమతిని పేర్కొనలేదు, కాబట్టి ఊహించడం కంటే మీ కీకి అవసరమైన కనిష్ట అనుమతిని ఇవ్వండి మరియు ప్రతిస్పందనను తనిఖీ చేయండి.

ఈ ఎండ్‌పాయింట్ ఎలాంటి సంస్థ ఐడీని తీసుకోదు. మీ కీ ఇప్పటికే అది ఏ సంస్థకు చెందుతుందో గుర్తిస్తుంది మరియు ప్రతిస్పందన దానికే పరిమితం చేయబడుతుంది.

ప్రయత్నించండి

కోణీయ బ్రాకెట్‌లలో ఉన్న దేన్నైనా మీ స్వంత విలువలతో భర్తీ చేయండి, మరియు కీ ప్లేస్‌హోల్డర్‌ను మీ డాష్‌బోర్డ్ నుండి తీసుకున్న కీతో భర్తీ చేయండి.

curl -X GET https://api.zinndigital.com/v1/marketplace/purchases/{sale_id} \
  -H "Authorization: Bearer zdk_live_…"

సైన్ ఇన్ చేశారా? మీ డ్యాష్‌బోర్డ్‌లోని API కాన్సోల్ మీ అసలైన సంస్థ ID మరియు మీ స్వంత కీని నింపుతుంది, అలాగే మీరు అసలైన ప్రతిస్పందనను చూడటానికి లైవ్ API ద్వారా ఆభ్యర్థనను రన్ చేస్తుంది. ఈ ఎండ్‌పాయింట్‌ను API కన్సోల్‌లో తెరిచండి

వివరాలు

Scoped to the BUYER's org. A seller asking for their own sale through this route gets a 404 — the two views of a sale are different payloads, not one payload with a permission check.

పారామీటర్లు

పేరురకంకావలసినదిఇది ఏమిటి
sale_id (path)stringఅవును

స్పందన

పేరురకంకావలసినదిఇది ఏమిటి
idUuidఅవునుUUIDv7 identifier — sortable by creation time (docs/02 §8).
stateMarketplaceSaleStateఅవును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_idUuidఅవునుUUIDv7 identifier — sortable by creation time (docs/02 §8).
listing_titlestringఅవును
package_namestringఅవును
package_descriptionstringకాదు
vendor_display_namestringకాదుThe seller's public name, never the legal name held for identity checks.
delivery_daysintegerకాదు
revisions_includedintegerకాదు
revision_countintegerకాదు
billing_modeMarketplaceBillingModeకాదు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_intervalobjectకాదు
period_indexintegerకాదు0 for a one-time sale and a subscription's first period; one per renewal.
amount_minorintegerఅవును
currencyCurrencyCodeఅవునుISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
auto_acceptsbooleanకాదుRead this BEFORE `accept_by`. A null `accept_by` means two completely different things — not delivered yet, or this type never auto-accepts at all (an asset sale releasing on a…
auto_accept_daysobjectకాదు
accept_byobjectకాదుWhen this purchase auto-accepts if the buyer does nothing.
delivered_atobjectకాదు
accepted_atobjectకాదు
accepted_automaticallybooleanకాదుWhether the timer accepted this rather than the buyer. It does NOT change the outcome — auto-accept has the same finality as the button, which is why the buyer must be warned be…
last_revision_reasonstringకాదు
last_revision_atobjectకాదు
order_idUuidకాదుUUIDv7 identifier — sortable by creation time (docs/02 §8).
created_atstringకాదు

ఈ ఎండ్‌పాయింట్ తిరిగి ఇవ్వగల లోపాలు

401 · 404