Bwatoo Gaboŋ · WO · XAF Dugg Def yéene

API dugal bu Bwatoo

Yónneel sa katalog ci sa bitig Bwatoo dale ci sa kees, sa bitig ci internet walla sa lojisyelu saytu.

Dokimaa API bi (OpenAPI)

Wóorlu

Sos ab caabi ci Sama bitig, Caabi API yi. Yónne ko ci Authorization. Caabi jéem (bw_test_…) dafay saytu say yónnent te delloo rapoor bi te du génne dara.

Authorization: Bearer bw_live_…

Yónne ay njaay

100 njaay lu ëpp ci benn laaj. Dañuy sos njaay mi, walla ñu yeesal ko su amee external_id bu ñu xam.

POST https://api.ga.bwatoo.com/api/v1/shop/products
{"items": [{"external_id": "HLX-15", "category": "cars", "title": "Toyota Hilux 2015",
  "description": "…", "price": "8500000", "currency": "XAF", "city": "Libreville",
  "attributes": {"make": "toyota", "model": "hilux", "year": 2015},
  "photos": ["https://…/hilux.jpg"], "stock": 3}],
 "full_feed": false}

Njaay mu nekk am na njureef: created, updated, unchanged, pending (saytuwu ekip bi) walla rejected ak ngirte.

Yeneen yoon

Fiise yi ak flux yi

Ñoom njaay yooyu mën nañu leen yónnee ci CSV, Excel, XML walla JSON dale ci Sama bitig, Dugal. Kolon yi:

external_id, category, title, description, price, currency, negotiable, city, district, photos, video_url, stock, delivery_days, ships_from, delivery_days_min, delivery_days_max, variants, attr_<clé>

Njëg yu bare dañu leen di xàjjale ak rëdd bu taxaw (|). Business: Bwatoo dafay jàng sa flux bu sore 6 waxtu yu nekk.

Dayo yi

Pro: 100 sos ci bés ak 20 ci waxtu. Business: 2 000 ci bés ak 300 ci waxtu. Bu weesoo 50 sos ci benn waxtu, yéené yu bees yi ekip bi dina leen saytu.

Webhooks (Business)

Xew-xew yi: message.received, offer.received, offer.accepted, stock.out, listing.paused. Mbindum bataaxal yi duñu ko yónnee mukk. Saytul xaatim bi balaa ngay jëfe yónnent bi:

X-Bwatoo-Signature: t=1760000000,v1=<hmac>

expected = hmac_sha256(secret, f"{t}.{body}")
ok = constant_time_equals(expected, v1) and abs(now - t) < 300

Tontul ak kood 2xx. Bu antuwul, Bwatoo dina jéemaat 5 yoon, ak diir buy yokku.

Réew ak làkk

Bwatoo am na benn site ci réew mu nekk: yéenekaay yi, njëg yi ak xaalisu sa réew.

Làkk
Réew

Réew yu mag yi

Réew yépp