Skip to main content
POST
Create Product

Overview

Create a new product in your store using API key authentication. Perfect for bulk imports or automated product creation from your inventory system.
Rate Limit: 20 requests per minute

Endpoint

Authentication

string
required
Your TribeMade API key (format: tb-xxxx-xxx-xxxx)

Request Body

Required Fields

string
required
Product name (3-30 characters)
number
required
Original/MRP price in INR (must be > 0)
string
required
Detailed product description (0-500 characters)
integer
required
Available quantity (must be >= 0)

Optional Fields

number
default:"price"
Sale price in INR (must be >= 0). Defaults to the original price if not provided.
string
default:"First 100 chars of description"
Short description for listings (0-50 characters)
number
default:0
Shipping cost in INR (must be >= 0)
string
Primary product image URL or base64 encoded image (max 5MB)
array
Additional product images (max 10 images, each max 5MB)
array
Product variations (max 20 items). Example: [“Regular Fit”, “Slim Fit”]
array
Available sizes (max 20 items). Example: [“S”, “M”, “L”, “XL”]
array
Available colors (max 20 items). Example: [“White”, “Black”, “Navy Blue”]
array
Product categories (max 20, must exist in your store). Create categories in your dashboard first.
boolean
default:false
Mark product as on sale
boolean
default:true
Product visibility to customers
array
Custom questions for customers (max 5 questions). Each question must have:
  • question: Question text (1-200 characters)
  • type: Either “text” or “image”
string
default:""
Private seller-only notes (0-500 characters). Not visible to customers.
object
Custom key-value pairs for additional product information

Response

string
UUID of the newly created product

Examples

Minimal Example

Create a basic product with only required fields:

Success Response

Full Example with All Options

Create a product with all available fields:

Error Responses

400 Bad Request - Missing Required Fields

400 Bad Request - Invalid Name Length

400 Bad Request - Invalid Price

400 Bad Request - Invalid Description

400 Bad Request - Invalid Stock

400 Bad Request - Invalid Short Description

400 Bad Request - Invalid Categories

Categories must be created in your store first via the Dashboard. Use exact category names (case-sensitive).

400 Bad Request - Too Many Images

400 Bad Request - Image Too Large

400 Bad Request - Too Many Array Items

This error also applies to: size, colors, categories arrays (max 20 items each)

400 Bad Request - Too Many Custom Questions

400 Bad Request - Invalid Custom Question Type

401 Unauthorized

or

429 Too Many Requests

Custom Questions

Custom questions allow you to collect additional information from customers during checkout.

Question Format

Question Types

Examples

Internal Notes

Use internal_note to store private information visible only to you:
Common uses:
  • Supplier information
  • Cost price and margins
  • Minimum order quantities
  • Lead times
  • Internal SKU codes
  • Warehouse locations
Internal notes are never shown to customers - they’re only visible in your dashboard and API responses.

Bulk Import Example

Import multiple products efficiently:

Best Practices

Validate all fields client-side before making API requests to reduce errors:
  • Check name length (3-30 characters)
  • Ensure price > 0
  • Verify categories exist in your store
  • Confirm image sizes ≤ 5MB
Instead of base64-encoding images, host them on a CDN and provide URLs:✅ Recommended:
❌ Less efficient:
Maximum limits for arrays:
  • Images: 10
  • Variations, sizes, colors, categories: 20 each
  • Custom questions: 5
  • Maximum 20 requests per minute
  • For bulk imports, batch requests with 60-second pauses
  • See Rate Limits for details
Store useful internal information:
  • Supplier details and contact info
  • Cost price and profit margins
  • SKU codes and barcodes
  • Warehouse locations
  • Reorder information

Next Steps

Edit Product

Update existing product details

Delete Product

Remove products from your store

Order APIs

Manage orders programmatically

Rate Limits

Understand API rate limits