Ads

Api for publishing ads on the Mercado Máquinas Portal.
Step-by-step recommendations for publishing an Ad.

  1. Get the advertiser's current contract (GETv1/contracts)
  2. Check if the model (Category/Manufacturer/Model) informed exists (GETv1/ad-models/{category}/{make}/{model})
  3. Create a new ad (POSTv1/ads)
  4. Returns the specifications of an ad through the given id code (GETv1/ads/{adid}/specs)
  5. Update/Modify the specifications of an existing Ad (PUTv1/ads/specs)
MétodoRecursoDescriçãoExemplo
GETv1/ad-models/{category}/{make}/{model}Resource to check if the model (Category/Manufacturer/Model) informed exists in the Mercado Máquinas website.Exemplo
GETv1/adsReturns all published adsExemplo
GETv1/ads/{adid}Returns an ad using the id code.Exemplo
GETv1/ads/{adid}/specsReturns the specifications of an ad using the given codeExemplo
PUTv1/ads/specsUpdate/Modify the specifications of an existing AdExemplo
POSTv1/adsCreates a new adExemplo
PUTv1/adsModifies an adExemplo
DELETEv1/adsDelete an adExemplo

Contracts

Api for publishing ads in Mercado Máquinas website

MétodoRecursoDescriçãoExemplo
GETv1/contractsRetuns the active advertiser contractsExemplo