Products
Product management endpoints
Creates a new product in the system
API key authentication. Pass your API key directly in the X-MaisonSafqa-Api-Key header (e.g., 'ms_test_your_api_key_here' for test environment or 'ms_live_your_api_key_here' for production environment)
Product name
Premium Cotton T-ShirtProduct description (HTML allowed)
<p>High quality cotton t-shirt perfect for everyday wear.</p>Brand/vendor name
Your Brand NameProduct category
ApparelComma-separated tags
cotton,premium,t-shirt,comfortableURL slug (auto-generated if not provided)
premium-cotton-t-shirtPattern: ^[a-z0-9-]+$Template suffix
Published scope
webProduct created successfully
Validation errors or duplicate SKUs
Unauthorized - Invalid or missing API key
Forbidden - Access denied
Rate limit exceeded
Internal server error
Retrieves a specific product by ID. Use external_id for synced products or product_id for unsynced products.
API key authentication. Pass your API key directly in the X-MaisonSafqa-Api-Key header (e.g., 'ms_test_your_api_key_here' for test environment or 'ms_live_your_api_key_here' for production environment)
Product identifier - external_id (Shopify ID) for synced products, or product_id for unsynced products
Product retrieved successfully
Unauthorized
Access denied
Product not found
Updates an existing product. Use external_id for synced products or product_id for unsynced products.
API key authentication. Pass your API key directly in the X-MaisonSafqa-Api-Key header (e.g., 'ms_test_your_api_key_here' for test environment or 'ms_live_your_api_key_here' for production environment)
Product identifier - external_id (Shopify ID) for synced products, or product_id for unsynced products
All fields are optional for updates
Product name
Product description (HTML allowed)
Brand/vendor name
Product category
Comma-separated tags
URL slug
^[a-z0-9-]+$Template suffix
Published scope
Product updated successfully
Validation errors
Unauthorized
Access denied
Product not found
Last updated