> This is part 1 of 2 of the full documentation (pages 1–100 of 114).
> The content is paginated: fetch every part to see all of it.
> Next part: https://docs.spurtcommerce.com/llms-full.txt/1
> Page index: https://docs.spurtcommerce.com/llms.txt

# Introduction

Welcome to the **SpurtCommerce Developer Documentation**.

SpurtCommerce is an open-source eCommerce platform for building and operating B2B and B2C online stores and multi-vendor marketplaces. It provides a foundation for managing products, customers, vendors, inventory, carts, orders, payments, shipping and other commerce workflows. The platform can be extended and customized to meet different business and marketplace requirements.

This documentation is a developer-oriented guide to understanding, configuring, integrating and extending SpurtCommerce.

**Platform :** SpurtCommerce B2C / marketplace backend\
**Primary stack referenced by the public repository:** Node.js, TypeScript, TypeORM, MySQL

### What is SpurtCommerce?

SpurtCommerce provides a commerce foundation for businesses that want to launch or customize an online store or marketplace. Depending on the solution and configuration, an implementation can support:

* **B2C commerce** — online shopping experiences for individual customers.
* **B2B commerce** — business purchasing and wholesale-oriented workflows.
* **Multi-vendor marketplaces** — vendor onboarding and management alongside shared marketplace operations.
* **Product and catalogue management** — products, categories, collections, attributes and inventory.
* **Order management** — cart, checkout and order-processing workflows.
* **Commerce operations** — payment, shipping, tax, currency, language and customer-management capabilities.
* **Customization and integration** — adapting the platform and connecting external services to business requirements.

The exact features available in a deployment depend on the version, enabled modules, configuration and installed extensions. Consult the source code and version-specific API documentation before relying on a feature or endpoint.

### Who is this documentation for?

This documentation is intended for:

* **Backend developers** implementing business logic, services, integrations and APIs.
* **Storefront developers** integrating customer-facing applications with Store APIs.
* **Vendor application developers** building vendor-facing workflows with Vendor APIs.
* **DevOps and deployment engineers** configuring environments, databases and production deployments.
* **Technical leads and solution architects** evaluating the platform structure and planning customizations.

### Documentation structure

#### Getting Started

Prepare your development environment and run the application. This section covers installation, payload or initial data setup, and trying the APIs.

#### Core concepts

Learn the main commerce domains and how they fit into the platform, including customer management, products, collections, inventory, categories, currency, cart, orders, payments, zones, languages, tax, permissions, authorization, shipping and mail service.

#### Developers

Explore implementation and extension topics such as database migrations, plugins, events, error handling, REST APIs, environment configuration, database structure, data imports, file uploading, translatable content and security.

#### Deployment

Follow the deployment guidance to prepare and operate a SpurtCommerce environment. Validate deployment instructions against the target release and your infrastructure.

#### References

Find supporting technical references, project resources and links to relevant source material.

### API documentation

The REST API documentation is organized by API audience and functional area.

* **Store APIs** support storefront and customer-facing commerce integrations.
* **Vendor APIs** support vendor-facing marketplace operations.

Each endpoint reference should identify the HTTP method and path and, where supported by the implementation, describe authentication requirements, permissions, parameters, request headers, request body, response structure and possible errors.

Use endpoint documentation together with the corresponding implementation in the repository. Do not assume that an endpoint, field, permission or response shown in documentation for an older release is available in the version you are using.

### How to read endpoint definitions

This package separates endpoint information into three evidence levels:

| Label                          | Meaning                                                                                            | How to use it                                                                                          |
| ------------------------------ | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| **Repository route inventory** | A route is present in the repository-oriented endpoint catalogue used during consolidation.        | Use the method/path as a discovery index; confirm full schema and permissions in the deployed release. |
| **Supplied-archive draft**     | The route appears in the submitted ZIP, but is not corroborated by the repository route inventory. | Treat it as a candidate until verified against the target release.                                     |
| **Not listed / not verified**  | The provided sources did not establish an endpoint for the concept.                                | Do not infer or invent a route; inspect runtime API docs and source.                                   |

### Technology and project resources

* **Official website:** <https://www.spurtcommerce.com/> — product overview, commerce use cases and platform capabilities.
* **Source repository:** <https://github.com/spurtcommerce/spurtcommerce> — source code, README, dependencies, setup instructions and implementation details.
* **Existing documentation portal:** <https://docs.spurtcommerce.com> — supplementary product and developer documentation.

#### Which source should I trust?

Use the following source order when information differs:

1. **Target release source code and configuration** — authoritative for implemented behaviour, available routes, validation, permissions and runtime requirements.
2. **README and release-specific documentation in the repository** — primary guidance for installation, prerequisites and supported setup procedures.
3. **This GitBook documentation** — organized developer guidance for the release it describes; verify implementation-specific details against the repository.
4. **Existing documentation portal and marketing website** — useful for background, product terminology and feature context, but not proof that a particular API or implementation detail exists in the target release.

The existing documentation portal identifies its content as SpurtCommerce v5 documentation. Some concepts and workflows may still be useful, but older instructions and API references must be checked before applying them to a newer release.

### Version and compatibility

Documentation and API behaviour can change between releases. Before implementing an integration:

1. Confirm the SpurtCommerce release or branch being used.
2. Check the repository README and environment example for the required runtime and configuration.
3. Confirm that the API route exists in that release.
4. Verify request validation, authentication and authorization in the implementation.
5. Test the request and response against a running instance of the same release.

Examples in this documentation should be treated as illustrative unless explicitly identified as verified against the target release.

### Contributing and getting help

When reporting an issue or proposing a documentation correction, include the SpurtCommerce version or Git branch, the affected documentation page, the relevant API method and path (if applicable), and a concise reproduction or source-code reference.

For project updates and support, refer to the official [SpurtCommerce website](https://www.spurtcommerce.com/) and [GitHub repository](https://github.com/spurtcommerce/spurtcommerce).

***

**Documentation note:** This GitBook is intended to describe the selected SpurtCommerce release. Keep version-specific examples, API contracts and setup instructions aligned with that release rather than copying older documentation without verification.


# Get Started

Use this path to prepare a local development environment, understand request payload conventions, and make a safe first API call.

### Recommended sequence

1. Read Installation and pin the exact repository tag or commit.
2. Configure environment variables using ENV setup.
3. Prepare a test database using Database.
4. Learn request structure in Payload setup.
5. Verify connectivity using Trial API.
6. Continue to Core concepts for domain workflows.

### Before you begin

You need access to the source repository, a supported Node.js/npm toolchain, MySQL, and credentials for any external services enabled by your edition. Use a local or staging tenant; do not test initial setup against a live customer environment.


# Prerequisites

This page outlines a source installation for the SpurtCommerce backend. Always pin the target release tag or commit before installing dependencies.

### Prerequisites

The currently public repository README lists:

<table><thead><tr><th width="126.5546875">Dependency</th><th width="200.0859375" align="right">Public README reference</th><th>Notes</th></tr></thead><tbody><tr><td>Node.js</td><td align="right"><code>v22.23.1</code></td><td>Match the release's engine requirements.</td></tr><tr><td>npm</td><td align="right"><code>10.9.8</code> or later</td><td>Keep the lockfile supplied by the release.</td></tr><tr><td>MySQL</td><td align="right">Required</td><td>Use a supported MySQL version and collation for that release.</td></tr><tr><td>Git</td><td align="right">Required</td><td>Needed to obtain and pin the source.</td></tr></tbody></table>

Verify installed tools:

```bash
node --version
npm --version
mysql --version
git --version
```

### Get the source

```bash
git clone https://github.com/spurtcommerce/spurtcommerce.git
cd spurtcommerce
```

For reproducible builds, check out the release tag or immutable commit approved for your environment. Do not assume the moving `master` branch is identical to a packaged release.

### Install dependencies

```bash
npm install
```

Use the lockfile and package manager expected by that tag. Do not delete or regenerate the lockfile as part of a routine deployment.

### Configure the environment

Create a private `.env` from `.env.example` and set the application, tenant, database, token, mail, storage, and URL configuration. Follow ENV setup. Restrict file permissions and never commit `.env`.

### Prepare the database

Create an empty MySQL database and a dedicated application account. Import a provided SQL dump only when it is from the same release and edition. Review Database and migrations before modifying schema.

### Start the backend

#### ❯ 🗄️ Database Configuration

#### 1. Create Database

Create the MySQL database used by the SpurtCommerce 6.0 backend.

```sql
CREATE DATABASE <YOUR_DB_NAME>;
```

#### 2. Import SQL Backup

If a SQL backup is provided, import it using:

```bash
mysql -u <YOUR_DB_USERNAME> -p <YOUR_DB_NAME> < <YOUR_SQL_BACKUP_FILE>
```

#### 3. Run Migrations

If the project uses TypeORM migrations, run the migration command configured in the backend `package.json`.

```bash
<TYPEORM_MIGRATION_COMMAND>
```

> \[!NOTE] Use the migration command configured in the SpurtCommerce 6.0 project. The exact command may vary depending on the project configuration.

***

### ❯ ▶️ Start Backend

Start the SpurtCommerce 6.0 B2C & B2B APIs using the configured start command.

```bash
npm start
```

The API listens on the port configured through:

```env
APP_PORT=<YOUR_API_PORT>
```

#### Example

```env
APP_PORT=8000
```

The backend API will then be available at:

```
http://localhost:8000
```

***

### Verify the installation

1. Confirm the process starts without missing configuration or database errors.
2. Confirm the API binds to the configured `APP_PORT`.
3. Locate the configured API documentation route (`APIDOC_ROUTE`) if enabled.
4. Run a safe read-only API request using a test tenant.
5. Verify login, tenant resolution, and media storage in staging.

### Production cautions

Use TLS, managed secrets, private database networking, least-privilege accounts, backups, log rotation, a process supervisor, health checks, monitoring, and a tested rollback. Do not expose monitor endpoints, Swagger credentials, database ports, or debug logs publicly.


# Payload setup

This guide explains how to construct API requests. The accepted schema is endpoint-specific; use the running release's API reference and its DTO/validator/controller implementation as the source of truth.

### Request components

| Component        | Purpose                                           | Example                         |
| ---------------- | ------------------------------------------------- | ------------------------------- |
| Base URL         | Scheme, host, port, and configured route prefix   | `<BASE_URL>`                    |
| Path parameters  | Identify a particular resource                    | `/resource/:id`                 |
| Query parameters | Filtering, sorting, or pagination where supported | `?limit=10&offset=0`            |
| Headers          | Content negotiation and authentication            | `Content-Type`, `Authorization` |
| Body             | Data accepted by the operation                    | JSON or multipart form fields   |

### JSON request

```http
POST <BASE_URL>/<VERIFIED_ROUTE>
Authorization: Bearer <ACCESS_TOKEN>
Content-Type: application/json
Accept: application/json
```

```json
{
  "fieldName": "value-defined-by-the-endpoint-contract"
}
```

The route and field above are placeholders, not a SpurtCommerce endpoint contract. Do not copy generic sample fields into a live request.

### Query parameters

Use only parameters documented for the specific operation. The repository route inventory contains examples such as `limit`, `offset`, `keyword`, `status`, `count`, and `duration`; those examples do not establish requiredness, data type, defaults, or enum values.

Example format:

```
<BASE_URL>/<VERIFIED_ROUTE>?limit=10&offset=0
```

### Multipart requests

File-upload APIs may require `multipart/form-data`. Use the exact field name and size/type limits shown by the running API documentation. In browser clients, let the HTTP library set the multipart boundary; do not manually hard-code it.

### Payload validation checklist

* Send only fields accepted by the operation.
* Match primitive types, enum values, date formats, and nested structures.
* Distinguish omitted values from `null`, `false`, `0`, and empty strings.
* Use server-issued IDs, not display labels, unless the contract expects labels.
* Include the expected tenant/application context only through the supported mechanism.
* Do not submit server-calculated totals, prices, discounts, tax, stock, timestamps, ownership, or status fields unless explicitly allowed.
* Avoid mass assignment; whitelist writable fields.

### Error diagnosis

Test one invalid field at a time in staging. Record the HTTP status, sanitized error code/message, and correlation ID. Never include real passwords, tokens, card data, or customer information in examples or tickets.


# Trial API

Use a safe, read-only request to confirm that the backend is reachable before trying writes, checkout, imports, or payment operations.

### 1. Build the base URL

Use the deployed values for `APP_SCHEMA`, `APP_HOST`, `APP_PORT`, and `APP_ROUTE_PREFIX`. For example:

```
<APP_SCHEMA>://<APP_HOST>:<APP_PORT><APP_ROUTE_PREFIX>
```

Do not append the route prefix twice. There is no universal production host or prefix.

### 2. Locate the runtime API reference

The repository exposes configurable API documentation and Swagger settings through `APIDOC_*` and `SWAGGER_*` environment variables. If enabled, inspect the configured route on your own environment. Use the target release's reference rather than an endpoint copied from an older version.

### 3. Make a read-only request

Select a GET endpoint that is visible in the running API docs and permitted for your test role and tenant.

```bash
curl -i   -H 'Accept: application/json'   '<BASE_URL>/<VERIFIED-READ-ONLY-ROUTE>'
```

For a protected route:

```bash
curl -i   -H 'Accept: application/json'   -H 'Authorization: Bearer <ACCESS_TOKEN>'   '<BASE_URL>/<VERIFIED-PROTECTED-READ-ROUTE>'
```

The paths above are placeholders. Do not use a guessed route as a connectivity test.

### 4. Interpret the response

| Result | First checks                                                               |
| ------ | -------------------------------------------------------------------------- |
| `2xx`  | Transport succeeded; inspect the application-level response too.           |
| `400`  | Request format, required fields, and validation rules.                     |
| `401`  | Token presence, signature, expiry, and authentication scheme.              |
| `403`  | Role, permission, tenant context, and resource ownership.                  |
| `404`  | Host, route prefix, path, edition, and enabled module.                     |
| `5xx`  | Sanitized application logs, database health, and external provider status. |

Do not use a write, delete, order, payment, or import endpoint as a trial request.


# Core Concepts

This section explains the major commerce domains and maps them to the endpoint inventory available in the supplied materials.

### Workflows

| Domain                   | Start here                              | Main implementation concern                       |
| ------------------------ | --------------------------------------- | ------------------------------------------------- |
| Customer accounts        | Customer Management                     | Identity, addresses, profile ownership, privacy   |
| Catalogue                | Products, Category, Collections         | Visibility, variants, SKU, category relationships |
| Stock                    | Inventory                               | Concurrency, reservations, overselling            |
| Checkout                 | Cart, Orders, Payments, Shipping        | Server-side totals, idempotency, payment status   |
| Localization             | Currency, Languages, Zones, Tax         | Locale, jurisdiction, rounding, fallback          |
| Access and notifications | Authorization, Permission, Mail Service | Tenant isolation, least privilege, safe delivery  |

### Endpoint evidence

The route inventory is strongest for vendor/back-office operations. Some storefront and gateway routes appear only in the submitted ZIP. Each page labels the source category. A blank endpoint section does not imply that a feature is unsupported; it means the available source set did not establish a release-verified route.

For a complete method/path listing, see REST APIs.


# Authorization

Authorization decides whether an authenticated identity may access a route, action, or resource. It should evaluate identity, permission, tenant context, and resource ownership as appropriate.

### Repository route inventory — vendor authentication

<table><thead><tr><th>Method</th><th width="249.17578125">Endpoint</th><th width="163.84765625">Feature area</th><th>Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>POST</code></td><td><code>/api/demo-vendor/login</code></td><td>Vendor Access &#x26; Login</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/demo-vendor/login-new</code></td><td>Vendor Access &#x26; Login</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/demo-vendor/send-otp</code></td><td>Vendor Access &#x26; Login</td><td>—</td><td>—</td></tr></tbody></table>

> **Contract status:** The repository route inventory records method, path, feature area, and a small set of query examples. It does not publish the complete DTO, validation rules, response schema, status-code matrix, or route-level permission policy. Treat the route as an inventory entry, not a complete request/response contract. Confirm details in the target release's generated API docs (when enabled) and the corresponding route/controller/service/validator before integrating.

### Customer authentication routes in the submitted ZIP

> **Supplied-archive draft:** The following storefront or gateway endpoint was written in the submitted documentation ZIP. It was not independently confirmed against the public repository route inventory used for this package. Validate the exact path, method, authentication, payload, response, and provider configuration against the deployed release before use.

| Method | Endpoint                    | Purpose in supplied draft |
| ------ | --------------------------- | ------------------------- |
| `POST` | `/api/customer/login`       | Customer login            |
| `POST` | `/api/customer/register`    | Customer registration     |
| `POST` | `/api/customer/logout`      | Customer logout           |
| `POST` | `/api/customer/Oauth-login` | Social login              |
| `POST` | `/api/customer/send-otp`    | Send OTP                  |
| `POST` | `/api/customer/otp-verify`  | Verify OTP                |

### Request decision model

1. Resolve the authentication mechanism and validate credential/token integrity.
2. Resolve trusted application/tenant context.
3. Load the principal and applicable permissions.
4. Check action permission and resource ownership.
5. Execute the operation and audit sensitive changes.

### Security requirements

* Never trust a tenant identifier supplied only in a body/query field.
* Keep authentication failures distinct from authorization denials.
* Validate ownership for object IDs to prevent insecure direct object references.
* Use short-lived tokens and safe rotation/revocation behavior where supported.
* Do not log bearer tokens, passwords, OTPs, or reset keys.

Related pages: Permission, Security, Customer Management.


# Cart

The cart stores a customer's selected products before order placement. It may support an authenticated customer, an anonymous session, or a merge between the two; confirm the identity model in the deployed release.

### Cart lifecycle

1. Retrieve the current cart or create its session context.
2. Add a product/variant and quantity.
3. Revalidate product visibility, pricing, stock, and quantity limits.
4. Update or remove lines as the shopper changes selection.
5. Recalculate discounts, tax, shipping estimates, and payable total server-side.
6. Revalidate the entire cart immediately before order creation.

### Storefront endpoints in the submitted ZIP

<table><thead><tr><th width="84.5859375">Method</th><th width="152">Endpoint</th><th>Purpose</th><th>Payload details in supplied guide</th></tr></thead><tbody><tr><td><code>POST</code></td><td><code>/api/cart</code></td><td>Add product to cart</td><td><code>productId</code> and <code>quantity</code> required; <code>variantId</code> optional (draft schema)</td></tr><tr><td><code>GET</code></td><td><code>/api/cart</code></td><td>Get current cart</td><td>No request body described</td></tr><tr><td><code>DELETE</code></td><td><code>/api/cart/delete-cart-item</code></td><td>Remove a cart line</td><td><code>cartId</code> required (draft schema)</td></tr></tbody></table>

### Endpoint status

No cart-specific route appears in the repository vendor-panel route inventory. That inventory focuses on back-office operations and does not prove that storefront cart APIs are absent. Verify cart routes in the running storefront API docs and source before integration.

### Correctness and idempotency

* Never trust client-submitted unit prices, discounts, tax amounts, or totals.
* Decide whether repeated `add` requests increment quantity or create a separate line.
* Use a stable cart/line identity and handle concurrent updates.
* Define how guest carts merge after login.
* Re-check stock and promotion validity at checkout.
* Test deleted products, price changes, unavailable variants, expired coupons, and duplicate requests.


# Category

Categories organize products into a navigable hierarchy. A category may include a parent reference, display label, slug, description, media, sort order, status, and SEO metadata depending on the release.

### Lifecycle

1. Create a category and validate its identifier/slug uniqueness.
2. Assign a parent only if hierarchical categories are supported.
3. Associate products according to the implemented relation model.
4. Configure visibility and display order.
5. Update SEO and translated content through the corresponding supported workflows.
6. Archive or delete only after considering child categories and product assignments.

### Repository route inventory — categories

| Method   | Endpoint                                   | Feature area | Path parameters | Query names/examples                                                                                                        |
| -------- | ------------------------------------------ | ------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `DELETE` | `/api/category`                            | Categories   | —               | —                                                                                                                           |
| `GET`    | `/api/category/category-detail`            | Categories   | —               | `categoryId` (example `1`)                                                                                                  |
| `GET`    | `/api/category`                            | Categories   | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `GET`    | `/api/vendor-product/vendor-category-list` | Categories   | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `count` (example `false`)                         |
| `POST`   | `/api/category`                            | Categories   | —               | —                                                                                                                           |
| `PUT`    | `/api/category/:id`                        | Categories   | `id`            | —                                                                                                                           |

> **Contract status:** The repository route inventory records method, path, feature area, and a small set of query examples. It does not publish the complete DTO, validation rules, response schema, status-code matrix, or route-level permission policy. Treat the route as an inventory entry, not a complete request/response contract. Confirm details in the target release's generated API docs (when enabled) and the corresponding route/controller/service/validator before integrating.

### Related operations

The wider catalogue inventory also contains category-related product associations and SEO routes. See REST APIs, sections **Catalog** and **SEO**.

### Integrity and security

Prevent category-tree cycles, validate parent IDs, and ensure a user cannot edit a category outside their tenant. Consider the effect of deactivation/deletion on existing products, navigation, cached pages, and external links. Use stable identifiers instead of display names for integrations.


# Collections

Collections are curated sets of products used for merchandising, campaigns, landing pages, or navigational groupings. They may be a first-class resource, an extension, or be represented through category/product relationships; inspect the exact edition before designing integrations.

### Collection definition

Document these attributes only when implemented: collection ID, display name, slug, description, image/banner, locale, visibility, sort order, publication window, and membership rules.

### Membership models

* **Manual membership:** an operator adds and removes products. Define duplicate behavior and preserve the intended order.
* **Rule-based membership:** a query or predicate selects products. Define supported predicates, refresh timing, and whether results are cached.
* **Category-backed grouping:** a collection may be a presentation layer over an existing category. Avoid duplicating category membership unless the implementation requires it.

### Storefront behavior

A collection view commonly needs a stable identifier or slug and a paginated product list. Confirm that the backend filters unpublished products, respects tenant/channel scope, applies locale rules, and handles inventory visibility.

### Developer checklist

* Verify whether `Collection` exists as an entity/table or plugin resource.
* Define ownership and tenant scope.
* Prevent duplicate membership and invalid references.
* Decide what happens when a member product is deleted or unpublished.
* Test large collections, pagination, sorting, caching, and locale fallback.


# Currency

Currency configuration determines how prices are represented, formatted, converted, and persisted. A storefront's display currency is not necessarily the currency in which an order is charged or settled.

### Concepts

* **Store/base currency:** primary currency for catalogue and financial records where configured.
* **Display currency:** currency shown to a shopper; conversion may be informational or transactional depending on implementation.
* **Transaction currency:** currency accepted by the payment provider for a particular charge.
* **Precision and rounding:** decimal precision and rounding rules must be consistent across product prices, taxes, discounts, shipping, and refunds.

### Repository route inventory — currency configuration

| Method | Endpoint                               | Feature area              | Path parameters | Query names/examples                                                                                                        |
| ------ | -------------------------------------- | ------------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `GET`  | `/api/vendor-currency/master-currency` | Localization - Currencies | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |

> **Contract status:** The repository route inventory records method, path, feature area, and a small set of query examples. It does not publish the complete DTO, validation rules, response schema, status-code matrix, or route-level permission policy. Treat the route as an inventory entry, not a complete request/response contract. Confirm details in the target release's generated API docs (when enabled) and the corresponding route/controller/service/validator before integrating.

### Integration requirements

Use ISO currency codes where the implementation supports them. Do not use floating-point arithmetic for financial totals; follow the application's decimal/money representation. Persist the currency and exchange-rate basis used for an order so historical invoices remain reproducible. Confirm whether exchange rates are static, manually maintained, or fetched from a provider.

### Verify

Inspect currency entities, configuration, money/price services, checkout calculations, payment adapter currency support, and migrations. The route inventory lists a master-currency endpoint but does not provide an exchange-rate API or conversion contract.


# Customer Management

Customer management covers customer identity, account lifecycle, contact information, customer groups, addresses, and vendor-side customer administration.

### Domain model

Keep account identity separate from profile attributes and addresses. Treat email and phone changes as sensitive operations that require appropriate verification. A customer record should be tenant-scoped, and access to an order or address must be checked against the authenticated customer rather than only against an identifier supplied by the caller.

### Typical lifecycle

1. Start registration and verify the required contact channel.
2. Create the account using the server-side password policy.
3. Authenticate and issue a token using the configured session/token mechanism.
4. Maintain profile and addresses through authenticated operations.
5. Apply customer groups or administrative status changes only through authorized back-office operations.
6. Support account deletion/export according to the platform's retention and privacy requirements.

### Repository route inventory — customer administration

<table><thead><tr><th width="87.54296875">Method</th><th width="175.2265625">Endpoint</th><th>Feature area</th><th width="103.07421875">Path parameters</th><th width="152.84375">Query names/examples</th></tr></thead><tbody><tr><td><code>DELETE</code></td><td><code>/api/address/:id</code></td><td>Customer Addresses</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/address/:id</code></td><td>Customer Addresses</td><td><code>id</code></td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/address</code></td><td>Customer Addresses</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/address</code></td><td>Customer Addresses</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/address/:id</code></td><td>Customer Addresses</td><td><code>id</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/customer-contact/:id</code></td><td>Customer Contacts</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/customer-contact/:id</code></td><td>Customer Contacts</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/customer-contact</code></td><td>Customer Contacts</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `status` (example `1`), `email` (example</code> ), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/customer-contact</code></td><td>Customer Contacts</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/customer-contact/:id</code></td><td>Customer Contacts</td><td><code>id</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/vendor-customer-group/:id</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer-group/:id</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer-group/:id/customer</code></td><td>Customer Groups</td><td><code>id</code></td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>0</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer-group/customer/list</code></td><td>Customer Groups</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer-group</code></td><td>Customer Groups</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `groupName` (example</code> ), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>0</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-customer-group</code></td><td>Customer Groups</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-customer-group/:id</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-customer-group/:id/customer</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-customer-group/status/:id</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/vendor-customer/:id</code></td><td>Customers</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer/customer-detail/:id</code></td><td>Customers</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer/customer-excel-download/:logId</code></td><td>Customers</td><td><code>logId</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer/customer-excel-list</code></td><td>Customers</td><td>—</td><td><code>dateFrom</code> (example <code>2026-01-01</code>), <code>dateTo</code> (example <code>2026-12-31</code>), <code>title</code> (example <code>Customers</code>), <code>customerId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer/user-list</code></td><td>Customers</td><td>—</td><td><code>customerId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer</code></td><td>Customers</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `status` (example `1`), `email` (example</code> ), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-customer</code></td><td>Customers</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-customer/:id</code></td><td>Customers</td><td><code>id</code></td><td>—</td></tr></tbody></table>

> **Contract status:** The repository route inventory records method, path, feature area, and a small set of query examples. It does not publish the complete DTO, validation rules, response schema, status-code matrix, or route-level permission policy. Treat the route as an inventory entry, not a complete request/response contract. Confirm details in the target release's generated API docs (when enabled) and the corresponding route/controller/service/validator before integrating.

### Storefront account routes

| Method   | Endpoint                                  | Purpose recorded in supplied guide |
| -------- | ----------------------------------------- | ---------------------------------- |
| `POST`   | `/api/customer/send-otp`                  | Request a registration OTP         |
| `POST`   | `/api/customer/otp-verify`                | Verify registration OTP            |
| `POST`   | `/api/customer/register`                  | Register a customer                |
| `POST`   | `/api/customer/login`                     | Authenticate a customer            |
| `POST`   | `/api/customer/Oauth-login`               | Social authentication              |
| `POST`   | `/api/customer/change-password`           | Change password                    |
| `GET`    | `/api/customer/forgot-password-link`      | Begin password recovery            |
| `GET`    | `/api/customer/forgot-password-key-check` | Validate reset key                 |
| `PUT`    | `/api/customer/reset-password`            | Reset password                     |
| `GET`    | `/api/customer/get-profile`               | Get current profile                |
| `POST`   | `/api/customer/edit-profile`              | Edit profile                       |
| `GET`    | `/api/customer/login-log-list`            | View login history                 |
| `POST`   | `/api/customer/logout`                    | End customer session               |
| `PUT`    | `/api/customer/change/mail`               | Request email change               |
| `PUT`    | `/api/customer/mail/verify`               | Verify email change                |
| `POST`   | `/api/customer/admin-contact`             | Contact store administrator        |
| `DELETE` | `/api/customer/:id`                       | Delete customer account            |

The submitted guide contains sample registration/login payloads and response fragments. Treat those examples as draft material until the exact release controller and DTO confirm field names, OTP expiry, response envelope, and token behavior.

### Security and privacy

* Rate-limit login, OTP, password reset, and email-change operations.
* Store password hashes using the implementation's approved password hashing strategy; never log passwords or reset tokens.
* Enforce object-level access on profiles and addresses.
* Redact personal data from logs and error reports.
* Test expired OTPs, reused reset keys, duplicate registrations, locked accounts, and cross-tenant access.

### Related pages

Authorization · Permission · Orders · Security


# Inventory

Inventory controls the quantity available for purchase and protects the store from overselling. The exact stock model may be product-, variant-, warehouse-, or location-based.

### Core quantities

Distinguish on-hand stock, reserved stock, available-to-sell quantity, committed quantity, and back-order allowance where those concepts exist in the target release. Do not assume all are stored as separate fields.

### Repository route inventory — inventory operations

| Method | Endpoint                                            | Feature area | Path parameters | Query names/examples                                                                                                                          |
| ------ | --------------------------------------------------- | ------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `GET`  | `/api/product/inventory-product-list`               | Inventory    | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example ``), `sku` (example`` ), `status` (example `1`), `count` (example `false`) |
| `GET`  | `/api/vendor-product/inventory-vendor-product-list` | Inventory    | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example ``), `sku` (example`` ), `status` (example `1`), `count` (example `false`) |
| `GET`  | `/api/vendor-product/sku/:skuId`                    | Inventory    | `skuId`         | —                                                                                                                                             |
| `POST` | `/api/product/update-stock`                         | Inventory    | —               | —                                                                                                                                             |
| `POST` | `/api/vendor-product/update-stock`                  | Inventory    | —               | —                                                                                                                                             |

> **Contract status:** The repository route inventory records method, path, feature area, and a small set of query examples. It does not publish the complete DTO, validation rules, response schema, status-code matrix, or route-level permission policy. Treat the route as an inventory entry, not a complete request/response contract. Confirm details in the target release's generated API docs (when enabled) and the corresponding route/controller/service/validator before integrating.

### Operational rules

* Accept stock changes only through authorized server-side workflows.
* Validate non-negative values and permitted adjustment reasons.
* Make reservation and decrement operations transactional where supported.
* Protect updates against concurrent checkout and duplicate event delivery.
* Record actor, timestamp, source, and adjustment reason when the data model supports an audit trail.
* Reconcile on-hand stock with external inventory systems using stable external references.

### Important test cases

Test concurrent purchases of the last unit, cancellation restock, failed payment cleanup, back-order enabled/disabled, variant stock, duplicate import rows, and stock updates while a cart is open.


# Languages

Language configuration determines which locales can be used by the storefront and back office. The language list and the translation coverage of individual fields are separate concerns.

### Repository route inventory — language settings

<table><thead><tr><th width="79.4375">Method</th><th width="120.96484375">Endpoint</th><th>Feature area</th><th>Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/vendor-language</code></td><td>Localization - Languages</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-language</code></td><td>Localization - Languages</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-list/language</code></td><td>Master Lists</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `status` (example `1`), `defaultLanguage` (example</code> )</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-list/master-language</code></td><td>Master Lists</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>count</code> (example <code>false</code>)</td></tr></tbody></table>

### Localization behavior

For each release, document:

* Supported locale identifiers and the default locale.
* How the current locale is selected (header, query value, user preference, or configuration).
* Fallback behavior when a translation is missing.
* Whether products, categories, CMS pages, email templates, and validation errors are translatable.
* How search, sort, and slug resolution behave across locales.

### Developer guidance

Preserve stable record IDs across locales. Avoid changing business identifiers just because a translated display value changes. Update one locale without overwriting others, and test missing, empty, and disabled locale cases.

Related guide: Translatable.


# Mail Service

Mail delivery supports account verification, password resets, order notifications, and operational messages. The repository environment template includes SMTP and optional AWS SES configuration.

### Repository route inventory — email templates

| Method   | Endpoint                         | Feature area    | Path parameters | Query names/examples                                                                                |
| -------- | -------------------------------- | --------------- | --------------- | --------------------------------------------------------------------------------------------------- |
| `DELETE` | `/api/vendor-email-template/:id` | Email Templates | `id`            | —                                                                                                   |
| `GET`    | `/api/vendor-email-template`     | Email Templates | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `count` (example `false`) |
| `POST`   | `/api/vendor-email-template`     | Email Templates | —               | —                                                                                                   |
| `PUT`    | `/api/vendor-email-template/:id` | Email Templates | `id`            | —                                                                                                   |

### Environment configuration

The submitted environment guide identifies the following mail variables: `MAIL_DRIVER`, `MAIL_HOST`, `MAIL_USERNAME`, `MAIL_PASSWORD`, `MAIL_PORT`, `MAIL_SECURE`, and `MAIL_FROM`. It also mentions optional SES settings. Confirm the exact variable names and provider adapter in the target `.env.example` and runtime configuration loader.

### Delivery practices

* Use a verified sender identity and authorized provider account.
* Keep SMTP/SES credentials in secret storage, not in source control.
* Use a safe test recipient in development/staging.
* Avoid blocking critical order requests on slow mail-provider calls when asynchronous delivery is available.
* Make retries safe against duplicate messages.
* Log delivery IDs and provider error codes, not credentials or unnecessary message content.

### Troubleshooting

Check DNS/domain authentication, sender verification, SMTP TLS/port pairing, provider permissions, recipient restrictions, bounce/suppression status, and application logs. Distinguish provider acceptance from final inbox delivery.


# Orders

An order is the durable record of a completed or initiated checkout. It should preserve the line-item and financial snapshot needed for customer service, fulfilment, invoices, refunds, and reporting.

### Typical lifecycle

Cart validation → address validation → shipping/tax calculation → payment initiation → order persistence → payment confirmation → fulfilment/status updates → completion or refund. The exact order of operations depends on the payment integration and release implementation.

### Repository route inventory — vendor order operations

<table><thead><tr><th width="84.1640625">Method</th><th>Endpoint</th><th width="139.21875">Feature area</th><th width="95.3984375">Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/order/:orderId</code></td><td>Order Details</td><td><code>orderId</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/order/order-product-log-list</code></td><td>Order Details</td><td>—</td><td><code>orderProductId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/order/orderLoglist</code></td><td>Order Details</td><td>—</td><td><code>orderId</code> (example <code>1</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/order/update-payment-status</code></td><td>Order Payment</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/order/order-change-status</code></td><td>Order Status</td><td>—</td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/order/delete-order/:id</code></td><td>Orders</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/order/export-log-download/:id</code></td><td>Orders</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/order/order-excel-list</code></td><td>Orders</td><td>—</td><td><code>dateFrom</code> (example <code>2026-01-01</code>), <code>dateTo</code> (example <code>2026-12-31</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/order/order-export-pdf</code></td><td>Orders</td><td>—</td><td><code>orderId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/order</code></td><td>Orders</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>sortBy</code> (example <code>orderDate</code>), <code>sortOrder</code> (example <code>DESC</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/order/create-order</code></td><td>Orders</td><td>—</td><td>—</td></tr></tbody></table>

### Storefront order routes

<table><thead><tr><th width="74.4296875">Method</th><th width="251.57421875">Endpoint</th><th>Purpose</th><th width="172.11328125">Payload/query described in supplied guide</th></tr></thead><tbody><tr><td><code>POST</code></td><td><code>/api/order</code></td><td>Place an order</td><td><code>addressId</code>, <code>paymentMethodId</code>; optional <code>couponCode</code>, <code>shippingMethodId</code></td></tr><tr><td><code>GET</code></td><td><code>/api/order-list</code></td><td>Customer order list</td><td><code>limit</code>, <code>offset</code>, <code>orderStatusId</code> query examples</td></tr><tr><td><code>GET</code></td><td><code>/api/order-detail/:orderId</code></td><td>Customer order detail</td><td><code>orderId</code> path parameter</td></tr></tbody></table>

These storefront paths must be checked against the target version; do not confuse them with vendor-panel routes in the repository inventory.

### Data integrity

* Snapshot product title/SKU, unit price, quantity, tax, discounts, shipping, and currency at purchase time.
* Keep payment state and fulfilment/order state distinct when the data model does so.
* Restrict order lookup, cancellation, and status updates by tenant and ownership.
* Make payment callbacks and fulfilment events idempotent.
* Record manual state changes and refund decisions in an audit trail.
* Do not allow clients to set a final order total or arbitrary status.

### Testing

Test stock depletion during checkout, duplicate order submissions, payment pending/failure/success, duplicate webhooks, partial fulfilment, cancellation, refunds, order export, and unauthorized access to another customer's order.


# Permission

Permissions describe which actions a principal may perform. They are distinct from authentication: a valid token does not automatically grant access to every resource or operation.

### Permission model

Before documenting implementation details, identify whether the selected release uses roles, role-to-permission mappings, per-user grants, module-level permissions, or a combination. Record the real permission identifier, scope, assignment workflow, and evaluation point from the source.

### Enforcement requirements

* Enforce permissions in the backend; hiding a UI control is not authorization.
* Apply tenant and resource ownership checks in addition to action permissions.
* Deny by default when policy data is missing or cannot be loaded.
* Prevent role/permission escalation through writable profile or mass-assignment fields.
* Audit privileged grants, revocations, and sensitive actions.

### Endpoint status

The route inventory does not define a dedicated permission-management endpoint group. Do not assume a guessed . Confirm the permission and role APIs from the target runtime  `/permissions` API path documentation and authorization middleware.

### Recommended test cases

Test anonymous access, authenticated-but-forbidden access, permitted access, cross-tenant resource IDs, revoked permissions, stale tokens, and service-to-service identities.


# Products

Products are the sellable catalogue records managed by authorized operators and exposed to storefront clients.

### Product information

Depending on the enabled edition and extensions, a product may include a stable ID, SKU, name, description, slug, images, pricing, category links, brand, status, attributes, variants, and inventory relationships. The deployed entity and migration set define the actual fields; do not infer writable fields from UI labels.

### Common workflows

1. Create or import the product record.
2. Assign category, attributes, media, and relevant tax classification.
3. Configure stock and any variant-specific data.
4. Validate pricing and availability server-side.
5. Publish or unpublish using the supported status workflow.
6. Expose only visible products to public storefront requests.

### Repository route inventory — product catalogue

<table><thead><tr><th width="75.94140625">Method</th><th>Endpoint</th><th width="97.29296875">Feature area</th><th width="98.140625">Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/product/allproduct-excel-list</code></td><td>Product Export</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/product-excel-list</code></td><td>Product Export</td><td>—</td><td><code>productId</code> (example <code>), `keyword` (example</code> ), <code>sku</code> (example <code>), `status` (example</code> ), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/allproduct-excel-list</code></td><td>Product Export</td><td>—</td><td><code>dateFrom</code> (example <code>2026-01-01</code>), <code>dateTo</code> (example <code>2026-12-31</code>), <code>productType</code> (example <code>1</code>), <code>title</code> (example <code>Export</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/product-excel-list/:logId</code></td><td>Product Export</td><td><code>logId</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/family/:id</code></td><td>Product Families &#x26; Attributes</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/family/:id</code></td><td>Product Families &#x26; Attributes</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/family/category</code></td><td>Product Families &#x26; Attributes</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>status</code> (example <code>1</code>), <code>keyword</code> (example ``), <code>familyId</code> (example <code>1</code>), <code>sortOrder</code> (example <code>1</code>), <code>count</code> (example <code>0</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/family</code></td><td>Product Families &#x26; Attributes</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>count</code> (example <code>0</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/family</code></td><td>Product Families &#x26; Attributes</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/family/:id</code></td><td>Product Families &#x26; Attributes</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/download-product-sample</code></td><td>Product Import</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/download-product-sample</code></td><td>Product Import</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/import-product-data</code></td><td>Product Import</td><td>—</td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/product/delete-tire-price/:id</code></td><td>Product Tire Price</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/get-product-tire-price-list</code></td><td>Product Tire Price</td><td>—</td><td><code>productId</code> (example <code>1</code>), <code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/product/add-tire-price</code></td><td>Product Tire Price</td><td>—</td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/vendor-product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/product-count</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/product-detail/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/update-owner-product-list</code></td><td>Products</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/product/update-vendor-sku-list</code></td><td>Products</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/product</code></td><td>Products</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `sku` (example</code> ), <code>status</code> (example <code>1</code>), <code>price</code> (example <code>100</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product</code></td><td>Products</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/product</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/delete-product</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/update-product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/update-sku</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-product</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/product/update-product-slug</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-product/product-status/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr></tbody></table>

### Storefront discovery routes in the submitted ZIP

> **Supplied-archive draft:** Validate the exact path, method, authentication, payload, response, and provider configuration against the deployed release before use.

| Method | Endpoint                                          | Purpose recorded in supplied guide |
| ------ | ------------------------------------------------- | ---------------------------------- |
| `GET`  | `/api/product`                                    | Browse products with query filters |
| `GET`  | `/api/product-detail/:slug`                       | Retrieve product details by slug   |
| `GET`  | `/api/list/related-product-list`                  | Retrieve related products          |
| `GET`  | `/api/store-product-variant/product/:productSlug` | Retrieve product variants          |

The supplied storefront guide lists filters such as `limit`, `offset`, `categoryId`, `keyword`, `minPrice`, `maxPrice`, `brandId`, and sort fields. Verify the exact accepted query names and defaults in the running API docs.

### Integration rules

* Treat returned prices, currency, tax classification, and stock as server-owned values.
* Do not expose hidden, disabled, or unpublished products to public users.
* Use SKU and stable IDs consistently; validate uniqueness at the database boundary.
* Escape rich text before rendering; validate external image URLs and media ownership.
* Revalidate price, stock, and product status at checkout.

### Test matrix

Cover missing SKU, duplicate SKU, disabled product, deleted category, zero stock, back-order setting, invalid variant combination, price update during cart lifetime, image deletion, and cross-tenant access.


# Shipping

Shipping connects a validated destination to eligible methods, delivery estimates, shipping charges, and fulfilment handoff. Carrier options and rate calculation depend on the release and enabled integrations.

### Typical checkout flow

1. Validate the customer's shipping address.
2. Resolve the address to the configured geographic zone.
3. Determine methods available for the cart, destination, and order value.
4. Calculate or retrieve the rate on the server.
5. Persist the selected method and price snapshot with the order.
6. Send fulfilment information to the configured carrier/warehouse workflow.

### Endpoint status

No shipping-rate or shipping-method endpoint was identified in the supplied repository route catalogue or Markdown endpoint files.

### Correctness and security

Recalculate shipping at order placement, reject methods that are not available for the destination, and preserve the amount used on the order. Keep carrier credentials in secret storage. Handle provider timeouts and duplicate fulfilment events safely. Avoid logging full customer addresses unless operationally necessary.

### Verify in the deployed release

Inspect shipping entities, rate services, zone rules, provider adapters, checkout/order code, and API docs. Document package dimensions, weight units, handling charges, tracking fields, and webhook behavior only when the target implementation supports them.


# Tax

Tax configuration determines how taxable products and orders are classified, calculated, displayed, and persisted. Tax rules vary by jurisdiction; confirm business/legal requirements for the deployment region.

### Repository route inventory — tax administration

<table><thead><tr><th width="74.29296875">Method</th><th>Endpoint</th><th width="124.109375">Feature area</th><th width="98.2109375">Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/vendor-tax/master-tax</code></td><td>Tax Management</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-tax</code></td><td>Tax Management</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-tax</code></td><td>Tax Management</td><td>—</td><td>—</td></tr></tbody></table>

> **Contract status:** The repository route inventory records method, path, feature area, and a small set of query examples. It does not publish the complete DTO, validation rules, response schema, status-code matrix, or route-level permission policy. Treat the route as an inventory entry, not a complete request/response contract. Confirm details in the target release's generated API docs (when enabled) and the corresponding route/controller/service/validator before integrating.

### Tax behavior to confirm

* Tax class/category and rate model.
* Inclusive versus exclusive price behavior.
* Jurisdiction or zone selection and precedence.
* Whether shipping is taxable.
* Per-line versus order-level rounding.
* Handling of exemptions, discounts, refunds, and cancelled orders.

### Correctness rules

Calculate tax on the server from validated address, product classification, and the applicable rules. Do not accept client-provided tax totals. Persist the applied rate and calculation basis with the order so old invoices and refunds remain reproducible.

### Testing

Use fixed, approved test cases for multiple regions, zero-rated products, discount allocation, shipping taxes, rounding boundaries, partial refund, and missing address data. Reconcile expected totals with the finance/tax owner before production.


# Zones

Zones group geographic regions used for shipping eligibility, tax calculation, or store configuration. The supported granularity (country, state/province, postal area) is defined by the deployed entities and business rules.

### Repository route inventory — zone lookup

<table><thead><tr><th width="77.9765625">Method</th><th>Endpoint</th><th width="110.609375">Feature area</th><th width="98.0703125">Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/vendor-list/zone</code></td><td>Master Lists</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>countryId</code> (example <code>1</code>), <code>keyword</code> (example ``), <code>count</code> (example <code>false</code>)</td></tr></tbody></table>

### Related geography routes

The broader Settings inventory also contains country lookup/configuration routes. See REST APIs → Settings.

### Rules to document for a release

* Which geographic identifiers are accepted?
* Can a zone include multiple countries or regions?
* Are overlapping zones allowed, and what is the precedence rule?
* Does zone selection affect tax, shipping, or both?
* What happens when a request has no state/postal code?

Normalize country/region identifiers and validate them server-side. Do not use a free-text country or region label as a security or pricing control.


# Developers

This section is for engineers extending, integrating, testing, and operating SpurtCommerce.

### Recommended path

* Start with REST APIs to discover routes and their evidence status.
* Configure local environments using ENV setup and Database.
* Review migrations before changing schema.
* Use Plugins and Events for extension design.
* Follow Error Handling, Security, and File Uploading for production-safe implementation.
* Use Imports data and Translatable for data lifecycle workflows.

### Documentation rule

When adding a new endpoint or extension, document method, full path, auth and permission requirements, tenant scope, path/query/body fields, response schema, status codes, side effects, idempotency, and at least one safe example. Update `SUMMARY.md` when adding or renaming pages.


# Database

The public SpurtCommerce v6 repository describes a TypeORM backend using MySQL. The `.env.example` referenced in the supplied material configures the connection through `TYPEORM_CONNECTION`, `TYPEORM_HOST`, `TYPEORM_PORT`, `TYPEORM_USERNAME`, `TYPEORM_PASSWORD`, and `TYPEORM_DATABASE`.

### Provisioning

Create a database using the charset and collation supported by the target release. Use a dedicated application account and grant only the privileges required at runtime. Where practical, use a separate migration identity.

```sql
CREATE DATABASE <database_name>;
```

The command is illustrative. Confirm charset/collation and database naming against the release schema and deployment standards.

### TypeORM configuration

The environment guide references entity and migration discovery paths and ORM synchronization/logging settings. Inspect the actual configuration loader and package scripts before changing them. Do not enable schema synchronization in production as a substitute for reviewed migrations.

### Data lifecycle

* Use versioned migrations for schema changes.
* Back up before migrations or destructive maintenance.
* Test restore, indexes, unique constraints, foreign keys, collation, and transaction behavior.
* Review query plans for high-volume tables.
* Avoid storing money as binary floating-point values.
* Use consistent tenant keys and constraints where the data model is multi-tenant.

### Security and operations

Do not expose MySQL publicly. Apply network controls, TLS where available, strong credentials, least privilege, encrypted backups, monitoring, and retention controls. Avoid logging SQL parameters containing personal data or secrets.


# ENV setup

The checked-out release's `.env.example` and configuration loader are the primary references for environment variables. Create a private `.env` at the backend root or inject variables through the deployment secret manager.

### Configuration groups

<table><thead><tr><th width="166.2578125">Group</th><th>Variables referenced in the supplied/public v6 material</th><th>Purpose</th></tr></thead><tbody><tr><td>Application</td><td><code>APP_NAME</code>, <code>APP_SCHEMA</code>, <code>APP_HOST</code>, <code>APP_PORT</code>, <code>APP_ROUTE_PREFIX</code>, <code>APP_BANNER</code></td><td>App identity, listener, route prefix</td></tr><tr><td>Tenant/application</td><td><code>TENANT_ID</code>, <code>APP_ID</code>, <code>APP_TYPE</code></td><td>Tenant/application resolution</td></tr><tr><td>Logging</td><td><code>LOG_LEVEL</code>, <code>LOG_OUTPUT</code></td><td>Runtime log behavior</td></tr><tr><td>Database</td><td><code>TYPEORM_CONNECTION</code>, <code>TYPEORM_HOST</code>, <code>TYPEORM_PORT</code>, <code>TYPEORM_USERNAME</code>, <code>TYPEORM_PASSWORD</code>, <code>TYPEORM_DATABASE</code></td><td>MySQL connection</td></tr><tr><td>ORM</td><td><code>TYPEORM_SYNCHRONIZE</code>, <code>TYPEORM_LOGGING</code>, <code>TYPEORM_LOGGER</code></td><td>TypeORM schema/logging behavior</td></tr><tr><td>Discovery</td><td><code>TYPEORM_MIGRATIONS</code>, <code>TYPEORM_ENTITIES</code>, <code>CONTROLLERS</code>, <code>MIDDLEWARES</code>, <code>SUBSCRIBERS</code> and related directory values</td><td>Application discovery paths</td></tr><tr><td>API docs/monitor</td><td><code>APIDOC_*</code>, <code>MONITOR_*</code>, <code>SWAGGER_*</code></td><td>API docs, Swagger, monitoring</td></tr><tr><td>Mail</td><td><code>MAIL_*</code>, optional <code>SES_*</code></td><td>SMTP or SES delivery</td></tr><tr><td>Storage</td><td><code>IMAGE_SERVER</code>, <code>AWS_*</code>, optional GCP values</td><td>Media/object storage</td></tr><tr><td>URLs</td><td><code>STORE_URL</code>, <code>BASE_URL</code>, redirect/image URL settings</td><td>Frontend and callback URLs</td></tr><tr><td>Security</td><td><code>JWT_SECRET</code>, <code>JWT_EXPIRY_TIME</code>, <code>CRYPTO_SECRET</code>, login-attempt settings</td><td>Token and cryptographic behavior</td></tr></tbody></table>

This is a grouping of variables referenced by the submitted documentation and public v6 repository material, not a guarantee that every variable exists in every release. Confirm exact names and semantics in the target `.env.example`.

### Local setup

```bash
cp .env.example .env
chmod 600 .env
```

Set values using a secure editor. Do not paste real `.env` contents into tickets, source control, documentation, or support chats.

### Production checklist

* Generate unique high-entropy secrets for each environment.
* Store secrets in a secret manager or protected deployment configuration.
* Use a restricted database account and encrypted connections where supported.
* Disable TypeORM schema synchronization in production unless the release explicitly documents a safe alternative.
* Avoid verbose SQL logging if it may capture personal data or tokens.
* Protect API docs and monitoring routes; disable public debug routes.
* Restrict CORS and trusted origins.
* Give storage and mail credentials least privilege.
* Validate critical variables at startup and fail safely if missing.


# Error Handling

API clients need predictable errors while internal implementation details remain private. The exact response envelope and code mapping must be read from the deployed release.

### General HTTP meanings

<table><thead><tr><th width="69.98828125">Status</th><th width="246.72265625">General meaning</th><th>Client action</th></tr></thead><tbody><tr><td><code>400</code></td><td>Invalid request or validation failure</td><td>Correct request data</td></tr><tr><td><code>401</code></td><td>Missing/invalid authentication</td><td>Re-authenticate; check token expiry</td></tr><tr><td><code>403</code></td><td>Authenticated but not permitted</td><td>Check permissions, tenant, ownership</td></tr><tr><td><code>404</code></td><td>Route or resource not found</td><td>Check URL, ID, edition, visibility</td></tr><tr><td><code>409</code></td><td>State or uniqueness conflict</td><td>Refresh current state; do not blindly retry</td></tr><tr><td><code>413</code></td><td>Request too large</td><td>Reduce upload/payload or use approved limits</td></tr><tr><td><code>415</code></td><td>Unsupported media type</td><td>Use the endpoint's required content type</td></tr><tr><td><code>429</code></td><td>Rate limited</td><td>Back off according to documented policy</td></tr><tr><td><code>5xx</code></td><td>Server/provider failure</td><td>Retry only when operation is safe and idempotent</td></tr></tbody></table>

These are conventional meanings, not a guarantee that every status is emitted by every SpurtCommerce endpoint.

### Client handling

* Parse the actual response envelope from the target release.
* Show safe, actionable messages; do not expose stack traces to shoppers.
* Retain a correlation/request ID for support diagnostics.
* Avoid retrying non-idempotent POST/PUT operations without an idempotency strategy.
* Distinguish business failure inside a successful HTTP response from transport-level failure, if the implementation uses that pattern.

### Server-side handling

Return stable error codes/messages where implemented. Log diagnostic details with a request ID, but redact passwords, tokens, card data, personal data, SQL parameters, and provider secrets. Keep logs useful without leaking internal paths or stack traces to API clients.


# Events

Events represent business actions or state changes. A deployment may use in-process emitters, TypeORM subscribers, webhooks, queues, or multiple mechanisms. Confirm the actual mechanism before relying on delivery behavior.

### Source evidence

The repository environment template includes a `SUBSCRIBERS` discovery path referencing subscriber classes under `src/api/subscribers`. This indicates a subscriber discovery convention; it does not by itself define public event names, payload schemas, or delivery guarantees.

### Event contract checklist

For every verified event, document:

<table><thead><tr><th width="143.8046875">Field</th><th>Required definition</th></tr></thead><tbody><tr><td>Name</td><td>Exact event identifier and version</td></tr><tr><td>Trigger</td><td>Business action and commit point</td></tr><tr><td>Payload</td><td>Field names, types, optionality, and privacy classification</td></tr><tr><td>Delivery</td><td>In-process, queue, webhook, or other transport</td></tr><tr><td>Ordering</td><td>Whether ordering is guaranteed</td></tr><tr><td>Retry</td><td>Retry/backoff and dead-letter behavior</td></tr><tr><td>Idempotency</td><td>Event ID or deduplication key</td></tr><tr><td>Failure</td><td>Whether the originating transaction is affected</td></tr></tbody></table>

### Consumer design

Keep handlers short, isolate provider calls, and make consumers idempotent. Do not assume exactly-once delivery. For important external side effects, consider a transactional outbox if supported by the architecture. Redact personal/payment data from event logs.

### Verify

Inspect subscriber classes, event emitters/listeners, queue adapters, webhook code, and tests. Do not publish guessed event names from UI labels.


# File Uploading

The submitted environment guide references a configurable `IMAGE_SERVER` and cloud storage settings. The repository route inventory includes media folder, upload, listing, deletion, resize, and preview operations.

### Repository route inventory — media

<table><thead><tr><th width="75.17578125">Method</th><th>Endpoint</th><th>Feature area</th><th>Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/media/vendor-search-folder</code></td><td>Folder Management</td><td>—</td><td><code>folderName</code> (example <code>products</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/media/delete-folder</code></td><td>Folder Management</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/media/vendor-create-folder</code></td><td>Folder Management</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/media/delete-file</code></td><td>Media Deletion</td><td>—</td><td><code>fileName</code> (example <code>image.jpg</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/media/multiple-delete</code></td><td>Media Deletion</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/media/document</code></td><td>Media Delivery &#x26; Preview</td><td>—</td><td><code>key</code> (example <code>documents/file.pdf</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/media/image-resize</code></td><td>Media Delivery &#x26; Preview</td><td>—</td><td><code>width</code> (example <code>100</code>), <code>height</code> (example <code>100</code>), <code>name</code> (example <code>image.jpg</code>), <code>path</code> (example <code>documents/</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/media/image-resizes</code></td><td>Media Delivery &#x26; Preview</td><td>—</td><td><code>name</code> (example <code>image.jpg</code>), <code>path</code> (example <code>documents/</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/media/plugin</code></td><td>Media Delivery &#x26; Preview</td><td>—</td><td><code>width</code> (example <code>100</code>), <code>height</code> (example <code>100</code>), <code>name</code> (example <code>plugin.jpg</code>), <code>path</code> (example <code>plugins/</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/media/video-preview-s3</code></td><td>Media Delivery &#x26; Preview</td><td>—</td><td><code>name</code> (example <code>video.mp4</code>), <code>path</code> (example <code>video</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/media/bucket-object-count</code></td><td>Media Storage</td><td>—</td><td><code>folderName</code> (example <code>products</code>), <code>limit</code> (example <code>10</code>), <code>marker</code> (example ``)</td></tr><tr><td><code>GET</code></td><td><code>/api/media/bucket-object-list</code></td><td>Media Storage</td><td>—</td><td><code>folderName</code> (example <code>products</code>), <code>limit</code> (example <code>10</code>), <code>marker</code> (example ``)</td></tr><tr><td><code>GET</code></td><td><code>/api/media/vendor-bucket-object-list</code></td><td>Media Storage</td><td>—</td><td><code>folderName</code> (example <code>products</code>), <code>limit</code> (example <code>10</code>), <code>marker</code> (example ``)</td></tr><tr><td><code>POST</code></td><td><code>/api/media/upload-file</code></td><td>Media Upload</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/media/upload-multi-image</code></td><td>Media Upload</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/media/upload-video</code></td><td>Media Upload</td><td>—</td><td>—</td></tr></tbody></table>

### Upload flow

A secure upload path should authenticate and authorize the caller, validate size and file content, generate a server-side object name, store the object in the configured backend, and return an approved reference or URL. Exact multipart field names, accepted formats, maximum size, and response data must be read from the running API documentation/controller.

### Security controls

* Allowlist required extensions and MIME types; inspect file signatures rather than trusting client headers.
* Enforce file size and image dimension limits.
* Generate object names server-side; do not use raw client filenames as storage paths.
* Prevent path traversal and unauthorized overwrite/delete operations.
* Store uploads outside executable application directories.
* Scan files where required by the risk profile.
* Restrict bucket access and use short-lived signed URLs for private assets.
* Apply encryption, lifecycle rules, and retention policies to object storage.

### Verification

Trace upload controllers, storage adapters, middleware, and configuration loaders. Test malformed multipart bodies, oversized files, spoofed MIME types, duplicate names, unauthorized deletion, and provider outages.


# Imports data

Bulk imports are useful for catalogue onboarding, updates, and controlled migrations. The supported formats, exact field mapping, and job behavior must be verified in the target release.

### Prepare source data

* Define a source-to-target field map.
* Normalize text encoding, date formats, decimal precision, and currency codes.
* Deduplicate stable natural keys such as SKU or external reference.
* Validate category, language, tax, and inventory references.
* Separate create, update, deactivate, and delete operations.
* Remove secrets and unnecessary personal data from import files.

### Repository route inventory

The catalogue includes these import-related entries:

<table><thead><tr><th width="74.80859375">Method</th><th width="233.703125">Endpoint</th><th width="155.3125">Feature area</th><th>Query example</th></tr></thead><tbody><tr><td><code>POST</code></td><td><code>/api/vendor-import-datas</code></td><td>Bulk Import</td><td>No query example listed</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-import-datas/category</code></td><td>Bulk Import</td><td>No query example listed</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-import-datas/import-image</code></td><td>Bulk Import</td><td>No query example listed</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-import-datas/error-bulk-import</code></td><td>Bulk Import</td><td><code>fileName=error.xlsx</code></td></tr><tr><td><code>GET</code></td><td><code>/api/product/download-product-sample</code></td><td>Product Import</td><td>No query example listed</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/download-product-sample</code></td><td>Product Import</td><td>No query example listed</td></tr><tr><td><code>POST</code></td><td><code>/api/product/import-product-data</code></td><td>Product Import</td><td>No query example listed</td></tr></tbody></table>

### Safe execution

1. Back up the target database and test restore readiness.
2. Validate a small sample in staging.
3. Confirm whether the importer is synchronous or asynchronous.
4. Process batches sized for database and application capacity.
5. Preserve a row-level error report and reconcile accepted/rejected counts.
6. Make reruns idempotent using stable external keys and import job IDs where supported.

Do not retry a partially completed import until you understand commit/rollback behavior.


# Migrations

Migrations evolve the database schema between application releases. The repository environment template identifies a TypeORM migrations directory under `src/database/migrations`.

### Before creating a migration

1. Pin the application tag/commit and inspect its TypeORM version/configuration.
2. Confirm the existing schema and migration history.
3. Define the upgrade path for existing production data.
4. Identify table locks, long-running DDL, foreign-key effects, index changes, and data backfills.
5. Write a rollback or forward-fix plan; not every migration is safely reversible.

### Development workflow

* Create a new timestamped/versioned migration using the command configured by the target release's `package.json`.
* Keep migrations deterministic and scoped to one logical schema change where practical.
* Do not edit an already-applied migration; add a new migration for corrections.
* Test on an empty database and a copy of a database at the previous release version.
* Verify indexes, unique constraints, foreign keys, and data conversions.

### Production workflow

1. Take a backup and confirm restore readiness.
2. Run migrations in staging with production-like data volume.
3. Review migration SQL and expected lock behavior.
4. Use a dedicated migration identity where practical.
5. Execute during an approved window if the operation may block writes.
6. Verify migration history, table definitions, row counts, and application smoke tests.

Do not guess a TypeORM CLI command from another major version. Use the exact release's configured package scripts and datasource/configuration.


# Plugins

Plugins/add-ons extend platform behavior. The submitted developer guide points to a plugin manager and add-ons directory, but the exact extension contract must be confirmed for the release being deployed.

### Before implementing a plugin

Identify:

* Plugin discovery, registration, enable/disable, and version compatibility rules.
* Lifecycle hooks and dependency/context injection model.
* Configuration schema and secret handling.
* Entity and migration registration behavior.
* Route/controller registration and API namespace conventions.
* Permission, tenant-isolation, and audit requirements.
* Installation, upgrade, rollback, and uninstall behavior.

### Recommended structure

A plugin may separate controllers, services, models/entities, repositories, configuration, migrations, and tests. Treat that as a design recommendation, not a guaranteed folder convention. Follow an existing plugin in the same release as the implementation template.

### Plugin development checklist

1. Define the business capability and extension boundary.
2. Keep core files unmodified where a supported extension point exists.
3. Validate plugin configuration at startup.
4. Make external integrations timeout-safe and idempotent.
5. Scope all reads/writes to the correct tenant.
6. Include migration and rollback instructions.
7. Test disabled, misconfigured, incompatible, and failed-start states.

### Related routes

The repository route inventory includes `GET /api/vendor-plugins`, `GET /api/vendor-plugins/:id`, and update routes for plugin metadata/logo. See REST APIs → Settings. These inventory entries do not document a public plugin authoring API.


# REST APIs

It is designed as a discovery index for the target application, not as a substitute for the running release OpenAPI/Swagger contract.

### Inventory summary

* **Repository catalogue entries:** 204
* **HTTP methods present:** DELETE, GET, POST, PUT
* **Route base patterns:** the inventory contains multiple `/api/...` namespaces; do not assume that `/api` has the same audience or auth policy for every route.

### Contract completeness

For each inventory row below, the method, path, feature/component label, any path placeholders, and example query names/values are included. The inventory does not define exact request body schemas, response DTOs, status code sets, idempotency behavior, or authentication/permission rules. Those must be verified from the checked-out release and runtime API documentation.

### Endpoint inventory by module

#### Authentication — Authentication (3 operations)

<table><thead><tr><th width="76.7890625">Method</th><th>Endpoint</th><th width="112.2421875">Feature area</th><th width="102.2421875">Path parameters</th><th width="135.17578125">Query names/examples</th></tr></thead><tbody><tr><td><code>POST</code></td><td><code>/api/demo-vendor/login</code></td><td>Vendor Access &#x26; Login</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/demo-vendor/login-new</code></td><td>Vendor Access &#x26; Login</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/demo-vendor/send-otp</code></td><td>Vendor Access &#x26; Login</td><td>—</td><td>—</td></tr></tbody></table>

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Customers — Customer administration (27 operations)

<table><thead><tr><th width="87.44140625">Method</th><th>Endpoint</th><th>Feature area</th><th width="99.46875">Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>DELETE</code></td><td><code>/api/address/:id</code></td><td>Customer Addresses</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/address/:id</code></td><td>Customer Addresses</td><td><code>id</code></td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/address</code></td><td>Customer Addresses</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/address</code></td><td>Customer Addresses</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/address/:id</code></td><td>Customer Addresses</td><td><code>id</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/customer-contact/:id</code></td><td>Customer Contacts</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/customer-contact/:id</code></td><td>Customer Contacts</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/customer-contact</code></td><td>Customer Contacts</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `status` (example `1`), `email` (example</code> ), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/customer-contact</code></td><td>Customer Contacts</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/customer-contact/:id</code></td><td>Customer Contacts</td><td><code>id</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/vendor-customer-group/:id</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer-group/:id</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer-group/:id/customer</code></td><td>Customer Groups</td><td><code>id</code></td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>0</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer-group/customer/list</code></td><td>Customer Groups</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer-group</code></td><td>Customer Groups</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `groupName` (example</code> ), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>0</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-customer-group</code></td><td>Customer Groups</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-customer-group/:id</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-customer-group/:id/customer</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-customer-group/status/:id</code></td><td>Customer Groups</td><td><code>id</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/vendor-customer/:id</code></td><td>Customers</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer/customer-detail/:id</code></td><td>Customers</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer/customer-excel-download/:logId</code></td><td>Customers</td><td><code>logId</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer/customer-excel-list</code></td><td>Customers</td><td>—</td><td><code>dateFrom</code> (example <code>2026-01-01</code>), <code>dateTo</code> (example <code>2026-12-31</code>), <code>title</code> (example <code>Customers</code>), <code>customerId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer/user-list</code></td><td>Customers</td><td>—</td><td><code>customerId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-customer</code></td><td>Customers</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `status` (example `1`), `email` (example</code> ), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-customer</code></td><td>Customers</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-customer/:id</code></td><td>Customers</td><td><code>id</code></td><td>—</td></tr></tbody></table>

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Catalog — Catalogue, products, inventory and imports (48 operations)

<table><thead><tr><th width="82.609375">Method</th><th>Endpoint</th><th>Feature area</th><th width="98.83984375">Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/vendor-import-datas/error-bulk-import</code></td><td>Bulk Import</td><td>—</td><td><code>fileName</code> (example <code>error.xlsx</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-import-datas</code></td><td>Bulk Import</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-import-datas/category</code></td><td>Bulk Import</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-import-datas/import-image</code></td><td>Bulk Import</td><td>—</td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/category</code></td><td>Categories</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/category/category-detail</code></td><td>Categories</td><td>—</td><td><code>categoryId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/category</code></td><td>Categories</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/vendor-category-list</code></td><td>Categories</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/category</code></td><td>Categories</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/category/:id</code></td><td>Categories</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/inventory-product-list</code></td><td>Inventory</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `sku` (example</code> ), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/inventory-vendor-product-list</code></td><td>Inventory</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `sku` (example</code> ), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/sku/:skuId</code></td><td>Inventory</td><td><code>skuId</code></td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/update-stock</code></td><td>Inventory</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-product/update-stock</code></td><td>Inventory</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/allproduct-excel-list</code></td><td>Product Export</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/product-excel-list</code></td><td>Product Export</td><td>—</td><td><code>productId</code> (example <code>), `keyword` (example</code> ), <code>sku</code> (example <code>), `status` (example</code> ), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/allproduct-excel-list</code></td><td>Product Export</td><td>—</td><td><code>dateFrom</code> (example <code>2026-01-01</code>), <code>dateTo</code> (example <code>2026-12-31</code>), <code>productType</code> (example <code>1</code>), <code>title</code> (example <code>Export</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/product-excel-list/:logId</code></td><td>Product Export</td><td><code>logId</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/family/:id</code></td><td>Product Families &#x26; Attributes</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/family/:id</code></td><td>Product Families &#x26; Attributes</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/family/category</code></td><td>Product Families &#x26; Attributes</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>status</code> (example <code>1</code>), <code>keyword</code> (example ``), <code>familyId</code> (example <code>1</code>), <code>sortOrder</code> (example <code>1</code>), <code>count</code> (example <code>0</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/family</code></td><td>Product Families &#x26; Attributes</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>count</code> (example <code>0</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/family</code></td><td>Product Families &#x26; Attributes</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/family/:id</code></td><td>Product Families &#x26; Attributes</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/download-product-sample</code></td><td>Product Import</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/download-product-sample</code></td><td>Product Import</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/import-product-data</code></td><td>Product Import</td><td>—</td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/product/delete-tire-price/:id</code></td><td>Product Tire Price</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/get-product-tire-price-list</code></td><td>Product Tire Price</td><td>—</td><td><code>productId</code> (example <code>1</code>), <code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/product/add-tire-price</code></td><td>Product Tire Price</td><td>—</td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/vendor-product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/product-count</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/product-detail/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/product/update-owner-product-list</code></td><td>Products</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/product/update-vendor-sku-list</code></td><td>Products</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/product</code></td><td>Products</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example <code>), `sku` (example</code> ), <code>status</code> (example <code>1</code>), <code>price</code> (example <code>100</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-product</code></td><td>Products</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/product</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/delete-product</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/update-product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/product/update-sku</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-product</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/product/update-product-slug</code></td><td>Products</td><td>—</td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-product/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr><tr><td><code>PUT</code></td><td><code>/api/vendor-product/product-status/:id</code></td><td>Products</td><td><code>id</code></td><td>—</td></tr></tbody></table>

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Sales — Orders and sales (11 operations)

<table><thead><tr><th width="79.4609375">Method</th><th>Endpoint</th><th>Feature area</th><th width="101.9453125">Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/order/:orderId</code></td><td>Order Details</td><td><code>orderId</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/order/order-product-log-list</code></td><td>Order Details</td><td>—</td><td><code>orderProductId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/order/orderLoglist</code></td><td>Order Details</td><td>—</td><td><code>orderId</code> (example <code>1</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/order/update-payment-status</code></td><td>Order Payment</td><td>—</td><td>—</td></tr><tr><td><code>POST</code></td><td><code>/api/order/order-change-status</code></td><td>Order Status</td><td>—</td><td>—</td></tr><tr><td><code>DELETE</code></td><td><code>/api/order/delete-order/:id</code></td><td>Orders</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/order/export-log-download/:id</code></td><td>Orders</td><td><code>id</code></td><td>—</td></tr><tr><td><code>GET</code></td><td><code>/api/order/order-excel-list</code></td><td>Orders</td><td>—</td><td><code>dateFrom</code> (example <code>2026-01-01</code>), <code>dateTo</code> (example <code>2026-12-31</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/order/order-export-pdf</code></td><td>Orders</td><td>—</td><td><code>orderId</code> (example <code>1</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/order</code></td><td>Orders</td><td>—</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>sortBy</code> (example <code>orderDate</code>), <code>sortOrder</code> (example <code>DESC</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/order/create-order</code></td><td>Orders</td><td>—</td><td>—</td></tr></tbody></table>

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Payments — Payment terms (1 operations)

<table><thead><tr><th width="83.14453125">Method</th><th width="349.1796875">Endpoint</th><th width="137.6640625">Feature area</th><th>Path parameters</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/vendor-payment-term/dropdown-list</code></td><td>Payment Terms</td><td>—</td><td>—</td></tr></tbody></table>

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Tax — Tax (3 operations)

<table><thead><tr><th>Method</th><th>Endpoint</th><th width="127.359375">Feature area</th><th>Query names/examples</th></tr></thead><tbody><tr><td><code>GET</code></td><td><code>/api/vendor-tax/master-tax</code></td><td>Tax Management</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>keyword</code> (example ``), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>GET</code></td><td><code>/api/vendor-tax</code></td><td>Tax Management</td><td><code>limit</code> (example <code>10</code>), <code>offset</code> (example <code>0</code>), <code>status</code> (example <code>1</code>), <code>count</code> (example <code>false</code>)</td></tr><tr><td><code>POST</code></td><td><code>/api/vendor-tax</code></td><td>Tax Management</td><td>—</td></tr></tbody></table>

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Settings — Settings and localization (20 operations)

| Method | Endpoint                                  | Feature area              | Path parameters | Query names/examples                                                                                                           |
| ------ | ----------------------------------------- | ------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `GET`  | `/api/vendor-country/:countryName`        | Localization - Countries  | `countryName`   | —                                                                                                                              |
| `GET`  | `/api/vendor-country`                     | Localization - Countries  | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`)    |
| `POST` | `/api/vendor-country`                     | Localization - Countries  | —               | —                                                                                                                              |
| `GET`  | `/api/vendor-currency/master-currency`    | Localization - Currencies | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`)    |
| `GET`  | `/api/vendor-language`                    | Localization - Languages  | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `count` (example `false`)                            |
| `POST` | `/api/vendor-language`                    | Localization - Languages  | —               | —                                                                                                                              |
| `GET`  | `/api/vendor-list/addons`                 | Master Lists              | —               | `limit` (example `10`), `offset` (example `0`), `count` (example `false`)                                                      |
| `GET`  | `/api/vendor-list/industry`               | Master Lists              | —               | —                                                                                                                              |
| `GET`  | `/api/vendor-list/language`               | Master Lists              | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example ``), `status` (example `1`), `defaultLanguage` (example`` ) |
| `GET`  | `/api/vendor-list/master-country`         | Master Lists              | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `count` (example `false`)                            |
| `GET`  | `/api/vendor-list/master-language`        | Master Lists              | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `count` (example `false`)                            |
| `GET`  | `/api/vendor-list/zone`                   | Master Lists              | —               | `limit` (example `10`), `offset` (example `0`), `countryId` (example `1`), `keyword` (example \`\`), `count` (example `false`) |
| `GET`  | `/api/vendor-plugins/:id`                 | Plugins & Add-ons         | `id`            | —                                                                                                                              |
| `GET`  | `/api/vendor-plugins`                     | Plugins & Add-ons         | —               | `module` (example `payment`)                                                                                                   |
| `PUT`  | `/api/vendor-plugins/:id`                 | Plugins & Add-ons         | `id`            | —                                                                                                                              |
| `PUT`  | `/api/vendor-plugins/additional-info/:id` | Plugins & Add-ons         | `id`            | —                                                                                                                              |
| `PUT`  | `/api/vendor-plugins/logo/:id`            | Plugins & Add-ons         | `id`            | —                                                                                                                              |
| `GET`  | `/api/vendor-settings`                    | Store Settings            | —               | —                                                                                                                              |
| `GET`  | `/api/vendor-settings/:id`                | Store Settings            | `id`            | —                                                                                                                              |
| `POST` | `/api/vendor-settings`                    | Store Settings            | —               | —                                                                                                                              |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Notifications — Email templates and notifications (4 operations)

| Method   | Endpoint                         | Feature area    | Path parameters | Query names/examples                                                                                |
| -------- | -------------------------------- | --------------- | --------------- | --------------------------------------------------------------------------------------------------- |
| `DELETE` | `/api/vendor-email-template/:id` | Email Templates | `id`            | —                                                                                                   |
| `GET`    | `/api/vendor-email-template`     | Email Templates | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `count` (example `false`) |
| `POST`   | `/api/vendor-email-template`     | Email Templates | —               | —                                                                                                   |
| `PUT`    | `/api/vendor-email-template/:id` | Email Templates | `id`            | —                                                                                                   |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Media — Media and storage (16 operations)

| Method | Endpoint                               | Feature area             | Query names/examples                                                                                           |
| ------ | -------------------------------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------- |
| `GET`  | `/api/media/vendor-search-folder`      | Folder Management        | `folderName` (example `products`)                                                                              |
| `POST` | `/api/media/delete-folder`             | Folder Management        | —                                                                                                              |
| `POST` | `/api/media/vendor-create-folder`      | Folder Management        | —                                                                                                              |
| `GET`  | `/api/media/delete-file`               | Media Deletion           | `fileName` (example `image.jpg`)                                                                               |
| `POST` | `/api/media/multiple-delete`           | Media Deletion           | —                                                                                                              |
| `GET`  | `/api/media/document`                  | Media Delivery & Preview | `key` (example `documents/file.pdf`)                                                                           |
| `GET`  | `/api/media/image-resize`              | Media Delivery & Preview | `width` (example `100`), `height` (example `100`), `name` (example `image.jpg`), `path` (example `documents/`) |
| `GET`  | `/api/media/image-resizes`             | Media Delivery & Preview | `name` (example `image.jpg`), `path` (example `documents/`)                                                    |
| `GET`  | `/api/media/plugin`                    | Media Delivery & Preview | `width` (example `100`), `height` (example `100`), `name` (example `plugin.jpg`), `path` (example `plugins/`)  |
| `GET`  | `/api/media/video-preview-s3`          | Media Delivery & Preview | `name` (example `video.mp4`), `path` (example `video`)                                                         |
| `GET`  | `/api/media/bucket-object-count`       | Media Storage            | `folderName` (example `products`), `limit` (example `10`), `marker` (example \`\`)                             |
| `GET`  | `/api/media/bucket-object-list`        | Media Storage            | `folderName` (example `products`), `limit` (example `10`), `marker` (example \`\`)                             |
| `GET`  | `/api/media/vendor-bucket-object-list` | Media Storage            | `folderName` (example `products`), `limit` (example `10`), `marker` (example \`\`)                             |
| `POST` | `/api/media/upload-file`               | Media Upload             | —                                                                                                              |
| `POST` | `/api/media/upload-multi-image`        | Media Upload             | —                                                                                                              |
| `POST` | `/api/media/upload-video`              | Media Upload             | —                                                                                                              |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### CMS — CMS pages and blogs (20 operations)

| Method   | Endpoint                                         | Feature area    | Path parameters | Query names/examples                                                                                                        |
| -------- | ------------------------------------------------ | --------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `DELETE` | `/api/vendor-blog-category/:id`                  | Blog Categories | `id`            | —                                                                                                                           |
| `GET`    | `/api/vendor-blog-category/blog-category-detail` | Blog Categories | —               | `blogCategoryId` (example `1`)                                                                                              |
| `GET`    | `/api/vendor-blog-category`                      | Blog Categories | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/vendor-blog-category`                      | Blog Categories | —               | —                                                                                                                           |
| `PUT`    | `/api/vendor-blog-category/:id`                  | Blog Categories | `id`            | —                                                                                                                           |
| `DELETE` | `/api/vendor-blog/:id`                           | Blogs           | `id`            | —                                                                                                                           |
| `GET`    | `/api/vendor-blog/blog-detail`                   | Blogs           | —               | `blogId` (example `1`)                                                                                                      |
| `GET`    | `/api/vendor-blog`                               | Blogs           | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/vendor-blog`                               | Blogs           | —               | —                                                                                                                           |
| `PUT`    | `/api/vendor-blog/:id`                           | Blogs           | `id`            | —                                                                                                                           |
| `DELETE` | `/api/page-group/:id`                            | Page Groups     | `id`            | —                                                                                                                           |
| `GET`    | `/api/page-group/get-page-group/:id`             | Page Groups     | `id`            | —                                                                                                                           |
| `GET`    | `/api/page-group`                                | Page Groups     | —               | `limit` (example `10`), `offset` (example `0`), `status` (example `1`), `count` (example `false`)                           |
| `POST`   | `/api/page-group`                                | Page Groups     | —               | —                                                                                                                           |
| `PUT`    | `/api/page-group/:id`                            | Page Groups     | `id`            | —                                                                                                                           |
| `DELETE` | `/api/page/:id`                                  | Pages           | `id`            | —                                                                                                                           |
| `GET`    | `/api/page/:pageId`                              | Pages           | `pageId`        | —                                                                                                                           |
| `GET`    | `/api/page`                                      | Pages           | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/page`                                      | Pages           | —               | —                                                                                                                           |
| `PUT`    | `/api/page/:id`                                  | Pages           | `id`            | —                                                                                                                           |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Marketing — Marketing widgets and banners (10 operations)

| Method   | Endpoint                           | Feature area | Path parameters | Query names/examples                                                                                                        |
| -------- | ---------------------------------- | ------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `DELETE` | `/api/banner/:id`                  | Banners      | `id`            | —                                                                                                                           |
| `GET`    | `/api/banner/banner-detail`        | Banners      | —               | `bannerId` (example `1`)                                                                                                    |
| `GET`    | `/api/banner`                      | Banners      | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/banner`                      | Banners      | —               | —                                                                                                                           |
| `PUT`    | `/api/banner/:id`                  | Banners      | `id`            | —                                                                                                                           |
| `DELETE` | `/api/vendor-widget/:id`           | Widgets      | `id`            | —                                                                                                                           |
| `GET`    | `/api/vendor-widget/widget-detail` | Widgets      | —               | `widgetId` (example `1`)                                                                                                    |
| `GET`    | `/api/vendor-widget`               | Widgets      | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/vendor-widget`               | Widgets      | —               | —                                                                                                                           |
| `PUT`    | `/api/vendor-widget/:id`           | Widgets      | `id`            | —                                                                                                                           |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### SEO — SEO and sitemap (16 operations)

| Method   | Endpoint                               | Feature area | Path parameters | Query names/examples                                                                                                        |
| -------- | -------------------------------------- | ------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `GET`    | `/api/vendor-blog-seo/:blogId`         | Blog SEO     | `blogId`        | —                                                                                                                           |
| `GET`    | `/api/vendor-blog-seo`                 | Blog SEO     | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/vendor-blog-seo/:blogId`         | Blog SEO     | `blogId`        | —                                                                                                                           |
| `GET`    | `/api/vendor-category-seo/:categoryId` | Category SEO | `categoryId`    | —                                                                                                                           |
| `GET`    | `/api/vendor-category-seo`             | Category SEO | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/vendor-category-seo/:categoryId` | Category SEO | `categoryId`    | —                                                                                                                           |
| `GET`    | `/api/vendor-page-seo/:groupId`        | Page SEO     | `groupId`       | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `GET`    | `/api/vendor-page-seo`                 | Page SEO     | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/vendor-page-seo/:pageId`         | Page SEO     | `pageId`        | —                                                                                                                           |
| `GET`    | `/api/vendor-product-seo/:productId`   | Product SEO  | `productId`     | —                                                                                                                           |
| `GET`    | `/api/vendor-product-seo`              | Product SEO  | —               | `limit` (example `10`), `offset` (example `0`), `keyword` (example \`\`), `status` (example `1`), `count` (example `false`) |
| `POST`   | `/api/vendor-product-seo/:productId`   | Product SEO  | `productId`     | —                                                                                                                           |
| `DELETE` | `/api/vendor-site-map/:id`             | Sitemap      | `id`            | —                                                                                                                           |
| `GET`    | `/api/vendor-site-map/get-sitemap`     | Sitemap      | —               | `pathName` (example `sitemap.xml`)                                                                                          |
| `GET`    | `/api/vendor-site-map`                 | Sitemap      | —               | `limit` (example `10`), `offset` (example `0`), `count` (example `false`)                                                   |
| `POST`   | `/api/vendor-site-map`                 | Sitemap      | —               | —                                                                                                                           |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Reports — Reports and exports (5 operations)

| Method | Endpoint                                     | Feature area      | Path parameters | Query names/examples                                                                                                                            |
| ------ | -------------------------------------------- | ----------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `GET`  | `/api/vendor-export-log`                     | Export Logs       | —               | `limit` (example `10`), `offset` (example `0`), `moduleName` (example `Product`), `count` (example `false`)                                     |
| `GET`  | `/api/product/customerProductView-list/:id`  | Product View Logs | `id`            | `limit` (example `10`), `offset` (example `0`), `count` (example `false`)                                                                       |
| `GET`  | `/api/product/viewLog-list`                  | Product View Logs | —               | `limit` (example `10`), `offset` (example `0`), `count` (example `false`)                                                                       |
| `GET`  | `/api/vendor-order/sales-report-export-list` | Sales Reports     | —               | `limit` (example `10`), `offset` (example `0`), `startDate` (example `2026-01-01`), `endDate` (example `2026-12-31`), `count` (example `false`) |
| `GET`  | `/api/vendor-order/sales-report-list`        | Sales Reports     | —               | `limit` (example `10`), `offset` (example `0`), `startDate` (example `2026-01-01`), `endDate` (example `2026-12-31`), `count` (example `false`) |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Dashboard — Dashboard and analytics (16 operations)

| Method | Endpoint                                                      | Feature area              | Path parameters | Query names/examples                                                                                |
| ------ | ------------------------------------------------------------- | ------------------------- | --------------- | --------------------------------------------------------------------------------------------------- |
| `GET`  | `/api/product/dashboard/admin-customers-count`                | Customer Analytics        | —               | `duration` (example `1`)                                                                            |
| `GET`  | `/api/product/top-five-repeatedly-purchased-customers`        | Customer Analytics        | —               | —                                                                                                   |
| `GET`  | `/api/vendor/order-graph`                                     | Order Analytics           | —               | `duration` (example `1`)                                                                            |
| `GET`  | `/api/product/average-conversion-ratio`                       | Overview & Metrics        | —               | `duration` (example `1`)                                                                            |
| `GET`  | `/api/product/dashboard-admin-totalvendor-totalproduct-count` | Overview & Metrics        | —               | —                                                                                                   |
| `GET`  | `/api/product/dashboard-count`                                | Overview & Metrics        | —               | —                                                                                                   |
| `GET`  | `/api/product/recent-selling-product`                         | Overview & Metrics        | —               | —                                                                                                   |
| `GET`  | `/api/vendor/total-dashboard-counts`                          | Overview & Metrics        | —               | —                                                                                                   |
| `GET`  | `/api/product/top-performing-products`                        | Product Performance       | —               | `limit` (example `10`), `offset` (example `0`), `duration` (example `1`), `count` (example `false`) |
| `GET`  | `/api/product/top-selling-productlist`                        | Product Performance       | —               | —                                                                                                   |
| `GET`  | `/api/vendor-order/revenue-overview`                          | Revenue Overview          | —               | `duration` (example `1`)                                                                            |
| `GET`  | `/api/product/average-order-value`                            | Sales & Revenue Analytics | —               | `duration` (example `1`)                                                                            |
| `GET`  | `/api/product/dashboard/graph-weekly-saleslist`               | Sales & Revenue Analytics | —               | `productId` (example `1`)                                                                           |
| `GET`  | `/api/product/orders-count`                                   | Sales & Revenue Analytics | —               | `duration` (example `1`)                                                                            |
| `GET`  | `/api/product/total-revenue`                                  | Sales & Revenue Analytics | —               | `duration` (example `1`)                                                                            |
| `GET`  | `/api/vendor-order/top-selling-productlist`                   | Top Selling Products      | —               | `duration` (example `1`)                                                                            |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

#### Vendor Profile — Vendor profile (4 operations)

| Method | Endpoint                           | Feature area    | Path parameters | Query names/examples |
| ------ | ---------------------------------- | --------------- | --------------- | -------------------- |
| `PUT`  | `/api/vendor-user/change-password` | Change Password | —               | —                    |
| `GET`  | `/api/vendor-user/get-profile`     | User Management | —               | —                    |
| `POST` | `/api/vendor-user/edit-profile`    | User Management | —               | —                    |
| `GET`  | `/api/vendor/vendor-profile`       | Vendor Profile  | —               | —                    |

**Contract to verify for each operation:** request content type and body fields; path/query types and requiredness; auth and permissions; tenant scope; success/error response schema; status codes; side effects; retry/idempotency rules.

### Standard endpoint definition checklist

For a production-quality endpoint page, record all of the following from source/runtime: method and full path; one-sentence purpose; access/authentication; permission and tenant scope; path, query, header, and body parameters (types, requiredness, defaults, enums); request example; success response schema/example; error responses; pagination/filtering; side effects; idempotency/concurrency; rate limits; and deprecation/version notes.

### Recommended discovery workflow

1. Start the exact release and open its configured API documentation route.
2. Search the route in source registration and the corresponding controller.
3. Trace controller → service → entity/repository → validator/DTO.
4. Record authentication middleware/permission checks and tenant scoping.
5. Capture a sanitized staging request and response.
6. Add tests for a valid request, invalid payload, unauthenticated request, forbidden user, and cross-tenant ID.
7. Update the relevant Core concepts page and this reference when a route changes.


# Security

Security must be enforced by the backend and deployment environment, not only by storefront UI behavior.

### Application controls

* Require HTTPS outside local development.
* Authenticate protected routes and authorize each action/resource.
* Enforce tenant isolation and object-level ownership checks.
* Validate and normalize all client input.
* Use parameterized database access and safe ORM query construction.
* Rate-limit login, OTP, password reset, and other sensitive operations.
* Configure CORS narrowly and apply CSRF protection where cookie-based sessions are used.
* Verify webhook signatures and reject replayed events where supported.
* Validate uploaded file content and storage permissions.

### Secrets and credentials

The submitted configuration material references JWT and cryptographic secrets, database credentials, mail credentials, and cloud-storage credentials. Generate unique secrets per environment, store them outside source control, rotate them, and revoke exposed credentials promptly.

### Operational security

Patch supported runtimes and dependencies, restrict network access, protect monitor/API-documentation routes, enable database backups/encryption, and centralize security-relevant audit logs. Redact tokens, passwords, payment details, and personal data.

### Verification checklist

Run dependency scanning, static analysis, API authorization tests, upload tests, and deployment configuration reviews. Include negative cases: unauthenticated, expired token, forbidden role, cross-tenant identifier, malformed payload, replayed webhook, and oversized/malicious file.


# Translatable

Translatable content allows locale-specific values to be associated with a stable business record. The availability of language configuration does not mean every entity or field is translated.

### Model concepts

A translatable model commonly uses a base entity and locale-specific values, but the actual relation and storage format must be verified from the target release's entities and migrations.

### Document for each entity

* Which fields are translatable?
* What is the default locale?
* How is the requested locale selected?
* What happens when a translation is missing or empty?
* Can a locale-specific slug be used for routing?
* How do search, sort, and filtering behave across languages?
* Can translated values be updated without overwriting other locales?

### Developer guidance

Preserve stable IDs across locales. Validate requested locales against configured language availability. Keep numeric/business identifiers consistent unless the domain explicitly localizes them. Define a predictable fallback chain and avoid silent fallback that hides incomplete translations from operators.

### Verify

Inspect language entities, translation middleware, translatable entity relations, services, migrations, and API tests. Document the supported entity/field matrix only after source verification.


# Deployment

This guide outlines a controlled deployment of the SpurtCommerce backend. Adapt it to the infrastructure topology and exact release requirements.

### Release preparation

* Pin the approved release tag or commit; do not deploy an unreviewed moving branch.
* Confirm Node.js/npm versions from that release's README and `package.json`.
* Build and test in CI; retain the exact artifact and lockfile.
* Review release notes and pending database migrations.
* Store configuration and secrets outside the source tree.
* Confirm payment, mail, and storage provider credentials for the target environment.

### Infrastructure

Provide a supported Node.js runtime, MySQL database, persistent media storage, outbound access to required providers, TLS termination, monitoring, and centralized logs. Keep the database private and restrict inbound application traffic to the intended proxy/load balancer.

### Deployment sequence

1. Take a database backup and confirm restore readiness.
2. Deploy the exact release artifact to staging.
3. Apply reviewed migrations using the release's configured command.
4. Run smoke tests for startup, tenant resolution, authentication, catalogue reads, cart, sandbox checkout, email, and media upload.
5. Verify logs, error rates, database connections, and external provider health.
6. Deploy to production using a controlled cutover appropriate to the topology.
7. Monitor business-critical flows and keep rollback/forward-fix instructions available.

### Runtime operations

Use a service supervisor/process manager, restart policy, resource limits, log rotation, graceful shutdown, and health checks. Avoid health endpoints that expose internal diagnostics publicly. Monitor DB pool saturation, slow queries, memory, CPU, disk, queue/worker health, and external provider failures.

### Security

Use TLS, least privilege, secret rotation, private DB networking, encrypted backups, dependency patching, and protected operational endpoints. Do not publish `.env`, SQL dumps, or logs containing personal data.

### Release acceptance checklist

* [ ] Exact tag/commit recorded.
* [ ] Runtime and package-manager versions verified.
* [ ] `.env` validated and secrets stored securely.
* [ ] Database backup and restore tested.
* [ ] Migrations reviewed and executed.
* [ ] API reference enabled only as intended.
* [ ] Authentication and authorization smoke tests passed.
* [ ] Payment sandbox and webhook verification passed.
* [ ] Upload and mail workflows passed.
* [ ] Monitoring, alerting, rollback, and incident owners confirmed.


# References

This page identifies the primary materials used to assemble the Markdown documentation and the external references useful for maintaining it.

### Primary project sources

* [SpurtCommerce GitHub repository](https://github.com/spurtcommerce/spurtcommerce) — public source repository; pin a tag/commit when verifying a release.
* [Repository README](https://github.com/spurtcommerce/spurtcommerce/blob/master/README.md) — current public project overview, stack, prerequisites, setup, and startup instructions.
* [`.env.example`](https://github.com/spurtcommerce/spurtcommerce/blob/master/.env.example) — environment variable names and runtime configuration reference.
* [Source tree](https://github.com/spurtcommerce/spurtcommerce/tree/master/src) — inspect routes, controllers, services, entities, middleware, and subscribers.
* [Release notes](https://github.com/spurtcommerce/spurtcommerce/blob/master/RELEASE_NOTES.md) — release-specific changes when present.
* [Changelog](https://github.com/spurtcommerce/spurtcommerce/blob/master/changelog.md) — project change history when present.

### API and documentation design references

* [GitBook documentation structure tips](https://gitbook.com/docs/guides/docs-best-practices/documentation-structure-tips) — page hierarchy, navigation, content types, and discoverability.
* [Document an API in GitBook](https://gitbook.com/docs/guides/api-documentation/document-your-api-in-gitbook-in-5-simple-steps) — OpenAPI-backed API references and endpoint grouping.
* [GitBook API documentation best practices](https://gitbook.com/docs/guides/api-documentation/how-to-write-incredible-api-documentation) — endpoint discoverability, concise descriptions, and examples.
* [OpenAPI Specification](https://spec.openapis.org/oas/latest.html) — standard format for machine-readable HTTP API contracts (referenced for design; no OpenAPI file is included because this package is Markdown-only).

### Payment provider references

* [Stripe Docs](https://docs.stripe.com/)
* [Razorpay Docs](https://razorpay.com/docs/)
* [PayPal Developer Docs](https://developer.paypal.com/docs/)

### Version verification policy

For each release, record:

1. Git tag and commit SHA.
2. Runtime version and package-manager version.
3. Exact route registration and middleware chain.
4. Request DTO/validator and response schema.
5. Authentication, authorization, and tenant scope.
6. Database migration state.
7. Payment provider/API versions and webhook event contracts.
8. A sanitized staging test for each published operation.

When sources disagree, prefer the source code and generated API documentation for the exact deployed release, then update the relevant page and this version note.


# Vendor

Vendor API endpoint reference, organized by functional topic.


# Customers


# Customer Directory

List and manage vendor customers and customer records.

## Retrieve Customer

> Get /api/vendor-customer\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customers\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer directory","description":"List and manage vendor customers and customer records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer":{"get":{"operationId":"getApiVendorCustomer","summary":"Retrieve Customer","description":"Get /api/vendor-customer\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customers\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer directory"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"email","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter email."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"customerId":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Customer

> Post /api/vendor-customer\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customers\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in CustomerController API comments; use a password that meets validation.\
> \
> \*\*Response example provenance:\*\* Success envelope illustrative; fields shown are from the request DTO and controller response family.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer directory","description":"List and manage vendor customers and customer records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer":{"post":{"operationId":"postApiVendorCustomer","summary":"Create or process Customer","description":"Post /api/vendor-customer\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customers\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Source-defined in CustomerController API comments; use a password that meets validation.\n\n**Response example provenance:** Success envelope illustrative; fields shown are from the request DTO and controller response family.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer directory"],"responses":{"200":{"description":"Successful response. Success envelope illustrative; fields shown are from the request DTO and controller response family. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"integer"},"username":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Success envelope illustrative; fields shown are from the request DTO and controller response family.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined in CustomerController API comments; use a password that meets validation.","content":{"application/json":{"schema":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"username":{"type":"string"},"email":{"type":"string"},"mobileNumber":{"type":"string"},"password":{"type":"string","writeOnly":true},"confirmPassword":{"type":"string"},"newsletter":{"type":"integer"},"mailStatus":{"type":"integer"},"status":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Customer Customer Detail

> Get /api/vendor-customer/customer-detail/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customers\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer directory","description":"List and manage vendor customers and customer records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer/customer-detail/{id}":{"get":{"operationId":"getApiVendorCustomerCustomerDetailId","summary":"Retrieve Customer Customer Detail","description":"Get /api/vendor-customer/customer-detail/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customers\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer directory"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerId":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Customer User List

> Get /api/vendor-customer/user-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customers\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact API comment example.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer directory","description":"List and manage vendor customers and customer records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer/user-list":{"get":{"operationId":"getApiVendorCustomerUserList","summary":"List or retrieve Customer User List","description":"Get /api/vendor-customer/user-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customers\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Exact API comment example.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer directory"],"parameters":[{"name":"customerId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter customerId."}],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}}}}}}}
```

## Update Customer

> Put /api/vendor-customer/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customers\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative update body based on Vendor Customer create fields; verify update DTO and omit password unless explicitly required.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer directory","description":"List and manage vendor customers and customer records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer/{id}":{"put":{"operationId":"putApiVendorCustomerId","summary":"Update Customer","description":"Put /api/vendor-customer/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customers\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative update body based on Vendor Customer create fields; verify update DTO and omit password unless explicitly required.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer directory"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerId":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative update body based on Vendor Customer create fields; verify update DTO and omit password unless explicitly required. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"username":{"type":"string"},"email":{"type":"string"},"mobileNumber":{"type":"string"},"newsletter":{"type":"integer"},"mailStatus":{"type":"integer"},"status":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Remove Customer

> Delete /api/vendor-customer/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customers\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer directory","description":"List and manage vendor customers and customer records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer/{id}":{"delete":{"operationId":"deleteApiVendorCustomerId","summary":"Remove Customer","description":"Delete /api/vendor-customer/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customers\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer directory"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Customer Groups

Create customer groups and manage group membership.

## Retrieve Customer Group

> Get /api/vendor-customer-group\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group":{"get":{"operationId":"getApiVendorCustomerGroup","summary":"Retrieve Customer Group","description":"Get /api/vendor-customer-group\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"groupName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter groupName."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Customer Group

> Post /api/vendor-customer-group\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative group payload; confirm exact field names in request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group":{"post":{"operationId":"postApiVendorCustomerGroup","summary":"Create or process Customer Group","description":"Post /api/vendor-customer-group\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative group payload; confirm exact field names in request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative group payload; confirm exact field names in request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"groupName":{"type":"string"},"description":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Customer Group Customer List

> Get /api/vendor-customer-group/customer/list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group/customer/list":{"get":{"operationId":"getApiVendorCustomerGroupCustomerList","summary":"List or retrieve Customer Group Customer List","description":"Get /api/vendor-customer-group/customer/list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Customer Group Status

> Put /api/vendor-customer-group/status/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative group payload; confirm exact field names in request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group/status/{id}":{"put":{"operationId":"putApiVendorCustomerGroupStatusId","summary":"Update Customer Group Status","description":"Put /api/vendor-customer-group/status/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative group payload; confirm exact field names in request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative group payload; confirm exact field names in request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"groupName":{"type":"string"},"description":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Customer Group

> Get /api/vendor-customer-group/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group/{id}":{"get":{"operationId":"getApiVendorCustomerGroupId","summary":"Retrieve Customer Group","description":"Get /api/vendor-customer-group/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Customer Group

> Put /api/vendor-customer-group/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative group payload; confirm exact field names in request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group/{id}":{"put":{"operationId":"putApiVendorCustomerGroupId","summary":"Update Customer Group","description":"Put /api/vendor-customer-group/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative group payload; confirm exact field names in request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative group payload; confirm exact field names in request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"groupName":{"type":"string"},"description":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Remove Customer Group

> Delete /api/vendor-customer-group/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group/{id}":{"delete":{"operationId":"deleteApiVendorCustomerGroupId","summary":"Remove Customer Group","description":"Delete /api/vendor-customer-group/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Customer Group Customer

> Get /api/vendor-customer-group/:id/customer\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group/{id}/customer":{"get":{"operationId":"getApiVendorCustomerGroupIdCustomer","summary":"Retrieve Customer Group Customer","description":"Get /api/vendor-customer-group/:id/customer\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Customer Group Customer

> Put /api/vendor-customer-group/:id/customer\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative group payload; confirm exact field names in request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer groups","description":"Create customer groups and manage group membership."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer-group/{id}/customer":{"put":{"operationId":"putApiVendorCustomerGroupIdCustomer","summary":"Update Customer Group Customer","description":"Put /api/vendor-customer-group/:id/customer\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Groups\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative group payload; confirm exact field names in request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"customerGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative group payload; confirm exact field names in request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"groupName":{"type":"string"},"description":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```


# Customer Addresses

Create, list, update and remove customer addresses.

## Retrieve Address

> Get /api/address\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Addresses\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer addresses","description":"Create, list, update and remove customer addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/address":{"get":{"operationId":"getApiAddress","summary":"Retrieve Address","description":"Get /api/address\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Addresses\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer addresses"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"addressId":{"type":"integer"},"customerId":{"type":"integer"},"city":{"type":"string"},"countryId":{"type":"integer"},"isDefault":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Address

> Post /api/address\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Addresses\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative address body based on address model fields; validate exact DTO requirements.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer addresses","description":"Create, list, update and remove customer addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/address":{"post":{"operationId":"postApiAddress","summary":"Create or process Address","description":"Post /api/address\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Addresses\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative address body based on address model fields; validate exact DTO requirements.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer addresses"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"addressId":{"type":"integer"},"customerId":{"type":"integer"},"city":{"type":"string"},"countryId":{"type":"integer"},"isDefault":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative address body based on address model fields; validate exact DTO requirements. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postcode":{"type":"string"},"countryId":{"type":"integer"},"zoneId":{"type":"integer"},"phoneNumber":{"type":"string"},"isDefault":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Address

> Get /api/address/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Addresses\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer addresses","description":"Create, list, update and remove customer addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/address/{id}":{"get":{"operationId":"getApiAddressId","summary":"Retrieve Address","description":"Get /api/address/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Addresses\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer addresses"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"addressId":{"type":"integer"},"customerId":{"type":"integer"},"city":{"type":"string"},"countryId":{"type":"integer"},"isDefault":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Address

> Put /api/address/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Addresses\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative address body based on address model fields; validate exact DTO requirements.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer addresses","description":"Create, list, update and remove customer addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/address/{id}":{"put":{"operationId":"putApiAddressId","summary":"Update Address","description":"Put /api/address/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Addresses\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative address body based on address model fields; validate exact DTO requirements.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer addresses"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"addressId":{"type":"integer"},"customerId":{"type":"integer"},"city":{"type":"string"},"countryId":{"type":"integer"},"isDefault":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative address body based on address model fields; validate exact DTO requirements. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postcode":{"type":"string"},"countryId":{"type":"integer"},"zoneId":{"type":"integer"},"phoneNumber":{"type":"string"},"isDefault":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Remove Address

> Delete /api/address/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Addresses\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer addresses","description":"Create, list, update and remove customer addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/address/{id}":{"delete":{"operationId":"deleteApiAddressId","summary":"Remove Address","description":"Delete /api/address/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Addresses\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer addresses"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Customer Contacts

Manage customer contact information.

## Retrieve Customer Contact

> Get /api/customer-contact\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Contacts\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer contacts","description":"Manage customer contact information."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-contact":{"get":{"operationId":"getApiCustomerContact","summary":"Retrieve Customer Contact","description":"Get /api/customer-contact\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Contacts\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer contacts"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"email","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter email."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"contactId":{"type":"integer"},"firstName":{"type":"string"},"email":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Customer Contact

> Post /api/customer-contact\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Contacts\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative contact payload; confirm the request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer contacts","description":"Manage customer contact information."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-contact":{"post":{"operationId":"postApiCustomerContact","summary":"Create or process Customer Contact","description":"Post /api/customer-contact\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Contacts\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative contact payload; confirm the request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer contacts"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"contactId":{"type":"integer"},"firstName":{"type":"string"},"email":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative contact payload; confirm the request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Customer Contact

> Get /api/customer-contact/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Contacts\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer contacts","description":"Manage customer contact information."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-contact/{id}":{"get":{"operationId":"getApiCustomerContactId","summary":"Retrieve Customer Contact","description":"Get /api/customer-contact/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Contacts\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"contactId":{"type":"integer"},"firstName":{"type":"string"},"email":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Customer Contact

> Put /api/customer-contact/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Contacts\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative contact payload; confirm the request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer contacts","description":"Manage customer contact information."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-contact/{id}":{"put":{"operationId":"putApiCustomerContactId","summary":"Update Customer Contact","description":"Put /api/customer-contact/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Contacts\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative contact payload; confirm the request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"contactId":{"type":"integer"},"firstName":{"type":"string"},"email":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative contact payload; confirm the request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Remove Customer Contact

> Delete /api/customer-contact/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Contacts\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Customer contacts","description":"Manage customer contact information."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-contact/{id}":{"delete":{"operationId":"deleteApiCustomerContactId","summary":"Remove Customer Contact","description":"Delete /api/customer-contact/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Contacts\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Marketing


# Banners And Widgets

Manage storefront banners and content widgets.

## Retrieve Banner

> Get /api/banner\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Banners\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/banner":{"get":{"operationId":"getApiBanner","summary":"Retrieve Banner","description":"Get /api/banner\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Banners\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"bannerId":{"type":"integer"},"title":{"type":"string"},"image":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Banner

> Post /api/banner\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Banners\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/banner":{"post":{"operationId":"postApiBanner","summary":"Create or process Banner","description":"Post /api/banner\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Banners\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"bannerId":{"type":"integer"},"title":{"type":"string"},"image":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"widgetTitle":{"type":"string"},"widgetSlugName":{"type":"string"},"link":{"type":"string"},"sortOrder":{"type":"integer"},"status":{"type":"integer"},"image":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Banner Banner Detail

> Get /api/banner/banner-detail\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Banners\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/banner/banner-detail":{"get":{"operationId":"getApiBannerBannerDetail","summary":"Retrieve Banner Banner Detail","description":"Get /api/banner/banner-detail\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Banners\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"parameters":[{"name":"bannerId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter bannerId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"bannerId":{"type":"integer"},"title":{"type":"string"},"image":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Banner

> Put /api/banner/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Banners\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/banner/{id}":{"put":{"operationId":"putApiBannerId","summary":"Update Banner","description":"Put /api/banner/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Banners\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"bannerId":{"type":"integer"},"title":{"type":"string"},"image":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"widgetTitle":{"type":"string"},"widgetSlugName":{"type":"string"},"link":{"type":"string"},"sortOrder":{"type":"integer"},"status":{"type":"integer"},"image":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Remove Banner

> Delete /api/banner/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Banners\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/banner/{id}":{"delete":{"operationId":"deleteApiBannerId","summary":"Remove Banner","description":"Delete /api/banner/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Banners\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Widget

> Get /api/vendor-widget\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Widgets\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-widget":{"get":{"operationId":"getApiVendorWidget","summary":"Retrieve Widget","description":"Get /api/vendor-widget\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Widgets\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"widgetId":{"type":"integer"},"widgetTitle":{"type":"string"},"widgetSlugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Widget

> Post /api/vendor-widget\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Widgets\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-widget":{"post":{"operationId":"postApiVendorWidget","summary":"Create or process Widget","description":"Post /api/vendor-widget\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Widgets\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"widgetId":{"type":"integer"},"widgetTitle":{"type":"string"},"widgetSlugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"widgetTitle":{"type":"string"},"widgetSlugName":{"type":"string"},"link":{"type":"string"},"sortOrder":{"type":"integer"},"status":{"type":"integer"},"image":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Widget Widget Detail

> Get /api/vendor-widget/widget-detail\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Widgets\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-widget/widget-detail":{"get":{"operationId":"getApiVendorWidgetWidgetDetail","summary":"Retrieve Widget Widget Detail","description":"Get /api/vendor-widget/widget-detail\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Widgets\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"parameters":[{"name":"widgetId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter widgetId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"widgetId":{"type":"integer"},"widgetTitle":{"type":"string"},"widgetSlugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Widget

> Put /api/vendor-widget/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Widgets\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-widget/{id}":{"put":{"operationId":"putApiVendorWidgetId","summary":"Update Widget","description":"Put /api/vendor-widget/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Widgets\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"widgetId":{"type":"integer"},"widgetTitle":{"type":"string"},"widgetSlugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"widgetTitle":{"type":"string"},"widgetSlugName":{"type":"string"},"link":{"type":"string"},"sortOrder":{"type":"integer"},"status":{"type":"integer"},"image":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Remove Widget

> Delete /api/vendor-widget/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Widgets\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BannerController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Banners and widgets","description":"Manage storefront banners and content widgets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-widget/{id}":{"delete":{"operationId":"deleteApiVendorWidgetId","summary":"Remove Widget","description":"Delete /api/vendor-widget/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Widgets\n\n**Implementation source:** `src/api/vendor/controllers/BannerController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Banners and widgets"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Catalog


# Categories

Create, edit, list and remove product categories and manage category SEO.

## List or retrieve Category

> Get /api/category\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Fields shown in CategoryController example.\
> \
> \*\*Response example provenance:\*\* Fields shown in CategoryController example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Create, edit, list and remove product categories and manage category SEO."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/category":{"get":{"operationId":"getApiCategory","summary":"List or retrieve Category","description":"Get /api/category\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Categories\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Fields shown in CategoryController example.\n\n**Response example provenance:** Fields shown in CategoryController example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Categories"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Fields shown in CategoryController example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"categoryId":{"type":"integer"},"name":{"type":"string"},"categorySlug":{"type":"string"},"parentInt":{"type":"integer"},"sortOrder":{"type":"integer"},"levels":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}}}}}}}
```

## Create or process Category

> Post /api/category\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in AddCategoryRequest / CategoryController.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Create, edit, list and remove product categories and manage category SEO."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/category":{"post":{"operationId":"postApiCategory","summary":"Create or process Category","description":"Post /api/category\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Categories\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Source-defined in AddCategoryRequest / CategoryController.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Categories"],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"categoryId":{"type":"integer"},"name":{"type":"string"},"categorySlug":{"type":"string"},"parentInt":{"type":"integer"},"sortOrder":{"type":"integer"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined in AddCategoryRequest / CategoryController.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"image":{"type":"string"},"parentInt":{"type":"integer"},"sortOrder":{"type":"integer"},"status":{"type":"integer"},"categorySlug":{"type":"string"},"categoryDescription":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Remove Category

> Delete /api/category\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in DeleteCategoryRequest / CategoryController.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Create, edit, list and remove product categories and manage category SEO."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/category":{"delete":{"operationId":"deleteApiCategory","summary":"Remove Category","description":"Delete /api/category\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Categories\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Source-defined in DeleteCategoryRequest / CategoryController.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Categories"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined in DeleteCategoryRequest / CategoryController.","content":{"application/json":{"schema":{"type":"object","properties":{"categoryId":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Category Category Detail

> Get /api/category/category-detail\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Create, edit, list and remove product categories and manage category SEO."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/category/category-detail":{"get":{"operationId":"getApiCategoryCategoryDetail","summary":"List or retrieve Category Category Detail","description":"Get /api/category/category-detail\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Categories\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Categories"],"parameters":[{"name":"categoryId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter categoryId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"categoryId":{"type":"integer"},"name":{"type":"string"},"categorySlug":{"type":"string"},"parentInt":{"type":"integer"},"sortOrder":{"type":"integer"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Category

> Put /api/category/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in UpdateCategoryRequest / CategoryController.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Create, edit, list and remove product categories and manage category SEO."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/category/{id}":{"put":{"operationId":"putApiCategoryId","summary":"Update Category","description":"Put /api/category/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Categories\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Source-defined in UpdateCategoryRequest / CategoryController.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Categories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"categoryId":{"type":"integer"},"name":{"type":"string"},"categorySlug":{"type":"string"},"parentInt":{"type":"integer"},"sortOrder":{"type":"integer"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined in UpdateCategoryRequest / CategoryController.","content":{"application/json":{"schema":{"type":"object","properties":{"categoryId":{"type":"integer"},"name":{"type":"string"},"parentInt":{"type":"integer"},"sortOrder":{"type":"integer"},"status":{"type":"integer"},"categorySlug":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Category Seo

> Get /api/vendor-category-seo\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Category SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Create, edit, list and remove product categories and manage category SEO."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-category-seo":{"get":{"operationId":"getApiVendorCategorySeo","summary":"List or retrieve Category Seo","description":"Get /api/vendor-category-seo\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Category SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Categories"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"categoryId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Category Seo

> Get /api/vendor-category-seo/:categoryId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Category SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Create, edit, list and remove product categories and manage category SEO."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-category-seo/{categoryId}":{"get":{"operationId":"getApiVendorCategorySeoCategoryid","summary":"List or retrieve Category Seo","description":"Get /api/vendor-category-seo/:categoryId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Category SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Categories"],"parameters":[{"name":"categoryId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for categoryId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"categoryId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Category Seo

> Post /api/vendor-category-seo/:categoryId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Category SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative SEO body; confirm entity-specific DTO fields in the controller.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Create, edit, list and remove product categories and manage category SEO."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-category-seo/{categoryId}":{"post":{"operationId":"postApiVendorCategorySeoCategoryid","summary":"Create or process Category Seo","description":"Post /api/vendor-category-seo/:categoryId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Category SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative SEO body; confirm entity-specific DTO fields in the controller.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Categories"],"parameters":[{"name":"categoryId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for categoryId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"categoryId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative SEO body; confirm entity-specific DTO fields in the controller. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"metaTitle":{"type":"string"},"metaDescription":{"type":"string"},"metaKeyword":{"type":"string"},"metaUrl":{"type":"string"}},"additionalProperties":true}}}}}}}}
```


# Product Families

Create and maintain product families and their category associations.

## Retrieve Family

> Get /api/family\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Families & Attributes\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product families","description":"Create and maintain product families and their category associations."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/family":{"get":{"operationId":"getApiFamily","summary":"Retrieve Family","description":"Get /api/family\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Families & Attributes\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product families"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"count","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"familyId":{"type":"integer"},"name":{"type":"string"},"attributeGroupList":{"type":"array","items":{}}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Family

> Post /api/family\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Families & Attributes\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative Product Family body; confirm the family request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product families","description":"Create and maintain product families and their category associations."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/family":{"post":{"operationId":"postApiFamily","summary":"Create or process Family","description":"Post /api/family\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Families & Attributes\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative Product Family body; confirm the family request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product families"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"familyId":{"type":"integer"},"name":{"type":"string"},"attributeGroupList":{"type":"array","items":{}}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative Product Family body; confirm the family request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"categoryId":{"type":"array","items":{"type":"integer"}},"sortOrder":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Family Category

> Get /api/family/category\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Families & Attributes\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product families","description":"Create and maintain product families and their category associations."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/family/category":{"get":{"operationId":"getApiFamilyCategory","summary":"List or retrieve Family Category","description":"Get /api/family/category\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Families & Attributes\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product families"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"familyId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter familyId."},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter sortOrder."},{"name":"count","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"familyId":{"type":"integer"},"name":{"type":"string"},"attributeGroupList":{"type":"array","items":{}}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Family

> Get /api/family/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Families & Attributes\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product families","description":"Create and maintain product families and their category associations."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/family/{id}":{"get":{"operationId":"getApiFamilyId","summary":"Retrieve Family","description":"Get /api/family/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Families & Attributes\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product families"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"familyId":{"type":"integer"},"name":{"type":"string"},"attributeGroupList":{"type":"array","items":{}}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Family

> Put /api/family/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Families & Attributes\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative Product Family body; confirm the family request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product families","description":"Create and maintain product families and their category associations."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/family/{id}":{"put":{"operationId":"putApiFamilyId","summary":"Update Family","description":"Put /api/family/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Families & Attributes\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative Product Family body; confirm the family request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product families"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"familyId":{"type":"integer"},"name":{"type":"string"},"attributeGroupList":{"type":"array","items":{}}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative Product Family body; confirm the family request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"categoryId":{"type":"array","items":{"type":"integer"}},"sortOrder":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Remove Family

> Delete /api/family/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Families & Attributes\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product families","description":"Create and maintain product families and their category associations."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/family/{id}":{"delete":{"operationId":"deleteApiFamilyId","summary":"Remove Family","description":"Delete /api/family/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Families & Attributes\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product families"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Products

Create, view, update and delete vendor product records.

## Retrieve Product

> Get /api/product\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product":{"get":{"operationId":"getApiProduct","summary":"Retrieve Product","description":"Get /api/product\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"sku","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter sku."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"price","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter price."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Product

> Post /api/product\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined core fields from AddProductRequest; optional arrays are empty for this example.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product":{"post":{"operationId":"postApiProduct","summary":"Create or process Product","description":"Post /api/product\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Source-defined core fields from AddProductRequest; optional arrays are empty for this example.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined core fields from AddProductRequest; optional arrays are empty for this example.","content":{"application/json":{"schema":{"type":"object","properties":{"productName":{"type":"string"},"productDescription":{"type":"string"},"sku":{"type":"string"},"categoryId":{"type":"array","items":{"type":"integer"}},"image":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"},"productSlug":{"type":"string"},"sortOrder":{"type":"integer"},"productAttribute":{"type":"array","items":{}},"productDiscount":{"type":"array","items":{}},"productSpecial":{"type":"array","items":{}},"tirePrices":{"type":"array","items":{}}},"additionalProperties":true}}}}}}}}
```

## Retrieve Product Average Conversion Ratio

> Get /api/product/average-conversion-ratio\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Overview & Metrics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/average-conversion-ratio":{"get":{"operationId":"getApiProductAverageConversionRatio","summary":"Retrieve Product Average Conversion Ratio","description":"Get /api/product/average-conversion-ratio\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Overview & Metrics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"totalProductCount":{"type":"integer"},"totalOrderCount":{"type":"integer"},"revenue":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Average Order Value

> Get /api/product/average-order-value\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sales & Revenue Analytics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/average-order-value":{"get":{"operationId":"getApiProductAverageOrderValue","summary":"Retrieve Product Average Order Value","description":"Get /api/product/average-order-value\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sales & Revenue Analytics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"totalRevenue":{"type":"integer"},"orderCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Product Customer Product View List

> Get /api/product/customerProductView-list/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product View Logs\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorExportController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/customerProductView-list/{id}":{"get":{"operationId":"getApiProductCustomerproductviewListId","summary":"List or retrieve Product Customer Product View List","description":"Get /api/product/customerProductView-list/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product View Logs\n\n**Implementation source:** `src/api/vendor/controllers/VendorExportController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"viewCount":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Dashboard Admin Totalvendor Totalproduct Count

> Get /api/product/dashboard-admin-totalvendor-totalproduct-count\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Overview & Metrics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/dashboard-admin-totalvendor-totalproduct-count":{"get":{"operationId":"getApiProductDashboardAdminTotalvendorTotalproductCount","summary":"Retrieve Product Dashboard Admin Totalvendor Totalproduct Count","description":"Get /api/product/dashboard-admin-totalvendor-totalproduct-count\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Overview & Metrics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"totalProductCount":{"type":"integer"},"totalOrderCount":{"type":"integer"},"revenue":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Dashboard Count

> Get /api/product/dashboard-count\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Overview & Metrics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/dashboard-count":{"get":{"operationId":"getApiProductDashboardCount","summary":"Retrieve Product Dashboard Count","description":"Get /api/product/dashboard-count\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Overview & Metrics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"totalProductCount":{"type":"integer"},"totalOrderCount":{"type":"integer"},"revenue":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Dashboard Admin Customers Count

> Get /api/product/dashboard/admin-customers-count\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Analytics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/dashboard/admin-customers-count":{"get":{"operationId":"getApiProductDashboardAdminCustomersCount","summary":"Retrieve Product Dashboard Admin Customers Count","description":"Get /api/product/dashboard/admin-customers-count\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Analytics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"customerCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Product Dashboard Graph Weekly Saleslist

> Get /api/product/dashboard/graph-weekly-saleslist\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sales & Revenue Analytics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/dashboard/graph-weekly-saleslist":{"get":{"operationId":"getApiProductDashboardGraphWeeklySaleslist","summary":"List or retrieve Product Dashboard Graph Weekly Saleslist","description":"Get /api/product/dashboard/graph-weekly-saleslist\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sales & Revenue Analytics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter productId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"totalRevenue":{"type":"integer"},"orderCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Product Delete Product

> Post /api/product/delete-product\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative product selection body; confirm whether the handler expects productId, productIds or another field.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/delete-product":{"post":{"operationId":"postApiProductDeleteProduct","summary":"Create or process Product Delete Product","description":"Post /api/product/delete-product\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative product selection body; confirm whether the handler expects productId, productIds or another field.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative product selection body; confirm whether the handler expects productId, productIds or another field. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"array","items":{"type":"integer"}}},"additionalProperties":true}}}}}}}}
```

## Retrieve Product Orders Count

> Get /api/product/orders-count\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sales & Revenue Analytics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/orders-count":{"get":{"operationId":"getApiProductOrdersCount","summary":"Retrieve Product Orders Count","description":"Get /api/product/orders-count\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sales & Revenue Analytics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"totalRevenue":{"type":"integer"},"orderCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Product Count

> Get /api/product/product-count\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/product-count":{"get":{"operationId":"getApiProductProductCount","summary":"Retrieve Product Product Count","description":"Get /api/product/product-count\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Product Detail

> Get /api/product/product-detail/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/product-detail/{id}":{"get":{"operationId":"getApiProductProductDetailId","summary":"Retrieve Product Product Detail","description":"Get /api/product/product-detail/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Recent Selling Product

> Get /api/product/recent-selling-product\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Overview & Metrics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/recent-selling-product":{"get":{"operationId":"getApiProductRecentSellingProduct","summary":"Retrieve Product Recent Selling Product","description":"Get /api/product/recent-selling-product\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Overview & Metrics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"totalProductCount":{"type":"integer"},"totalOrderCount":{"type":"integer"},"revenue":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Top Five Repeatedly Purchased Customers

> Get /api/product/top-five-repeatedly-purchased-customers\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customer Analytics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/top-five-repeatedly-purchased-customers":{"get":{"operationId":"getApiProductTopFiveRepeatedlyPurchasedCustomers","summary":"Retrieve Product Top Five Repeatedly Purchased Customers","description":"Get /api/product/top-five-repeatedly-purchased-customers\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customer Analytics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"customerCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Top Performing Products

> Get /api/product/top-performing-products\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Performance\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/top-performing-products":{"get":{"operationId":"getApiProductTopPerformingProducts","summary":"Retrieve Product Top Performing Products","description":"Get /api/product/top-performing-products\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Performance\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"salesCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Product Top Selling Productlist

> Get /api/product/top-selling-productlist\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Performance\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/top-selling-productlist":{"get":{"operationId":"getApiProductTopSellingProductlist","summary":"List or retrieve Product Top Selling Productlist","description":"Get /api/product/top-selling-productlist\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Performance\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"salesCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Total Revenue

> Get /api/product/total-revenue\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sales & Revenue Analytics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/total-revenue":{"get":{"operationId":"getApiProductTotalRevenue","summary":"Retrieve Product Total Revenue","description":"Get /api/product/total-revenue\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sales & Revenue Analytics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"totalRevenue":{"type":"integer"},"orderCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Product Update Owner Product List

> Get /api/product/update-owner-product-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/update-owner-product-list":{"get":{"operationId":"getApiProductUpdateOwnerProductList","summary":"List or retrieve Product Update Owner Product List","description":"Get /api/product/update-owner-product-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Product Update Product Slug

> Put /api/product/update-product-slug\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative slug update body; verify field names in product controller.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/update-product-slug":{"put":{"operationId":"putApiProductUpdateProductSlug","summary":"Update Product Update Product Slug","description":"Put /api/product/update-product-slug\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative slug update body; verify field names in product controller.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative slug update body; verify field names in product controller. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"integer"},"productSlug":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Create or process Product Update Product

> Post /api/product/update-product/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative product update body based on AddProductRequest / UpdateProductRequest core fields; route-specific validations may require additional fields.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/update-product/{id}":{"post":{"operationId":"postApiProductUpdateProductId","summary":"Create or process Product Update Product","description":"Post /api/product/update-product/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative product update body based on AddProductRequest / UpdateProductRequest core fields; route-specific validations may require additional fields.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative product update body based on AddProductRequest / UpdateProductRequest core fields; route-specific validations may require additional fields. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"categoryId":{"type":"array","items":{"type":"integer"}},"image":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"},"productSlug":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Product View Log List

> Get /api/product/viewLog-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product View Logs\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorExportController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/viewLog-list":{"get":{"operationId":"getApiProductViewlogList","summary":"List or retrieve Product View Log List","description":"Get /api/product/viewLog-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product View Logs\n\n**Implementation source:** `src/api/vendor/controllers/VendorExportController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"viewCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Remove Product

> Delete /api/product/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/{id}":{"delete":{"operationId":"deleteApiProductId","summary":"Remove Product","description":"Delete /api/product/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product

> Get /api/vendor-product\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product":{"get":{"operationId":"getApiVendorProduct","summary":"Retrieve Product","description":"Get /api/vendor-product\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Product

> Create a vendor-owned product.\
> \
> Authentication and permission: vendor JWT with \`create-product\` permission.\
> \
> Request fields/required markers are based on \`src/api/vendor/controllers/requests/VendorProductRequest.ts\`; success and validation examples are from \`src/api/vendor/controllers/VendorProductController.ts\`.\
> \
> \*\*Source note:\*\* the DTO types \`image\` as string, while the controller iterates it as an array of image objects. The schema models the handler behavior and flags this code/DTO mismatch for confirmation.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product":{"post":{"operationId":"postApiVendorProduct","summary":"Create or process Product","description":"Create a vendor-owned product.\n\nAuthentication and permission: vendor JWT with `create-product` permission.\n\nRequest fields/required markers are based on `src/api/vendor/controllers/requests/VendorProductRequest.ts`; success and validation examples are from `src/api/vendor/controllers/VendorProductController.ts`.\n\n**Source note:** the DTO types `image` as string, while the controller iterates it as an array of image objects. The schema models the handler behavior and flags this code/DTO mismatch for confirmation.","tags":["Products"],"responses":{"200":{"description":"Successful response, copied from the current VendorProductController @apiSuccessExample.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"name":{"type":"string"},"sku":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Validation error example copied from the current controller annotation.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":true,"description":"Required fields are based on VendorProductRequest class-validator decorators. The `image` TypeScript property is declared as string, but the controller iterates it as an array of image objects; that repository inconsistency is explicitly called out in the schema description.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["productName","sku","productType","quantity","categoryId","image","price","isSpecification"],"properties":{"productName":{"type":"string","maxLength":255,"description":"Required product name."},"sku":{"type":"string","maxLength":64,"description":"Required unique SKU."},"productType":{"type":"string","description":"Required product type. Replace the placeholder with a value supported by the deployment."},"quantity":{"type":"number","description":"Required available product quantity."},"categoryId":{"type":"array","items":{"type":"integer"},"description":"Required non-empty category ID list."},"image":{"type":"array","description":"Required image entries. The controller iterates this value and reads image/containerName/defaultImage from each entry; the TypeScript DTO currently declares image as string, so this is a source type mismatch to confirm.","items":{"type":"object","properties":{"image":{"type":"string","description":"Image path or stored image reference."},"containerName":{"type":"string"},"defaultImage":{"type":"integer"}}}},"price":{"type":"number","description":"Required product price."},"isSpecification":{"type":"integer","description":"Required specification flag."},"productDescription":{"type":"string"},"productSlug":{"type":"string"},"status":{"type":"integer"},"upc":{"type":"string"},"hsn":{"type":"string"},"tax":{"type":"number"},"taxType":{"type":"integer"},"taxId":{"type":"integer"}}}}}}}}}}
```

## Update Product Product Status

> Put /api/vendor-product/product-status/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative status update body; product identifier is provided in the URL.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/product-status/{id}":{"put":{"operationId":"putApiVendorProductProductStatusId","summary":"Update Product Product Status","description":"Put /api/vendor-product/product-status/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative status update body; product identifier is provided in the URL.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative status update body; product identifier is provided in the URL. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Product  Category List

> Get /api/vendor-product/vendor-category-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/vendor-category-list":{"get":{"operationId":"getApiVendorProductVendorCategoryList","summary":"List or retrieve Product  Category List","description":"Get /api/vendor-product/vendor-category-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Categories\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"categoryId":{"type":"integer"},"name":{"type":"string"},"categorySlug":{"type":"string"},"parentInt":{"type":"integer"},"sortOrder":{"type":"integer"},"isActive":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product

> Get /api/vendor-product/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/{id}":{"get":{"operationId":"getApiVendorProductId","summary":"Retrieve Product","description":"Get /api/vendor-product/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Product

> Put /api/vendor-product/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative product update body based on AddProductRequest / UpdateProductRequest core fields; route-specific validations may require additional fields.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/{id}":{"put":{"operationId":"putApiVendorProductId","summary":"Update Product","description":"Put /api/vendor-product/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative product update body based on AddProductRequest / UpdateProductRequest core fields; route-specific validations may require additional fields.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative product update body based on AddProductRequest / UpdateProductRequest core fields; route-specific validations may require additional fields. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"categoryId":{"type":"array","items":{"type":"integer"}},"image":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"},"productSlug":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Remove Product

> Delete /api/vendor-product/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Products","description":"Create, view, update and delete vendor product records."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/{id}":{"delete":{"operationId":"deleteApiVendorProductId","summary":"Remove Product","description":"Delete /api/vendor-product/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Products"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# SKUs And Variants

Manage SKU-level product information and variants.

## Create or process Product Update Sku

> Post /api/product/update-sku\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative SKU update body; confirm exact UpdateSku request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SKUs and variants","description":"Manage SKU-level product information and variants."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/update-sku":{"post":{"operationId":"postApiProductUpdateSku","summary":"Create or process Product Update Sku","description":"Post /api/product/update-sku\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative SKU update body; confirm exact UpdateSku request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SKUs and variants"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative SKU update body; confirm exact UpdateSku request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"integer"},"skuId":{"type":"integer"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Product Update  Sku List

> Get /api/product/update-vendor-sku-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SKUs and variants","description":"Manage SKU-level product information and variants."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/update-vendor-sku-list":{"get":{"operationId":"getApiProductUpdateVendorSkuList","summary":"List or retrieve Product Update  Sku List","description":"Get /api/product/update-vendor-sku-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Products\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SKUs and variants"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Sku

> Get /api/vendor-product/sku/:skuId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Inventory\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SKUs and variants","description":"Manage SKU-level product information and variants."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/sku/{skuId}":{"get":{"operationId":"getApiVendorProductSkuSkuid","summary":"Retrieve Product Sku","description":"Get /api/vendor-product/sku/:skuId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Inventory\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SKUs and variants"],"parameters":[{"name":"skuId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for skuId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"sku":{"type":"string"},"quantity":{"type":"integer"},"hasStock":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Inventory And Stock

Inspect inventory lists and update available stock quantities.

## List or retrieve Product Inventory Product List

> Get /api/product/inventory-product-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Inventory\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Inventory and stock","description":"Inspect inventory lists and update available stock quantities."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/inventory-product-list":{"get":{"operationId":"getApiProductInventoryProductList","summary":"List or retrieve Product Inventory Product List","description":"Get /api/product/inventory-product-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Inventory\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Inventory and stock"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"sku","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter sku."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"sku":{"type":"string"},"quantity":{"type":"integer"},"hasStock":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Product Update Stock

> Post /api/product/update-stock\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Inventory\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in UpdateStockRequest.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Inventory and stock","description":"Inspect inventory lists and update available stock quantities."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/update-stock":{"post":{"operationId":"postApiProductUpdateStock","summary":"Create or process Product Update Stock","description":"Post /api/product/update-stock\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Inventory\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Source-defined in UpdateStockRequest.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Inventory and stock"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"sku":{"type":"string"},"quantity":{"type":"integer"},"hasStock":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined in UpdateStockRequest.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"integer"},"hasStock":{"type":"integer"},"productStock":{"type":"array","items":{"type":"object","properties":{"skuId":{"type":"integer"},"outOfStockThreshold":{"type":"integer"},"notifyMinQuantity":{"type":"integer"},"minQuantityAllowedCart":{"type":"integer"},"maxQuantityAllowedCart":{"type":"integer"},"enableBackOrders":{"type":"integer"},"backOrderStockLimit":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Product Inventory  Product List

> Get /api/vendor-product/inventory-vendor-product-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Inventory\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Inventory and stock","description":"Inspect inventory lists and update available stock quantities."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/inventory-vendor-product-list":{"get":{"operationId":"getApiVendorProductInventoryVendorProductList","summary":"List or retrieve Product Inventory  Product List","description":"Get /api/vendor-product/inventory-vendor-product-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Inventory\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Inventory and stock"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"sku","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter sku."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"sku":{"type":"string"},"quantity":{"type":"integer"},"hasStock":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Product Update Stock

> Post /api/vendor-product/update-stock\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Inventory\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in UpdateStockRequest.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Inventory and stock","description":"Inspect inventory lists and update available stock quantities."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/update-stock":{"post":{"operationId":"postApiVendorProductUpdateStock","summary":"Create or process Product Update Stock","description":"Post /api/vendor-product/update-stock\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Inventory\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Source-defined in UpdateStockRequest.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Inventory and stock"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"sku":{"type":"string"},"quantity":{"type":"integer"},"hasStock":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":true,"description":"Body uses UpdateStockRequest. productId is validated as non-empty; nested stock settings are defined by the ProductStock interface. The handler expects productStock entries for SKU stock settings.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"integer"},"hasStock":{"type":"integer"},"productStock":{"type":"array","items":{"type":"object","properties":{"skuId":{"type":"integer"},"outOfStockThreshold":{"type":"integer"},"notifyMinQuantity":{"type":"integer"},"minQuantityAllowedCart":{"type":"integer"},"maxQuantityAllowedCart":{"type":"integer"},"enableBackOrders":{"type":"integer"},"backOrderStockLimit":{"type":"integer"}}}}},"additionalProperties":true,"required":["productId"]}}}}}}}}
```


# Pricing And Tier Prices

Manage tier pricing and product price breaks.

## Create or process Product Add Tire Price

> Post /api/product/add-tire-price\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Tire Price\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative tire-price payload; confirm the tire-price request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Pricing and tier prices","description":"Manage tier pricing and product price breaks."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/add-tire-price":{"post":{"operationId":"postApiProductAddTirePrice","summary":"Create or process Product Add Tire Price","description":"Post /api/product/add-tire-price\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Tire Price\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative tire-price payload; confirm the tire-price request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Pricing and tier prices"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative tire-price payload; confirm the tire-price request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"integer"},"skuId":{"type":"integer"},"quantity":{"type":"integer"},"price":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Remove Product Delete Tire Price

> Delete /api/product/delete-tire-price/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Tire Price\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Pricing and tier prices","description":"Manage tier pricing and product price breaks."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/delete-tire-price/{id}":{"delete":{"operationId":"deleteApiProductDeleteTirePriceId","summary":"Remove Product Delete Tire Price","description":"Delete /api/product/delete-tire-price/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Tire Price\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Pricing and tier prices"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Product Get Product Tire Price List

> Get /api/product/get-product-tire-price-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Tire Price\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Pricing and tier prices","description":"Manage tier pricing and product price breaks."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/get-product-tire-price-list":{"get":{"operationId":"getApiProductGetProductTirePriceList","summary":"List or retrieve Product Get Product Tire Price List","description":"Get /api/product/get-product-tire-price-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Tire Price\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Pricing and tier prices"],"parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter productId."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Product Imports And Exports

Download templates, import product data and retrieve export results.

## List or retrieve Order Order Excel List

> Get /api/order/order-excel-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Orders\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/order-excel-list":{"get":{"operationId":"getApiOrderOrderExcelList","summary":"List or retrieve Order Order Excel List","description":"Get /api/order/order-excel-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Orders\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"parameters":[{"name":"dateFrom","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter dateFrom."},{"name":"dateTo","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter dateTo."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Product Allproduct Excel List

> Get /api/product/allproduct-excel-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Export\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/allproduct-excel-list":{"get":{"operationId":"getApiProductAllproductExcelList","summary":"List or retrieve Product Allproduct Excel List","description":"Get /api/product/allproduct-excel-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Export\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Download Product Sample

> Get /api/product/download-product-sample\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Import\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/download-product-sample":{"get":{"operationId":"getApiProductDownloadProductSample","summary":"Retrieve Product Download Product Sample","description":"Get /api/product/download-product-sample\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Import\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Upload or import Product Import Product Data

> Post /api/product/import-product-data\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Import\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/import-product-data":{"post":{"operationId":"postApiProductImportProductData","summary":"Upload or import Product Import Product Data","description":"Post /api/product/import-product-data\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Import\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"importId":{"type":"integer"},"status":{"type":"string"},"processedCount":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler. Treat this as an illustrative example, not a complete DTO contract.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload."}},"additionalProperties":false}}}}}}}}
```

## List or retrieve Product Product Excel List

> Get /api/product/product-excel-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Export\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/product/product-excel-list":{"get":{"operationId":"getApiProductProductExcelList","summary":"List or retrieve Product Product Excel List","description":"Get /api/product/product-excel-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Export\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter productId."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"sku","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter sku."},{"name":"status","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Customer Customer Excel Download

> Get /api/vendor-customer/customer-excel-download/:logId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customers\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer/customer-excel-download/{logId}":{"get":{"operationId":"getApiVendorCustomerCustomerExcelDownloadLogid","summary":"Retrieve Customer Customer Excel Download","description":"Get /api/vendor-customer/customer-excel-download/:logId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customers\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"parameters":[{"name":"logId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for logId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Customer Customer Excel List

> Get /api/vendor-customer/customer-excel-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Customers\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-customer/customer-excel-list":{"get":{"operationId":"getApiVendorCustomerCustomerExcelList","summary":"List or retrieve Customer Customer Excel List","description":"Get /api/vendor-customer/customer-excel-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Customers\n\n**Implementation source:** `src/api/vendor/controllers/CustomerController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"parameters":[{"name":"dateFrom","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter dateFrom."},{"name":"dateTo","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter dateTo."},{"name":"title","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter title."},{"name":"customerId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter customerId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Upload or import Import Datas

> Post /api/vendor-import-datas\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Bulk Import\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-import-datas":{"post":{"operationId":"postApiVendorImportDatas","summary":"Upload or import Import Datas","description":"Post /api/vendor-import-datas\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Bulk Import\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"importId":{"type":"integer"},"status":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler. Treat this as an illustrative example, not a complete DTO contract.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload."}},"additionalProperties":false}}}}}}}}
```

## Upload or import Import Datas Category

> Post /api/vendor-import-datas/category\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Bulk Import\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-import-datas/category":{"post":{"operationId":"postApiVendorImportDatasCategory","summary":"Upload or import Import Datas Category","description":"Post /api/vendor-import-datas/category\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Bulk Import\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"importId":{"type":"integer"},"status":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler. Treat this as an illustrative example, not a complete DTO contract.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload."}},"additionalProperties":false}}}}}}}}
```

## Retrieve Import Datas Error Bulk Import

> Get /api/vendor-import-datas/error-bulk-import\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Bulk Import\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-import-datas/error-bulk-import":{"get":{"operationId":"getApiVendorImportDatasErrorBulkImport","summary":"Retrieve Import Datas Error Bulk Import","description":"Get /api/vendor-import-datas/error-bulk-import\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Bulk Import\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"parameters":[{"name":"fileName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter fileName."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"importId":{"type":"integer"},"status":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Upload or import Import Datas Import Image

> Post /api/vendor-import-datas/import-image\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Bulk Import\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-import-datas/import-image":{"post":{"operationId":"postApiVendorImportDatasImportImage","summary":"Upload or import Import Datas Import Image","description":"Post /api/vendor-import-datas/import-image\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Bulk Import\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"importId":{"type":"integer"},"status":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Multipart file upload example. Confirm the exact upload field name and accepted file type from this route handler. Treat this as an illustrative example, not a complete DTO contract.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload."}},"additionalProperties":false}}}}}}}}
```

## List or retrieve Product Allproduct Excel List

> Get /api/vendor-product/allproduct-excel-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Export\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/allproduct-excel-list":{"get":{"operationId":"getApiVendorProductAllproductExcelList","summary":"List or retrieve Product Allproduct Excel List","description":"Get /api/vendor-product/allproduct-excel-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Export\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"parameters":[{"name":"dateFrom","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter dateFrom."},{"name":"dateTo","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter dateTo."},{"name":"productType","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter productType."},{"name":"title","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter title."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Download Product Sample

> Get /api/vendor-product/download-product-sample\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Import\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/download-product-sample":{"get":{"operationId":"getApiVendorProductDownloadProductSample","summary":"Retrieve Product Download Product Sample","description":"Get /api/vendor-product/download-product-sample\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Import\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Product Product Excel List

> Get /api/vendor-product/product-excel-list/:logId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product Export\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product imports and exports","description":"Download templates, import product data and retrieve export results."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product/product-excel-list/{logId}":{"get":{"operationId":"getApiVendorProductProductExcelListLogid","summary":"List or retrieve Product Product Excel List","description":"Get /api/vendor-product/product-excel-list/:logId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product Export\n\n**Implementation source:** `src/api/vendor/controllers/ProductController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product imports and exports"],"parameters":[{"name":"logId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for logId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Product SEO

Manage product-specific search metadata.

## Retrieve Product Seo

> Get /api/vendor-product-seo\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product SEO","description":"Manage product-specific search metadata."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product-seo":{"get":{"operationId":"getApiVendorProductSeo","summary":"Retrieve Product Seo","description":"Get /api/vendor-product-seo\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product SEO"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Product Seo

> Get /api/vendor-product-seo/:productId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product SEO","description":"Manage product-specific search metadata."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product-seo/{productId}":{"get":{"operationId":"getApiVendorProductSeoProductid","summary":"Retrieve Product Seo","description":"Get /api/vendor-product-seo/:productId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product SEO"],"parameters":[{"name":"productId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for productId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Product Seo

> Post /api/vendor-product-seo/:productId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Product SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative SEO body; confirm entity-specific DTO fields in the controller.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Product SEO","description":"Manage product-specific search metadata."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-product-seo/{productId}":{"post":{"operationId":"postApiVendorProductSeoProductid","summary":"Create or process Product Seo","description":"Post /api/vendor-product-seo/:productId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Product SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative SEO body; confirm entity-specific DTO fields in the controller.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Product SEO"],"parameters":[{"name":"productId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for productId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative SEO body; confirm entity-specific DTO fields in the controller. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"metaTitle":{"type":"string"},"metaDescription":{"type":"string"},"metaKeyword":{"type":"string"},"metaUrl":{"type":"string"}},"additionalProperties":true}}}}}}}}
```


# Authentication


# Vendor Account And Authentication

Authenticate vendor users and manage account credentials and profile.

## Authenticate or process Demo  Login

> Post /api/demo-vendor/login\
> \
> \*\*Authentication:\*\* Login endpoint; no bearer token is sent.\
> \
> \*\*Feature area:\*\* Vendor Access & Login\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorDemoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative login body; confirm the legacy demo-login DTO before using this route. Prefer /api/demo-vendor/login-new when following the documented email/password flow.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Vendor account and authentication","description":"Authenticate vendor users and manage account credentials and profile."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/demo-vendor/login":{"post":{"operationId":"postApiDemoVendorLogin","summary":"Authenticate or process Demo  Login","description":"Post /api/demo-vendor/login\n\n**Authentication:** Login endpoint; no bearer token is sent.\n\n**Feature area:** Vendor Access & Login\n\n**Implementation source:** `src/api/vendor/controllers/VendorDemoController.ts`\n\n**Request example provenance:** Illustrative login body; confirm the legacy demo-login DTO before using this route. Prefer /api/demo-vendor/login-new when following the documented email/password flow.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Vendor account and authentication"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative login body; confirm the legacy demo-login DTO before using this route. Prefer /api/demo-vendor/login-new when following the documented email/password flow. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"emailId":{"type":"string"},"password":{"type":"string","writeOnly":true}},"additionalProperties":true}}}}}}}}
```

## Authenticate or process Demo  Login New

> Post /api/demo-vendor/login-new\
> \
> \*\*Authentication:\*\* Login endpoint; no bearer token is sent.\
> \
> \*\*Feature area:\*\* Vendor Access & Login\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorDemoController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in VendorDemoController.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Vendor account and authentication","description":"Authenticate vendor users and manage account credentials and profile."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/demo-vendor/login-new":{"post":{"operationId":"postApiDemoVendorLoginNew","summary":"Authenticate or process Demo  Login New","description":"Post /api/demo-vendor/login-new\n\n**Authentication:** Login endpoint; no bearer token is sent.\n\n**Feature area:** Vendor Access & Login\n\n**Implementation source:** `src/api/vendor/controllers/VendorDemoController.ts`\n\n**Request example provenance:** Source-defined in VendorDemoController.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Vendor account and authentication"],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"token":{"type":"string","writeOnly":true},"user":{"type":"object","properties":{"id":{"type":"integer"},"firstName":{"type":"string"},"email":{"type":"string"}},"additionalProperties":true},"permission":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":true,"description":"Request body follows VerifyOtpRequest. Both emailId and password use @IsNotEmpty; emailId also uses @IsEmail.","content":{"application/json":{"schema":{"type":"object","properties":{"emailId":{"type":"string","format":"email","description":"Required vendor user email address."},"password":{"type":"string","format":"password","writeOnly":true,"description":"Required vendor user password."}},"additionalProperties":true,"required":["emailId","password"]}}}}}}}}
```

## Authenticate or process Demo  Send Otp

> Post /api/demo-vendor/send-otp\
> \
> \*\*Authentication:\*\* Login endpoint; no bearer token is sent.\
> \
> \*\*Feature area:\*\* Vendor Access & Login\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorDemoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative OTP request; verify the exact VendorDemoController DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Vendor account and authentication","description":"Authenticate vendor users and manage account credentials and profile."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/demo-vendor/send-otp":{"post":{"operationId":"postApiDemoVendorSendOtp","summary":"Authenticate or process Demo  Send Otp","description":"Post /api/demo-vendor/send-otp\n\n**Authentication:** Login endpoint; no bearer token is sent.\n\n**Feature area:** Vendor Access & Login\n\n**Implementation source:** `src/api/vendor/controllers/VendorDemoController.ts`\n\n**Request example provenance:** Illustrative OTP request; verify the exact VendorDemoController DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Vendor account and authentication"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative OTP request; verify the exact VendorDemoController DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"emailId":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Update User Change Password

> Put /api/vendor-user/change-password\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Change Password\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative password-change body; verify exact DTO names and policy.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Vendor account and authentication","description":"Authenticate vendor users and manage account credentials and profile."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-user/change-password":{"put":{"operationId":"putApiVendorUserChangePassword","summary":"Update User Change Password","description":"Put /api/vendor-user/change-password\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Change Password\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative password-change body; verify exact DTO names and policy.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Vendor account and authentication"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative password-change body; verify exact DTO names and policy. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"oldPassword":{"type":"string","writeOnly":true},"newPassword":{"type":"string","writeOnly":true},"confirmPassword":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Create or process User Edit Profile

> Post /api/vendor-user/edit-profile\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* User Management\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative user profile body; check request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Vendor account and authentication","description":"Authenticate vendor users and manage account credentials and profile."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-user/edit-profile":{"post":{"operationId":"postApiVendorUserEditProfile","summary":"Create or process User Edit Profile","description":"Post /api/vendor-user/edit-profile\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** User Management\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative user profile body; check request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Vendor account and authentication"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"userId":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative user profile body; check request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve User Get Profile

> Get /api/vendor-user/get-profile\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* User Management\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Vendor account and authentication","description":"Authenticate vendor users and manage account credentials and profile."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-user/get-profile":{"get":{"operationId":"getApiVendorUserGetProfile","summary":"Retrieve User Get Profile","description":"Get /api/vendor-user/get-profile\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** User Management\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Vendor account and authentication"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Media


# Folders And Media Library

Browse, create, search and remove media folders and library objects.

## Retrieve Media Bucket Object Count

> Get /api/media/bucket-object-count\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Storage\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Folders and media library","description":"Browse, create, search and remove media folders and library objects."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/bucket-object-count":{"get":{"operationId":"getApiMediaBucketObjectCount","summary":"Retrieve Media Bucket Object Count","description":"Get /api/media/bucket-object-count\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Storage\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Folders and media library"],"parameters":[{"name":"folderName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter folderName."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"marker","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter marker."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"containerName":{"type":"string"},"size":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Media Bucket Object List

> Get /api/media/bucket-object-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Storage\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Folders and media library","description":"Browse, create, search and remove media folders and library objects."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/bucket-object-list":{"get":{"operationId":"getApiMediaBucketObjectList","summary":"List or retrieve Media Bucket Object List","description":"Get /api/media/bucket-object-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Storage\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Folders and media library"],"parameters":[{"name":"folderName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter folderName."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"marker","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter marker."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"containerName":{"type":"string"},"size":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Media Delete Folder

> Post /api/media/delete-folder\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Folder Management\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative folder payload; confirm folder request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Folders and media library","description":"Browse, create, search and remove media folders and library objects."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/delete-folder":{"post":{"operationId":"postApiMediaDeleteFolder","summary":"Create or process Media Delete Folder","description":"Post /api/media/delete-folder\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Folder Management\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative folder payload; confirm folder request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Folders and media library"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"folderId":{"type":"integer"},"folderName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative folder payload; confirm folder request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"folderName":{"type":"string"},"parentId":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Media  Bucket Object List

> Get /api/media/vendor-bucket-object-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Storage\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Folders and media library","description":"Browse, create, search and remove media folders and library objects."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/vendor-bucket-object-list":{"get":{"operationId":"getApiMediaVendorBucketObjectList","summary":"List or retrieve Media  Bucket Object List","description":"Get /api/media/vendor-bucket-object-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Storage\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Folders and media library"],"parameters":[{"name":"folderName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter folderName."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"marker","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter marker."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"containerName":{"type":"string"},"size":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Media  Create Folder

> Post /api/media/vendor-create-folder\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Folder Management\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative folder payload; confirm folder request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Folders and media library","description":"Browse, create, search and remove media folders and library objects."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/vendor-create-folder":{"post":{"operationId":"postApiMediaVendorCreateFolder","summary":"Create or process Media  Create Folder","description":"Post /api/media/vendor-create-folder\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Folder Management\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative folder payload; confirm folder request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Folders and media library"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"folderId":{"type":"integer"},"folderName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative folder payload; confirm folder request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"folderName":{"type":"string"},"parentId":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Media  Search Folder

> Get /api/media/vendor-search-folder\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Folder Management\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Folders and media library","description":"Browse, create, search and remove media folders and library objects."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/vendor-search-folder":{"get":{"operationId":"getApiMediaVendorSearchFolder","summary":"Retrieve Media  Search Folder","description":"Get /api/media/vendor-search-folder\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Folder Management\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Folders and media library"],"parameters":[{"name":"folderName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter folderName."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"folderId":{"type":"integer"},"folderName":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Media Files And Uploads

Upload, resize, preview and manage media files.

## Retrieve Media Document

> Get /api/media/document\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Delivery & Preview\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media files and uploads","description":"Upload, resize, preview and manage media files."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/document":{"get":{"operationId":"getApiMediaDocument","summary":"Retrieve Media Document","description":"Get /api/media/document\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Delivery & Preview\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media files and uploads"],"parameters":[{"name":"key","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter key."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Media Image Resize

> Get /api/media/image-resize\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Delivery & Preview\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media files and uploads","description":"Upload, resize, preview and manage media files."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/image-resize":{"get":{"operationId":"getApiMediaImageResize","summary":"Retrieve Media Image Resize","description":"Get /api/media/image-resize\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Delivery & Preview\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media files and uploads"],"parameters":[{"name":"width","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter width."},{"name":"height","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter height."},{"name":"name","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter name."},{"name":"path","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter path."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Media Image Resizes

> Get /api/media/image-resizes\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Delivery & Preview\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media files and uploads","description":"Upload, resize, preview and manage media files."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/image-resizes":{"get":{"operationId":"getApiMediaImageResizes","summary":"Retrieve Media Image Resizes","description":"Get /api/media/image-resizes\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Delivery & Preview\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media files and uploads"],"parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter name."},{"name":"path","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter path."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Upload or import Media Upload File

> Post /api/media/upload-file\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Upload\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media files and uploads","description":"Upload, resize, preview and manage media files."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/upload-file":{"post":{"operationId":"postApiMediaUploadFile","summary":"Upload or import Media Upload File","description":"Post /api/media/upload-file\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Upload\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media files and uploads"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"fileName":{"type":"string"},"containerName":{"type":"string"},"url":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler. Treat this as an illustrative example, not a complete DTO contract.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload."}},"additionalProperties":false}}}}}}}}
```

## Upload or import Media Upload Multi Image

> Post /api/media/upload-multi-image\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Upload\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media files and uploads","description":"Upload, resize, preview and manage media files."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/upload-multi-image":{"post":{"operationId":"postApiMediaUploadMultiImage","summary":"Upload or import Media Upload Multi Image","description":"Post /api/media/upload-multi-image\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Upload\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media files and uploads"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"fileName":{"type":"string"},"containerName":{"type":"string"},"url":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler. Treat this as an illustrative example, not a complete DTO contract.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload."}},"additionalProperties":false}}}}}}}}
```

## Upload or import Media Upload Video

> Post /api/media/upload-video\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Upload\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media files and uploads","description":"Upload, resize, preview and manage media files."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/upload-video":{"post":{"operationId":"postApiMediaUploadVideo","summary":"Upload or import Media Upload Video","description":"Post /api/media/upload-video\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Upload\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media files and uploads"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"fileName":{"type":"string"},"containerName":{"type":"string"},"url":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Multipart file upload example. Confirm the exact field name, accepted mime types and size limit from the media upload handler. Treat this as an illustrative example, not a complete DTO contract.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"File to upload."}},"additionalProperties":false}}}}}}}}
```

## Retrieve Media Video Preview S3

> Get /api/media/video-preview-s3\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Delivery & Preview\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media files and uploads","description":"Upload, resize, preview and manage media files."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/video-preview-s3":{"get":{"operationId":"getApiMediaVideoPreviewS3","summary":"Retrieve Media Video Preview S3","description":"Get /api/media/video-preview-s3\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Delivery & Preview\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media files and uploads"],"parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter name."},{"name":"path","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter path."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Media Library

Browse and manage vendor media assets.

## Retrieve Media Delete File

> Get /api/media/delete-file\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Deletion\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media library","description":"Browse and manage vendor media assets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/delete-file":{"get":{"operationId":"getApiMediaDeleteFile","summary":"Retrieve Media Delete File","description":"Get /api/media/delete-file\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Deletion\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media library"],"parameters":[{"name":"fileName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter fileName."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"deletedCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Media Multiple Delete

> Post /api/media/multiple-delete\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Deletion\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative multi-delete body; confirm the media controller property name and object key format.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media library","description":"Browse and manage vendor media assets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/multiple-delete":{"post":{"operationId":"postApiMediaMultipleDelete","summary":"Create or process Media Multiple Delete","description":"Post /api/media/multiple-delete\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Deletion\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative multi-delete body; confirm the media controller property name and object key format.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media library"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"deletedCount":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative multi-delete body; confirm the media controller property name and object key format. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}}}}}}}}
```

## Retrieve Media Plugin

> Get /api/media/plugin\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Media Delivery & Preview\
> \
> \*\*Implementation source:\*\* \`src/api/core/controllers/MediaController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Media library","description":"Browse and manage vendor media assets."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/media/plugin":{"get":{"operationId":"getApiMediaPlugin","summary":"Retrieve Media Plugin","description":"Get /api/media/plugin\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Media Delivery & Preview\n\n**Implementation source:** `src/api/core/controllers/MediaController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Media library"],"parameters":[{"name":"width","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter width."},{"name":"height","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter height."},{"name":"name","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter name."},{"name":"path","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter path."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"contentType":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Sales


# Orders

List vendor orders, inspect order details and update order/payment status.

## Retrieve Order

> Get /api/order\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Orders\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order":{"get":{"operationId":"getApiOrder","summary":"Retrieve Order","description":"Get /api/order\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Orders\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Orders"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"sortBy","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter sortBy."},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter sortOrder."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"orderId":{"type":"integer"},"orderPrefixId":{"type":"string"},"orderStatusId":{"type":"integer"},"total":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Order Create Order

> Post /api/order/create-order\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Orders\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative order body; actual create-order validation may require customer, address, shipping and payment fields.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/create-order":{"post":{"operationId":"postApiOrderCreateOrder","summary":"Create or process Order Create Order","description":"Post /api/order/create-order\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Orders\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Illustrative order body; actual create-order validation may require customer, address, shipping and payment fields.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Orders"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"orderId":{"type":"integer"},"orderPrefixId":{"type":"string"},"orderStatusId":{"type":"integer"},"total":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative order body; actual create-order validation may require customer, address, shipping and payment fields. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"customerId":{"type":"integer"},"orderStatusId":{"type":"integer"},"paymentStatusId":{"type":"integer"},"productList":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"skuId":{"type":"integer"},"quantity":{"type":"integer"},"price":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}}}}}}
```

## Remove Order Delete Order

> Delete /api/order/delete-order/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Orders\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/delete-order/{id}":{"delete":{"operationId":"deleteApiOrderDeleteOrderId","summary":"Remove Order Delete Order","description":"Delete /api/order/delete-order/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Orders\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Order Export Log Download

> Get /api/order/export-log-download/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Orders\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/export-log-download/{id}":{"get":{"operationId":"getApiOrderExportLogDownloadId","summary":"Retrieve Order Export Log Download","description":"Get /api/order/export-log-download/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Orders\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Order Order Change Status

> Post /api/order/order-change-status\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Order Status\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in OrderController API comments.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/order-change-status":{"post":{"operationId":"postApiOrderOrderChangeStatus","summary":"Create or process Order Order Change Status","description":"Post /api/order/order-change-status\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Order Status\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Source-defined in OrderController API comments.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Orders"],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined in OrderController API comments.","content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"type":"integer"},"orderStatusId":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Order Order Export Pdf

> Get /api/order/order-export-pdf\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Orders\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/order-export-pdf":{"get":{"operationId":"getApiOrderOrderExportPdf","summary":"Retrieve Order Order Export Pdf","description":"Get /api/order/order-export-pdf\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Orders\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Orders"],"parameters":[{"name":"orderId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter orderId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Order Order Product Log List

> Get /api/order/order-product-log-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Order Details\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/order-product-log-list":{"get":{"operationId":"getApiOrderOrderProductLogList","summary":"List or retrieve Order Order Product Log List","description":"Get /api/order/order-product-log-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Order Details\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Orders"],"parameters":[{"name":"orderProductId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter orderProductId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"orderId":{"type":"integer"},"orderPrefixId":{"type":"string"},"total":{"type":"string"},"productList":{"type":"array","items":{}}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Order Order Loglist

> Get /api/order/orderLoglist\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Order Details\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/orderLoglist":{"get":{"operationId":"getApiOrderOrderloglist","summary":"List or retrieve Order Order Loglist","description":"Get /api/order/orderLoglist\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Order Details\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Orders"],"parameters":[{"name":"orderId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter orderId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"orderId":{"type":"integer"},"orderPrefixId":{"type":"string"},"total":{"type":"string"},"productList":{"type":"array","items":{}}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Order Update Payment Status

> Post /api/order/update-payment-status\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Order Payment\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined in OrderController API comments (1=Paid; 2=Pending/Failed).\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/update-payment-status":{"post":{"operationId":"postApiOrderUpdatePaymentStatus","summary":"Create or process Order Update Payment Status","description":"Post /api/order/update-payment-status\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Order Payment\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Source-defined in OrderController API comments (1=Paid; 2=Pending/Failed).\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Orders"],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined in OrderController API comments (1=Paid; 2=Pending/Failed).","content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"type":"integer"},"paymentStatusId":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Order

> Get /api/order/:orderId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Order Details\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/OrderController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact API comment example.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Orders","description":"List vendor orders, inspect order details and update order/payment status."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/order/{orderId}":{"get":{"operationId":"getApiOrderOrderid","summary":"Retrieve Order","description":"Get /api/order/:orderId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Order Details\n\n**Implementation source:** `src/api/vendor/controllers/OrderController.ts`\n\n**Request example provenance:** Exact API comment example.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Orders"],"parameters":[{"name":"orderId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for orderId."}],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"orderId":{"type":"integer"},"orderPrefixId":{"type":"string"},"shippingFirstname":{"type":"string"},"shippingLastname":{"type":"string"},"total":{"type":"string"},"productList":{"type":"array","items":{}}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Sales Reports

Retrieve sales summaries, revenue reports and top-selling products.

## Retrieve Order Revenue Overview

> Get /api/vendor-order/revenue-overview\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Revenue Overview\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact API comment example.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Sales reports","description":"Retrieve sales summaries, revenue reports and top-selling products."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-order/revenue-overview":{"get":{"operationId":"getApiVendorOrderRevenueOverview","summary":"Retrieve Order Revenue Overview","description":"Get /api/vendor-order/revenue-overview\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Revenue Overview\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Exact API comment example.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Sales reports"],"parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."}],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"revenue":{"type":"integer"},"orderCount":{"type":"integer"},"month":{"type":"integer"},"year":{"type":"integer"}},"additionalProperties":true}},"maxAmount":{"type":"integer"}},"additionalProperties":true}}}},"500":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Order Sales Report Export List

> Get /api/vendor-order/sales-report-export-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sales Reports\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorExportController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Sales reports","description":"Retrieve sales summaries, revenue reports and top-selling products."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-order/sales-report-export-list":{"get":{"operationId":"getApiVendorOrderSalesReportExportList","summary":"List or retrieve Order Sales Report Export List","description":"Get /api/vendor-order/sales-report-export-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sales Reports\n\n**Implementation source:** `src/api/vendor/controllers/VendorExportController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Sales reports"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"startDate","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter startDate."},{"name":"endDate","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter endDate."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Order Sales Report List

> Get /api/vendor-order/sales-report-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sales Reports\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorExportController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Sales reports","description":"Retrieve sales summaries, revenue reports and top-selling products."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-order/sales-report-list":{"get":{"operationId":"getApiVendorOrderSalesReportList","summary":"List or retrieve Order Sales Report List","description":"Get /api/vendor-order/sales-report-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sales Reports\n\n**Implementation source:** `src/api/vendor/controllers/VendorExportController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Sales reports"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"startDate","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter startDate."},{"name":"endDate","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter endDate."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"reportId":{"type":"integer"},"orderCount":{"type":"integer"},"totalRevenue":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Order Top Selling Productlist

> Get /api/vendor-order/top-selling-productlist\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Top Selling Products\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Sales reports","description":"Retrieve sales summaries, revenue reports and top-selling products."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-order/top-selling-productlist":{"get":{"operationId":"getApiVendorOrderTopSellingProductlist","summary":"List or retrieve Order Top Selling Productlist","description":"Get /api/vendor-order/top-selling-productlist\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Top Selling Products\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Sales reports"],"parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"integer"},"productName":{"type":"string"},"quantitySold":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# CMS


# Pages

Create and manage vendor CMS pages.

## Retrieve Page

> Get /api/page\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Pages\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Pages","description":"Create and manage vendor CMS pages."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page":{"get":{"operationId":"getApiPage","summary":"Retrieve Page","description":"Get /api/page\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Pages\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Pages"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"integer"},"title":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Page

> Post /api/page\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Pages\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative CMS body; exact property names/required fields vary by CMS DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Pages","description":"Create and manage vendor CMS pages."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page":{"post":{"operationId":"postApiPage","summary":"Create or process Page","description":"Post /api/page\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Pages\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative CMS body; exact property names/required fields vary by CMS DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Pages"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pageId":{"type":"integer"},"title":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative CMS body; exact property names/required fields vary by CMS DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"slugName":{"type":"string"},"description":{"type":"string"},"content":{"type":"string"},"status":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Update Page

> Put /api/page/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Pages\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative CMS body; exact property names/required fields vary by CMS DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Pages","description":"Create and manage vendor CMS pages."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page/{id}":{"put":{"operationId":"putApiPageId","summary":"Update Page","description":"Put /api/page/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Pages\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative CMS body; exact property names/required fields vary by CMS DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Pages"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pageId":{"type":"integer"},"title":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative CMS body; exact property names/required fields vary by CMS DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"slugName":{"type":"string"},"description":{"type":"string"},"content":{"type":"string"},"status":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Remove Page

> Delete /api/page/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Pages\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Pages","description":"Create and manage vendor CMS pages."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page/{id}":{"delete":{"operationId":"deleteApiPageId","summary":"Remove Page","description":"Delete /api/page/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Pages\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Pages"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Page

> Get /api/page/:pageId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Pages\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Pages","description":"Create and manage vendor CMS pages."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page/{pageId}":{"get":{"operationId":"getApiPagePageid","summary":"Retrieve Page","description":"Get /api/page/:pageId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Pages\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Pages"],"parameters":[{"name":"pageId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for pageId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"integer"},"title":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Page Groups

Organize CMS pages into page groups.

## Retrieve Page Group

> Get /api/page-group\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Page Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Page groups","description":"Organize CMS pages into page groups."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page-group":{"get":{"operationId":"getApiPageGroup","summary":"Retrieve Page Group","description":"Get /api/page-group\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Page Groups\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Page groups"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"pageGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Page Group

> Post /api/page-group\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Page Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative CMS body; exact property names/required fields vary by CMS DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Page groups","description":"Organize CMS pages into page groups."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page-group":{"post":{"operationId":"postApiPageGroup","summary":"Create or process Page Group","description":"Post /api/page-group\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Page Groups\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative CMS body; exact property names/required fields vary by CMS DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Page groups"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pageGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative CMS body; exact property names/required fields vary by CMS DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"slugName":{"type":"string"},"description":{"type":"string"},"content":{"type":"string"},"status":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Page Group Get Page Group

> Get /api/page-group/get-page-group/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Page Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Page groups","description":"Organize CMS pages into page groups."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page-group/get-page-group/{id}":{"get":{"operationId":"getApiPageGroupGetPageGroupId","summary":"Retrieve Page Group Get Page Group","description":"Get /api/page-group/get-page-group/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Page Groups\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Page groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pageGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Page Group

> Put /api/page-group/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Page Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative CMS body; exact property names/required fields vary by CMS DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Page groups","description":"Organize CMS pages into page groups."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page-group/{id}":{"put":{"operationId":"putApiPageGroupId","summary":"Update Page Group","description":"Put /api/page-group/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Page Groups\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative CMS body; exact property names/required fields vary by CMS DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Page groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pageGroupId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative CMS body; exact property names/required fields vary by CMS DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"slugName":{"type":"string"},"description":{"type":"string"},"content":{"type":"string"},"status":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Remove Page Group

> Delete /api/page-group/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Page Groups\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Page groups","description":"Organize CMS pages into page groups."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/page-group/{id}":{"delete":{"operationId":"deleteApiPageGroupId","summary":"Remove Page Group","description":"Delete /api/page-group/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Page Groups\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Page groups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Blogs

Create and manage vendor blog posts.

## Retrieve Blog

> Get /api/vendor-blog\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blogs\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blogs","description":"Create and manage vendor blog posts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog":{"get":{"operationId":"getApiVendorBlog","summary":"Retrieve Blog","description":"Get /api/vendor-blog\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blogs\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blogs"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"blogId":{"type":"integer"},"title":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Blog

> Post /api/vendor-blog\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blogs\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative CMS body; exact property names/required fields vary by CMS DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blogs","description":"Create and manage vendor blog posts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog":{"post":{"operationId":"postApiVendorBlog","summary":"Create or process Blog","description":"Post /api/vendor-blog\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blogs\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative CMS body; exact property names/required fields vary by CMS DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blogs"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"blogId":{"type":"integer"},"title":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative CMS body; exact property names/required fields vary by CMS DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"slugName":{"type":"string"},"description":{"type":"string"},"content":{"type":"string"},"status":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Blog Seo

> Get /api/vendor-blog-seo\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blog SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blogs","description":"Create and manage vendor blog posts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog-seo":{"get":{"operationId":"getApiVendorBlogSeo","summary":"Retrieve Blog Seo","description":"Get /api/vendor-blog-seo\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blog SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blogs"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"blogId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Blog Seo

> Get /api/vendor-blog-seo/:blogId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blog SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blogs","description":"Create and manage vendor blog posts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog-seo/{blogId}":{"get":{"operationId":"getApiVendorBlogSeoBlogid","summary":"Retrieve Blog Seo","description":"Get /api/vendor-blog-seo/:blogId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blog SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blogs"],"parameters":[{"name":"blogId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for blogId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"blogId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Blog Seo

> Post /api/vendor-blog-seo/:blogId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blog SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative SEO body; confirm entity-specific DTO fields in the controller.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blogs","description":"Create and manage vendor blog posts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog-seo/{blogId}":{"post":{"operationId":"postApiVendorBlogSeoBlogid","summary":"Create or process Blog Seo","description":"Post /api/vendor-blog-seo/:blogId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blog SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative SEO body; confirm entity-specific DTO fields in the controller.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blogs"],"parameters":[{"name":"blogId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for blogId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"blogId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative SEO body; confirm entity-specific DTO fields in the controller. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"metaTitle":{"type":"string"},"metaDescription":{"type":"string"},"metaKeyword":{"type":"string"},"metaUrl":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Blog Blog Detail

> Get /api/vendor-blog/blog-detail\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blogs\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blogs","description":"Create and manage vendor blog posts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog/blog-detail":{"get":{"operationId":"getApiVendorBlogBlogDetail","summary":"Retrieve Blog Blog Detail","description":"Get /api/vendor-blog/blog-detail\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blogs\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blogs"],"parameters":[{"name":"blogId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter blogId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"blogId":{"type":"integer"},"title":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Blog

> Put /api/vendor-blog/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blogs\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative CMS body; exact property names/required fields vary by CMS DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blogs","description":"Create and manage vendor blog posts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog/{id}":{"put":{"operationId":"putApiVendorBlogId","summary":"Update Blog","description":"Put /api/vendor-blog/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blogs\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative CMS body; exact property names/required fields vary by CMS DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blogs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"blogId":{"type":"integer"},"title":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative CMS body; exact property names/required fields vary by CMS DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"slugName":{"type":"string"},"description":{"type":"string"},"content":{"type":"string"},"status":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Remove Blog

> Delete /api/vendor-blog/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blogs\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blogs","description":"Create and manage vendor blog posts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog/{id}":{"delete":{"operationId":"deleteApiVendorBlogId","summary":"Remove Blog","description":"Delete /api/vendor-blog/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blogs\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blogs"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Blog Categories

Organize vendor blog posts into categories.

## List or retrieve Blog Category

> Get /api/vendor-blog-category\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blog Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blog categories","description":"Organize vendor blog posts into categories."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog-category":{"get":{"operationId":"getApiVendorBlogCategory","summary":"List or retrieve Blog Category","description":"Get /api/vendor-blog-category\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blog Categories\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blog categories"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"blogCategoryId":{"type":"integer"},"name":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Blog Category

> Post /api/vendor-blog-category\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blog Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative CMS body; exact property names/required fields vary by CMS DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blog categories","description":"Organize vendor blog posts into categories."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog-category":{"post":{"operationId":"postApiVendorBlogCategory","summary":"Create or process Blog Category","description":"Post /api/vendor-blog-category\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blog Categories\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative CMS body; exact property names/required fields vary by CMS DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blog categories"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"blogCategoryId":{"type":"integer"},"name":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative CMS body; exact property names/required fields vary by CMS DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"slugName":{"type":"string"},"description":{"type":"string"},"content":{"type":"string"},"status":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Blog Category Blog Category Detail

> Get /api/vendor-blog-category/blog-category-detail\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blog Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blog categories","description":"Organize vendor blog posts into categories."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog-category/blog-category-detail":{"get":{"operationId":"getApiVendorBlogCategoryBlogCategoryDetail","summary":"List or retrieve Blog Category Blog Category Detail","description":"Get /api/vendor-blog-category/blog-category-detail\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blog Categories\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blog categories"],"parameters":[{"name":"blogCategoryId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter blogCategoryId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"blogCategoryId":{"type":"integer"},"name":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Blog Category

> Put /api/vendor-blog-category/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blog Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative CMS body; exact property names/required fields vary by CMS DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blog categories","description":"Organize vendor blog posts into categories."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog-category/{id}":{"put":{"operationId":"putApiVendorBlogCategoryId","summary":"Update Blog Category","description":"Put /api/vendor-blog-category/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blog Categories\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** Illustrative CMS body; exact property names/required fields vary by CMS DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blog categories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"blogCategoryId":{"type":"integer"},"name":{"type":"string"},"slugName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative CMS body; exact property names/required fields vary by CMS DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"name":{"type":"string"},"slugName":{"type":"string"},"description":{"type":"string"},"content":{"type":"string"},"status":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Remove Blog Category

> Delete /api/vendor-blog-category/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Blog Categories\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/PageController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Blog categories","description":"Organize vendor blog posts into categories."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-blog-category/{id}":{"delete":{"operationId":"deleteApiVendorBlogCategoryId","summary":"Remove Blog Category","description":"Delete /api/vendor-blog-category/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Blog Categories\n\n**Implementation source:** `src/api/vendor/controllers/PageController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Blog categories"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Dashboard


# Dashboard Analytics

Retrieve vendor dashboard metrics and analytics.

## Retrieve Order Graph

> Get /api/vendor/order-graph\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Order Analytics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Dashboard analytics","description":"Retrieve vendor dashboard metrics and analytics."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor/order-graph":{"get":{"operationId":"getApiVendorOrderGraph","summary":"Retrieve Order Graph","description":"Get /api/vendor/order-graph\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Order Analytics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Dashboard analytics"],"parameters":[{"name":"duration","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter duration."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"orderCount":{"type":"integer"},"salesCount":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Total Dashboard Counts

> Get /api/vendor/total-dashboard-counts\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Overview & Metrics\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact API comment example.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Dashboard analytics","description":"Retrieve vendor dashboard metrics and analytics."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor/total-dashboard-counts":{"get":{"operationId":"getApiVendorTotalDashboardCounts","summary":"Retrieve Total Dashboard Counts","description":"Get /api/vendor/total-dashboard-counts\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Overview & Metrics\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Exact API comment example.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Dashboard analytics"],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"inActiveVendorProductList":{"type":"integer"},"activeProductCount":{"type":"integer"},"totalProductCount":{"type":"integer"},"totalOrderCount":{"type":"integer"},"salesCount":{"type":"integer"},"revenue":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"500":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Reports


# Reports And Exports

Retrieve reports, export logs and downloadable report files.

## Retrieve Export Log

> Get /api/vendor-export-log\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Export Logs\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorExportController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Reports and exports","description":"Retrieve reports, export logs and downloadable report files."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-export-log":{"get":{"operationId":"getApiVendorExportLog","summary":"Retrieve Export Log","description":"Get /api/vendor-export-log\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Export Logs\n\n**Implementation source:** `src/api/vendor/controllers/VendorExportController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Reports and exports"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"moduleName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter moduleName."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"downloadUrl":{"type":"string"},"fileName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# SEO


# SEO And Sitemap

Manage SEO metadata and sitemap configuration.

## Retrieve Page Seo

> Get /api/vendor-page-seo\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Page SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SEO and sitemap","description":"Manage SEO metadata and sitemap configuration."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-page-seo":{"get":{"operationId":"getApiVendorPageSeo","summary":"Retrieve Page Seo","description":"Get /api/vendor-page-seo\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Page SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SEO and sitemap"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Retrieve Page Seo

> Get /api/vendor-page-seo/:groupId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Page SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SEO and sitemap","description":"Manage SEO metadata and sitemap configuration."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-page-seo/{groupId}":{"get":{"operationId":"getApiVendorPageSeoGroupid","summary":"Retrieve Page Seo","description":"Get /api/vendor-page-seo/:groupId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Page SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SEO and sitemap"],"parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for groupId."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"pageId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Page Seo

> Post /api/vendor-page-seo/:pageId\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Page SEO\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative SEO body; confirm entity-specific DTO fields in the controller.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SEO and sitemap","description":"Manage SEO metadata and sitemap configuration."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-page-seo/{pageId}":{"post":{"operationId":"postApiVendorPageSeoPageid","summary":"Create or process Page Seo","description":"Post /api/vendor-page-seo/:pageId\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Page SEO\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative SEO body; confirm entity-specific DTO fields in the controller.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SEO and sitemap"],"parameters":[{"name":"pageId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for pageId."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pageId":{"type":"integer"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative SEO body; confirm entity-specific DTO fields in the controller. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"metaTitle":{"type":"string"},"metaDescription":{"type":"string"},"metaKeyword":{"type":"string"},"metaUrl":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Site Map

> Get /api/vendor-site-map\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sitemap\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SEO and sitemap","description":"Manage SEO metadata and sitemap configuration."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-site-map":{"get":{"operationId":"getApiVendorSiteMap","summary":"Retrieve Site Map","description":"Get /api/vendor-site-map\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sitemap\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SEO and sitemap"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"sitemapId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Site Map

> Post /api/vendor-site-map\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sitemap\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative sitemap creation body; verify sitemap DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SEO and sitemap","description":"Manage SEO metadata and sitemap configuration."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-site-map":{"post":{"operationId":"postApiVendorSiteMap","summary":"Create or process Site Map","description":"Post /api/vendor-site-map\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sitemap\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative sitemap creation body; verify sitemap DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SEO and sitemap"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"sitemapId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative sitemap creation body; verify sitemap DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"fileName":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Site Map Get Sitemap

> Get /api/vendor-site-map/get-sitemap\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sitemap\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SEO and sitemap","description":"Manage SEO metadata and sitemap configuration."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-site-map/get-sitemap":{"get":{"operationId":"getApiVendorSiteMapGetSitemap","summary":"Retrieve Site Map Get Sitemap","description":"Get /api/vendor-site-map/get-sitemap\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sitemap\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SEO and sitemap"],"parameters":[{"name":"pathName","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter pathName."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"sitemapId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Remove Site Map

> Delete /api/vendor-site-map/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Sitemap\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/BlogSeoController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"SEO and sitemap","description":"Manage SEO metadata and sitemap configuration."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-site-map/{id}":{"delete":{"operationId":"deleteApiVendorSiteMapId","summary":"Remove Site Map","description":"Delete /api/vendor-site-map/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Sitemap\n\n**Implementation source:** `src/api/vendor/controllers/BlogSeoController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["SEO and sitemap"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Settings


# Localization And Master Data

Manage country, currency, language, zone and other localization data.

## Retrieve Country

> Get /api/vendor-country\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Localization - Countries\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-country":{"get":{"operationId":"getApiVendorCountry","summary":"Retrieve Country","description":"Get /api/vendor-country\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Localization - Countries\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"countryId":{"type":"integer"},"name":{"type":"string"},"isoCode2":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Country

> Post /api/vendor-country\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Localization - Countries\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative country body; check country DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-country":{"post":{"operationId":"postApiVendorCountry","summary":"Create or process Country","description":"Post /api/vendor-country\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Localization - Countries\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative country body; check country DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"countryId":{"type":"integer"},"name":{"type":"string"},"isoCode2":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative country body; check country DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"isoCode2":{"type":"string"},"isoCode3":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Country

> Get /api/vendor-country/:countryName\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Localization - Countries\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-country/{countryName}":{"get":{"operationId":"getApiVendorCountryCountryname","summary":"Retrieve Country","description":"Get /api/vendor-country/:countryName\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Localization - Countries\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"countryName","in":"path","required":true,"schema":{"type":"string"},"description":"Value for countryName."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"countryId":{"type":"integer"},"name":{"type":"string"},"isoCode2":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Currency Master Currency

> Get /api/vendor-currency/master-currency\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Localization - Currencies\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-currency/master-currency":{"get":{"operationId":"getApiVendorCurrencyMasterCurrency","summary":"List or retrieve Currency Master Currency","description":"Get /api/vendor-currency/master-currency\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Localization - Currencies\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"currencyId":{"type":"integer"},"title":{"type":"string"},"code":{"type":"string"},"symbolLeft":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve Language

> Get /api/vendor-language\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Localization - Languages\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-language":{"get":{"operationId":"getApiVendorLanguage","summary":"List or retrieve Language","description":"Get /api/vendor-language\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Localization - Languages\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"languageId":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Language

> Post /api/vendor-language\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Localization - Languages\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative language body; check language DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-language":{"post":{"operationId":"postApiVendorLanguage","summary":"Create or process Language","description":"Post /api/vendor-language\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Localization - Languages\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative language body; check language DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"languageId":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative language body; check language DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"code":{"type":"string"},"sortOrder":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve List Addons

> Get /api/vendor-list/addons\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Master Lists\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-list/addons":{"get":{"operationId":"getApiVendorListAddons","summary":"List or retrieve List Addons","description":"Get /api/vendor-list/addons\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Master Lists\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve List Industry

> Get /api/vendor-list/industry\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Master Lists\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-list/industry":{"get":{"operationId":"getApiVendorListIndustry","summary":"List or retrieve List Industry","description":"Get /api/vendor-list/industry\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Master Lists\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve List Language

> Get /api/vendor-list/language\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Master Lists\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-list/language":{"get":{"operationId":"getApiVendorListLanguage","summary":"List or retrieve List Language","description":"Get /api/vendor-list/language\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Master Lists\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"defaultLanguage","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter defaultLanguage."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve List Master Country

> Get /api/vendor-list/master-country\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Master Lists\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-list/master-country":{"get":{"operationId":"getApiVendorListMasterCountry","summary":"List or retrieve List Master Country","description":"Get /api/vendor-list/master-country\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Master Lists\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve List Master Language

> Get /api/vendor-list/master-language\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Master Lists\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-list/master-language":{"get":{"operationId":"getApiVendorListMasterLanguage","summary":"List or retrieve List Master Language","description":"Get /api/vendor-list/master-language\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Master Lists\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List or retrieve List Zone

> Get /api/vendor-list/zone\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Master Lists\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Localization and master data","description":"Manage country, currency, language, zone and other localization data."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-list/zone":{"get":{"operationId":"getApiVendorListZone","summary":"List or retrieve List Zone","description":"Get /api/vendor-list/zone\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Master Lists\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Localization and master data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"countryId","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter countryId."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Plugins And Add Ons

Discover and configure vendor plugins and add-ons.

## Retrieve Plugins

> Get /api/vendor-plugins\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Plugins & Add-ons\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Plugins and add-ons","description":"Discover and configure vendor plugins and add-ons."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-plugins":{"get":{"operationId":"getApiVendorPlugins","summary":"Retrieve Plugins","description":"Get /api/vendor-plugins\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Plugins & Add-ons\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Plugins and add-ons"],"parameters":[{"name":"module","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter module."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"pluginId":{"type":"integer"},"name":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Plugins Additional Info

> Put /api/vendor-plugins/additional-info/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Plugins & Add-ons\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative plugin update body; required fields depend on the selected plugin action.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Plugins and add-ons","description":"Discover and configure vendor plugins and add-ons."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-plugins/additional-info/{id}":{"put":{"operationId":"putApiVendorPluginsAdditionalInfoId","summary":"Update Plugins Additional Info","description":"Put /api/vendor-plugins/additional-info/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Plugins & Add-ons\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative plugin update body; required fields depend on the selected plugin action.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Plugins and add-ons"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pluginId":{"type":"integer"},"name":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative plugin update body; required fields depend on the selected plugin action. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"isActive":{"type":"integer"},"status":{"type":"integer"},"additionalInfo":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Update Plugins Logo

> Put /api/vendor-plugins/logo/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Plugins & Add-ons\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative plugin update body; required fields depend on the selected plugin action.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Plugins and add-ons","description":"Discover and configure vendor plugins and add-ons."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-plugins/logo/{id}":{"put":{"operationId":"putApiVendorPluginsLogoId","summary":"Update Plugins Logo","description":"Put /api/vendor-plugins/logo/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Plugins & Add-ons\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative plugin update body; required fields depend on the selected plugin action.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Plugins and add-ons"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pluginId":{"type":"integer"},"name":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative plugin update body; required fields depend on the selected plugin action. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"isActive":{"type":"integer"},"status":{"type":"integer"},"additionalInfo":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Plugins

> Get /api/vendor-plugins/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Plugins & Add-ons\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Plugins and add-ons","description":"Discover and configure vendor plugins and add-ons."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-plugins/{id}":{"get":{"operationId":"getApiVendorPluginsId","summary":"Retrieve Plugins","description":"Get /api/vendor-plugins/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Plugins & Add-ons\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Plugins and add-ons"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pluginId":{"type":"integer"},"name":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Update Plugins

> Put /api/vendor-plugins/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Plugins & Add-ons\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative plugin update body; required fields depend on the selected plugin action.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Plugins and add-ons","description":"Discover and configure vendor plugins and add-ons."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-plugins/{id}":{"put":{"operationId":"putApiVendorPluginsId","summary":"Update Plugins","description":"Put /api/vendor-plugins/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Plugins & Add-ons\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Illustrative plugin update body; required fields depend on the selected plugin action.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Plugins and add-ons"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"pluginId":{"type":"integer"},"name":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative plugin update body; required fields depend on the selected plugin action. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"isActive":{"type":"integer"},"status":{"type":"integer"},"additionalInfo":{"type":"string"}},"additionalProperties":true}}}}}}}}
```


# Store Settings

Configure vendor store settings and payment terms.

## Retrieve Settings

> Get /api/vendor-settings\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Store Settings\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact API comment example.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Store settings","description":"Configure vendor store settings and payment terms."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-settings":{"get":{"operationId":"getApiVendorSettings","summary":"Retrieve Settings","description":"Get /api/vendor-settings\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Store Settings\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Exact API comment example.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Store settings"],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"vendorId":{"type":"integer"},"storeCurrencyId":{"type":"integer"},"currencyCode":{"type":"string"},"symbolLeft":{"type":"string"},"symbolRight":{"type":"string"}},"additionalProperties":true}},"id":{"type":"integer"}},"additionalProperties":true}}}},"500":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Settings

> Post /api/vendor-settings\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Store Settings\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Field names are taken from SettingController API documentation; send only fields relevant to the selected setting section.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Store settings","description":"Configure vendor store settings and payment terms."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-settings":{"post":{"operationId":"postApiVendorSettings","summary":"Create or process Settings","description":"Post /api/vendor-settings\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Store Settings\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Field names are taken from SettingController API documentation; send only fields relevant to the selected setting section.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Store settings"],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Field names are taken from SettingController API documentation; send only fields relevant to the selected setting section.","content":{"application/json":{"schema":{"type":"object","properties":{"settingSection":{"type":"string"},"siteUrl":{"type":"string"},"siteName":{"type":"string"},"businessName":{"type":"string"},"storeOwner":{"type":"string"},"storeEmail":{"type":"string"},"storeTelephone":{"type":"string"},"storeCurrencyId":{"type":"integer"},"storeLanguageId":{"type":"integer"},"maintenanceMode":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Retrieve Settings

> Get /api/vendor-settings/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Store Settings\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/SettingController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact API comment example.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Store settings","description":"Configure vendor store settings and payment terms."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-settings/{id}":{"get":{"operationId":"getApiVendorSettingsId","summary":"Retrieve Settings","description":"Get /api/vendor-settings/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Store Settings\n\n**Implementation source:** `src/api/vendor/controllers/SettingController.ts`\n\n**Request example provenance:** Exact API comment example.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Store settings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"integer"},"siteName":{"type":"string"},"storeEmail":{"type":"string"},"currencyCode":{"type":"string"},"symbolLeft":{"type":"string"},"vendor":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Notifications


# Email Templates

Manage vendor notification email templates.

## Retrieve Email Template

> Get /api/vendor-email-template\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Email Templates\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/EmailTemplateController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Email templates","description":"Manage vendor notification email templates."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-email-template":{"get":{"operationId":"getApiVendorEmailTemplate","summary":"Retrieve Email Template","description":"Get /api/vendor-email-template\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Email Templates\n\n**Implementation source:** `src/api/vendor/controllers/EmailTemplateController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Email templates"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"emailTemplateId":{"type":"integer"},"title":{"type":"string"},"subject":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Email Template

> Post /api/vendor-email-template\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Email Templates\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/EmailTemplateController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative email-template payload; verify exact DTO names.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Email templates","description":"Manage vendor notification email templates."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-email-template":{"post":{"operationId":"postApiVendorEmailTemplate","summary":"Create or process Email Template","description":"Post /api/vendor-email-template\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Email Templates\n\n**Implementation source:** `src/api/vendor/controllers/EmailTemplateController.ts`\n\n**Request example provenance:** Illustrative email-template payload; verify exact DTO names.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Email templates"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"emailTemplateId":{"type":"integer"},"title":{"type":"string"},"subject":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative email-template payload; verify exact DTO names. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"subject":{"type":"string"},"content":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Update Email Template

> Put /api/vendor-email-template/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Email Templates\
> \
> \*\*Implementation source:\*\* \`VendorStripeController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative email-template payload; verify exact DTO names.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Email templates","description":"Manage vendor notification email templates."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-email-template/{id}":{"put":{"operationId":"putApiVendorEmailTemplateId","summary":"Update Email Template","description":"Put /api/vendor-email-template/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Email Templates\n\n**Implementation source:** `VendorStripeController.ts`\n\n**Request example provenance:** Illustrative email-template payload; verify exact DTO names.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Email templates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"emailTemplateId":{"type":"integer"},"title":{"type":"string"},"subject":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative email-template payload; verify exact DTO names. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"subject":{"type":"string"},"content":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Remove Email Template

> Delete /api/vendor-email-template/:id\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Email Templates\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/EmailTemplateController.ts\`\
> \
> \*\*Request example provenance:\*\* No request body: the resource identifier is supplied in the URL path.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Email templates","description":"Manage vendor notification email templates."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-email-template/{id}":{"delete":{"operationId":"deleteApiVendorEmailTemplateId","summary":"Remove Email Template","description":"Delete /api/vendor-email-template/:id\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Email Templates\n\n**Implementation source:** `src/api/vendor/controllers/EmailTemplateController.ts`\n\n**Request example provenance:** No request body: the resource identifier is supplied in the URL path.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Email templates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Payments


# Payment Settings

Configure vendor payment providers and payment terms.

## List or retrieve Payment Term Dropdown List

> Get /api/vendor-payment-term/dropdown-list\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Payment Terms\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorPaymentTermController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Payment settings","description":"Configure vendor payment providers and payment terms."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-payment-term/dropdown-list":{"get":{"operationId":"getApiVendorPaymentTermDropdownList","summary":"List or retrieve Payment Term Dropdown List","description":"Get /api/vendor-payment-term/dropdown-list\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Payment Terms\n\n**Implementation source:** `src/api/vendor/controllers/VendorPaymentTermController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Payment settings"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"paymentTermId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## PayPal vendor configuration.

> PayPal vendor configuration.\
> \
> \*\*Authentication:\*\* Vendor bearer token required.\
> \
> \*\*Feature area:\*\* Payments\
> \
> \*\*Implementation source:\*\* \`VendorPaypalController.ts\`\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Payment settings","description":"Configure vendor payment providers and payment terms."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-paypal-payment":{"post":{"operationId":"postApiVendorPaypalPayment","summary":"PayPal vendor configuration.","description":"PayPal vendor configuration.\n\n**Authentication:** Vendor bearer token required.\n\n**Feature area:** Payments\n\n**Implementation source:** `VendorPaypalController.ts`\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Payment settings"],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body.","content":{"application/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string"},"clientSecret":{"type":"string","writeOnly":true},"isTest":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Razorpay vendor configuration.

> Razorpay vendor configuration.\
> \
> \*\*Authentication:\*\* Vendor bearer token required.\
> \
> \*\*Feature area:\*\* Payments\
> \
> \*\*Implementation source:\*\* \`VendorRazorPayController.ts\`\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Payment settings","description":"Configure vendor payment providers and payment terms."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-razor-pay-payment/update-setting":{"post":{"operationId":"postApiVendorRazorPayPaymentUpdateSetting","summary":"Razorpay vendor configuration.","description":"Razorpay vendor configuration.\n\n**Authentication:** Vendor bearer token required.\n\n**Feature area:** Payments\n\n**Implementation source:** `VendorRazorPayController.ts`\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Payment settings"],"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body.","content":{"application/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string"},"clientSecret":{"type":"string","writeOnly":true},"isTest":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## 1. \`GET /api/vendor-payment-term/dropdown-list\`

> 1\. \`GET /api/vendor-payment-term/dropdown-list\`\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Payment Terms\
> \
> \*\*Implementation source:\*\* \`VendorStripeController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Payment settings","description":"Configure vendor payment providers and payment terms."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-stripe-payment/update-setting":{"post":{"operationId":"postApiVendorStripePaymentUpdateSetting","summary":"1. `GET /api/vendor-payment-term/dropdown-list`","description":"1. `GET /api/vendor-payment-term/dropdown-list`\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Payment Terms\n\n**Implementation source:** `VendorStripeController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Payment settings"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"paymentTermId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Tax


# Tax Settings

Manage vendor tax records and master tax definitions.

## Retrieve Tax

> Get /api/vendor-tax\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Tax Management\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/TaxController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Tax settings","description":"Manage vendor tax records and master tax definitions."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-tax":{"get":{"operationId":"getApiVendorTax","summary":"Retrieve Tax","description":"Get /api/vendor-tax\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Tax Management\n\n**Implementation source:** `src/api/vendor/controllers/TaxController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Tax settings"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"taxId":{"type":"integer"},"taxName":{"type":"string"},"taxPercentage":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Create or process Tax

> Post /api/vendor-tax\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Tax Management\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/TaxController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative tax body; exact field name must be verified in TaxController request DTO.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Tax settings","description":"Manage vendor tax records and master tax definitions."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-tax":{"post":{"operationId":"postApiVendorTax","summary":"Create or process Tax","description":"Post /api/vendor-tax\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Tax Management\n\n**Implementation source:** `src/api/vendor/controllers/TaxController.ts`\n\n**Request example provenance:** Illustrative tax body; exact field name must be verified in TaxController request DTO.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Tax settings"],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"taxId":{"type":"integer"},"taxName":{"type":"string"},"taxPercentage":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative tax body; exact field name must be verified in TaxController request DTO. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"taxName":{"type":"string"},"taxPercentage":{"type":"integer"},"taxRate":{"type":"integer"},"status":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## List or retrieve Tax Master Tax

> Get /api/vendor-tax/master-tax\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Tax Management\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/TaxController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \*\*Response example provenance:\*\* Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Tax settings","description":"Manage vendor tax records and master tax definitions."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor-tax/master-tax":{"get":{"operationId":"getApiVendorTaxMasterTax","summary":"List or retrieve Tax Master Tax","description":"Get /api/vendor-tax/master-tax\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Tax Management\n\n**Implementation source:** `src/api/vendor/controllers/TaxController.ts`\n\n**Request example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n**Response example provenance:** Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Tax settings"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"status","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter status."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"taxId":{"type":"integer"},"taxName":{"type":"string"},"taxPercentage":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Vendor Profile


# Vendor Profile

View and update vendor profile information.

## Retrieve Profile

> Get /api/vendor/vendor-profile\
> \
> \*\*Authentication:\*\* Vendor bearer token required for protected operations; verify exact permission decorator in controller.\
> \
> \*\*Feature area:\*\* Vendor Profile\
> \
> \*\*Implementation source:\*\* \`src/api/vendor/controllers/VendorController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact API comment example.\
> \
> \*\*Response example provenance:\*\* Exact API comment example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Vendor API","version":"6.0.0"},"tags":[{"name":"Vendor profile","description":"View and update vendor profile information."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/vendor/vendor-profile":{"get":{"operationId":"getApiVendorVendorProfile","summary":"Retrieve Profile","description":"Get /api/vendor/vendor-profile\n\n**Authentication:** Vendor bearer token required for protected operations; verify exact permission decorator in controller.\n\n**Feature area:** Vendor Profile\n\n**Implementation source:** `src/api/vendor/controllers/VendorController.ts`\n\n**Request example provenance:** Exact API comment example.\n\n**Response example provenance:** Exact API comment example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Vendor profile"],"responses":{"200":{"description":"Successful response. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"},"isSuperVendor":{"type":"integer"},"vendor":{"type":"object","properties":{"vendorId":{"type":"integer"},"companyName":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}}}},"500":{"description":"Error response example. Exact API comment example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```


# Store

Store API endpoint reference, organized by functional topic.


# Cart


# Cart Items

Retrieve, create and remove shopping cart items.

## Get the current customer cart.

> Get the current customer cart.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Cart\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerCartController.ts\`\
> \
> \*\*Request example provenance:\*\* Response envelope from source comment; include \`limit\`, \`offset\`, \`count\` query parameters as needed.\
> \
> \*\*Response example provenance:\*\* Response envelope from source comment; include \`limit\`, \`offset\`, \`count\` query parameters as needed.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Cart items","description":"Retrieve, create and remove shopping cart items."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/cart":{"get":{"operationId":"getApiCart","summary":"Get the current customer cart.","description":"Get the current customer cart.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Cart\n\n**Implementation source:** `src/api/store/controllers/CustomerCartController.ts`\n\n**Request example provenance:** Response envelope from source comment; include `limit`, `offset`, `count` query parameters as needed.\n\n**Response example provenance:** Response envelope from source comment; include `limit`, `offset`, `count` query parameters as needed.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Cart items"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Response envelope from source comment; include `limit`, `offset`, `count` query parameters as needed.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{}}},"additionalProperties":true}}}}}}}}}
```

## Create or update the current customer cart.

> Create or update the current customer cart.\
> \
> \*\*Authentication:\*\* Customer bearer token required; tenant validation applies.\
> \
> \*\*Feature area:\*\* Cart\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerCartController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact request and success message from source @api example; validation error from handler.\
> \
> \*\*Response example provenance:\*\* Exact request and success message from source @api example; validation error from handler.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Cart items","description":"Retrieve, create and remove shopping cart items."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/cart":{"post":{"operationId":"postApiCart","summary":"Create or update the current customer cart.","description":"Create or update the current customer cart.\n\n**Authentication:** Customer bearer token required; tenant validation applies.\n\n**Feature area:** Cart\n\n**Implementation source:** `src/api/store/controllers/CustomerCartController.ts`\n\n**Request example provenance:** Exact request and success message from source @api example; validation error from handler.\n\n**Response example provenance:** Exact request and success message from source @api example; validation error from handler.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Cart items"],"responses":{"200":{"description":"Successful response. Exact request and success message from source @api example; validation error from handler.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"cartId":{"type":"integer"},"productId":{"type":"integer"},"skuId":{"type":"integer"},"quantity":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Exact request and success message from source @api example; validation error from handler.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":true,"description":"Sample request body. Exact request and success message from source @api example; validation error from handler.","content":{"application/json":{"schema":{"type":"object","properties":{"cartDetails":{"type":"array","description":"Required non-empty collection of items to add to the cart.","items":{"type":"object","properties":{"productId":{"type":"integer"},"productPrice":{"type":"number"},"tirePrice":{"type":"number"},"quantity":{"type":"integer"},"skuId":{"type":"integer"},"type":{"type":"string"}}}}},"additionalProperties":true,"required":["cartDetails"]}}}}}}}}
```

## Remove specified cart items; omit cartId to clear the cart if supported by current handler.

> Remove specified cart items; omit cartId to clear the cart if supported by current handler.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Cart\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerCartController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined request and success message.\
> \
> \*\*Response example provenance:\*\* Source-defined request and success message.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Cart items","description":"Retrieve, create and remove shopping cart items."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/cart/delete-cart-item":{"delete":{"operationId":"deleteApiCartDeleteCartItem","summary":"Remove specified cart items; omit cartId to clear the cart if supported by current handler.","description":"Remove specified cart items; omit cartId to clear the cart if supported by current handler.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Cart\n\n**Implementation source:** `src/api/store/controllers/CustomerCartController.ts`\n\n**Request example provenance:** Source-defined request and success message.\n\n**Response example provenance:** Source-defined request and success message.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Cart items"],"responses":{"200":{"description":"Successful response. Source-defined request and success message.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined request and success message.","content":{"application/json":{"schema":{"type":"object","properties":{"cartId":{"type":"string"}},"additionalProperties":true}}}}}}}}
```


# Customer address


# Address Book

Manage customer delivery and billing addresses.

## List customer addresses.

> List customer addresses.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Customer address\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerAddressController.ts\`\
> \
> \*\*Request example provenance:\*\* Source annotation includes limit/offset/count pagination.\
> \
> \*\*Response example provenance:\*\* Source annotation includes limit/offset/count pagination.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Address book","description":"Manage customer delivery and billing addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-address":{"get":{"operationId":"getApiCustomerAddress","summary":"List customer addresses.","description":"List customer addresses.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Customer address\n\n**Implementation source:** `src/api/store/controllers/CustomerAddressController.ts`\n\n**Request example provenance:** Source annotation includes limit/offset/count pagination.\n\n**Response example provenance:** Source annotation includes limit/offset/count pagination.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Address book"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Source annotation includes limit/offset/count pagination.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"array","items":{}}},"additionalProperties":true}}}}}}}}}
```

## Create a customer address.

> Create a customer address.\
> \
> \*\*Authentication:\*\* Customer bearer token and customer permission required.\
> \
> \*\*Feature area:\*\* Customer address\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerAddressController.ts\`\
> \
> \*\*Request example provenance:\*\* Request and response structure from source @api comment; postcode is shown as a string to preserve leading zeroes.\
> \
> \*\*Response example provenance:\*\* Request and response structure from source @api comment; postcode is shown as a string to preserve leading zeroes.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Address book","description":"Manage customer delivery and billing addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-address":{"post":{"operationId":"postApiCustomerAddress","summary":"Create a customer address.","description":"Create a customer address.\n\n**Authentication:** Customer bearer token and customer permission required.\n\n**Feature area:** Customer address\n\n**Implementation source:** `src/api/store/controllers/CustomerAddressController.ts`\n\n**Request example provenance:** Request and response structure from source @api comment; postcode is shown as a string to preserve leading zeroes.\n\n**Response example provenance:** Request and response structure from source @api comment; postcode is shown as a string to preserve leading zeroes.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Address book"],"responses":{"200":{"description":"Successful response. Request and response structure from source @api comment; postcode is shown as a string to preserve leading zeroes.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"object","properties":{"addressId":{"type":"integer"},"customerId":{"type":"integer"},"countryId":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"address1":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postcode":{"type":"string"},"addressType":{"type":"integer"},"isActive":{"type":"integer"},"isDefault":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Request and response structure from source @api comment; postcode is shown as a string to preserve leading zeroes.","content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"countryId":{"type":"integer"},"postcode":{"type":"string"},"addressType":{"type":"integer"},"company":{"type":"string"},"landmark":{"type":"string"},"phoneNumber":{"type":"string"},"isDefault":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Create or search a live address mapping.

> Create or search a live address mapping.\
> \
> \*\*Authentication:\*\* Customer auth header is shown in the source comment.\
> \
> \*\*Feature area:\*\* Customer address\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerAddressController.ts\`\
> \
> \*\*Request example provenance:\*\* Illustrative response; handler returns an address provider-dependent structure.\
> \
> \*\*Response example provenance:\*\* Illustrative response; handler returns an address provider-dependent structure.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Address book","description":"Manage customer delivery and billing addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/customer-address/live/":{"post":{"operationId":"postApiCustomerAddressLive","summary":"Create or search a live address mapping.","description":"Create or search a live address mapping.\n\n**Authentication:** Customer auth header is shown in the source comment.\n\n**Feature area:** Customer address\n\n**Implementation source:** `src/api/store/controllers/CustomerAddressController.ts`\n\n**Request example provenance:** Illustrative response; handler returns an address provider-dependent structure.\n\n**Response example provenance:** Illustrative response; handler returns an address provider-dependent structure.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Address book"],"responses":{"200":{"description":"Successful response. Illustrative response; handler returns an address provider-dependent structure. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Illustrative response; handler returns an address provider-dependent structure. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postcode":{"type":"string"},"countryId":{"type":"integer"}},"additionalProperties":true}}}}}}}}
```

## Get the customer live address setting.

> Get the customer live address setting.\
> \
> \*\*Authentication:\*\* Customer bearer token as used by address mapping flows.\
> \
> \*\*Feature area:\*\* Customer address\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerAddressController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined status/message; data depends on configured live-address integration.\
> \
> \*\*Response example provenance:\*\* Source-defined status/message; data depends on configured live-address integration.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Address book","description":"Manage customer delivery and billing addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/customer-address/live/address":{"get":{"operationId":"getApiCustomerAddressLiveAddress","summary":"Get the customer live address setting.","description":"Get the customer live address setting.\n\n**Authentication:** Customer bearer token as used by address mapping flows.\n\n**Feature area:** Customer address\n\n**Implementation source:** `src/api/store/controllers/CustomerAddressController.ts`\n\n**Request example provenance:** Source-defined status/message; data depends on configured live-address integration.\n\n**Response example provenance:** Source-defined status/message; data depends on configured live-address integration.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Address book"],"responses":{"200":{"description":"Successful response. Source-defined status/message; data depends on configured live-address integration.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```

## Get a customer address by ID.

> Get a customer address by ID.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Customer address\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerAddressController.ts\`\
> \
> \*\*Request example provenance:\*\* Response fields abbreviated from source example.\
> \
> \*\*Response example provenance:\*\* Response fields abbreviated from source example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Address book","description":"Manage customer delivery and billing addresses."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-address/{id}":{"get":{"operationId":"getApiCustomerAddressId","summary":"Get a customer address by ID.","description":"Get a customer address by ID.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Customer address\n\n**Implementation source:** `src/api/store/controllers/CustomerAddressController.ts`\n\n**Request example provenance:** Response fields abbreviated from source example.\n\n**Response example provenance:** Response fields abbreviated from source example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Address book"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Response fields abbreviated from source example.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"object","properties":{"addressId":{"type":"integer"},"customerId":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"address1":{"type":"string"},"city":{"type":"string"},"postcode":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```


# Customer profile

Retrieve and update the signed-in customer profile and read customer permission modules and assignments.

## Get the current customer user profile.

> Get the current customer user profile.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Customer profile\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerUserProfileController.ts\`\
> \
> \*\*Request example provenance:\*\* Source handler returns status, message and serialized customer user record.\
> \
> \*\*Response example provenance:\*\* Source handler returns status, message and serialized customer user record.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer profile","description":"Retrieve and update the signed-in customer profile and read customer permission modules and assignments."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-user-profile":{"get":{"operationId":"getApiCustomerUserProfile","summary":"Get the current customer user profile.","description":"Get the current customer user profile.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Customer profile\n\n**Implementation source:** `src/api/store/controllers/CustomerUserProfileController.ts`\n\n**Request example provenance:** Source handler returns status, message and serialized customer user record.\n\n**Response example provenance:** Source handler returns status, message and serialized customer user record.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer profile"],"responses":{"200":{"description":"Successful response. Source handler returns status, message and serialized customer user record.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"userId":{"type":"integer"},"username":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```

## Update customer user profile fields.

> Update customer user profile fields.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Customer profile\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerUserProfileController.ts\`\
> \
> \*\*Request example provenance:\*\* Body fields copied from source API comment; response envelope illustrative.\
> \
> \*\*Response example provenance:\*\* Body fields copied from source API comment; response envelope illustrative.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer profile","description":"Retrieve and update the signed-in customer profile and read customer permission modules and assignments."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-user-profile":{"put":{"operationId":"putApiCustomerUserProfile","summary":"Update customer user profile fields.","description":"Update customer user profile fields.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Customer profile\n\n**Implementation source:** `src/api/store/controllers/CustomerUserProfileController.ts`\n\n**Request example provenance:** Body fields copied from source API comment; response envelope illustrative.\n\n**Response example provenance:** Body fields copied from source API comment; response envelope illustrative.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer profile"],"responses":{"200":{"description":"Successful response. Body fields copied from source API comment; response envelope illustrative. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Body fields copied from source API comment; response envelope illustrative. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"},"address":{"type":"string"},"avatar":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Update the customer profile.

> Update the customer profile.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Customer profile\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Request field names are defined by controller annotations; example response envelope is illustrative.\
> \
> \*\*Response example provenance:\*\* Request field names are defined by controller annotations; example response envelope is illustrative.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer profile","description":"Retrieve and update the signed-in customer profile and read customer permission modules and assignments."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer/edit-profile":{"post":{"operationId":"postApiCustomerEditProfile","summary":"Update the customer profile.","description":"Update the customer profile.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Customer profile\n\n**Implementation source:** `src/api/store/controllers/CustomerController.ts`\n\n**Request example provenance:** Request field names are defined by controller annotations; example response envelope is illustrative.\n\n**Response example provenance:** Request field names are defined by controller annotations; example response envelope is illustrative.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Customer profile"],"responses":{"200":{"description":"Successful response. Request field names are defined by controller annotations; example response envelope is illustrative. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Request field names are defined by controller annotations; example response envelope is illustrative. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"password":{"type":"string","writeOnly":true},"emailId":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Retrieve the current customer profile.

> Retrieve the current customer profile.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Customer profile\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Response fields abbreviated from source @api example.\
> \
> \*\*Response example provenance:\*\* Response fields abbreviated from source @api example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer profile","description":"Retrieve and update the signed-in customer profile and read customer permission modules and assignments."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer/get-profile":{"get":{"operationId":"getApiCustomerGetProfile","summary":"Retrieve the current customer profile.","description":"Retrieve the current customer profile.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Customer profile\n\n**Implementation source:** `src/api/store/controllers/CustomerController.ts`\n\n**Request example provenance:** Response fields abbreviated from source @api example.\n\n**Response example provenance:** Response fields abbreviated from source @api example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer profile"],"responses":{"200":{"description":"Successful response. Response fields abbreviated from source @api example.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"object","properties":{"id":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"emailId":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```


# Customer Permissions

Retrieve customer permission modules and assignments.

## List customer permission modules.

> List customer permission modules.\
> \
> \*\*Authentication:\*\* Customer authorization header is documented; endpoint returns permission modules.\
> \
> \*\*Feature area:\*\* Customer profile\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerPermissionModuleController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact response field structure from source API comment; sample values copied from it.\
> \
> \*\*Response example provenance:\*\* Exact response field structure from source API comment; sample values copied from it.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer permissions","description":"Retrieve customer permission modules and assignments."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/customer-permission-module":{"get":{"operationId":"getApiCustomerPermissionModule","summary":"List customer permission modules.","description":"List customer permission modules.\n\n**Authentication:** Customer authorization header is documented; endpoint returns permission modules.\n\n**Feature area:** Customer profile\n\n**Implementation source:** `src/api/store/controllers/CustomerPermissionModuleController.ts`\n\n**Request example provenance:** Exact response field structure from source API comment; sample values copied from it.\n\n**Response example provenance:** Exact response field structure from source API comment; sample values copied from it.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer permissions"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Exact response field structure from source API comment; sample values copied from it.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"slugName":{"type":"string"},"sortOrder":{"type":"integer"},"customerPermissionModule":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"slugName":{"type":"string"},"moduleGroupId":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}},"additionalProperties":true}}}}}}}}}
```

## Get permission assignments for a customer role/group.

> Get permission assignments for a customer role/group.\
> \
> \*\*Authentication:\*\* Customer authorization header is documented.\
> \
> \*\*Feature area:\*\* Customer profile\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerPermissionModuleController.ts\`\
> \
> \*\*Request example provenance:\*\* Source API comment defines response wrapper; pageId is a sample value.\
> \
> \*\*Response example provenance:\*\* Source API comment defines response wrapper; pageId is a sample value.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer permissions","description":"Retrieve customer permission modules and assignments."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/customer-permission-module/group/{id}/permission":{"get":{"operationId":"getApiCustomerPermissionModuleGroupIdPermission","summary":"Get permission assignments for a customer role/group.","description":"Get permission assignments for a customer role/group.\n\n**Authentication:** Customer authorization header is documented.\n\n**Feature area:** Customer profile\n\n**Implementation source:** `src/api/store/controllers/CustomerPermissionModuleController.ts`\n\n**Request example provenance:** Source API comment defines response wrapper; pageId is a sample value.\n\n**Response example provenance:** Source API comment defines response wrapper; pageId is a sample value.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer permissions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Source API comment defines response wrapper; pageId is a sample value.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"object","properties":{"pageId":{"type":"integer"}},"additionalProperties":true},"status":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Get permission data for the authenticated customer user.

> Get permission data for the authenticated customer user.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Customer profile\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerPermissionModuleController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined endpoint and response wrapper.\
> \
> \*\*Response example provenance:\*\* Source-defined endpoint and response wrapper.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer permissions","description":"Retrieve customer permission modules and assignments."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer-permission-module/permission-me":{"get":{"operationId":"getApiCustomerPermissionModulePermissionMe","summary":"Get permission data for the authenticated customer user.","description":"Get permission data for the authenticated customer user.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Customer profile\n\n**Implementation source:** `src/api/store/controllers/CustomerPermissionModuleController.ts`\n\n**Request example provenance:** Source-defined endpoint and response wrapper.\n\n**Response example provenance:** Source-defined endpoint and response wrapper.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer permissions"],"responses":{"200":{"description":"Successful response. Source-defined endpoint and response wrapper.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","properties":{"permission":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```


# Authentication


# Customer Login And Sessions

Register, authenticate and sign out customer accounts.

## Authenticate a Store customer and return a JWT.

> Authenticate a Store customer and return a JWT.\
> \
> \*\*Authentication:\*\* Public; \`languageKey\` and \`key\` headers are documented.\
> \
> \*\*Feature area:\*\* Authentication\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined request fields and success response structure; error wording can vary by branch.\
> \
> \*\*Response example provenance:\*\* Source-defined request fields and success response structure; error wording can vary by branch.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer login and sessions","description":"Register, authenticate and sign out customer accounts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"StoreKey":[]}],"components":{"securitySchemes":{"StoreKey":{"type":"apiKey","in":"header","name":"key","description":"Store key header documented on Store customer login."}}},"paths":{"/api/customer/login":{"post":{"operationId":"postApiCustomerLogin","summary":"Authenticate a Store customer and return a JWT.","description":"Authenticate a Store customer and return a JWT.\n\n**Authentication:** Public; `languageKey` and `key` headers are documented.\n\n**Feature area:** Authentication\n\n**Implementation source:** `src/api/store/controllers/CustomerController.ts`\n\n**Request example provenance:** Source-defined request fields and success response structure; error wording can vary by branch.\n\n**Response example provenance:** Source-defined request fields and success response structure; error wording can vary by branch.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer login and sessions"],"parameters":[{"name":"languageKey","in":"header","required":false,"schema":{"type":"string"},"description":"languageKey request header."}],"responses":{"200":{"description":"Successful response. Source-defined request fields and success response structure; error wording can vary by branch.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"object","properties":{"token":{"type":"string","writeOnly":true},"user":{"type":"object","properties":{"id":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"mobileNumber":{"type":"string"},"avatar":{"type":"string"},"avatarPath":{"type":"string"},"lockedOn":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Source-defined request fields and success response structure; error wording can vary by branch.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined request fields and success response structure; error wording can vary by branch.","content":{"application/json":{"schema":{"type":"object","properties":{"emailId":{"type":"string"},"password":{"type":"string","writeOnly":true},"type":{"type":"string"},"token":{"type":"string","writeOnly":true}},"additionalProperties":true}}}}}}}}
```

## Invalidate the current customer access token.

> Invalidate the current customer access token.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Authentication\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined success example.\
> \
> \*\*Response example provenance:\*\* Source-defined success example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer login and sessions","description":"Register, authenticate and sign out customer accounts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer/logout":{"post":{"operationId":"postApiCustomerLogout","summary":"Invalidate the current customer access token.","description":"Invalidate the current customer access token.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Authentication\n\n**Implementation source:** `src/api/store/controllers/CustomerController.ts`\n\n**Request example provenance:** Source-defined success example.\n\n**Response example provenance:** Source-defined success example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer login and sessions"],"responses":{"200":{"description":"Successful response. Source-defined success example.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Register a Store customer after OTP verification.

> Register a Store customer after OTP verification.\
> \
> \*\*Authentication:\*\* Public; tenant validation applies.\
> \
> \*\*Feature area:\*\* Authentication\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Request fields are from CustomerRegisterRequest; success wrapper is from the handler, with PII-safe example values.\
> \
> \*\*Response example provenance:\*\* Request fields are from CustomerRegisterRequest; success wrapper is from the handler, with PII-safe example values.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Customer login and sessions","description":"Register, authenticate and sign out customer accounts."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/customer/register":{"post":{"operationId":"postApiCustomerRegister","summary":"Register a Store customer after OTP verification.","description":"Register a Store customer after OTP verification.\n\n**Authentication:** Public; tenant validation applies.\n\n**Feature area:** Authentication\n\n**Implementation source:** `src/api/store/controllers/CustomerController.ts`\n\n**Request example provenance:** Request fields are from CustomerRegisterRequest; success wrapper is from the handler, with PII-safe example values.\n\n**Response example provenance:** Request fields are from CustomerRegisterRequest; success wrapper is from the handler, with PII-safe example values.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Customer login and sessions"],"responses":{"200":{"description":"Successful response. Request fields are from CustomerRegisterRequest; success wrapper is from the handler, with PII-safe example values.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"emailId":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Request fields are from CustomerRegisterRequest; success wrapper is from the handler, with PII-safe example values.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":true,"description":"Request body follows the current CustomerRegisterRequest DTO. Required fields and password constraints are taken from class-validator decorators.","content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string","maxLength":32,"description":"Required. Customer first name."},"lastName":{"type":"string","description":"Optional. Customer last name."},"companyName":{"type":"string"},"taxNumber":{"type":"string"},"password":{"type":"string","format":"password","minLength":8,"maxLength":128,"writeOnly":true,"description":"Required. At least 8 characters; must include uppercase and lowercase letters and a number or symbol."},"emailId":{"type":"string","maxLength":96,"description":"Required. Customer email address."},"otp":{"type":"integer","description":"Required. OTP sent to the email address."},"phoneNumber":{"type":"string","maxLength":15,"description":"Optional. Customer phone number."}},"additionalProperties":true,"required":["firstName","password","emailId","otp"]}}}}}}}}
```


# OTP And Verification

Send and verify one-time passwords for customer authentication.

## Verify the registration OTP before completing registration.

> Verify the registration OTP before completing registration.\
> \
> \*\*Authentication:\*\* Public; tenant validation applies.\
> \
> \*\*Feature area:\*\* Authentication\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined request and response examples.\
> \
> \*\*Response example provenance:\*\* Source-defined request and response examples.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"OTP and verification","description":"Send and verify one-time passwords for customer authentication."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/customer/otp-verify":{"post":{"operationId":"postApiCustomerOtpVerify","summary":"Verify the registration OTP before completing registration.","description":"Verify the registration OTP before completing registration.\n\n**Authentication:** Public; tenant validation applies.\n\n**Feature area:** Authentication\n\n**Implementation source:** `src/api/store/controllers/CustomerController.ts`\n\n**Request example provenance:** Source-defined request and response examples.\n\n**Response example provenance:** Source-defined request and response examples.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["OTP and verification"],"responses":{"200":{"description":"Successful response. Source-defined request and response examples.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Source-defined request and response examples.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":true,"description":"The handler looks up an active customer registration OTP using emailId and otp.","content":{"application/json":{"schema":{"type":"object","properties":{"otp":{"type":"string"},"emailId":{"type":"string"}},"additionalProperties":true,"required":["emailId","otp"]}}}}}}}}
```

## Send a registration OTP to the supplied email.

> Send a registration OTP to the supplied email.\
> \
> \*\*Authentication:\*\* Public; tenant validation applies.\
> \
> \*\*Feature area:\*\* Authentication\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Source-defined request and response examples.\
> \
> \*\*Response example provenance:\*\* Source-defined request and response examples.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"OTP and verification","description":"Send and verify one-time passwords for customer authentication."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/customer/send-otp":{"post":{"operationId":"postApiCustomerSendOtp","summary":"Send a registration OTP to the supplied email.","description":"Send a registration OTP to the supplied email.\n\n**Authentication:** Public; tenant validation applies.\n\n**Feature area:** Authentication\n\n**Implementation source:** `src/api/store/controllers/CustomerController.ts`\n\n**Request example provenance:** Source-defined request and response examples.\n\n**Response example provenance:** Source-defined request and response examples.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["OTP and verification"],"responses":{"200":{"description":"Successful response. Source-defined request and response examples.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"description":"Error response example. Source-defined request and response examples.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Source-defined request and response examples.","content":{"application/json":{"schema":{"type":"object","properties":{"emailId":{"type":"string"}},"additionalProperties":true}}}}}}}}
```


# OAuth Authentication

Authenticate customers through supported OAuth providers.

## Authenticate with a supported OAuth provider.

> Authenticate with a supported OAuth provider.\
> \
> \*\*Authentication:\*\* Public; tenant validation applies.\
> \
> \*\*Feature area:\*\* Authentication\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerController.ts\`\
> \
> \*\*Request example provenance:\*\* Request field names are source-defined; response uses the customer login envelope as an illustrative example.\
> \
> \*\*Response example provenance:\*\* Request field names are source-defined; response uses the customer login envelope as an illustrative example.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"OAuth authentication","description":"Authenticate customers through supported OAuth providers."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/customer/Oauth-login":{"post":{"operationId":"postApiCustomerOauthLogin","summary":"Authenticate with a supported OAuth provider.","description":"Authenticate with a supported OAuth provider.\n\n**Authentication:** Public; tenant validation applies.\n\n**Feature area:** Authentication\n\n**Implementation source:** `src/api/store/controllers/CustomerController.ts`\n\n**Request example provenance:** Request field names are source-defined; response uses the customer login envelope as an illustrative example.\n\n**Response example provenance:** Request field names are source-defined; response uses the customer login envelope as an illustrative example.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["OAuth authentication"],"responses":{"200":{"description":"Successful response. Request field names are source-defined; response uses the customer login envelope as an illustrative example. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"object","properties":{"token":{"type":"string","writeOnly":true},"user":{"type":"object","properties":{"id":{"type":"integer"},"email":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Request field names are source-defined; response uses the customer login envelope as an illustrative example. Treat this as an illustrative example, not a complete DTO contract.","content":{"application/json":{"schema":{"type":"object","properties":{"emailId":{"type":"string"},"source":{"type":"string"},"oauthData":{"type":"string"}},"additionalProperties":true}}}}}}}}
```


# Wishlist

Add products to the customer wishlist, list saved items, and remove wishlist entries.

## Add a product (and optional selected option value) to wishlist.

> Add a product (and optional selected option value) to wishlist.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Wishlist\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerWishListController.ts\`\
> \
> \*\*Request example provenance:\*\* Request and top-level response fields from source @api example; nested product object abbreviated.\
> \
> \*\*Response example provenance:\*\* Request and top-level response fields from source @api example; nested product object abbreviated.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Wishlist","description":"Add products to the customer wishlist, list saved items, and remove wishlist entries."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer/add-product-to-wishlist":{"post":{"operationId":"postApiCustomerAddProductToWishlist","summary":"Add a product (and optional selected option value) to wishlist.","description":"Add a product (and optional selected option value) to wishlist.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Wishlist\n\n**Implementation source:** `src/api/store/controllers/CustomerWishListController.ts`\n\n**Request example provenance:** Request and top-level response fields from source @api example; nested product object abbreviated.\n\n**Response example provenance:** Request and top-level response fields from source @api example; nested product object abbreviated.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Wishlist"],"responses":{"200":{"description":"Successful response. Request and top-level response fields from source @api example; nested product object abbreviated.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"object","properties":{"wishlistProductId":{"type":"integer"},"product":{"type":"object","properties":{"productId":{"type":"integer"},"sku":{"type":"string"},"name":{"type":"string"},"productSlug":{"type":"string"},"isActive":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}}}}},"requestBody":{"required":false,"description":"Sample request body. Request and top-level response fields from source @api example; nested product object abbreviated.","content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"integer"},"productOptionValueId":{"type":"string"}},"additionalProperties":true}}}}}}}}
```

## Delete a wishlist item by its route ID.

> Delete a wishlist item by its route ID.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Wishlist\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerWishListController.ts\`\
> \
> \*\*Request example provenance:\*\* Exact source success message.\
> \
> \*\*Response example provenance:\*\* Exact source success message.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Wishlist","description":"Add products to the customer wishlist, list saved items, and remove wishlist entries."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer/wishlist-product-delete/{id}":{"delete":{"operationId":"deleteApiCustomerWishlistProductDeleteId","summary":"Delete a wishlist item by its route ID.","description":"Delete a wishlist item by its route ID.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Wishlist\n\n**Implementation source:** `src/api/store/controllers/CustomerWishListController.ts`\n\n**Request example provenance:** Exact source success message.\n\n**Response example provenance:** Exact source success message.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Wishlist"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Value for id."}],"responses":{"200":{"description":"Successful response. Exact source success message.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## List the current customer wishlist.

> List the current customer wishlist.\
> \
> \*\*Authentication:\*\* Customer bearer token required.\
> \
> \*\*Feature area:\*\* Wishlist\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CustomerWishListController.ts\`\
> \
> \*\*Request example provenance:\*\* Data list is variable; response structure follows current source handler.\
> \
> \*\*Response example provenance:\*\* Data list is variable; response structure follows current source handler.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Wishlist","description":"Add products to the customer wishlist, list saved items, and remove wishlist entries."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste the JWT access token returned by the corresponding login endpoint."}}},"paths":{"/api/customer/wishlist-product-list":{"get":{"operationId":"getApiCustomerWishlistProductList","summary":"List the current customer wishlist.","description":"List the current customer wishlist.\n\n**Authentication:** Customer bearer token required.\n\n**Feature area:** Wishlist\n\n**Implementation source:** `src/api/store/controllers/CustomerWishListController.ts`\n\n**Request example provenance:** Data list is variable; response structure follows current source handler.\n\n**Response example provenance:** Data list is variable; response structure follows current source handler.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Wishlist"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Data list is variable; response structure follows current source handler.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"array","items":{}}},"additionalProperties":true}}}}}}}}}
```


# Product discovery


# Products

Browse product listings and retrieve product details.

## Fetch a product detail page by its product slug.

> Fetch a product detail page by its product slug.\
> \
> \*\*Authentication:\*\* Public storefront request; tenant and translation middleware apply.\
> \
> \*\*Feature area:\*\* Product discovery\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Field names come from the controller success example; some values have been populated for readability.\
> \
> \*\*Response example provenance:\*\* Field names come from the controller success example; some values have been populated for readability.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Products","description":"Browse product listings and retrieve product details."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/product-store/productdetail/{productslug}":{"get":{"operationId":"getApiProductStoreProductdetailProductslug","summary":"Fetch a product detail page by its product slug.","description":"Fetch a product detail page by its product slug.\n\n**Authentication:** Public storefront request; tenant and translation middleware apply.\n\n**Feature area:** Product discovery\n\n**Implementation source:** `src/api/store/controllers/ProductController.ts`\n\n**Request example provenance:** Field names come from the controller success example; some values have been populated for readability.\n\n**Response example provenance:** Field names come from the controller success example; some values have been populated for readability.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Products"],"parameters":[{"name":"productslug","in":"path","required":true,"schema":{"type":"string"},"description":"Value for productslug."}],"responses":{"200":{"description":"Successful response. Field names come from the controller success example; some values have been populated for readability.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"sku":{"type":"string"},"quantity":{"type":"integer"},"price":{"type":"string"},"name":{"type":"string"},"productSlug":{"type":"string"},"isActive":{"type":"integer"},"hasStock":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```

## Get products mapped to a keyword ID.

> Get products mapped to a keyword ID.\
> \
> \*\*Authentication:\*\* Public storefront request.\
> \
> \*\*Feature area:\*\* Product discovery\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/StoreKeywordController.ts\`\
> \
> \*\*Request example provenance:\*\* Handler returns the exact envelope; array contents vary by mapped products.\
> \
> \*\*Response example provenance:\*\* Handler returns the exact envelope; array contents vary by mapped products.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Products","description":"Browse product listings and retrieve product details."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/products-by-keyword/{keywordId}":{"get":{"operationId":"getApiProductsByKeywordKeywordid","summary":"Get products mapped to a keyword ID.","description":"Get products mapped to a keyword ID.\n\n**Authentication:** Public storefront request.\n\n**Feature area:** Product discovery\n\n**Implementation source:** `src/api/store/controllers/StoreKeywordController.ts`\n\n**Request example provenance:** Handler returns the exact envelope; array contents vary by mapped products.\n\n**Response example provenance:** Handler returns the exact envelope; array contents vary by mapped products.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Products"],"parameters":[{"name":"keywordId","in":"path","required":true,"schema":{"type":"string"},"description":"Value for keywordId."}],"responses":{"200":{"description":"Successful response. Handler returns the exact envelope; array contents vary by mapped products.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{}}},"additionalProperties":true}}}}}}}}}
```

## Get the count of matching products.

> Get the count of matching products.\
> \
> \*\*Authentication:\*\* Public storefront request.\
> \
> \*\*Feature area:\*\* Store content\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CommonListController.ts\`\
> \
> \*\*Request example provenance:\*\* Query fields exposed by source comment include limit, offset, keyword, categoryslug and priceFrom.\
> \
> \*\*Response example provenance:\*\* Query fields exposed by source comment include limit, offset, keyword, categoryslug and priceFrom.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Products","description":"Browse product listings and retrieve product details."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/store-list/product-count":{"get":{"operationId":"getApiStoreListProductCount","summary":"Get the count of matching products.","description":"Get the count of matching products.\n\n**Authentication:** Public storefront request.\n\n**Feature area:** Store content\n\n**Implementation source:** `src/api/store/controllers/CommonListController.ts`\n\n**Request example provenance:** Query fields exposed by source comment include limit, offset, keyword, categoryslug and priceFrom.\n\n**Response example provenance:** Query fields exposed by source comment include limit, offset, keyword, categoryslug and priceFrom.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Products"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter keyword."},{"name":"categoryslug","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter categoryslug."},{"name":"priceFrom","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter priceFrom."}],"responses":{"200":{"description":"Successful response. Query fields exposed by source comment include limit, offset, keyword, categoryslug and priceFrom.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","properties":{"count":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```


# Categories

Browse storefront product categories and category filters.

## Get category information for the Store.

> Get category information for the Store.\
> \
> \*\*Authentication:\*\* Public storefront request.\
> \
> \*\*Feature area:\*\* Product discovery\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* Source success example is the basis; field values are illustrative.\
> \
> \*\*Response example provenance:\*\* Source success example is the basis; field values are illustrative.\
> \
> \> \*\*Example status: Illustrative.\*\* The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Browse storefront product categories and category filters."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/product-store/Category":{"get":{"operationId":"getApiProductStoreCategory","summary":"Get category information for the Store.","description":"Get category information for the Store.\n\n**Authentication:** Public storefront request.\n\n**Feature area:** Product discovery\n\n**Implementation source:** `src/api/store/controllers/ProductController.ts`\n\n**Request example provenance:** Source success example is the basis; field values are illustrative.\n\n**Response example provenance:** Source success example is the basis; field values are illustrative.\n\n> **Example status: Illustrative.** The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.","tags":["Categories"],"responses":{"200":{"description":"Successful response. Source success example is the basis; field values are illustrative. Example is illustrative and does not guarantee a stable response contract.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","properties":{"categoryId":{"type":"integer"},"name":{"type":"string"},"parentInt":{"type":"integer"},"sortOrder":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```

## Get dynamic filter sections for a category.

> Get dynamic filter sections for a category.\
> \
> \*\*Authentication:\*\* Public storefront request.\
> \
> \*\*Feature area:\*\* Product discovery\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/SiteFilterController.ts\`\
> \
> \*\*Request example provenance:\*\* Response and invalid-category message are returned by the current handler.\
> \
> \*\*Response example provenance:\*\* Response and invalid-category message are returned by the current handler.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Browse storefront product categories and category filters."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/site-filter/{categorySlug}":{"get":{"operationId":"getApiSiteFilterCategoryslug","summary":"Get dynamic filter sections for a category.","description":"Get dynamic filter sections for a category.\n\n**Authentication:** Public storefront request.\n\n**Feature area:** Product discovery\n\n**Implementation source:** `src/api/store/controllers/SiteFilterController.ts`\n\n**Request example provenance:** Response and invalid-category message are returned by the current handler.\n\n**Response example provenance:** Response and invalid-category message are returned by the current handler.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Categories"],"parameters":[{"name":"categorySlug","in":"path","required":true,"schema":{"type":"string"},"description":"Value for categorySlug."}],"responses":{"200":{"description":"Successful response. Response and invalid-category message are returned by the current handler.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"sectionId":{"type":"integer"},"sectionName":{"type":"string"},"sectionType":{"type":"string"},"sectionSlug":{"type":"string"},"sequence":{"type":"integer"},"sectionItem":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"filterSectionId":{"type":"integer"},"itemName":{"type":"string"},"itemSlug":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}},"additionalProperties":true}}}},"400":{"description":"Error response example. Response and invalid-category message are returned by the current handler.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Get the hierarchical Store category list.

> Get the hierarchical Store category list.\
> \
> \*\*Authentication:\*\* Public storefront request.\
> \
> \*\*Feature area:\*\* Store content\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/CommonListController.ts\`\
> \
> \*\*Request example provenance:\*\* Shape abbreviated from category list tree handler.\
> \
> \*\*Response example provenance:\*\* Shape abbreviated from category list tree handler.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Categories","description":"Browse storefront product categories and category filters."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/store-list/category":{"get":{"operationId":"getApiStoreListCategory","summary":"Get the hierarchical Store category list.","description":"Get the hierarchical Store category list.\n\n**Authentication:** Public storefront request.\n\n**Feature area:** Store content\n\n**Implementation source:** `src/api/store/controllers/CommonListController.ts`\n\n**Request example provenance:** Shape abbreviated from category list tree handler.\n\n**Response example provenance:** Shape abbreviated from category list tree handler.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Categories"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter limit."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"},"description":"Query parameter offset."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Shape abbreviated from category list tree handler.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"categoryId":{"type":"integer"},"name":{"type":"string"},"categorySlug":{"type":"string"},"parentInt":{"type":"integer"},"children":{"type":"array","items":{}}},"additionalProperties":true}}},"additionalProperties":true}}}}}}}}}
```


# Product Comparison

Compare products and retrieve related product suggestions.

## Get related products for a product slug.

> Get related products for a product slug.\
> \
> \*\*Authentication:\*\* Public or token-aware middleware; handler has CheckTokenMiddleware.\
> \
> \*\*Feature area:\*\* Product discovery\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/StoreProductRelatedController.ts\`\
> \
> \*\*Request example provenance:\*\* Use query parameter \`productId\` with the product slug; response fields are based on source success example.\
> \
> \*\*Response example provenance:\*\* Use query parameter \`productId\` with the product slug; response fields are based on source success example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Product comparison","description":"Compare products and retrieve related product suggestions."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/list/related-product-list":{"get":{"operationId":"getApiListRelatedProductList","summary":"Get related products for a product slug.","description":"Get related products for a product slug.\n\n**Authentication:** Public or token-aware middleware; handler has CheckTokenMiddleware.\n\n**Feature area:** Product discovery\n\n**Implementation source:** `src/api/store/controllers/StoreProductRelatedController.ts`\n\n**Request example provenance:** Use query parameter `productId` with the product slug; response fields are based on source success example.\n\n**Response example provenance:** Use query parameter `productId` with the product slug; response fields are based on source success example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Product comparison"],"parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter productId."},{"name":"count","in":"query","required":false,"schema":{"type":"boolean"},"description":"Query parameter count."}],"responses":{"200":{"description":"Successful response. Use query parameter `productId` with the product slug; response fields are based on source success example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","properties":{"productId":{"type":"integer"},"skuId":{"type":"integer"},"name":{"type":"string"},"price":{"type":"string"},"productSlug":{"type":"string"},"quantity":{"type":"integer"},"rating":{"type":"number"},"categoryLevels":{"type":"array","items":{}}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"description":"Error response example. Use query parameter `productId` with the product slug; response fields are based on source success example.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"additionalProperties":true}}}}}}}}}
```

## Compare products by product identifiers.

> Compare products by product identifiers.\
> \
> \*\*Authentication:\*\* Public storefront request; controller docs mention Authorization header.\
> \
> \*\*Feature area:\*\* Product discovery\
> \
> \*\*Implementation source:\*\* \`src/api/store/controllers/ProductController.ts\`\
> \
> \*\*Request example provenance:\*\* The source annotation calls these request parameters but the implementation binds query params; use query string in the request example.\
> \
> \*\*Response example provenance:\*\* The source annotation calls these request parameters but the implementation binds query params; use query string in the request example.\
> \
> \> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.

```json
{"openapi":"3.0.3","info":{"title":"SpurtCommerce Store API","version":"6.0.0"},"tags":[{"name":"Product comparison","description":"Compare products and retrieve related product suggestions."}],"servers":[{"url":"https://api.example.com","description":"Replace with your SpurtCommerce API host. Paths include the /api prefix."}],"paths":{"/api/product-store/product-compare":{"get":{"operationId":"getApiProductStoreProductCompare","summary":"Compare products by product identifiers.","description":"Compare products by product identifiers.\n\n**Authentication:** Public storefront request; controller docs mention Authorization header.\n\n**Feature area:** Product discovery\n\n**Implementation source:** `src/api/store/controllers/ProductController.ts`\n\n**Request example provenance:** The source annotation calls these request parameters but the implementation binds query params; use query string in the request example.\n\n**Response example provenance:** The source annotation calls these request parameters but the implementation binds query params; use query string in the request example.\n\n> Example is based on the linked repository source. Replace example identifiers and credentials with values from your tenant.","tags":["Product comparison"],"parameters":[{"name":"productId","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter productId."},{"name":"data","in":"query","required":false,"schema":{"type":"string"},"description":"Query parameter data."}],"responses":{"200":{"description":"Successful response. The source annotation calls these request parameters but the implementation binds query params; use query string in the request example.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string"},"data":{"type":"object","properties":{"createdBy":{"type":"string"},"productId":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}}}}}}}
```




---

[Next Page](https://docs.spurtcommerce.com/llms-full.txt/1)

