SnappShop Sellers for WooCommerce

Description

SnappShop Sellers for WooCommerce makes published product catalog data available to SnappShop Seller Center through a configurable REST API. It provides endpoints for products, product categories, and global attributes. The plugin does not publish products to SnappShop, send orders, or change your WooCommerce catalog.

You need WooCommerce and a SnappShop Seller Center account to use the connection. Learn about Seller Center at https://seller.snappshop.ir/.

Features:

  • Read-only endpoints for published products, categories, and global attributes.
  • Product search, filters, and pagination, including stock information.
  • Configurable API base URI.
  • Optional Bearer token protection, enabled by default on new installations.
  • A Persian settings page showing the base URL and token controls.

The API is available under /wp-json/{base_uri}/. The default base URI is snappshop-seller:

  • GET /wp-json/snappshop-seller/products/?page=1&per_page=50
  • GET /wp-json/snappshop-seller/products/{product_code}
  • GET /wp-json/snappshop-seller/resolve?url={store_page_url}
  • GET /wp-json/snappshop-seller/categories
  • GET /wp-json/snappshop-seller/attributes

Categories and attributes return up to 1,000 entries per page. Categories without a published in-stock product are omitted. Add ?page=2 to either URL for the next page. Each attribute includes up to five options and an array of related category names. Category associations are batched and cached for five minutes. These endpoints return a data array without pagination metadata.

The product list also supports search and filters for category, tag, brand, type, visibility, stock status, featured status, sale status, price, and ordering. Successful responses use a status flag and a data object. See the bundled README.md for endpoint and filter details.

The resolver accepts a URL from this store and returns the corresponding seller catalog API URL for product, shop, category, tag, brand, and product-search pages. It returns status: false when the URL or its filters cannot be resolved.

Service and privacy

The plugin does not contact SnappShop servers on its own. When you give your API base URL and, if enabled, Bearer token to SnappShop Seller Center, that service can request catalog data from your site. Enabled endpoints return published product information such as names, descriptions, prices, stock, image URLs, categories, and attributes. The plugin does not expose customer or order data through these endpoints.

If you turn off Bearer token protection, anyone who can reach the enabled endpoints can request this catalog data. Turning off the API disables these routes. Use HTTPS for your public store and keep the token private.

Screenshots

Installation

  1. Install and activate WooCommerce.
  2. In WordPress, go to Plugins > Add New > Upload Plugin, select the snappshop-sellers-1.0.0.zip file, and activate the plugin.
  3. Open the SnappShop settings page in the WordPress admin menu.
  4. Keep the catalog API enabled and review the Base URI and Bearer token settings. Bearer token protection is enabled by default.
  5. Copy the displayed base URL and token into your SnappShop Seller Center connection settings.

Changing the Base URI changes all endpoint URLs. Generating a new token invalidates the previous token when token protection is enabled.

FAQ

Does this plugin send products or orders to SnappShop?

No. It exposes read-only catalog endpoints that SnappShop Seller Center can request. Product publishing and order flows are not part of this release.

What happens if Bearer token protection is disabled?

The enabled catalog endpoints accept requests without a token. The saved token is retained and is required again if you re-enable protection.

What happens if I change the Base URI?

All endpoint URLs change. Update the base URL in SnappShop Seller Center after saving the new URI.

Does the plugin work without WooCommerce?

WooCommerce is required. The plugin does not initialize its catalog routes when WooCommerce is inactive.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SnappShop Sellers for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Public release package for the existing read-only products, categories, and attributes API.
  • Persian settings page with configurable Base URI and optional Bearer token protection.