API 2.0
Resources
/marketplace_advertise
Create a new listing in the UEX Marketplace
Method | POST |
---|---|
URL | https://api.uexcorp.space/2.0/marketplace_advertise/ |
Autorização | Bearer Token |
Cache TTL | — |
Input (Header) |
// required user secret key, should be passed via header, obtained in user profile secret_key string |
Input (POST) |
id_category int operation string // sell, buy, rent, trade language string // en_US type string // item, service unit string // reference below price int currency string // UEC location string // item or service location, optional, e.g. Port Tressler title string(140) // alphanumeric and dashes only description string(65535) currency string(65535) // UEC language string(65535) // en_US image_data string(10485760) // jpg or png in base64, up to 10.00 MB is_production int // required for production |
Input Example |
{ "is_production": 0, "id_category": 3, "operation": "sell", "type": "item", "unit": "unit", "price": 120000, "title": "Fieldsbury Dark Bear Helmet Pink", "description": "Be a bad boy with this beautiful helmet!", "currency": "UEC", "language": "en_US", "location": "Port Tressler", "image_data": "/9j/4AAQSkZJRgABAQAASABIAAD..." } |
Output |
id_listing int url string|null date_expiration int |
Response |
service_unavailable missing_secret_key invalid_secret_key missing_operation invalid_operation// sell, buy, rent, trade missing_type invalid_type// item, service missing_id_category missing_unit invalid_unit// reference below missing_title missing_description image_data_exceeds_limit missing_currency// UEC invalid_currency missing_language invalid_language// en_US category_not_found item_not_found user_not_found// type 'item' only user_not_allowed user_not_verified user_active_listings_limit_reached image_upload_error image_storage_error ok |
Reference: `operation` |
buy sell |
Reference: `type` |
item // helmets, armor sets, etc. service // escort, hauler, miner, etc. |
Reference: `unit` |
// type "item" box cscu dozen hundred pair scu thousand unit // type "service" day hour minute mission million mk month run trip week |
Last Update | 4 days ago |
Optional Required Required as header input