marketplace

POST /v1/marketplace/vendor/profile

Become a Zinner®.

Wszystkie punkty końcowe marketplace

Uwierzytelnianie

Wyślij klucz API jako token bearer. Ten punkt końcowy nie określa konkretnego uprawnienia w specyfikacji, więc nadaj swojemu kluczowi minimum potrzebnych uprawnień i sprawdź odpowiedź zamiast zakładać.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

curl -X POST https://api.zinndigital.com/v1/marketplace/vendor/profile \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "display_name": <string> }'

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

docs/82 §7a. Self-service registration — until M1 a vendor row could only be created by staff in admin, which is a marketplace whose seller half is reachable only by asking us. ⭐ **Idempotent.** An org that is already registered gets `200` and its existing row, never a `409`: two members of one org pressing the button is an ordinary event. ⛔ The organization comes from the caller's own scope, never from the body — a caller-supplied org id would let a member of one tenant enrol another. ⛔ The row is always created `registered` and never first-party: registering is not approval, and approval is not verification.

Treść żądania

NazwaTypWymaganeCo to jest
display_namestringTakThe name buyers see. Required.
contact_emailstringNie
countrystringNieISO-3166-1 alpha-2.

Odpowiedź

NazwaTypWymaganeCo to jest
registeredbooleanTak`false` is a normal answer — most customers are not sellers — and the other two fields are then `null`.
vendorMarketplaceVendorSelfTak
verificationMarketplaceVerificationTak

Błędy, które ten punkt końcowy może zwrócić

401 · 422