{"section":"known-issues","requestedLocale":"en","requestedSlug":"you-cannot-archive-a-promotion-via-the-create-or-update-promotion-endpoint","locale":"en","slug":"you-cannot-archive-a-promotion-via-the-create-or-update-promotion-endpoint","path":"docs/en/known-issues/Marketing & Merchandising/you-cannot-archive-a-promotion-via-the-create-or-update-promotion-endpoint.md","branch":"main","content":"## Summary\n\nWhen 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.\n\n## Simulation\n\nUsing the [Create Or Update Promotion](https://developers.vtex.com/vtex-rest-api/reference/createorupdatecalculatorconfiguration) 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.\n\n## Workaround\n\nUse the [Archive a Promotion](https://developers.vtex.com/vtex-rest-api/reference/archivepromotion-1) endpoint to archive the promotion."}