Needish

sales.add

Post a new Sale Ad for the authenticating user.

http://api.needish.com/sales/add.format

HTTP Method

Requires POST method

Authentication

This method requires Authentication

Parameters

subject Required. The title of the Ad
text Required. Complete text of the Ad
custom_id Unique ID of the Ad, placed by the user. Allows later modification of the Ad
world_country_id Required. ID of the country where the Ad is posted. Obtained using the geo.countries method
world_state_id ID of the region where the Ad is posted. Obtained using the geo.countries method
world_city_id ID of the city where the Ad is posted. Obtained using the geo.countries method
address Address where the Ad is posted
lat Latitude coordinate where the Ad is posted. If not indicated, it will be determined based on the information of country, region, city and address
lng Longitude coordinate where the Ad is posted. If not indicated, it will be determined based on the information of country, region, city and address
currency_code Required. Code of the currency where the Ad is posted
price Required. Price of the product where the Ad is offered
category Required. Category of the Ad
attachments Array of files attachments related with the Ad (photos, documents, etc)

Properties Ads

The following parameters apply to Ads in the "properties" category.

rooms Required. Number of bedrooms
bathrooms Required. Number of bathrooms
area Required. Total area of the property
area_unit Required. Unit in which the total area of the property is defined (m2 = square meters, ft2 = square feet)
is_new Required. 1, Indicates the property is new. 0, Indicates the property is used
furnished Required. 1, The property is furnished. 0, The property is not furnished
storage Required. 1, The property has a storage locker or storage unit. 0, The property does not have storage

Vehicles Ads

The following parameters apply to Ads in the "vehicles" category.

brand Required. Brand of vehicle
model Required. Model
year Required. Year
mileage Vehicle mileage

Categories

Following, please find the codes and the description of the categories for Sales Ads

Properties

houses Houses
apartments Apartments
offices Offices
parking-spots Parkin Spots
land-lots Land/Lots
commercial Commercial
room-shared-housing Room (Shared Housing)

Vehicles

cars Autos
trucks Camionetas
motorcycles Motocicletas
bycicles Bicicletas