activepieces-sanmar
v0.1.3
Published
SanMar integration piece for Activepieces
Downloads
17
Maintainers
Readme
SanMar Piece for Activepieces
This piece provides integration with SanMar for product and inventory management.
Features
- Get Products: Retrieve all products from SanMar with pagination
- Get Product: Retrieve a specific product by SKU
- Search Products: Search products in the SanMar catalog
- Get Categories: Retrieve all product categories
- Get Brands: Retrieve all brands
- Get Inventory: Get inventory levels for specific products
Authentication
To use this piece, you'll need:
- SanMar Customer Number: Your SanMar customer number (integer)
- SanMar Username: Your SanMar.com username
- SanMar Password: Your SanMar.com password
Setup
- Use your existing SanMar.com account credentials
- Your customer number should be available in your SanMar account
- Use these credentials for authentication
Usage
Get All Products
- Action: Get Products
- Parameters:
- Page (optional): Page number for pagination (default: 1)
- Per Page (optional): Number of products per page (default: 50, max: 100)
Get Specific Product
- Action: Get Product
- Parameters:
- SKU (required): Product SKU
Search Products
- Action: Search Products
- Parameters:
- Query (required): Search term
- Page (optional): Page number for pagination
- Per Page (optional): Number of products per page
Get Categories
- Action: Get Categories
- Parameters: None
Get Brands
- Action: Get Brands
- Parameters: None
Get Inventory
- Action: Get Inventory
- Parameters:
- SKU (required): Product SKU
Custom API Calls
The piece also includes a custom API call action that allows you to make direct API calls to the SanMar API with full control over the request parameters.
Error Handling
The piece includes comprehensive error handling for:
- Invalid credentials
- API rate limits
- Network errors
- Invalid product SKUs
Support
For issues or questions about this piece, please refer to the SanMar API documentation or contact support.
