Promotion Packs

Retrieves the information about a Classified's Promotion Pack.

collapse allexpand all

[
  {
    "id": "PUS30FREE",
    "category_id": "MLB1459",
    "brand": "MLREALESTATE",
    "description": "Todo o seu estoque",
    "price": 0,
    "package_type": "unlimited",
    "package_content": "publications",
    "duration": 30,
    "status": "active",
    "charge_type_id": "free",
    "max_upgrades": 0,
    "quota_type": "reusable",
    "listing_details": [
      {
        "listing_type_id": "silver",
        "available_listings": 100000
      }
    ]
  }
]
Allowed methods
Retrieves information of a Promotion Packs available for a Category.
GET
/categories/:categId/classifieds_promotion_packs
Retrieves information of a Promotion Pack.
GET
/categories/:categId/classifieds_promotion_packs/:packageId
Creates a new Promotion Pack.
POST
/categories/:categId/classifieds_promotion_packs
Attributes
id
ID
categ_id
ID of Category.
description
Promotion Pack description.
price
Promotion Pack price.
package_type
Promotion Pack type.
duration
Promotion Pack duration in days.
status
Promotion Pack status.
charge_type_id
ID of Charge Type.
listing_details
List of Listing Types available for this package.
Attributes
listing_type_id
Listing Type Identifier.
available_listings
Available publications quantity for this listing type.