Build your storefront on Petanque AI
One API for your web shop. Your products, stock and prices come from Petanque AI; your site keeps its own design.
How it works
Section titled “How it works”-
Create an API key in Petanque AI under Ayarlar → Web Sitesi. API keys
-
Call the API from your server, with the key in the
x-storefront-tokenheader. The key never goes to the browser. -
Build the shop: list products, sign shoppers in, place orders and take payment with the routes below.
API reference
Section titled “API reference”CatalogProducts, web prices with VAT, stock and the header banners.
Customer accountsSign-up with email verification, sign-in and password recovery.
Signed-in shopperProfile and order history, with the shopper's session token.
CheckoutPromo codes, placing an order and guest order lookup.
PaymentsCard payment on iyzico's hosted form and the payment result.
Address dataTurkey's provinces and districts for address forms. No key needed.