API reference navigation
Products
AdminProducts groups 11 operations on the admin tier.
Admin tier. Requires an RBAC-gated vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.
/api/{version}/admin/products
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501. The storefront GET /api/{version}/products is the implemented read.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Responses
- 501ApiErrorResponseNot Implemented
curl -X GET \
'https://<your-shop-domain>/api/2026-04-01/admin/products' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501 and nothing is created.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Responses
- 501ApiErrorResponseNot Implemented
curl -X POST \
'https://<your-shop-domain>/api/2026-04-01/admin/products' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501, including for an id that exists.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X GET \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501 and nothing is modified.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X PUT \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501 and nothing is deleted.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X DELETE \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}/variants
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501. The storefront GET /api/{version}/products/{id}/variants is the implemented read.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X GET \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>/variants' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}/variants
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501 and nothing is created.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X POST \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>/variants' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}/variants/{variantId}
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501 and nothing is modified.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) | |
| variantId required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X PUT \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>/variants/<variantId>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}/variants/{variantId}
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501 and nothing is deleted.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) | |
| variantId required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X DELETE \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>/variants/<variantId>' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}/metafields
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501. No metafield surface exists in this version, on either tier.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X GET \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>/metafields' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'/api/{version}/admin/products/{id}/metafields
Not implementedThis route is declared in the spec but not implemented yet — it answers 501.
Not implemented; always 501 and nothing is written.
vnstat_ access token, sent as Authorization: Bearer … or X-Vinosoft-Access-Token.Path parameters
| Name | Type | Description |
|---|---|---|
| id required | string (uuid) |
Responses
- 501ApiErrorResponseNot Implemented
curl -X PUT \
'https://<your-shop-domain>/api/2026-04-01/admin/products/<id>/metafields' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer vnstat_<token>'Schemas
ApiErrorResponse
The error envelope every non-2xx response from this API uses. Documentation shape: actions build it as an anonymous object, so this type exists to give the OpenAPI document a schema to point at.
errorsstringnullableHuman-readable description of what went wrong, e.g.
Not Found,Invalid page_info.codestringnullableMachine-readable error code. Only a few endpoints (checkout) emit one; omitted everywhere else.
