Overview of the Divar post submission process
The post submission API allows for the programmatic creation of advertisements on Divar. The general workflow consists of five main steps:
- Upload Images: Upload images to Divar's image service to obtain their identifiers.
- Retrieve Category Schema: Fetch the specific fields required for the chosen category (e.g., Real Estate, Vehicles).
- Submit Post: Send general and category-specific information to create a post in the 'Pending Payment' state.
- Pay Publication Fee: Pay the cost using the application's credit.
- Review and Publish: The post enters a review queue and is published upon approval.