OAuth scopes
commerce:readcommerce:managepublic_profileWebhooks
commerce.catalog.updatedcommerce.order.createdcommerce.order.updated- 1
1. Create app with commerce scopes
Create app at /developers/dashboard. Request commerce:read and commerce:manage. commerce:manage requires Live approval for production merchants.
- 2
2. Merchant OAuth
Merchant (Maison director) signs in via Sign in with Aura. In dev mode they must be added as a Test User on your app.
GET https://aura.aisastra.com/oauth/authorize? client_id=YOUR_APP_ID &redirect_uri=https://yourapp.com/oauth/callback &scope=commerce:read commerce:manage public_profile &state=csrf_token
- 3
3. Discover their Maison
List Maisons the merchant directs — use the id in catalog and order calls.
GET https://aura.aisastra.com/api/v1/graph?node=me/maisons Authorization: Bearer USER_ACCESS_TOKEN
- 4
4. Read existing catalog
Pull current SKUs before syncing deltas from your ERP.
GET https://aura.aisastra.com/api/v1/graph?node=maison/MAISON_ID/catalog&limit=50 Authorization: Bearer USER_ACCESS_TOKEN
- 5
5. Create or update a product
POST creates a new Artifact in the Maison catalog. Updates use maison/{id}/catalog/{productId}.
POST https://aura.aisastra.com/api/v1/graph Authorization: Bearer USER_ACCESS_TOKEN Content-Type: application/json { "node": "maison/MAISON_ID/catalog/products", "title": "Silk Scarf", "price": 2499, "sku": "SCARF-001" } - 6
6. Listen for orders
Subscribe to commerce.order.created and commerce.order.updated. Payload includes orderId, maisonIds, paymentStatus.
- 7
7. App Review for Live merchants
Show catalog sync demo + privacy policy in App Review. Approved apps can OAuth any verified merchant.