You cannot archive a promotion via the Create Or Update Promotion endpoint
ID:
Backlog
Published on 2/25/2021
•
Last update on 12/22/2022
Summary
When updating a promotion via API, if you set the isArchived
attribute to true
, it will not prevent the promotion from being displayed on the Not Archived promotions screen.
Simulation
Using the Create Or Update Promotion endpoint, change the values isActive
to false and isArchived
to true
. This action will archive the promotion via API but will not remove it from the Not Archived screen. The Archive flag will still be displayed on the promotion card.
Workaround
Use the Archive a Promotion endpoint to archive the promotion.