marketplace

GET /v1/marketplace/purchases/{sale_id}

One purchase, as the buyer sees it.

सबै marketplace इन्डपइन्टहरू

प्रमाणीकरण

एपिआई कुञ्जीलाई बियरर टोकन (bearer token) को रूपमा पठाउनुहोस्। यो इन्डपोइन्टले विशिष्ट अनुमति खुलाएको छैन, त्यसैले अनुमान गर्नुको सट्टा आफ्नो कुञ्जीलाई आवश्यक पर्ने न्यूनतम अधिकार दिनुहोस् र प्रतिक्रिया जाँच गर्नुहोस्।

यो इन्डपोइन्टले कुनै संस्थाको आइडी लिँदैन। तपाईंको कुञ्जीले यस अन्तर्गत पर्ने संस्थालाई पहिल्यै पहिचान गर्छ, र प्रतिक्रिया त्यसैमा सीमित हुन्छ।

प्रयास गर्नुहोस्

कोणीय कोष्ठकभित्र भएका जुनसुकै कुरालाई आफ्नो मानहरूद्वारा बदल्नुहोस्, र मुख्य स्थानहोल्डरलाई तपाईंको ड्यासबोर्डको कुञ्जीद्वारा बदल्नुहोस्।

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

लगइन गर्नुभएको छ? तपाईंको ड्यासबोर्डमा रहेको API कन्सोलले तपाईंको वास्तविक संस्थाको आईडी र आफ्नै कुञ्जी भरिदिन्छ, र लाइभ 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