marketplace

GET /v1/marketplace/purchases

Everything this org has bought on the marketplace.

Gbogbo àwọn marketplace endpoints

Ìfàṣẹ́pọ̀

Fi bọ́kì kọ́kọ́ (bearer token) ránṣẹ́ gẹ́gẹ́ bí àmì ìdánimọ̀ API. Ibùdó yìí kò sọ àṣẹ pàtó kan nínú àlàyé rẹ̀, nítorí náà fún kọ́kọ́ rẹ̀ ní ohun tó kéré jù lọ tí ó nílò kí o sì ṣàyẹ̀wò ìdáhùn náà dípò kí o kàn rò ó.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

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

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

The buyer's side of a sale. A `Sale` is a genuinely two-party record — one row, two audiences — so this and `listMarketplaceVendorSales` read the same table and return deliberately different payloads. Mirroring the money into a second table is how two copies of one balance come to disagree. Declared before `/v1/marketplace/{vertical}/{slug}` in the router: that route is two free segments and would otherwise swallow the vendor routes below.

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
cursor (query)stringBẹẹkọOpaque cursor from a previous page's `page.next_cursor`.
limit (query)integerBẹẹkọMaximum items to return (page size).

Idahun

OrúkọIruTí a nílòKini o jẹ
dataMarketplacePurchase[]Bẹẹni
pagePageMetaBẹẹni

Awọn aṣiṣe ti ibudo ipari yii le da pada

401