{ "opencollection": "1.0.0", "info": { "name": "konfetti Store account API", "version": "v1" }, "items": [ { "info": { "name": "account", "type": "folder" }, "items": [ { "info": { "name": "Retrieve the authenticated customer's profile", "type": "http" }, "http": { "method": "GET", "url": "https://api.gokonfetti.com/v1/user/profile", "params": [ { "name": "include", "value": "supplier,categories", "type": "query", "description": "Comma-separated relations to embed. Observed values for events: `categories`, `supplier`, `address`, `reviews`, and the dot-path `address.locality`. For categories: `thumbnail`. For the user profile: `customer`, `referralCoupon`." }, { "name": "with_session", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Requires a Bearer access token; unauthenticated GET redirected (302) to the login page. The storefront calls it with `?include=customer,referralCoupon&with_session=1` and reads `data.balance.amount` (minor units)." }, { "info": { "name": "Register a new customer account", "type": "http" }, "http": { "method": "POST", "url": "https://api.gokonfetti.com/v1/register", "body": { "type": "json", "data": "{}" } }, "docs": "POST-only (GET returned 405). Probing with an empty body returned a 422 listing the required fields, which is where the schema below comes from. Validation messages are returned in the request locale (German by default)." } ] } ], "bundled": true }