1. Home
  2. Docs
  3. Current
  4. Guides
  5. Deals
  6. Stop deal

Stop deal

API to stop deal that have status: upcoming, running OR pause


Input: list of deal id you want to stop

output: Result of each deal you submitted



1/ Just can stop deal that have is_active : 1(upcoming), 2(running), 6(pause)

2/ If you want to stop deal (ex: id = 1) and create new deal right after that, should follow these step

  1. Stop deal with deal_id=1. If api response status = success or error skip step 2. If api response status = processing , do step 2
  2. Search deal with deal_id=1 to check if deal is successfully stop (deal.is_active != 1,2,6)
  3. Create new deal

Was this article helpful to you? Yes No

How can we help?

Leave a Reply

Your email address will not be published.