Listing Management
Learn how to create and manage listings on SASOM.
Listing Types
SASOM supports two types of listings:
| Type | Description | Use Case |
|---|---|---|
| Ask | Immediate sale listing | You have the item in stock |
| Preorder | Future release listing | Item will be available on a future date |
Creating Ask Listings
Use Ask listings when you have items ready to ship.
Request
curl -X POST https://partners.sasomapi.com/partner/list/ask \
-u "YOUR_API_KEY:YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"sku": "AIR-JORDAN-1-HIGH-OG",
"size": "10",
"price": 5000,
"quantity": 2,
"year": "2023"
}'
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
sku | string | Yes | Product SKU |
size | string | Yes | Size (e.g., "10", "M", "L") |
price | number | Yes | Price in baht (minimum 250) |
quantity | integer | Yes | Quantity (1-99) |
year | string | No | Release year |
Response
{
"success": true,
"message": "Listing created successfully",
"data": {
"listing_id": "abc123",
"sku": "AIR-JORDAN-1-HIGH-OG",
"size": "10",
"price": 5000,
"quantity": 2,
"status": "active",
"created_at": "2025-01-01T10:00:00Z"
}
}
Creating Preorder Listings
Use Preorder listings for items with a future release date.
Request
curl -X POST https://partners.sasomapi.com/partner/list/preorder \
-u "YOUR_API_KEY:YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"sku": "AIR-JORDAN-1-HIGH-OG",
"size": "10",
"price": 5000,
"quantity": 2,
"year": "2025",
"releaseDate": "2025-03-15"
}'
Additional Parameters
| Field | Type | Required | Description |
|---|---|---|---|
releaseDate | string | Yes | Expected release date (YYYY-MM-DD) |
Editing Listings
Edit Ask Listing
curl -X PUT https://partners.sasomapi.com/partner/edit/listing \
-u "YOUR_API_KEY:YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"listing_id": "abc123",
"price": 4800,
"quantity": 3
}'
Edit Preorder Listing
curl -X PUT https://partners.sasomapi.com/partner/edit/preorder \
-u "YOUR_API_KEY:YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"listing_id": "abc123",
"price": 4800
}'
Canceling Listings
Cancel an active listing:
curl -X PUT https://partners.sasomapi.com/partner/cancel/listing \
-u "YOUR_API_KEY:YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"listing_id": "abc123"
}'
Viewing Your Listings
Get Live Ask Listings
curl -X GET "https://partners.sasomapi.com/partner/live/listings/ask" \
-u "YOUR_API_KEY:YOUR_API_SECRET"
Get Live Preorder Listings
curl -X GET "https://partners.sasomapi.com/partner/live/listings/preorder" \
-u "YOUR_API_KEY:YOUR_API_SECRET"
Pagination
Use cursor-based pagination for large result sets:
curl -X GET "https://partners.sasomapi.com/partner/live/listings/ask?cursor=CURSOR_VALUE&limit=50" \
-u "YOUR_API_KEY:YOUR_API_SECRET"
Check Lowest Price
Before creating a listing, check the current lowest price for a SKU:
curl -X GET "https://partners.sasomapi.com/partner/lowest/AIR-JORDAN-1-HIGH-OG" \
-u "YOUR_API_KEY:YOUR_API_SECRET"
Response:
{
"success": true,
"data": {
"sku": "AIR-JORDAN-1-HIGH-OG",
"lowest_price": 4500,
"sizes": [
{"size": "9", "price": 4500},
{"size": "10", "price": 5000},
{"size": "11", "price": 4800}
]
}
}
Validation Rules
Price Minimum
All listings must have a minimum price of 250 baht.
Quantity Limits
Quantity must be between 1 and 99 per listing.
No Duplicates
You cannot create multiple listings for the same SKU+size with different prices in a single request.
Common Errors
| Error | Cause | Solution |
|---|---|---|
| Price too low | Price < 250 | Set price >= 250 baht |
| Invalid quantity | Quantity outside 1-99 | Use quantity 1-99 |
| Listing not found | Invalid listing_id | Verify listing exists and belongs to you |
| Cannot edit sold listing | Listing already sold | Only active listings can be edited |
Best Practices
- Check lowest price first - Price competitively to sell faster
- Use accurate SKUs - Match SASOM's product catalog exactly
- Keep quantity updated - Cancel or update listings when stock changes
- Set realistic prices - Market-aligned prices sell faster