OverviewQuick Start

Quick Start

Create a store and get API credentials — end to end.

Prerequisites

  • A Storentia account (sign in with email OTP)
  • curl or any HTTP client, for the setup calls

Create a store

After logging in, create a store with your access token from account auth:

bash
curl https://apis.storentia.com/v1/user/stores/onboarding/stage1 \  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..." \  -H "Content-Type: application/json" \  -d '{    "name": "Ada'"'"'s Ceramics",    "description": "Handmade stoneware, shipped worldwide."  }'

The response includes the new store's id — keep it, you'll need it next.

Register an OAuth app

Register an OAuth app under that store to get long-lived API credentials (POST /v1/user/stores/oauth/apps). The response includes a client_id and client_secret — this pair authenticates requests to the Storefront GraphQL API.

Next steps