create-cartbase 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template/app/docs/collections.md +167 -167
- package/template/app/docs/components.md +1290 -1246
- package/template/app/docs/customers.md +3 -4
- package/template/app/docs/products.md +316 -307
- package/template/app/package.json +1 -1
- package/template/app/src/app/products/[handle]/page.tsx +9 -1
|
@@ -80,7 +80,6 @@ test "$STATUS" = 401
|
|
|
80
80
|
"vat_number": null,
|
|
81
81
|
"has_account": true,
|
|
82
82
|
"account_status": "approved", // "pending" | "approved" — B2B gating
|
|
83
|
-
"tags": [], // admin-only labels; read-only here
|
|
84
83
|
"metadata": null,
|
|
85
84
|
"created_at": "ISO-8601",
|
|
86
85
|
"updated_at": "ISO-8601",
|
|
@@ -90,8 +89,9 @@ test "$STATUS" = 401
|
|
|
90
89
|
```
|
|
91
90
|
|
|
92
91
|
Named columns only (2026-09-14): the tenant id, the staff member who
|
|
93
|
-
created the row, the payment provider's customer id
|
|
94
|
-
stamp are not part of this
|
|
92
|
+
created the row, the payment provider's customer id, the soft-delete
|
|
93
|
+
stamp and the merchant's tags about the customer are not part of this
|
|
94
|
+
payload.
|
|
95
95
|
|
|
96
96
|
- **Errors**: `401 unauthenticated` · `400 missing_client_id`.
|
|
97
97
|
- **SDK**: `customers.getMe(client)`
|
|
@@ -122,7 +122,6 @@ curl -s "$BASE/api/store/customers/me" -H "x-client-id: $CLIENT_ID" \
|
|
|
122
122
|
"company_eik": "123456789", // loose format — foreign B2B customers exist
|
|
123
123
|
"vat_number": "BG123456789",
|
|
124
124
|
"metadata": {}
|
|
125
|
-
// "tags" are admin-only — the server STRIPS them from this body.
|
|
126
125
|
}
|
|
127
126
|
```
|
|
128
127
|
|